Get the List of APIs Under an 灵蛇AI Platform Service
Return the APIs that are currently enabled and not deprecated for the service through pagination by Service UUID. If only alias is available, first call Service Details to obtain id.
¶ API Overview
| Item | Content |
|---|---|
| Method | GET |
| URL | https://opensnake.platform.acedata.cloud/api/v1/services/{service_id}/apis/ |
| Auth | Public, no account token required |
| Pagination | count + items |
¶ Parameters
| Parameter | Location | Required | Description |
|---|---|---|---|
service_id |
path | Yes | Service UUID; alias is not supported |
limit |
query | No | Number of items per page, maximum 100 |
offset |
query | No | Pagination offset |
ordering |
query | No | Django ordering expression; rank or -rank is recommended |
The current API does not support stage filtering; it already excludes Deprecated APIs.
export SERVICE_ID='Your Service ID'
curl --get "https://opensnake.platform.acedata.cloud/api/v1/services/${SERVICE_ID}/apis/" \
--data-urlencode 'limit=100' \
--data-urlencode 'ordering=rank' \
-H 'Accept: application/json'
List items use the same index structure as the Platform API List, and currently include definition. When a stable entry point for an individual API is required, continue to call /api/v1/apis/{api_id}.
¶ Error Handling
- The service does not exist or is not visible on the current site:
404. service_idmust be a UUID; alias will not be resolved in this action.