Skip to content

Commit

Permalink
Update tidb-cloud/data-service-manage-endpoint.md
Browse files Browse the repository at this point in the history
Co-authored-by: Grace Cai <[email protected]>
  • Loading branch information
clark1013 and qiancai authored Nov 27, 2023
1 parent 647522d commit 723ed38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tidb-cloud/data-service-manage-endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ TiDB Cloud Data Service generates code examples to help you call an endpoint. To
- If the request method of your endpoint is `GET` and **Pagination** is enabled for the endpoint, you can paginate the results by updating the values of `page=<Page Number>` and `page_size=<Page Size>` with your desired values. For example, to get the second page with 10 items per page, use `page=2` and `page_size=10`.
- If the request method of your endpoint is `POST` or `PUT`, fill in the `--data-raw` option according to the rows of data that you want to operate on.

- For endpoints with **Batch Operation** enabled, the `--data-raw` option accepts an object with an `items` field contains an array of data objects so you can operate on multiple rows of data using one endpoint.
- For endpoints with **Batch Operation** enabled, the `--data-raw` option accepts an object with an `items` field containing an array of data objects so you can operate on multiple rows of data using one endpoint.
- For endpoints with **Batch Operation** not enabled, the `--data-raw` option only accepts one data object.

- If the endpoint contains parameters, specify the parameter values when calling the endpoint.
Expand Down

0 comments on commit 723ed38

Please sign in to comment.