Skip to content

Overview


Guance Open API is a simplified HTTP REST API.

  • Only GET / POST requests
  • Use resource-oriented URLs to call APIs
  • Use status codes to indicate request success or failure
  • All requests return JSON structures
  • Open API provides programmatic access to the Guance platform

Supported Endpoints

Deployment Type Node Name Endpoint
SaaS Deployment China Region 1 (Hangzhou) https://openapi.guance.com
SaaS Deployment China Region 2 (Ningxia) https://aws-openapi.guance.com
SaaS Deployment China Region 4 (Guangzhou) https://cn4-openapi.guance.com
SaaS Deployment China Region 6 (Hong Kong) https://cn6-openapi.guance.one
SaaS Deployment Overseas Region 1 (Oregon) https://us1-openapi.guance.com
SaaS Deployment Europe Region 1 (Frankfurt) https://eu1-openapi.guance.one
SaaS Deployment Asia Pacific Region 1 (Singapore) https://ap1-openapi.guance.one
SaaS Deployment Africa Region 1 (South Africa) https://za1-openapi.guance.com
SaaS Deployment Indonesia Region 1 (Jakarta) https://id1-openapi.guance.com
SaaS Deployment Middle East Region 1 (UAE) https://me1-openapi.guance.com
Private Deployment Private Deployment Use the actual deployed Endpoint

Common Request Headers

Parameter Name Type Description
Content-Type string application/json
DF-API-KEY string Caller identifier, see API Key Management for how to obtain it

Authentication Method

The API uses API KEY as the authentication method. Each request uses the value of DF-API-KEY in the request header for validity verification and as the basis for limiting the workspace for this request (using the workspace to which this DF-API-KEY belongs).

All interfaces currently displayed in the Open API only require providing an API KEY (Header: DF-API-KEY) as credentials. If the credentials exist and are valid, the authentication is considered passed.

Common Response Structure

Field Type Description
code Number Returned status code, consistent with the HTTP status code, fixed at 200 when there is no error
content String, Number, Array, Boolean, JSON Returned data, the specific type of data returned depends on the actual interface's business
pageInfo JSON Pagination information for all list interface responses
pageInfo.count Number Current page data count
pageInfo.pageIndex Number Page number
pageInfo.pageSize Number Page size
pageInfo.totalCount Number Total data count that meets the criteria
errorCode String Returned error status code, empty indicates no error
message String Detailed description information corresponding to the returned error code
success Boolean Fixed as true, indicating the interface call was successful
traceId Boolean traceId, used to track each request situation

Feedback

Is this page helpful? ×