GET
/api/apis/{api_server_id}/domainsAuthenticatedList an API server's domains
Lists the domains registered for an API server across app environments.
operationId
get_api_apis_api_server_id_domainsAPI serversAuthentication & permissionsAuthenticated
Any authenticated user
- Accepted credentials
- Auth server session (refresh token cookie)
cookie "refresh_token_<auth_server_app_id>" - Access token (cookie)
cookie "access_token_<auth_server_app_id>" - Access token (Bearer)
Authorization: Bearer <JWT>
- Auth server session (refresh token cookie)
- Who may call
- Any authenticated user
- Notes
- Members (any role) of the owning organization, the owning user of a user-owned API server, or platform administrators.
Path parameters
| Name | Type | Description |
|---|---|---|
| api_server_id* | string | API server id |
Responses
application/json
ListApiServerDomainsResponse
| Property | Type | Description |
|---|---|---|
| success* | true | |
| message* | string | |
| list* | ApiServerDomainRef[] | |
| api_server_domain_ref_id* | string (uuid) | |
| api_server_id* | string | minLength: 2maxLength: 64pattern: ^[a-z0-9_-]*$ |
| domain* | string | maxLength: 255 |
| environment* | "development" | "staging" | "test" | "production" | |
| created_at* | number | minimum: 0 |
| hardcoded* | boolean |
JSONExample
"success"true
"message""string"
"list"
"api_server_domain_ref_id""123e4567-e89b-12d3-a456-426614174000"
"api_server_id""string"
"domain""string"
"environment""development"
"created_at"1.5
"hardcoded"true
Example request
bashcurl
curl -X GET 'https://auth.schemavaults.com/api/apis/<api_server_id>/domains' \
-b 'refresh_token_<auth_server_app_id>=<value>'