[DOC] update limit defaults

This commit is contained in:
Bo Chen
2014-12-03 10:08:43 -08:00
parent 510ed630bf
commit 9d494ba5d7

View File

@@ -569,7 +569,7 @@ Optionally, you can also include any of the following query parameters:
| currency | String ([ISO 4217 Currency Code](http://www.xe.com/iso4217.php)) | If provided, only include balances in the given currency. |
| counterparty | String (Address) | If provided, only include balances issued by the provided address (usually a gateway). |
| marker | String | Server-provided value that marks where to resume pagination. |
| limit | Integer | (Defaults to 10) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
| limit | Integer | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
| ledger | String (ledger hash) | Identifying hash of the ledger version to pull results from. |
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` query parameter to use pagination.
@@ -1452,7 +1452,7 @@ Optionally, you can also include the following query parameters:
| currency | String ([ISO4217 currency code](http://www.xe.com/iso4217.php)) | Filter results to include only trustlines for the given currency. |
| counterparty | String (Address) | Filter results to include only trustlines to the given account. |
| marker | String | Start position in response paging. |
| limit | String (Integer) | (Defaults to 10) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
| limit | String (Integer) | (Defaults to 200) Max results per response. Cannot be less than 10. Cannot be greater than 400. |
| ledger | String | Ledger to request paged results from. Use the ledger's hash. |
*Note:* Pagination using `limit` and `marker` requires a consistent ledger version, so you must also provide the `ledger` query parameter to use pagination.