Skip to content

Commit

Permalink
revert changes to be made in https://github.com/pingcap/docs/pull/154…
Browse files Browse the repository at this point in the history
  • Loading branch information
qiancai authored Nov 27, 2023
1 parent 31ff4df commit 9f87520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tidb-cloud/data-service-manage-endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ In TiDB Cloud Data Service, you can generate one or multiple endpoints automatic

5. Check the generated endpoint name, SQL statements, properties, and parameters of the new endpoint.

- Endpoint name: the generated endpoint name is the name of the selected table with a slash prefix, and the request method (such as `GET`, `POST`, and `PUT`) is displayed before the name. For example, if the selected table name is `sample_table` and the selected operation is **POST Create**, the generated endpoint is displayed as `POST /sample_table`.
- Endpoint name: the generated endpoint name is the name of the selected table, and the request method (such as `GET`, `POST`, and `PUT`) is displayed before the name. For example, if the selected table name is `sample-table` and the selected operation is **POST Create**, the generated endpoint is displayed as `POST sample-table`.

- If a batch operation is selected, TiDB Cloud Data Service appends `/bulk` to the name of the generated endpoint. For example, if the selected table name is `sample_table` and the selected operation is **POST Batch Create**, the generated endpoint is displayed as `POST /sample_table/bulk`.
- If there has been already an endpoint with the same request method and endpoint name, TiDB Cloud Data Service appends `_copy` to the name of the generated endpoint. For example, `sample_table_copy`.
- If a batch operation is selected, TiDB Cloud Data Service appends `_batch` to the name of the generated endpoint. For example, if the selected table name is `sample-table` and the selected operation is **POST Batch Create**, the generated endpoint is displayed as `POST sample-table_batch`.
- If there has been already an endpoint with the same request method and endpoint name, TiDB Cloud Data Service appends `_copy` to the name of the generated endpoint. For example, `sample-table_copy`.

- SQL statements: TiDB Cloud Data Service automatically writes SQL statements for the generated endpoints according to the table column specifications and the selected endpoint operations. You can click the endpoint name to view its SQL statements in the middle section of the page.
- Endpoint properties: TiDB Cloud Data Service automatically configures the endpoint path, request method, timeout, and tag according to your selection. You can find the properties in the right pane of the page.
Expand Down

0 comments on commit 9f87520

Please sign in to comment.