API DocumentationProjects
List projects
List all projects for the authenticated user.
Authorization
bearer_auth AuthorizationBearer <token>
Authentication
Create an API token on Profile. Send it in the Authorization header:
Authorization: Bearer os1_...Do not use the Keycloak web-session JWT as an API token. Keep the secret secure and do not share it.
In: header
Query Parameters
cols?array<>
Optional list of columns to include. When omitted, all columns are returned.
Items
1 <= itemsResponse Body
application/json
application/json
text/pain
application/json
application/json
curl -X GET "https://example.com/v1/projects"{ "projects": [ { "id": "019dd518-7b37-7b33-99a7-85d78d7a3320", "display_name": "Default", "description": "My default project", "user_id": "string", "is_default": 1, "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" } ]}{ "errors": [ { "message": "'vcpus' field must be an integer", "field": "resource_id" } ]}"Access denied"{ "errors": [ { "message": "User not initialized. Send POST /v1/init, then retry the request." } ]}{ "errors": [ { "message": "VM with ID 23 not found" } ]}