Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karthik/5438/remove deprecatd fields for protocol 22 from docs #1014

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Large diffs are not rendered by default.

24 changes: 3 additions & 21 deletions docs/data/horizon/api-reference/list-all-assets.api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -653,25 +653,7 @@ This endpoint lists all assets.
qualifierMessage={undefined}
schema={{"type":"string"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"amount"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>

</SchemaItem><SchemaItem
collapsible={false}
name={"num_accounts"}
required={false}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer"}}
>


</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
Expand Down Expand Up @@ -749,7 +731,7 @@ This endpoint lists all assets.
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"_links\": {\n \"self\": {\n \"href\": \"string\",\n \"templated\": true\n },\n \"next\": {\n \"href\": \"string\",\n \"templated\": true\n },\n \"prev\": {\n \"href\": \"string\",\n \"templated\": true\n }\n },\n \"_embedded\": {\n \"records\": [\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"string\",\n \"templated\": true\n }\n },\n \"asset_type\": \"string\",\n \"asset_issuer\": \"string\",\n \"paging_token\": \"string\",\n \"accounts\": {\n \"authorized\": 0,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"balances\": {\n \"authorized\": \"string\",\n \"authorized_to_maintain_liabilities\": \"string\",\n \"unauthorized\": \"string\"\n },\n \"claimable_balances_amount\": \"string\",\n \"contracts_amount\": \"string\",\n \"liquidity_pools_amount\": \"string\",\n \"amount\": \"string\",\n \"num_accounts\": 0,\n \"flags\": {\n \"auth_required\": true,\n \"auth_revocable\": true,\n \"auth_immutable\": true\n }\n }\n ]\n }\n}"}
responseExample={"{\n \"_links\": {\n \"self\": {\n \"href\": \"string\",\n \"templated\": true\n },\n \"next\": {\n \"href\": \"string\",\n \"templated\": true\n },\n \"prev\": {\n \"href\": \"string\",\n \"templated\": true\n }\n },\n \"_embedded\": {\n \"records\": [\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"string\",\n \"templated\": true\n }\n },\n \"asset_type\": \"string\",\n \"asset_issuer\": \"string\",\n \"paging_token\": \"string\",\n \"accounts\": {\n \"authorized\": 0,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"balances\": {\n \"authorized\": \"string\",\n \"authorized_to_maintain_liabilities\": \"string\",\n \"unauthorized\": \"string\"\n },\n \"claimable_balances_amount\": \"string\",\n \"contracts_amount\": \"string\",\n \"liquidity_pools_amount\": \"string\",\n \"flags\": {\n \"auth_required\": true,\n \"auth_revocable\": true,\n \"auth_immutable\": true\n }\n }\n ]\n }\n}"}
language={"json"}
>

Expand All @@ -759,7 +741,7 @@ This endpoint lists all assets.
value={"ListAllAssets"}
>
<ResponseSamples
responseExample={"{\n \"_links\": {\n \"self\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=&limit=3&order=asc\"\n },\n \"next\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=CNY_GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I_credit_alphanum4&limit=3&order=asc\"\n },\n \"prev\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=CNY_GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A_credit_alphanum4&limit=3&order=desc\"\n }\n },\n \"_embedded\": {\n \"records\": [\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://swisscustodys.org/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A\",\n \"paging_token\": \"CNY_GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A_credit_alphanum4\",\n \"num_accounts\": 10,\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"amount\": \"899996000000.0000000\",\n \"accounts\": {\n \"authorized\": 10,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"899996000000.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": false,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": false\n }\n },\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://StellarAssets.org/fx/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GAASPHILC6DCBPP2P4T66QNSYF6C6OGN6DK36NY4G5SBR7AWH75TJG7N\",\n \"paging_token\": \"CNY_GAASPHILC6DCBPP2P4T66QNSYF6C6OGN6DK36NY4G5SBR7AWH75TJG7N_credit_alphanum4\",\n \"num_accounts\": 43,\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"amount\": \"1.0000000\",\n \"accounts\": {\n \"authorized\": 43,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"1.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": true,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": true\n }\n },\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://masterstellar.com/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I\",\n \"paging_token\": \"CNY_GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I_credit_alphanum4\",\n \"num_accounts\": 1,\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"amount\": \"65000000000.0000000\",\n \"accounts\": {\n \"authorized\": 1,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"65000000000.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": false,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": false\n }\n }\n ]\n }\n}"}
responseExample={"{\n \"_links\": {\n \"self\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=&limit=3&order=asc\"\n },\n \"next\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=CNY_GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I_credit_alphanum4&limit=3&order=asc\"\n },\n \"prev\": {\n \"href\": \"https://horizon-testnet.stellar.org/assets?asset_code=CNY&cursor=CNY_GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A_credit_alphanum4&limit=3&order=desc\"\n }\n },\n \"_embedded\": {\n \"records\": [\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://swisscustodys.org/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A\",\n \"paging_token\": \"CNY_GA6VXTS64XUOCQZSBAYHD24ZYJYPNB3KJ2CVKSYIE43P2DQQIX74UT2A_credit_alphanum4\",\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"accounts\": {\n \"authorized\": 10,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"899996000000.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": false,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": false\n }\n },\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://StellarAssets.org/fx/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GAASPHILC6DCBPP2P4T66QNSYF6C6OGN6DK36NY4G5SBR7AWH75TJG7N\",\n \"paging_token\": \"CNY_GAASPHILC6DCBPP2P4T66QNSYF6C6OGN6DK36NY4G5SBR7AWH75TJG7N_credit_alphanum4\",\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"accounts\": {\n \"authorized\": 43,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"1.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": true,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": true\n }\n },\n {\n \"_links\": {\n \"toml\": {\n \"href\": \"https://masterstellar.com/.well-known/stellar.toml\"\n }\n },\n \"asset_type\": \"credit_alphanum4\",\n \"asset_code\": \"CNY\",\n \"asset_issuer\": \"GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I\",\n \"paging_token\": \"CNY_GABGBJYLIC2OGATH3DVW22UEB66TFMWC3VKTAPFIOINVESRZLFKIHA4I_credit_alphanum4\",\n \"num_claimable_balances\": 0,\n \"num_contracts\": 0,\n \"num_liquidity_pools\": 0,\n \"accounts\": {\n \"authorized\": 1,\n \"authorized_to_maintain_liabilities\": 0,\n \"unauthorized\": 0\n },\n \"claimable_balances_amount\": \"0.0000000\",\n \"contracts_amount\": \"0.0000000\",\n \"liquidity_pools_amount\": \"0.0000000\",\n \"balances\": {\n \"authorized\": \"65000000000.0000000\",\n \"authorized_to_maintain_liabilities\": \"0.0000000\",\n \"unauthorized\": \"0.0000000\"\n },\n \"flags\": {\n \"auth_required\": false,\n \"auth_revocable\": false,\n \"auth_immutable\": false,\n \"auth_clawback_enabled\": false\n }\n }\n ]\n }\n}"}
language={"json"}
>

Expand Down
Loading