List app templates
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "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 <uuid> |
| avatar_size | string |
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| type | string |
| user_name | string |
{- "count": 123,
- "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": null,
- "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": null,
- "user_name": "string",
- "user_email": "string",
- "user_is_removed": true
}List applications
| avatar_sizes | string |
| copied_from | string <uuid> |
| copy_type | string Enum: "COPY" "FORK" "MIRROR"
|
| has_bugs | boolean has_bugs |
| is_mirror | boolean is_mirror |
| is_suspended | boolean is_suspended |
| is_undergoing_maintenance | boolean |
| name_search | string |
| o | Array of strings Items Enum: "-created_at" "-name" "created_at" "name" Ordering
|
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| requires_migration | boolean requires_migration |
| screenshot_sizes | string |
| slug | string |
| tags | string tags |
| uuid | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "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": "0febfabb-3743-40fd-aa49-15c46a5d041c",
- "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "on_free_trial": true,
- "free_trial_days_left": 0
}
]
}Create a new application object
| name required | string |
| region required | string <uuid> |
| app_template | string or null <uri> |
| organisation required | string <uuid> |
| plan_group required | string <uuid> |
| repository | string or null <uuid> |
| branch | string Default: "main" |
| repository_prepopulated | boolean Default: false |
Array of objects or null (ReleaseCommand) | |
| slug required | string |
Array of objects (TagField) <= 50 items | |
| disk | integer |
| transfer | integer |
Array of objects or null (ContainerStructure) | |
Array of objects (ApplicationBillableServiceSubscriptionForApplicationCreation) |
{- "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
}
], - "billable_service_subscriptions": [
- {
- "plan": "c685f150-7cb7-436f-9700-386be171480b",
- "quantity": 2147483647
}
]
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "branch": "main",
- "repository_prepopulated": false,
- "release_commands": [
- {
- "label": "string",
- "command": "string"
}
], - "tags": [
- {
- "name": "string",
- "value": "string"
}
], - "disk": 0,
- "transfer": 0
}Get the details of a single application
| uuid required | string <uuid> |
| avatar_sizes | string |
| screenshot_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": "0febfabb-3743-40fd-aa49-15c46a5d041c",
- "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": "9322125f-9b73-486b-a06e-f48ffbe0e7ab",
- "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": true,
- "requires_migration_to": "74d37c0e-ec63-4b3c-9571-b6efd1773b80",
- "is_locked": true,
- "features": [
- "string"
], - "permissions": [
- "string"
], - "can_add_environment": true
}Replace the specified application
| uuid required | string <uuid> |
| name required | string <= 255 characters |
| maintenance_window_start | integer [ 0 .. 2147483647 ] |
| maintenance_window_duration | integer [ 0 .. 2147483647 ] |
Array of objects (ReleaseCommand) | |
| port | integer or null [ 0 .. 2147483647 ] |
| startup_probe_max_retries | integer [ 1 .. 1000 ] |
| startup_probe_request_timeout | integer [ 1 .. 60 ] |
| startup_probe_retry_timeout | integer [ 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 | string <= 255 characters |
| maintenance_window_start | integer [ 0 .. 2147483647 ] |
| maintenance_window_duration | integer [ 0 .. 2147483647 ] |
Array of objects (ReleaseCommand) | |
| port | integer or null [ 0 .. 2147483647 ] |
| startup_probe_max_retries | integer [ 1 .. 1000 ] |
| startup_probe_request_timeout | integer [ 1 .. 60 ] |
| startup_probe_retry_timeout | integer [ 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"
}
]
}Archive the specified application
| uuid required | string <uuid> |
| verify_name required | string |
| delete_immediately | boolean Default: false Archive and then immediately delete the application, bypassing the regular time gap between these two actions |
{- "verify_name": "string",
- "delete_immediately": false
}{- "status": true,
- "message": "string",
- "code": "string"
}| uuid required | string <uuid> |
| target_name required | string |
| target_organisation required | string <uuid> |
| type required | string (ApplicationCopyTypeEnum) Enum: "FORK" "MIRROR"
|
{- "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": "0febfabb-3743-40fd-aa49-15c46a5d041c",
- "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": "9322125f-9b73-486b-a06e-f48ffbe0e7ab",
- "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": true,
- "requires_migration_to": "74d37c0e-ec63-4b3c-9571-b6efd1773b80",
- "is_locked": true,
- "features": [
- "string"
], - "permissions": [
- "string"
], - "can_add_environment": true
}Migrates an application to an external repository.
| uuid required | string <uuid> |
| repository required | string <uuid> |
{- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b"
}{- "status": true,
- "message": "string",
- "code": "string"
}| uuid required | string <uuid> |
| organisation required | string <uuid> |
{- "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 <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| service_instance_backup | string <uuid> |
{- "count": 123,
- "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> A UUID string identifying this backup download service instance. |
{- "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": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "author": "32ad2cdb-22a2-48aa-a42c-1c53a9afc4bd"
}
]
}Create a new backup download object
| backup required | string <uuid> |
| trigger required | string (TriggerBbfEnum) Enum: "MANUAL" "PULL"
|
| service_instance_backups required | Array of strings <uuid> [ 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"
}Get the details of a single backup download
| uuid required | string <uuid> A UUID string identifying this backup download. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "author": "32ad2cdb-22a2-48aa-a42c-1c53a9afc4bd",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": "MANUAL"
}List backup restores
| environment | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": 0,
- "finished": true,
- "success": "SUCCESS",
- "notes": "string",
- "service_instance_backup_restores": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}Create a new backup restore object
| backup required | string <uuid> |
required | Array of objects (BackupRestoreServiceInstanceParams) |
| notes | string <= 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> A UUID string identifying this backup restore. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "trigger": 0,
- "finished": true,
- "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": 123,
- "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 <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "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": 0,
- "meta_information": null,
- "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> |
| notes | string <= 255 characters |
| services required | Array of strings <uuid> [ items <uuid > ] |
| scheduled_for_deletion_at | string or null <date-time> 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",
- "scheduled_for_deletion_at": "2019-08-24T14:15:22Z"
}Get the details of a single backup
| uuid required | string <uuid> A UUID string identifying this backup. |
{- "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": 0,
- "meta_information": null,
- "service_instance_backups": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "scheduled_for_deletion_at": "2019-08-24T14:15:22Z",
- "success": "SUCCESS"
}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> [ items <uuid > ] |
| environment required | string <uuid> |
| notes | string |
| scheduled_for_deletion_at | string <date-time> |
{- "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": {
}
}List builds
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "website": "f40b6ff2-3de0-4afd-9c60-780796939bcc",
- "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> A UUID string identifying this build. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "website": "f40b6ff2-3de0-4afd-9c60-780796939bcc",
- "build_type": "string",
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z",
- "git_commit": "string",
- "docker_image": "string"
}List charges
| invoice | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "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 <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "server": "string",
- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}
]
}Create a new container registry object
| server required | string <= 255 characters |
| organisation required | string <uuid> |
| username required | string |
| password required | string |
{- "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 <= 255 characters |
| organisation required | string <uuid> |
| username required | string |
| password required | string |
{- "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 | string <= 255 characters |
| organisation | string <uuid> |
| username | string |
| password | string |
{- "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": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "short_name": "string",
- "long_name": "string"
}
]
}List cronjobs
| environment | string <uuid> |
| limit | integer Number of results to return per page. |
| offset | integer The initial index from which to return the results. |
{- "count": 123,
- "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 |
| frequency required | string (FrequencyEnum) Enum: "DAILY" "HOURLY" "EVERY10MIN"
|
| time | string <= 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> |
| custom_timeout | integer or null [ 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> A UUID string identifying this cronjob. |
{- "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 <uuid> A UUID string identifying this cronjob. |
| command required | string |
| frequency required | string (FrequencyEnum) Enum: "DAILY" "HOURLY" "EVERY10MIN"
|
| time | string <= 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 [ 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 <uuid> A UUID string identifying this cronjob. |
| command | string |
| frequency | string (FrequencyEnum) Enum: "DAILY" "HOURLY" "EVERY10MIN"
|
| time | string <= 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 [ 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
| application | string <uuid> |
| environment | string <uuid> |
| is_success | boolean |
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| task | string |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": 0.1,
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "alternative_dockerfile": "string",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12"
}
]
}Create a new deployment object
| environment required | string <uuid> |
| build_mode | string Default: "AUTO" Enum: "AUTO" "ADOPT" "FORCE"
|
| copy_from | string or null <uuid> |
| adopt_deployment | string <uuid> |
| provision_services | boolean 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
}Get the details of a single deployment
| uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": 0.1,
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "alternative_dockerfile": "string",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12",
- "environment_variables": [
- "string"
], - "percent": 0
}Partially update the specified deployment
| uuid required | string <uuid> |
| status | string |
| is_usable | boolean |
| success | boolean or null |
{- "status": "string",
- "is_usable": true,
- "success": true
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": 0.1,
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "alternative_dockerfile": "string",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12",
- "environment_variables": [
- "string"
], - "percent": 0
}| uuid required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "environment": "fafd1151-c401-4fdd-ac01-03d8e7a57166",
- "region": "ac2f330e-0351-4cac-b9d3-953e54b3d1f8",
- "org_membership": "052d699a-f769-42f1-9cac-4bfd43f3660b",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "duration": 0.1,
- "status": "string",
- "is_usable": true,
- "success": true,
- "git_commit": "string",
- "alternative_dockerfile": "string",
- "copy_from": "144bc18e-5e55-4977-aab4-2906b01f1c12",
- "environment_variables": {
- "property1": null,
- "property2": null
}
}| adopt_deployment | string <uuid> |
| application | string |
| build_mode | string non-empty Default: "AUTO" Enum: "AUTO" "ADOPT" "FORCE"
|
| copy_type | string |
| deployed | boolean |
| deploying | boolean |
| is_mirror | boolean |
| last_deployment_failed | boolean |
| limit | integer |
| o | string |
| organisation | string |
| related_to_application | string |
| slug | string |
| with_pending_commits | boolean |
{- "deployed": {
- "property1": null,
- "property2": null
}, - "errored": {
- "property1": null,
- "property2": null
}
}List domains
| application | string <uuid> |
| environment | string <uuid> |
| name | string |
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "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": null,
- "is_tls_enabled": true,
- "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": null,
- "property2": null
}
}
], - "domain_config": {
- "backend_type": "domains.backends.ManualDomainBackend",
- "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 <= 255 characters |
| environment required | string <uuid> |
{- "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": null,
- "is_tls_enabled": true,
- "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": null,
- "property2": null
}
}
], - "domain_config": {
- "backend_type": "domains.backends.ManualDomainBackend",
- "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 |
object (DomainConfig) |
{- "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": "domains.backends.ManualDomainBackend",
- "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> |
| is_redirect_to_primary | boolean |
object (DomainConfig) |
{- "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": "domains.backends.ManualDomainBackend",
- "proxy_endpoint": [
- "string"
], - "certificate": "string",
- "certificate_chain": "string",
- "certificate_expiration_date": "2019-08-24T14:15:22Z"
}
}| domain_action required | string^\w+(-*\w*)*$ |
| uuid required | string <uuid> |
| property name* additional property | any |
{- "property1": null,
- "property2": null
}{- "data": null
}| uuid required | string <uuid> |
| target_environment required | string <uuid> |
{- "target_environment": "3f17d230-ecb9-46b7-b3d9-8f7ccc5b2664"
}{- "target_environment": "3f17d230-ecb9-46b7-b3d9-8f7ccc5b2664"
}List environment metric metadata
| environment | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "identifier": "string",
- "is_visible": true,
- "title": "string",
- "description": "string",
- "chart_name": "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",
- "is_visible": true,
- "title": "string",
- "description": "string",
- "chart_name": "string",
- "chart_display": "line",
- "unit": "string",
- "unit_numerator": "string",
- "unit_denominator": "string"
}List environment variables
| application | Array of strings <uuid> [ items <uuid > ] |
| environment | Array of strings <uuid> [ items <uuid > ] |
| environment_slug | string |
| is_read_only | boolean |
| is_sensitive | boolean |
| name | string |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| uuid | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "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 <= 255 characters |
| environment required | string <uuid> |
| value | string <= 10000 characters |
| is_sensitive | boolean When active, the value of the environment variable should only be exposed upon authorization. |
| is_pattern_replacement_active | boolean 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 <= 255 characters |
| value | string <= 10000 characters |
| is_pattern_replacement_active | boolean 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 | string <= 255 characters |
| value | string <= 10000 characters |
| is_pattern_replacement_active | boolean 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": "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": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}{- "target": "65a17d54-9c67-4477-8b80-d3f97e165aa5"
}List environments
| application | string <uuid> |
| copy_type | string Enum: "COPY" "FORK" "MIRROR"
|
| deployed | boolean deployed |
| deploying | boolean deploying |
| is_mirror | boolean is_mirror |
| last_deployment_failed | boolean last deployment failed |
| name_search | string |
| o | Array of strings Items Enum: "-application" "application" Ordering
|
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| related_to_application | string <uuid> |
| slug | string |
| with_pending_commits | boolean with_pending_commits |
{- "count": 123,
- "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,
- "alternative_dockerfile": "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> |
| slug required | string <= 255 characters ^[-a-zA-Z0-9_]+$ |
| branch required | string |
| alternative_dockerfile | string or null <= 255 characters Path to alternative dockerfile to be used to build images |
{- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "slug": "string",
- "branch": "string",
- "alternative_dockerfile": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "slug": "string",
- "branch": "string",
- "alternative_dockerfile": "string"
}Get the details of a single environment
| uuid required | string <uuid> A UUID string identifying this environment. |
{- "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,
- "alternative_dockerfile": "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": null,
- "ssh_endpoint": {
- "property1": null,
- "property2": null
}, - "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,
- "pending_changes": [
- "string"
], - "running_tasks": [
- {
- "name": "string",
- "identifier": "string"
}
], - "built_in_environment_variables": [
- "string"
]
}Replace the specified environment
| uuid required | string <uuid> A UUID string identifying this environment. |
| branch required | string |
| alternative_dockerfile | string or null <= 255 characters Path to alternative dockerfile to be used to build images |
{- "branch": "string",
- "alternative_dockerfile": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "branch": "string",
- "alternative_dockerfile": "string"
}Partially update the specified environment
| uuid required | string <uuid> A UUID string identifying this environment. |
| branch | string |
| alternative_dockerfile | string or null <= 255 characters Path to alternative dockerfile to be used to build images |
{- "branch": "string",
- "alternative_dockerfile": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "branch": "string",
- "alternative_dockerfile": "string"
}| uuid required | string <uuid> A UUID string identifying this environment. |
| new_slug required | string <= 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,
- "alternative_dockerfile": "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": null,
- "ssh_endpoint": {
- "property1": null,
- "property2": null
}, - "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,
- "pending_changes": [
- "string"
], - "running_tasks": [
- {
- "name": "string",
- "identifier": "string"
}
], - "built_in_environment_variables": [
- "string"
]
}| uuid required | string <uuid> A UUID string identifying this environment. |
| action | string non-empty |
| container | string non-empty |
| from_ts | string <date-time> |
| limit | integer [ 1 .. 1000 ] Default: 1000 Number of log records to return. |
| search_after | string non-empty |
| search_before | string non-empty |
| search_query | string [ 3 .. 32 ] characters |
| service | string non-empty |
| to_ts | string <date-time> |
| version | string non-empty |
{- "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 <uuid> A UUID string identifying this environment. |
| action | string non-empty |
| container | string non-empty |
| from_ts | string <date-time> |
| number_of_buckets | integer [ 1 .. 30 ] Default: 30 Number of uniformly distributed time-range buckets to put the found logs to. |
| search_query | string [ 3 .. 32 ] characters |
| service | string non-empty |
| to_ts | string <date-time> |
| version | string non-empty |
{- "occurrences": [
- {
- "from_timestamp": "2019-08-24T14:15:22Z",
- "to_timestamp": "2019-08-24T14:15:22Z",
- "number_of_occurrences": 0
}
]
}| uuid required | string <uuid> A UUID string identifying this environment. |
| from_ts | string |
| metric required | Array of strings or null |
| time_window_preset | string non-empty Enum: "1h" "6h" "12h" "24h" "7d"
|
| 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 <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "item_id": 2147483647,
- "item_name": "string",
- "item_class_name": "string",
- "item_obj_archived": true,
- "duration": "string",
- "options": "string",
- "is_website_additional_service": true,
- "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_obj_archived": true,
- "duration": "string",
- "options": "string",
- "is_website_additional_service": true,
- "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 | integer |
| open | boolean open |
| organisation | string <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "results": [
- {
- "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> |
{- "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": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "key": "string",
- "name": "string",
- "data": null
}
]
}List maintenance runs
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| status | string Enum: "COMPLETED" "QUEUED" "RUNNING" "UPCOMING"
|
| website | string |
{- "count": 123,
- "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": true,
- "can_cancel": true
}, - "website": 0,
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "can_run": true,
- "can_skip": true,
- "can_cancel": true,
- "estimated_execution_time": "string",
- "running": true,
- "completed": true,
- "window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "scheduled_window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "execution_window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "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": true,
- "can_cancel": true
}, - "website": 0,
- "application": "2b22d485-f04e-492b-b364-e14f8506726a",
- "can_run": true,
- "can_skip": true,
- "can_cancel": true,
- "estimated_execution_time": "string",
- "running": true,
- "completed": true,
- "window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "scheduled_window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "execution_window": {
- "lower": "2019-08-24T14:15:22Z",
- "upper": "2019-08-24T14:15:22Z"
}, - "logs": [
- {
- "status": "new",
- "date_created": "2019-08-24T14:15:22Z",
- "description": "string"
}
]
}List regions
| name | string |
| organisation | string |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| short_name | string |
| uuid | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "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": 123,
- "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> |
| url required | string |
| username | string |
| password | string |
| github_installation_id | integer |
| key_type | string 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",
- "auth_info": "string"
}Get the details of a single repository
| uuid required | string <uuid> A UUID string identifying this repository. |
{- "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 <uuid> A UUID string identifying this repository. |
| authentication_type required | string (AuthenticationTypeEnum) Enum: "USERPASS" "KEYPAIR" "GITHUB_APP"
|
| authentication_config | any |
{- "authentication_type": "USERPASS",
- "authentication_config": null
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "authentication_type": "USERPASS",
- "authentication_config": null
}Partially update the specified repository
| uuid required | string <uuid> A UUID string identifying this repository. |
| authentication_type | string (AuthenticationTypeEnum) Enum: "USERPASS" "KEYPAIR" "GITHUB_APP"
|
| authentication_config | any |
{- "authentication_type": "USERPASS",
- "authentication_config": null
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "authentication_type": "USERPASS",
- "authentication_config": null
}| uuid required | string <uuid> A UUID string identifying this repository. |
| migrate | boolean Default: false |
| branch | string Default: "main" |
{- "migrate": false,
- "branch": "main"
}{- "status": true,
- "message": "string",
- "code": "string"
}| uuid required | string <uuid> A UUID string identifying this repository. |
| 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",
}
]
}| uuid required | string <uuid> A UUID string identifying this repository. |
{- "connection_info": {
- "property1": "string",
- "property2": "string"
}, - "authentication_type": "USERPASS",
- "authentication_info": {
- "property1": "string",
- "property2": "string"
}
}If applicable, generate a new public / private keypair.
Returns None for HTTPS authentication.
| uuid required | string <uuid> A UUID string identifying this repository. |
| key_type | string Default: "ED25519" Enum: "ED25519" "ECDSA" "RSA" Supported key types for SSH key generation.
|
{- "key_type": "ED25519"
}{- "public_key": "string"
}Cleans the local repository (delete all unwatched files) and makes a pull from the repository.
On conflict, the remote information will be used and local conflicting commits will be discarded.
| uuid required | string <uuid> A UUID string identifying this repository. |
{- "status": true,
- "message": "string",
- "code": "string"
}| uuid required | string <uuid> A UUID string identifying this repository. |
| organisation required | string <uuid> |
{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}{- "organisation": "a4b97354-4e56-4723-bc0e-1f22b5fcbed6"
}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": 123,
- "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"
}OpenApi3 schema for this API. Format can be selected via content negotiation.
| format | string Enum: "json" "yaml" |
| lang | string Enum: "af" "ar" "ar-dz" "ast" "az" "be" "bg" "bn" "br" "bs" "ca" "ckb" "cs" "cy" "da" "de" "dsb" "el" "en" "en-au" "en-gb" "eo" "es" "es-ar" "es-co" "es-mx" "es-ni" "es-ve" "et" "eu" "fa" "fi" "fr" "fy" "ga" "gd" "gl" "he" "hi" "hr" "hsb" "hu" "hy" "ia" "id" "ig" "io" "is" "it" "ja" "ka" "kab" "kk" "km" "kn" "ko" "ky" "lb" "lt" "lv" "mk" "ml" "mn" "mr" "ms" "my" "nb" "ne" "nl" "nn" "os" "pa" "pl" "pt" "pt-br" "ro" "ru" "sk" "sl" "sq" "sr" "sr-latn" "sv" "sw" "ta" "te" "tg" "th" "tk" "tr" "tt" "udm" "uk" "ur" "uz" "vi" "zh-hans" "zh-hant" |
List service instance backup restores
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| uuid | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "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> A UUID string identifying this service instance backup restore. |
{- "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
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| uuid | Array of strings <uuid> [ items <uuid > ] |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482",
- "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> A UUID string identifying this service instance backup. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "backup": "dbd9d221-8e93-4901-bb73-e2d59863aa61",
- "service": "cd8c5e52-093e-43db-9c42-184f00e681dd",
- "service_instance": "78fcb6d3-acaa-4596-a622-cccc1d676482",
- "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 <uuid> |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
{- "count": 123,
- "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> |
| prefix required | string <= 32 characters |
| service required | string <uuid> |
{- "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> A UUID string identifying this instance. |
{- "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 <uuid> A UUID string identifying this instance. |
| prefix required | string <= 32 characters |
{- "prefix": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "prefix": "string"
}Partially update the specified service instance
| uuid required | string <uuid> A UUID string identifying this instance. |
| prefix | string <= 32 characters |
{- "prefix": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "prefix": "string"
}List services
| identifier | string |
| is_backupable | boolean |
| is_self_manageable | boolean |
| name | string |
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| region | Array of strings |
| type | string Enum: "AMQP" "DATABASE" "SEARCH" "STORAGE" Type of service, e.g. database, or object storage.
|
| website | string <uuid> |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "type": "DATABASE",
- "description": "string",
- "is_backupable": true,
- "is_self_manageable": true,
- "identifier": "string",
- "requires_subscriptions": [
- {
- "subscription_type": "DOMAINS"
}
]
}
]
}Get the details of a single service
| uuid required | string <uuid> A UUID string identifying this service. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string",
- "type": "DATABASE",
- "description": "string",
- "is_backupable": true,
- "is_self_manageable": true,
- "identifier": "string",
- "requires_subscriptions": [
- {
- "subscription_type": "DOMAINS"
}
]
}List webhooks
| page | integer A page number within the paginated result set. |
| page_size | integer Number of results to return per page. |
| repository | string <uuid> |
{- "count": 123,
- "results": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "provider_class": "GITLAB",
- "provider_config": null,
- "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 (ProviderEnum) Enum: "GITLAB" "GITHUB" "BITBUCKET"
|
| repository required | string <uuid> |
{- "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> A UUID string identifying this webhook. |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "repository": "e3d1beef-8819-44ce-aeb0-6d1f16e4ee3b",
- "provider_class": "GITLAB",
- "provider_config": null,
- "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"
}