Projects
Lists safe Project metadata inside the verified API credential's stored Organization. Requires projects:read. Browser and Keycloak bearer principals are not accepted on this machine-only route.
Authorization
DeveloperCredential In: header
Query Parameters
length <= 5121 <= value <= 10025Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/projects"{
"items": [
{
"id": "stringstringstri",
"slug": "string",
"display_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"next_cursor": "string"
}Creates a Project inside the verified API credential's stored Organization. Requires projects:write. The Organization is never a request field.
Authorization
DeveloperCredential In: header
Header Parameters
16 <= length <= 128Request Body
application/json
Maximum encoded request body is 65536 bytes.
^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$2 <= length <= 631 <= length <= 256Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/projects" \
-H "Idempotency-Key: stringstringstri" \
-H "Content-Type: application/json" \
-d '{
"slug": "string",
"display_name": "string"
}'{
"id": "stringstringstri",
"slug": "string",
"display_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Reads safe metadata for one Project in the verified credential's stored Organization. Requires projects:read; absent and foreign identifiers are indistinguishable.
Authorization
DeveloperCredential In: header
Path Parameters
Exactly 16 cryptographically random Base62 characters.
^[A-Za-z0-9]{16}$16 <= length <= 16Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/v1/projects/stringstringstri"{
"id": "stringstringstri",
"slug": "string",
"display_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}Changes only the slug and display name of one Project in the verified credential's stored Organization. Requires projects:write.
Authorization
DeveloperCredential In: header
Path Parameters
Exactly 16 cryptographically random Base62 characters.
^[A-Za-z0-9]{16}$16 <= length <= 16Header Parameters
16 <= length <= 128Request Body
application/json
Maximum encoded request body is 65536 bytes.
1 <= properties^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$2 <= length <= 631 <= length <= 256Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/projects/stringstringstri" \
-H "Idempotency-Key: stringstringstri" \
-H "Content-Type: application/json" \
-d '{}'{
"id": "stringstringstri",
"slug": "string",
"display_name": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}