Overview¶
Guance External API is a simplified HTTP REST API.
- Only GET / POST requests
- Call APIs using resource-oriented URLs
- Use status codes to indicate whether a request succeeds or fails
- All requests return JSON structures
- External API maintains the Guance platform programmatically
Supported Endpoints¶
| Deployment Type | Node Name | Endpoint |
|---|---|---|
| Private Deployment Plan | Private Deployment Plan | Subject to the actual deployed Endpoint; typically https://external-api.guance.com |
API Documentation Configuration¶
-
The API documentation URL is fixed at: \
/v1/doc
For example: https://external-api.guance.com/v1/doc -
The API documentation switch configuration is located in the core configuration in launcher (namespace: forethought-core). The specific configuration is as follows:
Service Configuration Options¶
Optional configuration options are located in the core configuration in launcher (namespace: forethought-core). The specific optional configurations are as follows:
# Configuration options for the external-api service
external:
# Validity period of each request signature, in seconds; default: 60 seconds
timeliness: 60
# Caller identifier, corresponding to the `X-Df-Access-Key` value in the API request header; non-empty string
accessKey: ""
# Secret key used to calculate signatures
secretKey: ""
Draft Documentation in the Current Repository¶
Note: The template management documentation is currently placed in the backend repository as a pre-release draft. After the feature is fully developed and released in an iteration, it will be synchronized to the official help documentation project repository on the day the iteration goes live.