Management Plane APIs
GES management plane APIs comprise APIs for system management, graph management, backup management, metadata management, and task center.
Parameter |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
GET /v2/{project_id}/graphs/quotas |
Query the quota of graphs, edges, or backups. When creating or backing up a graph, you can call this API to view the quota. |
Parameter |
Version |
URL |
Function |
---|---|---|---|
2.1.18 |
GET /v2/{project_id}/graphs |
List all created graphs. |
|
1.0.0 |
GET /v2/{project_id}/graphs/{graph_id} |
Query details about a graph, including the graph's private and public access addresses, version number, and imported vertex and edge data sets. |
|
2.2.2 |
POST /v2/{project_id}/graphs |
Create a graph after you define the metadata and vertex and edge data sets of the graph. |
|
1.0.0 |
POST /v2/{project_id}/graphs/{graph_id}/stop |
You can stop a graph at any time because service continuity is not required. The graph will not be charged after it is stopped. |
|
1.0.0 |
POST /v2/{project_id}/graphs/{graph_id}/start |
If you want to use a stopped graph, you can restore the data to the state it was before the shutdown or to a backup time point. |
|
1.0.0 |
DELETE /v2/{project_id}/graphs/{graph_id} |
Delete a graph when you do not need it. The graph will not be charged after it is deleted. |
|
2.1.14 |
POST /v2/{project_id}/graphs/{graph_id}/import-graph |
You need to incrementally import graph data in batches. |
|
1.0.5 |
POST /v2/{project_id}/graphs/{graph_id}/export-graph |
You need to export all the data in a graph as a text file. |
|
2.1.2 |
POST /v2/{project_id}/graphs/{graph_id}/clear-graph |
You need to clear all the data in a graph, including the vertex and edge data.
NOTE:
The metadata will not be cleared. |
|
1.0.5 |
POST /v2/{project_id}/graphs/{graph_id}/upgrade |
If bugs are detected in a graph of the early version or new functions need to be added, you need to upgrade the graph to the new version. |
|
1.0.6 |
POST /v2/{project_id}/graphs/{graph_id}/bind-eip |
To access a graph over the public network, you need to bind an EIP. |
|
1.0.6 |
POST /v2/{project_id}/graphs/{graph_id}/unbind-eip |
You can unbind an EIP from a graph if you no longer need to access the graph over the public network. |
|
2.2.21 |
POST /v2/{project_id}/graphs/{graph_id}/resize |
Resize a graph. |
|
2.2.21 |
POST /v2/{project_id}/graphs/{graph_id}/restart |
Forcibly start a graph. |
|
2.2.23 |
POST /v2/{project_id}/graphs/{graph_id}/expand |
Dynamically resize multiple secondary nodes to enable concurrent handling of increased read requests. |
Parameter |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
GET /v2/{project_id}/graphs/backups |
View all backup details of all graphs. |
|
1.0.0 |
GET /v2/{project_id}/graphs/{graph_id}/backups |
View details about all backups of a graph, including the backup start time and end time. |
|
1.0.0 |
POST /v2/{project_id}/graphs/{graph_id}/backups |
Backup is used to improve data reliability. It can also be used as a snapshot of a graph for you to restore data when necessary. |
|
1.0.0 |
DELETE /v2/{project_id}/graphs/{graph_id}/backups/{backup_id} |
Delete backups of a graph. |
|
2.3.16 |
POST /v2/{project_id}/graphs/{graph_id}/backups/export |
Export a GES graph instance backup to OBS. |
|
2.3.16 |
POST /v2/{project_id}/graphs/{graph_id}/backups/import |
Import a GES graph instance backup from OBS. |
Parameter |
Version |
URL |
Function |
---|---|---|---|
1.0.2 |
GET /v2/{project_id}/graphs/metadatas |
Query details about all metadata files, including the status and OBS storage path. |
|
1.0.2 |
GET /v2/{project_id}/graphs/metadatas/{metadata_id} |
Query details about a graph metadata file. |
|
2.1.18 |
POST /v2/{project_id}/graphs/metadatas |
Adding metadata is a preparation operation before creating a graph. You must create metadata before creating the graph. |
|
1.0.2 |
DELETE /v2/{project_id}/graphs/metadatas/{metadata_id} |
Delete a metadata file. |
|
1.0.0 |
POST /v2/{project_id}/graphs/metadata/upload-from-obs |
Import metadata from OBS. |
Parameter |
Version |
URL |
Function |
---|---|---|---|
1.0.0 |
GET /v2/{project_id}/graphs/{graph_id}/jobs/{job_id}/status |
Graph deleting, stopping, starting, restoring, incrementally importing, clearing, and upgrading are asynchronous jobs initialized by calling these APIs. These APIs return the job IDs. You can view the execution status of each asynchronous job through the corresponding API. |
|
1.1.8 |
GET /v2/{project_id}/graphs/jobs |
View all asynchronous jobs. |
API |
Version |
URL |
Function |
---|---|---|---|
2.3.11 |
GET /v2/{project_id}/graphs/scenes |
Query information about the application analysis capability in a scene, including information about the applications, parameters, and function details. |
|
2.3.11 |
POST /v2/{project_id}/graphs/{graph_id}/scenes/register |
Subscribe to a scene analysis plugin so that you can use the function through the service plane APIs. |
|
2.3.11 |
POST /v2/{project_id}/graphs/{graph_id}/scenes/unregister |
Unsubscribe from a scene analysis plugin. After the subscription is canceled, you cannot use the function through application service plane APIs. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot