Overview¶
Guance External 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
- External API programmatically maintains the Guance platform
Supported Endpoints¶
Deployment Type | Node Name | Endpoint |
---|---|---|
Private Deployment Plan | Private Deployment Plan | Refer to the actual deployed Endpoint, usually https://external-api.dataflux.cn |
API Documentation Configuration¶
-
The API documentation address is fixed at: \
/v1/doc
For example: https://external-api.dataflux.cn/v1/doc -
The API documentation switch configuration is located in the core (namespace: forethought-core) configuration within launcher. Specific configuration as follows:
Service Configuration Items¶
Optional configuration items are located in the core (namespace: forethought-core) configuration within launcher. Specific optional configurations are as follows:
# Configuration items for the external-api service
external:
# Validity period of each request signature, in seconds, default 60 seconds
timeliness: 60
# Visitor identifier, corresponds to the `X-Df-Access-Key` value in the interface request header; non-empty string
accessKey: ""
# Secret key used to calculate the signature
secretKey: ""