API Overview
Table 1 and Table 2 describes MRS APIs that meet RESTful API design standards.
| API | Function | API URI |
|---|---|---|
| Cluster management APIs | POST /v2/{project_id}/clusters | |
| Job object APIs | POST /v2/{project_id}/clusters/{cluster_id}/job-executions | |
| GET /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id} | ||
| GET /v2/{project_id}/clusters/{cluster_id}/job-executions | ||
| POST /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}/kill | ||
| POST /v2/{project_id}/clusters/{cluster_id}/job-executions/batch-delete | ||
| GET /v2/{project_id}/clusters/{cluster_id}/job-executions/{job_execution_id}/sql-result | ||
| SQL APIs | POST /v2/{project_id}/clusters/{cluster_id}/sql-execution | |
| GET /v2/{project_id}/clusters/{cluster_id}/sql-execution/{sql_id} | ||
| POST /v2/{project_id}/clusters/{cluster_id}/sql-execution/{sql_id}/cancel | ||
| Cluster HDFS File APIs (V2) | GET /v2/{project_id}/clusters/{cluster_id}/files?path={directory}&offset={offset}&limit={limit}&sort_key={sort_key}&order={order} | |
| Agency Management (V2) | Querying the Mapping Between a User (Group) and an IAM Agency | GET /v2/{project_id}/clusters/{cluster_id}/agency-mapping |
| Updating the Mapping Between a User (Group) and an IAM Agency | PUT /v2/{project_id}/clusters/{cluster_id}/agency-mapping |
| APIs | Function | API URI |
|---|---|---|
| Cluster management APIs (V2) | POST /v1.1/{project_id}/run-job-flow | |
| PUT /v1.1/{project_id}/cluster_infos/{cluster_id} | ||
| GET /v1.1/{project_id}/cluster_infos | ||
| GET /v1.1/{project_id}/cluster_infos/{cluster_id} | ||
| DELETE /v1.1/{project_id}/clusters/{cluster_id} | ||
| GET /v1.1/{project_id}/clusters/{cluster_id}/hosts | ||
| Job object APIs (V2) | POST /v1.1/{project_id}/jobs/submit-job | |
| GET /v1.1/{project_id}/job-exes | ||
| GET /v1.1/{project_id}/job-exes/{job_exe_id} | ||
| Job execution object APIs | DELETE /v1.1/{project_id}/job-executions/{job_execution_id} | |
| Auto scaling APIs | POST /v1.1/{project_id}/autoscaling-policy/{cluster_id} | |
| Tag Management APIs | POST /v1.1/{project_id}/clusters/{cluster_id}/tags | |
| DELETE /v1.1/{project_id}/clusters/{cluster_id}/tags/{key} | ||
| GET /v1.1/{project_id}/clusters/{cluster_id}/tags | ||
| POST /v1.1/{project_id}/clusters/{cluster_id}/tags/action | ||
| GET /v1.1/{project_id}/clusters/tags | ||
| POST /v1.1/{project_id}/clusters/resource_instances/action |
Last Article: Selecting an API Type
Next Article: Calling APIs
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.