API Overview
The DIS API is a self-developed API that complies with REST API design specifications. DIS provides the functions listed in Table 1 through the DIS API.
|
API Name |
Function |
API URI |
|---|---|---|
|
Stream management |
POST /v2/{project_id}/streams |
|
|
DELETE /v2/{project_id}/streams |
||
|
GET /v2/{project_id}/streams |
||
|
GET /v2/{project_id}/streams/{stream_name} |
||
|
GET /v2/{project_id}/streams/{stream_name}/metrics? label={label}&start_time={start_time}&end_time={end_time} |
||
|
GET /v2/{project_id}/apps/{app}/streams/{stream_name} |
||
|
Data management |
POST /v2/{project_id}/records |
|
|
GET /v2/{project_id}/records{?partition-cursor} |
||
|
GET /v2/{project_id}/cursors{?stream-name,partition-id,cursor-type,starting-sequence-number} |
||
|
Program management |
POST /v2/{project_id}/apps |
|
|
DELETE /v2/{project_id}/apps/{app_name} |
||
|
GET /v2/{project_id}/apps |
||
|
GET /v2/{project_id}/apps/{app_name} |
||
|
Checkpoint management |
POST /v2/{project_id}/checkpoints |
|
|
GET /v2/{project_id}/checkpoints{?stream_name,partition_id,app_name,checkpoint_type} |
||
|
DELETE /v2/{project_id}/checkpoints |
||
|
Dump task management |
POST /v2/{project_id}/streams/{stream_name}/transfer-tasks |
|
|
DELETE /v2/{project_id}/streams/{stream_name}/transfer-tasks/{transfer_task_name} |
||
|
GET /v2/{project_id}/streams/{stream_name}/transfer-tasks/{transfer_task_name} |
||
|
GET /v2/{project_id}/streams/{stream_name}/transfer-tasks |
Last Article: Concepts
Next Article: Calling APIs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.