List app templates
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "identifier": "string",
- "name": "string",
- "short_description": "string",
- "is_default": true,
- "order": -2147483648
}
]
}
Get the details of a single app template
uuid required | string <uuid> A UUID string identifying this app template. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "identifier": "string",
- "name": "string",
- "short_description": "string",
- "is_default": true,
- "order": -2147483648,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "services": [
- {
- "identifier": "string",
- "prefix": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
List application activities
application | string |
organisation | string |
type | string |
user_name | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
avatar_size | string |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "created_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "impersonated": true,
- "description": "string",
- "type": "string",
- "context": { },
- "user_name": "string",
- "user_email": "string",
- "user_is_removed": true
}
]
}
Get the details of a single application activity
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "created_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "impersonated": true,
- "description": "string",
- "type": "string",
- "context": { },
- "user_name": "string",
- "user_email": "string",
- "user_is_removed": true
}
List application collaborators
application | string |
organisation | string |
membership | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "membership": "b8ce8f5d-49a7-404e-a63d-be641c3bd8d7"
}
]
}
Create a new application collaborator object
application required | string <uuid> (Application) |
membership required | string <uuid> (Membership) |
{- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "membership": "b8ce8f5d-49a7-404e-a63d-be641c3bd8d7"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "membership": "b8ce8f5d-49a7-404e-a63d-be641c3bd8d7"
}
Get the details of a single application collaborator
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "membership": "b8ce8f5d-49a7-404e-a63d-be641c3bd8d7"
}
List applications
organisation | string |
is_undergoing_maintenance | boolean |
uuid | Array of strings |
name_search | string |
copied_from | string |
copy_type | string Enum: "COPY" "FORK" "MIRROR" |
slug | string |
is_mirror | boolean |
has_bugs | boolean |
requires_migration | boolean |
is_suspended | boolean |
tags | string |
o | string Enum: "name" "-name" "created_at" "-created_at" |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
screenshot_sizes | string |
avatar_sizes | string |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "is_suspended": true,
- "suspended_reason": "string",
- "is_undergoing_maintenance": true,
- "maintenance_reason": "string",
- "copy_type": "COPY",
- "is_repository_read_only": true,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "has_annotations": true,
- "updates_available": true,
- "created_at": "2019-08-24T14:15:22Z",
- "active_subscription": "string",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "on_free_trial": true,
- "free_trial_days_left": 0
}
]
}
Create a new application object
name required | string (Name) non-empty |
region required | string <uuid> (Region) |
app_template | string or null <uri> (App template) non-empty |
organisation required | string <uuid> (Organisation) |
plan_group required | string <uuid> (Plan group) |
repository | string or null <uuid> (Repository) |
branch | string (Branch) non-empty Default: "main" |
repository_prepopulated | boolean (Repository prepopulated) Default: false |
Array of objects or null (ReleaseCommand) | |
slug required | string (Slug) non-empty |
Array of objects (TagField) <= 50 items | |
disk | integer (Disk) |
transfer | integer (Transfer) |
Array of objects or null (ContainerStructure) |
{- "name": "string",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "plan_group": "5c37c648-ad61-4e47-8032-3d80ebb8db75",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "branch": "main",
- "repository_prepopulated": false,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "slug": "string",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "disk": 0,
- "transfer": 0,
- "container_structure": [
- {
- "spec": "string",
- "type": "string",
- "command": "string",
- "replicas": 1
}
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "plan_group": "5c37c648-ad61-4e47-8032-3d80ebb8db75",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "branch": "main",
- "repository_prepopulated": false,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "slug": "string",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "disk": 0,
- "transfer": 0,
- "container_structure": [
- {
- "spec": "string",
- "type": "string",
- "command": "string",
- "replicas": 1
}
]
}
Get the details of a single application
uuid required | string <uuid> |
screenshot_sizes | string |
avatar_sizes | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "is_suspended": true,
- "suspended_reason": "string",
- "is_undergoing_maintenance": true,
- "maintenance_reason": "string",
- "copy_type": "COPY",
- "is_repository_read_only": true,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "has_annotations": true,
- "updates_available": true,
- "created_at": "2019-08-24T14:15:22Z",
- "active_subscription": "string",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "on_free_trial": true,
- "free_trial_days_left": 0,
- "copied_from": "b357c0e3-12ee-40ba-98e2-dcf185d29328",
- "screenshot_taken_at": "2019-08-24T14:15:22Z",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "unconfirmed_subscription": "string",
- "support_level": "string",
- "mirrors_count": 0,
- "upcoming_maintenances_count": 0,
- "port": 0,
- "startup_probe_max_retries": 0,
- "startup_probe_request_timeout": 0,
- "startup_probe_retry_timeout": 0,
- "requires_migration": "string",
- "requires_migration_to": "74d37c0e-ec63-4b3c-9571-b6efd1773b80",
- "is_locked": true,
- "features": [
- "string"
], - "permissions": [
- "string"
]
}
Replace the specified application
uuid required | string <uuid> |
name required | string (Name) [ 1 .. 255 ] characters |
maintenance_window_start | integer (Maintenance window start) [ 0 .. 2147483647 ] |
maintenance_window_duration | integer (Maintenance window duration) [ 0 .. 2147483647 ] |
Array of objects (ReleaseCommand) | |
port | integer or null (Port) [ 0 .. 2147483647 ] |
startup_probe_max_retries | integer (Startup probe max retries) [ 1 .. 1000 ] |
startup_probe_request_timeout | integer (Startup probe request timeout) [ 1 .. 60 ] |
startup_probe_retry_timeout | integer (Startup probe retry timeout) [ 1 .. 600 ] |
Array of objects (TagField) <= 50 items |
{- "name": "string",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "port": 2147483647,
- "startup_probe_max_retries": 1,
- "startup_probe_request_timeout": 1,
- "startup_probe_retry_timeout": 1,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "port": 2147483647,
- "startup_probe_max_retries": 1,
- "startup_probe_request_timeout": 1,
- "startup_probe_retry_timeout": 1,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
Partially update the specified application
uuid required | string <uuid> |
name required | string (Name) [ 1 .. 255 ] characters |
maintenance_window_start | integer (Maintenance window start) [ 0 .. 2147483647 ] |
maintenance_window_duration | integer (Maintenance window duration) [ 0 .. 2147483647 ] |
Array of objects (ReleaseCommand) | |
port | integer or null (Port) [ 0 .. 2147483647 ] |
startup_probe_max_retries | integer (Startup probe max retries) [ 1 .. 1000 ] |
startup_probe_request_timeout | integer (Startup probe request timeout) [ 1 .. 60 ] |
startup_probe_retry_timeout | integer (Startup probe retry timeout) [ 1 .. 600 ] |
Array of objects (TagField) <= 50 items |
{- "name": "string",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "port": 2147483647,
- "startup_probe_max_retries": 1,
- "startup_probe_request_timeout": 1,
- "startup_probe_retry_timeout": 1,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "port": 2147483647,
- "startup_probe_max_retries": 1,
- "startup_probe_request_timeout": 1,
- "startup_probe_retry_timeout": 1,
- "tags": [
- {
- "name": "string",
- "value": "string"
}
]
}
Delete the specified application
uuid required | string <uuid> |
verify_name required | string (Verify name) non-empty |
{- "verify_name": "string"
}
{- "status": true,
- "message": "string",
- "code": "string"
}
uuid required | string <uuid> |
target_name required | string (Target name) non-empty | ||||||
target_organisation required | string <uuid> (Target organisation) | ||||||
type required | string (Type)
|
{- "target_name": "string",
- "target_organisation": "1ba5f218-3c9c-4588-ba61-f31e797a3b6f",
- "type": "FORK"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "slug": "string",
- "name": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "is_suspended": true,
- "suspended_reason": "string",
- "is_undergoing_maintenance": true,
- "maintenance_reason": "string",
- "copy_type": "COPY",
- "is_repository_read_only": true,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "has_annotations": true,
- "updates_available": true,
- "created_at": "2019-08-24T14:15:22Z",
- "active_subscription": "string",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "on_free_trial": true,
- "free_trial_days_left": 0,
- "copied_from": "b357c0e3-12ee-40ba-98e2-dcf185d29328",
- "screenshot_taken_at": "2019-08-24T14:15:22Z",
- "maintenance_window_start": 2147483647,
- "maintenance_window_duration": 2147483647,
- "unconfirmed_subscription": "string",
- "support_level": "string",
- "mirrors_count": 0,
- "upcoming_maintenances_count": 0,
- "port": 0,
- "startup_probe_max_retries": 0,
- "startup_probe_request_timeout": 0,
- "startup_probe_retry_timeout": 0,
- "requires_migration": "string",
- "requires_migration_to": "74d37c0e-ec63-4b3c-9571-b6efd1773b80",
- "is_locked": true,
- "features": [
- "string"
], - "permissions": [
- "string"
]
}
Migrates an application to an external repository.
uuid required | string <uuid> |
repository required | string <uuid> (Repository) |
{- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b"
}
{- "status": true,
- "message": "string",
- "code": "string"
}
uuid required | string <uuid> |
organisation required | string <uuid> (Organisation) |
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
List backup download service instances
backup_download | string |
service_instance_backup | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup_download": "9588f5ec-96c6-4b5e-a1a5-0ca7c8bee2ac",
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370"
}
]
}
Get the details of a single backup download service instance
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup_download": "9588f5ec-96c6-4b5e-a1a5-0ca7c8bee2ac",
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370",
- "queued_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "errors": [
- "string"
]
}
List backup downloads
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "author": "string"
}
]
}
Create a new backup download object
backup required | string <uuid> (Backup) | ||||||
trigger required | string (Trigger)
| ||||||
service_instance_backups required | Array of strings <uuid> unique [ items <uuid > ] |
{- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "trigger": "MANUAL",
- "service_instance_backups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "trigger": "MANUAL",
- "service_instance_backups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
Get the details of a single backup download
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "author": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": "MANUAL"
}
List backup restores
environment | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "backup": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": 0,
- "finished": "string",
- "success": "SUCCESS",
- "notes": "string",
- "service_instance_backup_restores": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}
Create a new backup restore object
backup required | string <uuid> (Backup) |
required | Array of objects (BackupRestoreServiceInstanceParams) |
notes | string (Notes) [ 1 .. 255 ] characters |
{- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service_instance_restores": [
- {
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482"
}
], - "notes": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service_instance_restores": [
- {
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482"
}
], - "notes": "string"
}
Get the details of a single backup restore
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "backup": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": 0,
- "finished": "string",
- "success": "SUCCESS",
- "notes": "string",
- "service_instance_backup_restores": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
List backup retention configurations
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "identifier": "string",
- "short_description": "string"
}
]
}
Get the details of a single backup retention configuration
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "identifier": "string",
- "short_description": "string"
}
List backups
environment | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "tags": [
- "string"
], - "created": "2019-08-24T14:15:22Z",
- "notes": "string",
- "state": "WAITING",
- "size": "string",
- "meta_information": { },
- "service_instance_backups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduled_for_deletion_at": "2019-08-24T14:15:22Z",
- "success": "SUCCESS"
}
]
}
Create a new backup object
environment required | string <uuid> (Environment) |
notes | string (Notes) <= 255 characters |
services required | Array of strings <uuid> unique [ items <uuid > ] |
scheduled_for_deletion_at | string or null <date-time> (Scheduled for deletion at) Timestamp of when this backup shall be effectively deleted from the system. |
{- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "notes": "string",
- "services": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduled_for_deletion_at": "2019-08-24T14:15:22Z"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "trigger": "MANUAL",
- "notes": "string",
- "services": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduled_for_deletion_at": "2019-08-24T14:15:22Z"
}
Request the necessary information to upload a local backup to divio.
The response contains one result entry per service instance UUID.
Each result entry defines a handler
type that determines the content of
the upload_parameters
, and a finish_url
that needs to be called once the
upload has been performed.
For example, the s3-sts-v1
handler returns AWS credentials and bucket
information that can be used with the S3 boto3 client upload_file
operation.
services required | Array of strings <uuid> unique [ items <uuid > ] |
environment required | string <uuid> (Environment) |
notes | string (Notes) non-empty |
scheduled_for_deletion_at | string <date-time> (Scheduled for deletion at) |
{- "services": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "notes": "string",
- "scheduled_for_deletion_at": "2019-08-24T14:15:22Z"
}
{- "uuid": "string",
- "results": {
}
}
Get the details of a single backup
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "tags": [
- "string"
], - "created": "2019-08-24T14:15:22Z",
- "notes": "string",
- "state": "WAITING",
- "size": "string",
- "meta_information": { },
- "service_instance_backups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduled_for_deletion_at": "2019-08-24T14:15:22Z",
- "success": "SUCCESS"
}
List boilerplate collaborators
boilerplate | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "organisation_membership": "89a9a62d-4ccd-419c-bc47-31a3102140bb",
- "can_write": true
}
]
}
Create a new boilerplate collaborator object
boilerplate required | string <uuid> (Boilerplate) |
organisation_membership required | string <uuid> (Organisation membership) |
can_write | boolean (Can write) |
{- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "organisation_membership": "89a9a62d-4ccd-419c-bc47-31a3102140bb",
- "can_write": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "organisation_membership": "89a9a62d-4ccd-419c-bc47-31a3102140bb",
- "can_write": true
}
Get the details of a single boilerplate collaborator
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "organisation_membership": "89a9a62d-4ccd-419c-bc47-31a3102140bb",
- "can_write": true
}
Replace the specified boilerplate collaborator
uuid required | string <uuid> |
{ }
{ }
Partially update the specified boilerplate collaborator
uuid required | string <uuid> |
can_write | boolean (Can write) |
{- "can_write": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "can_write": true
}
List boilerplate versions
uuid | Array of strings |
boilerplate | string |
version | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "uploaded_by": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "installation_count": "string",
- "version": "string",
- "version_sortable": "string"
}
]
}
Get the details of a single boilerplate version
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "boilerplate": "dc8d6aaf-699c-4bac-8d91-fd36adfad8a1",
- "uploaded_by": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "message": "string",
- "installation_count": "string",
- "version": "string",
- "version_sortable": "string"
}
List boilerplates
organisation | string |
name | string |
is_public | boolean |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "name": "string",
- "short_name": "string",
- "short_description_html": "string",
- "is_public": "string",
- "modified": "2019-08-24T14:15:22Z",
- "author_name": "string",
- "latest_version": "3868a55d-b0e6-431b-aea6-a253a41913b9"
}
]
}
Create a new boilerplate object
name required | string (Name) [ 1 .. 100 ] characters |
package_name required | string <slug> (Package name) [ 1 .. 100 ] characters ^[-a-zA-Z0-9_]+$ System wide unique package name used to reference from the commandline. |
organisation required | string <uuid> (Organisation) |
{- "name": "string",
- "package_name": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "package_name": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
organisation | string |
name | string |
is_public | boolean |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "name": "string",
- "short_name": "string",
- "short_description_html": "string",
- "is_public": "string",
- "modified": "2019-08-24T14:15:22Z",
- "author_name": "string",
- "latest_version": "3868a55d-b0e6-431b-aea6-a253a41913b9"
}
Get the details of a single boilerplate
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "name": "string",
- "short_name": "string",
- "short_description_html": "string",
- "is_public": "string",
- "modified": "2019-08-24T14:15:22Z",
- "author_name": "string",
- "latest_version": "3868a55d-b0e6-431b-aea6-a253a41913b9",
- "description": "string",
- "package_name": "string",
- "identifier": "string",
- "license": "0062b866-9a29-4aaa-bcb3-34c1f3d5760d"
}
Replace the specified boilerplate
uuid required | string <uuid> |
name required | string (Name) [ 1 .. 100 ] characters |
package_name required | string <slug> (Package name) [ 1 .. 100 ] characters ^[-a-zA-Z0-9_]+$ System wide unique package name used to reference from the commandline. |
identifier | string (Identifier) <= 100 characters Boilerplate namespace ("ALDRYN_BOILERPLATE_NAME") used for boilerplate specific templates and staticfiles. |
description | string (Description) non-empty |
license | string or null <uuid> (License) |
author_name | string (Author name) non-empty |
author_url | string <uri> (Author url) <= 200 characters |
{- "name": "string",
- "package_name": "string",
- "identifier": "string",
- "description": "string",
- "license": "0062b866-9a29-4aaa-bcb3-34c1f3d5760d",
- "author_name": "string",
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "package_name": "string",
- "identifier": "string",
- "description": "string",
- "license": "0062b866-9a29-4aaa-bcb3-34c1f3d5760d",
- "author_name": "string",
}
Partially update the specified boilerplate
uuid required | string <uuid> |
name required | string (Name) [ 1 .. 100 ] characters |
package_name required | string <slug> (Package name) [ 1 .. 100 ] characters ^[-a-zA-Z0-9_]+$ System wide unique package name used to reference from the commandline. |
identifier | string (Identifier) <= 100 characters Boilerplate namespace ("ALDRYN_BOILERPLATE_NAME") used for boilerplate specific templates and staticfiles. |
description | string (Description) non-empty |
license | string or null <uuid> (License) |
author_name | string (Author name) non-empty |
author_url | string <uri> (Author url) <= 200 characters |
{- "name": "string",
- "package_name": "string",
- "identifier": "string",
- "description": "string",
- "license": "0062b866-9a29-4aaa-bcb3-34c1f3d5760d",
- "author_name": "string",
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "package_name": "string",
- "identifier": "string",
- "description": "string",
- "license": "0062b866-9a29-4aaa-bcb3-34c1f3d5760d",
- "author_name": "string",
}
uuid required | string <uuid> |
organisation required | string <uuid> (Organisation) |
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
List builds
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "website": "string",
- "build_type": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "git_commit": "string",
- "docker_image": "string"
}
]
}
Get the details of a single build
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "website": "string",
- "build_type": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "git_commit": "string",
- "docker_image": "string"
}
This function receives the final cloud event of a build task.
uuid required | string |
Accepts a cloudevent in the style of cloudevent.io
{ }
{ }
List charges
invoice | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "currency": "string",
- "amount": -2147483648,
- "charged_at": "2019-08-24T14:15:22Z",
- "status": "SUCCEEDED",
- "charge_target": "string",
- "fail_message": "string"
}
]
}
Get the details of a single charge
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "currency": "string",
- "amount": -2147483648,
- "charged_at": "2019-08-24T14:15:22Z",
- "status": "SUCCEEDED",
- "charge_target": "string",
- "fail_message": "string"
}
List container registries
organisation | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
]
}
Create a new container registry object
server required | string (Server) [ 1 .. 255 ] characters |
organisation required | string <uuid> (Organisation) |
username required | string (Username) non-empty |
password required | string (Password) non-empty |
{- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "username": "string",
- "password": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
Get the details of a single container registry
uuid required | string <uuid> A UUID string identifying this Container Registry. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
Replace the specified container registry
uuid required | string <uuid> A UUID string identifying this Container Registry. |
server required | string (Server) [ 1 .. 255 ] characters |
organisation required | string <uuid> (Organisation) |
username required | string (Username) non-empty |
password required | string (Password) non-empty |
{- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "username": "string",
- "password": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
Partially update the specified container registry
uuid required | string <uuid> A UUID string identifying this Container Registry. |
server required | string (Server) [ 1 .. 255 ] characters |
organisation required | string <uuid> (Organisation) |
username required | string (Username) non-empty |
password required | string (Password) non-empty |
{- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "username": "string",
- "password": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
List countries
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "short_name": "string",
- "long_name": "string"
}
]
}
List cronjobs
environment | string |
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
]
}
Create a new cronjob object
command required | string (Command) non-empty | ||||||||
frequency required | string (Frequency)
| ||||||||
time | string (Time) <= 16 characters Time of day (e.g "02:30") for "Daily". Minute of hour (e.g ":42" for "Hourly" Empty for "Every 10 minutes" | ||||||||
environment required | string <uuid> (Environment) | ||||||||
custom_timeout | integer or null (Custom timeout) [ 0 .. 2147483647 ] Number of seconds before running cron jobs get terminated |
{- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
Get the details of a single cronjob
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
Replace the specified cronjob
uuid required | string |
command required | string (Command) non-empty | ||||||||
frequency required | string (Frequency)
| ||||||||
time | string (Time) <= 16 characters Time of day (e.g "02:30") for "Daily". Minute of hour (e.g ":42" for "Hourly" Empty for "Every 10 minutes" | ||||||||
custom_timeout | integer or null (Custom timeout) [ 0 .. 2147483647 ] Number of seconds before running cron jobs get terminated |
{- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "custom_timeout": 2147483647
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
Partially update the specified cronjob
uuid required | string |
command required | string (Command) non-empty | ||||||||
frequency required | string (Frequency)
| ||||||||
time | string (Time) <= 16 characters Time of day (e.g "02:30") for "Daily". Minute of hour (e.g ":42" for "Hourly" Empty for "Every 10 minutes" | ||||||||
custom_timeout | integer or null (Custom timeout) [ 0 .. 2147483647 ] Number of seconds before running cron jobs get terminated |
{- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "custom_timeout": 2147483647
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "command": "string",
- "frequency": "DAILY",
- "time": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "custom_timeout": 2147483647
}
List deployments
environment | string |
application | string |
organisation | string |
task | string |
is_success | boolean |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": "string",
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string"
}
]
}
Create a new deployment object
environment required | string <uuid> (Environment) | ||||||||
build_mode | string (Build mode) Default: "AUTO"
| ||||||||
copy_from | string <uuid> (Copy from) | ||||||||
adopt_deployment | string <uuid> (Adopt deployment) | ||||||||
provision_services | boolean (Provision services) Default: true |
{- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "build_mode": "AUTO",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12",
- "adopt_deployment": "1b98127a-735f-4e51-849a-625e5717e523",
- "provision_services": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "build_mode": "AUTO",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12",
- "adopt_deployment": "1b98127a-735f-4e51-849a-625e5717e523",
- "provision_services": true
}
limit | integer |
build_mode | string Default: "AUTO" Enum: "AUTO" "ADOPT" "FORCE" |
adopt_deployment | string <uuid> |
application | string |
organisation | string |
related_to_application | string |
with_pending_commits | boolean |
is_mirror | boolean |
copy_type | string |
slug | string |
o | string |
deploying | boolean |
last_deployment_failed | boolean |
deployed | boolean |
{ }
Get the details of a single deployment
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": "string",
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "environment_variables": [
- "string"
], - "percent": "string"
}
Partially update the specified deployment
uuid required | string <uuid> |
status | string (Status) |
is_usable | boolean (Is usable) |
success | boolean or null (Success) |
{- "status": "string",
- "is_usable": true,
- "success": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": "string",
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "environment_variables": [
- "string"
], - "percent": "string"
}
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "string",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": "string",
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "environment_variables": {
- "property1": "string",
- "property2": "string"
}
}
List domains
environment | string |
application | string |
organisation | string |
name | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "last_check_status": true,
- "last_check_timestamp": "2019-08-24T14:15:22Z",
- "last_check_details": { },
- "is_tls_enabled": "string",
- "is_redirect_to_primary": true,
- "is_primary": true,
- "is_editable": true,
- "is_managed_by_divio": true,
- "is_wildcard": true,
- "is_monitored": true,
- "setup_instructions_html": "string",
- "additional_actions": [
- {
- "key": "string",
- "label": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}
}
], - "domain_config": {
- "backend_type": "string",
- "proxy_endpoint": [
- "string"
], - "certificate": "string",
- "certificate_chain": "string",
- "certificate_expiration_date": "2019-08-24T14:15:22Z"
}, - "state": "UNKNOWN",
- "state_message": "string"
}
]
}
Create a new domain object
name required | string (Name) [ 1 .. 255 ] characters |
environment required | string <uuid> (Environment) |
{- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166"
}
Get the details of a single domain
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "last_check_status": true,
- "last_check_timestamp": "2019-08-24T14:15:22Z",
- "last_check_details": { },
- "is_tls_enabled": "string",
- "is_redirect_to_primary": true,
- "is_primary": true,
- "is_editable": true,
- "is_managed_by_divio": true,
- "is_wildcard": true,
- "is_monitored": true,
- "setup_instructions_html": "string",
- "additional_actions": [
- {
- "key": "string",
- "label": "string",
- "config": {
- "property1": "string",
- "property2": "string"
}
}
], - "domain_config": {
- "backend_type": "string",
- "proxy_endpoint": [
- "string"
], - "certificate": "string",
- "certificate_chain": "string",
- "certificate_expiration_date": "2019-08-24T14:15:22Z"
}, - "state": "UNKNOWN",
- "state_message": "string"
}
Replace the specified domain
uuid required | string <uuid> |
is_redirect_to_primary | boolean (Is redirect to primary) |
object (Domain config) |
{- "is_redirect_to_primary": true,
- "domain_config": {
- "proxy_endpoint": [
- "string"
], - "key": "string",
- "certificate": "string",
- "certificate_chain": "string"
}
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_redirect_to_primary": true,
- "domain_config": {
- "backend_type": "string",
- "proxy_endpoint": [
- "string"
], - "certificate": "string",
- "certificate_chain": "string",
- "certificate_expiration_date": "2019-08-24T14:15:22Z"
}
}
Partially update the specified domain
uuid required | string <uuid> |
{ }
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "is_redirect_to_primary": true,
- "domain_config": {
- "backend_type": "string",
- "proxy_endpoint": [
- "string"
], - "certificate": "string",
- "certificate_chain": "string",
- "certificate_expiration_date": "2019-08-24T14:15:22Z"
}
}
uuid required | string <uuid> |
target_environment required | string <uuid> (Target environment) |
{- "target_environment": "3f17d230-ecb9-46b7-b3d9-8f7ccc5b2664"
}
{- "target_environment": "3f17d230-ecb9-46b7-b3d9-8f7ccc5b2664"
}
List environment metric metadata
environment | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "identifier": "string",
- "title": "string",
- "description": "string",
- "chart_display": "line",
- "unit": "string",
- "unit_numerator": "string",
- "unit_denominator": "string"
}
]
}
Get the details of a single environment metric metadata
uuid required | string <uuid> A UUID string identifying this environment metric. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "identifier": "string",
- "title": "string",
- "description": "string",
- "chart_display": "line",
- "unit": "string",
- "unit_numerator": "string",
- "unit_denominator": "string"
}
List environment variables
uuid | string |
application | string |
environment | string |
name | string |
environment_slug | string |
is_sensitive | boolean |
is_read_only | boolean |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "order": 32767,
- "is_sensitive": true,
- "is_read_only": true,
- "is_pattern_replacement_active": true
}
]
}
Create a new environment variable object
name required | string (Name) [ 1 .. 255 ] characters |
environment required | string <uuid> (Environment) |
value | string (Value) <= 10000 characters |
is_sensitive | boolean (Is sensitive) When active, the value of the environment variable should only be exposed upon authorization. |
is_pattern_replacement_active | boolean (Is pattern replacement active) When active, the value of the environment variable will be processed for pattern replacement. |
{- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "is_sensitive": true,
- "is_pattern_replacement_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "is_sensitive": true,
- "is_read_only": true,
- "is_pattern_replacement_active": true,
- "order": 0
}
Get the details of a single environment variable
uuid required | string <uuid> A UUID string identifying this Environment variable. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "order": 32767,
- "is_sensitive": true,
- "is_read_only": true,
- "is_pattern_replacement_active": true,
- "date_created": "2019-08-24T14:15:22Z",
- "date_modified": "2019-08-24T14:15:22Z"
}
Replace the specified environment variable
uuid required | string <uuid> A UUID string identifying this Environment variable. |
name required | string (Name) [ 1 .. 255 ] characters |
value | string (Value) <= 10000 characters |
is_pattern_replacement_active | boolean (Is pattern replacement active) When active, the value of the environment variable will be processed for pattern replacement. |
{- "name": "string",
- "value": "string",
- "is_pattern_replacement_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "is_sensitive": true,
- "is_read_only": true,
- "is_pattern_replacement_active": true,
- "order": 0
}
Partially update the specified environment variable
uuid required | string <uuid> A UUID string identifying this Environment variable. |
name required | string (Name) [ 1 .. 255 ] characters |
value | string (Value) <= 10000 characters |
is_pattern_replacement_active | boolean (Is pattern replacement active) When active, the value of the environment variable will be processed for pattern replacement. |
{- "name": "string",
- "value": "string",
- "is_pattern_replacement_active": true
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "value": "string",
- "is_sensitive": true,
- "is_read_only": true,
- "is_pattern_replacement_active": true,
- "order": 0
}
uuid required | string <uuid> A UUID string identifying this Environment variable. |
target required | string <uuid> (Target) |
{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}
{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}
uuid required | string <uuid> A UUID string identifying this Environment variable. |
target required | string <uuid> (Target) |
{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}
{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}
List environments
application | string |
organisation | string |
related_to_application | string |
with_pending_commits | boolean |
is_mirror | boolean |
copy_type | string Enum: "COPY" "FORK" "MIRROR" |
slug | string |
deploying | boolean |
last_deployment_failed | boolean |
deployed | boolean |
name_search | string |
o | string Enum: "application" "-application" |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}, - "slug": "string",
- "branch": "string",
- "is_production_grade": true,
- "pending_commits_lookup": "string",
- "has_pending_commits": true,
- "deployed_url": "string",
- "last_finished_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_running_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_released_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}
}
]
}
Create a new environment object
application required | string <uuid> (Application) |
slug required | string <slug> (Slug) [ 1 .. 255 ] characters ^[-a-zA-Z0-9_]+$ |
branch required | string (Branch) non-empty |
{- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "slug": "string",
- "branch": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "slug": "string",
- "branch": "string"
}
Get the details of a single environment
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}, - "slug": "string",
- "branch": "string",
- "is_production_grade": true,
- "pending_commits_lookup": "string",
- "has_pending_commits": true,
- "deployed_url": "string",
- "last_finished_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_running_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_released_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "app_name": "string",
- "primary_domain": "ba84b5a5-4ba6-45bc-ae67-5060535280fc",
- "divio_domain": "string",
- "application_config": { },
- "ssh_endpoint": { },
- "ondemand_backup_retention_config": "0b7f8b9e-2b00-428d-bffd-2e479c4f3bbb",
- "scheduled_backup_config": "f4a22afa-cbac-47ae-8740-a20a06e344c9",
- "next_scheduled_backup_occurence": "string",
- "pending_commit_count": 0,
- "has_pending_changes": true,
- "running_tasks": [
- {
- "name": "string",
- "identifier": "string"
}
], - "built_in_environment_variables": [
- "string"
]
}
Replace the specified environment
uuid required | string |
branch required | string (Branch) non-empty |
{- "branch": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "branch": "string"
}
Partially update the specified environment
uuid required | string |
branch required | string (Branch) non-empty |
{- "branch": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "branch": "string"
}
uuid required | string |
new_slug required | string (New slug) [ 1 .. 255 ] characters ^[0-9a-z](-*[0-9a-z])*$ |
{- "new_slug": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "slug": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}, - "slug": "string",
- "branch": "string",
- "is_production_grade": true,
- "pending_commits_lookup": "string",
- "has_pending_commits": true,
- "deployed_url": "string",
- "last_finished_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_running_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "currently_released_deployment": {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "success": true,
- "status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "git_commit": "string"
}, - "app_name": "string",
- "primary_domain": "ba84b5a5-4ba6-45bc-ae67-5060535280fc",
- "divio_domain": "string",
- "application_config": { },
- "ssh_endpoint": { },
- "ondemand_backup_retention_config": "0b7f8b9e-2b00-428d-bffd-2e479c4f3bbb",
- "scheduled_backup_config": "f4a22afa-cbac-47ae-8740-a20a06e344c9",
- "next_scheduled_backup_occurence": "string",
- "pending_commit_count": 0,
- "has_pending_changes": true,
- "running_tasks": [
- {
- "name": "string",
- "identifier": "string"
}
], - "built_in_environment_variables": [
- "string"
]
}
uuid required | string |
from_ts | string <date-time> |
to_ts | string <date-time> |
service | string non-empty |
container | string non-empty |
version | string non-empty |
action | string non-empty |
search_query | string [ 3 .. 32 ] characters |
search_before | string non-empty |
search_after | string non-empty |
{- "next": "string",
- "previous": "string",
- "results": [
- {
- "message": "string",
- "timestamp": "2019-08-24T14:15:22Z",
- "id": "string",
- "service": "string",
- "container": "string",
- "action": "",
- "version": "",
- "region": "",
- "matches": [
- {
- "match": "string",
- "position": 0
}
], - "search_key": "string"
}
]
}
uuid required | string |
from_ts | string <date-time> |
to_ts | string <date-time> |
service | string non-empty |
container | string non-empty |
version | string non-empty |
action | string non-empty |
search_query | string [ 3 .. 32 ] characters |
number_of_buckets | integer [ 1 .. 30 ] Default: 30 Number of uniformly distributed time-range buckets to put the found logs to. |
{- "occurrences": [
- {
- "from_timestamp": "2019-08-24T14:15:22Z",
- "to_timestamp": "2019-08-24T14:15:22Z",
- "number_of_occurrences": 0
}
]
}
uuid required | string |
metric required | Array of strings or null <slug> unique [ items <slug >^[-a-zA-Z0-9_]+$ ] |
time_window_preset | string Enum: "1h" "6h" "12h" "24h" "7d" |
from_ts | string |
to_ts | string |
{- "metrics": {
- "property1": {
- "series": [
- {
- "name": "string",
- "data": [
- "string"
]
}
], - "unit": "string"
}, - "property2": {
- "series": [
- {
- "name": "string",
- "data": [
- "string"
]
}
], - "unit": "string"
}
}, - "from_ts": "string",
- "to_ts": "string",
- "interval": 0
}
List invoice items
invoice | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "item_id": 2147483647,
- "item_name": "string",
- "item_class_name": "string",
- "item_url": "string",
- "item_obj_archived": "string",
- "duration": "string",
- "options": "string",
- "is_website_additional_service": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "total": "string"
}
]
}
Get the details of a single invoice item
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "item_id": 2147483647,
- "item_name": "string",
- "item_class_name": "string",
- "item_url": "string",
- "item_obj_archived": "string",
- "duration": "string",
- "options": "string",
- "is_website_additional_service": "string",
- "invoice": "f5072b7b-65cb-48aa-bf69-c999195da70c",
- "title": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "total": "string"
}
List invoices
id | number |
organisation | string |
open | boolean |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "number": "string",
- "created": "2019-08-24T14:15:22Z",
- "period": "string",
- "billing_currency": "string",
- "charge_total": "string",
- "status": "DRAFT",
- "charge_date": "2019-08-24",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "payment_methods": "string",
- "charge_info": "string",
- "extra_info": "string"
}
]
}
Get the details of a single invoice
uuid required | string <uuid> |
{- "id": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "number": "string",
- "created": "2019-08-24T14:15:22Z",
- "period": "string",
- "billing_currency": "string",
- "charge_total": "string",
- "status": "DRAFT",
- "charge_date": "2019-08-24",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "payment_methods": "string",
- "charge_info": "string",
- "extra_info": "string"
}
List licenses
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "key": "string",
- "name": "string",
- "data": { }
}
]
}
List maintenance runs
website | string |
status | string Enum: "UPCOMING" "QUEUED" "COMPLETED" "RUNNING" |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "pk": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "runbook": {
- "pk": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "description": "string",
- "is_public": true,
- "is_active": true,
- "can_skip": "string",
- "can_cancel": "string"
}, - "website": 0,
- "application": "string",
- "can_run": "string",
- "can_skip": "string",
- "can_cancel": "string",
- "estimated_execution_time": "string",
- "running": "string",
- "completed": "string",
- "window": {
- "lower": null,
- "upper": null
}, - "scheduled_window": {
- "lower": null,
- "upper": null
}, - "execution_window": {
- "lower": null,
- "upper": null
}, - "logs": [
- {
- "status": "new",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string"
}
]
}
]
}
Get the details of a single maintenance run
uuid required | string <uuid> |
{- "pk": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "runbook": {
- "pk": 0,
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "title": "string",
- "description": "string",
- "is_public": true,
- "is_active": true,
- "can_skip": "string",
- "can_cancel": "string"
}, - "website": 0,
- "application": "string",
- "can_run": "string",
- "can_skip": "string",
- "can_cancel": "string",
- "estimated_execution_time": "string",
- "running": "string",
- "completed": "string",
- "window": {
- "lower": null,
- "upper": null
}, - "scheduled_window": {
- "lower": null,
- "upper": null
}, - "execution_window": {
- "lower": null,
- "upper": null
}, - "logs": [
- {
- "status": "new",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string"
}
]
}
List patches
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "callback_received_at": "2019-08-24T14:15:22Z",
- "applied_at": "2019-08-24T14:15:22Z",
- "author": 0,
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "message": "string"
}
]
}
Create a new patch object
message required | string (Message) non-empty |
environment required | string <uuid> (Environment) |
{- "message": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "callback_received_at": "2019-08-24T14:15:22Z",
- "applied_at": "2019-08-24T14:15:22Z",
- "body": "string",
- "author": 0,
- "message": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "callback_url": "string"
}
Get the details of a single patch
uuid required | string <uuid> A UUID string identifying this Patch. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "callback_received_at": "2019-08-24T14:15:22Z",
- "applied_at": "2019-08-24T14:15:22Z",
- "author": 0,
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "message": "string",
- "body": "string"
}
Replace the specified patch
uuid required | string <uuid> A UUID string identifying this Patch. |
message required | string (Message) non-empty |
environment required | string <uuid> (Environment) |
{- "message": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "created_at": "2019-08-24T14:15:22Z",
- "callback_received_at": "2019-08-24T14:15:22Z",
- "applied_at": "2019-08-24T14:15:22Z",
- "body": "string",
- "author": 0,
- "message": "string",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "callback_url": "string"
}
Populate the patch body
uuid required | string <uuid> A UUID string identifying this Patch. |
body required | string (Body) |
{- "body": "string"
}
{- "body": "string"
}
List regions
uuid | string |
name | string |
short_name | string |
organisation | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "short_name": "string",
- "short_description_html": "string",
- "cloudspace_hash": "string",
- "is_public": true,
- "is_default": true,
- "ram_unit_size": 32767,
- "ram_unit_price": "string",
- "disk_unit_size": 2147483647,
- "disk_unit_price": "string",
- "transfer_unit_size": 2147483647,
- "transfer_unit_price": "string"
}
]
}
Get the details of a single region
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "short_name": "string",
- "short_description_html": "string",
- "cloudspace_hash": "string",
- "is_public": true,
- "is_default": true,
- "ram_unit_size": 32767,
- "ram_unit_price": "string",
- "disk_unit_size": 2147483647,
- "disk_unit_price": "string",
- "transfer_unit_size": 2147483647,
- "transfer_unit_price": "string"
}
List repositories
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "authentication_type": "USERPASS",
- "is_read_only": true
}
]
}
Create a new repository object
organisation required | string <uuid> (Organisation) |
url required | string (Url) non-empty |
username | string (Username) non-empty |
password | string (Password) non-empty |
github_installation_id | integer (Github installation id) |
key_type | string (Key type) Default: "ED25519" Enum: "ED25519" "ECDSA" "RSA" Supported key types for SSH key generation. |
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "url": "string",
- "username": "string",
- "password": "string",
- "github_installation_id": 0,
- "key_type": "ED25519"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "url": "string",
- "username": "string",
- "password": "string",
- "github_installation_id": 0,
- "auth_info": "string",
- "key_type": "ED25519"
}
Get the details of a single repository
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "authentication_type": "USERPASS",
- "is_read_only": true,
- "authentication_config": {
- "username": "string",
- "key_public": "string",
- "key_type": "ED25519"
}, - "last_pull_success": true,
- "last_pulled_at": "2019-08-24T14:15:22Z",
- "last_push_success": true,
- "last_pushed_at": "2019-08-24T14:15:22Z",
- "state": "UNKNOWN",
- "state_message": "string"
}
Replace the specified repository
uuid required | string |
authentication_type required | string (Authentication type)
| ||||||||
authentication_config | object (Authentication config) |
{- "authentication_type": "USERPASS",
- "authentication_config": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "authentication_type": "USERPASS",
- "authentication_config": { }
}
Partially update the specified repository
uuid required | string |
authentication_type required | string (Authentication type)
| ||||||||
authentication_config | object (Authentication config) |
{- "authentication_type": "USERPASS",
- "authentication_config": { }
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "authentication_type": "USERPASS",
- "authentication_config": { }
}
uuid required | string |
migrate | boolean (Migrate) Default: false |
branch | string (Branch) non-empty Default: "main" |
{- "migrate": false,
- "branch": "main"
}
{- "status": true,
- "message": "string",
- "code": "string"
}
uuid required | string |
lookup required | string non-empty The lookup is a git revision range in the format of https://git-scm.com/docs/gitrevisions#_specifying_ranges. |
{- "results": [
- {
- "summary": "string",
- "hexsha": "string",
- "author_name": "string",
- "author_email": "string",
- "authored_date": "2019-08-24T14:15:22Z",
}
]
}
{- "connection_info": "string",
- "authentication_type": "USERPASS",
- "authentication_info": "string"
}
Returns None
for HTTPS authentication.
uuid required | string |
key_type | string (Key type) Default: "ED25519" Enum: "ED25519" "ECDSA" "RSA" Supported key types for SSH key generation. |
{- "key_type": "ED25519"
}
{- "public_key": "string"
}
On conflict, the remote information will be used and local conflicting commits will be discarded.
uuid required | string |
{ }
{- "status": true,
- "message": "string",
- "code": "string"
}
Hard resets the local repository copy to back to origin.
uuid required | string |
{ }
{- "status": true,
- "message": "string",
- "code": "string"
}
uuid required | string |
organisation required | string <uuid> (Organisation) |
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
Verify push pull permissions on a repository
uuid required | string |
{ }
{- "status": true,
- "message": "string",
- "code": "string"
}
List scheduled backup configurations
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "identifier": "string",
- "short_description": "string",
- "retention_config": "fc93398e-ac85-4aad-89e2-ccdd72073c9f"
}
]
}
Get the details of a single scheduled backup configuration
uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "identifier": "string",
- "short_description": "string",
- "retention_config": "fc93398e-ac85-4aad-89e2-ccdd72073c9f"
}
List service instance backup restores
uuid | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup_restore": "1dc2d530-6494-4e20-aa2a-a6d87328a950",
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482",
- "queued_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "errors": [
- "string"
]
}
]
}
Get the details of a single service instance backup restore
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup_restore": "1dc2d530-6494-4e20-aa2a-a6d87328a950",
- "service_instance_backup": "4161e5a6-3fef-4502-a0fe-dd044768b370",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482",
- "queued_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "errors": [
- "string"
]
}
List service instance backups
uuid | Array of strings |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service": "string",
- "service_instance": "string",
- "service_type": "string",
- "service_prefix": "string",
- "size": -9223372036854776000,
- "errors": [
- "string"
], - "queued_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z"
}
]
}
Get the details of a single service instance backup
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service": "string",
- "service_instance": "string",
- "service_type": "string",
- "service_prefix": "string",
- "size": -9223372036854776000,
- "errors": [
- "string"
], - "queued_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "taken_at": "2019-08-24T14:15:22Z"
}
List service instances
environment | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd",
- "service_status": "NEW",
- "last_status_update": "2019-08-24T14:15:22Z",
- "prefix": "DEFAULT",
- "type": "string",
- "last_config_update": "2019-08-24T14:15:22Z",
- "environment_variables": [
- "string"
]
}
]
}
Create a new service instance object
environment required | string <uuid> (Environment) |
prefix required | string (Prefix) [ 1 .. 32 ] characters |
service required | string <uuid> (Service) |
{- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "prefix": "string",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "prefix": "string",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd"
}
Get the details of a single service instance
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd",
- "service_status": "NEW",
- "last_status_update": "2019-08-24T14:15:22Z",
- "prefix": "DEFAULT",
- "type": "string",
- "last_config_update": "2019-08-24T14:15:22Z",
- "environment_variables": [
- "string"
]
}
Replace the specified service instance
uuid required | string |
prefix required | string (Prefix) [ 1 .. 32 ] characters |
{- "prefix": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "prefix": "string"
}
Partially update the specified service instance
uuid required | string |
prefix required | string (Prefix) [ 1 .. 32 ] characters |
{- "prefix": "string"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "prefix": "string"
}
List services
name | string |
type | string |
identifier | string |
is_backupable | boolean |
is_self_manageable | boolean |
region | string |
website | string Limit to services available to the given application. |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "type": "string",
- "description": "string",
- "is_backupable": true,
- "is_self_manageable": true,
- "identifier": "string",
}
]
}
Get the details of a single service
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "type": "string",
- "description": "string",
- "is_backupable": true,
- "is_self_manageable": true,
- "identifier": "string",
}
List webhooks
repository | string |
page | integer A page number within the paginated result set. |
page_size | integer Number of results to return per page. |
{- "count": 0,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "provider_class": "GITLAB",
- "provider_config": { },
- "last_dispatch_at": "2019-08-24T14:15:22Z",
- "last_dispatch_success": true,
- "last_dispatch_message": "string",
- "date_created": "2019-08-24T14:15:22Z",
- "date_modified": "2019-08-24T14:15:22Z"
}
]
}
Create a new webhook object
provider required | string (Provider)
| ||||||||
repository required | string <uuid> (Repository) |
{- "provider": "GITLAB",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b"
}
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "provider": "GITLAB",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b"
}
Get the details of a single webhook
uuid required | string |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "provider_class": "GITLAB",
- "provider_config": { },
- "last_dispatch_at": "2019-08-24T14:15:22Z",
- "last_dispatch_success": true,
- "last_dispatch_message": "string",
- "date_created": "2019-08-24T14:15:22Z",
- "date_modified": "2019-08-24T14:15:22Z"
}
Generate a new secret for a webhook and returns it
uuid required | string |
{ }
{- "secret": "string"
}
Try to setup the webhook on the remote automatically. This currently only works for Github.
uuid required | string |
{ }
{ }
This function is publicly available and is the same endpoint for multiple different types of webhooks (e.g. Github, Gitlab, Bitbucket).
uuid required | string |
{ }
{ }