diff --git a/shared/pages/api.html b/shared/pages/api.html index 02f0208650..3e44d181d7 100644 --- a/shared/pages/api.html +++ b/shared/pages/api.html @@ -473,7 +473,7 @@
-{- "items": [
- {
- "id": "string",
- "type": "fixed",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "namespace": "string",
- "name": "string",
- "label": "string",
- "country": "st",
- "capabilities": [
- "string"
], - "vendor": "string",
- "billing_account_id": "string",
- "billing_legacy": true,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "href": "string"
}, - "update": {
- "href": "string",
- "method": "string"
}, - "delete": {
- "href": "string",
- "method": "string"
}, - "members": {
- "href": "string"
}, - "create-member": {
- "href": "string",
- "method": "string"
}, - "address": {
- "href": "string"
}, - "profile": {
- "href": "string"
}, - "payment-source": {
- "href": "string"
}, - "orders": {
- "href": "string"
}, - "vouchers": {
- "href": "string"
}, - "apply-voucher": {
- "href": "string",
- "method": "string"
}, - "subscriptions": {
- "href": "string"
}, - "create-subscription": {
- "href": "string",
- "method": "string"
}, - "estimate-subscription": {
- "href": "string"
}, - "mfa-enforcement": {
- "href": "string"
}
}
}
], - "_links": {
- "self": {
- "href": "string"
}, - "previous": {
- "href": "string"
}, - "next": {
- "href": "string"
}
}
}{- "items": [
- {
- "id": "string",
- "type": "fixed",
- "owner_id": "8826ee2e-7933-4665-aef2-2393f84a0d05",
- "namespace": "string",
- "name": "string",
- "label": "string",
- "country": "st",
- "capabilities": [
- "string"
], - "vendor": "string",
- "billing_account_id": "string",
- "billing_legacy": true,
- "status": "active",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "_links": {
- "self": {
- "href": "string"
}, - "update": {
- "href": "string",
- "method": "string"
}, - "delete": {
- "href": "string",
- "method": "string"
}, - "members": {
- "href": "string"
}, - "create-member": {
- "href": "string",
- "method": "string"
}, - "address": {
- "href": "string"
}, - "profile": {
- "href": "string"
}, - "payment-source": {
- "href": "string"
}, - "orders": {
- "href": "string"
}, - "vouchers": {
- "href": "string"
}, - "apply-voucher": {
- "href": "string",
- "method": "string"
}, - "subscriptions": {
- "href": "string"
}, - "create-subscription": {
- "href": "string",
- "method": "string"
}, - "estimate-subscription": {
- "href": "string"
}, - "mfa-enforcement": {
- "href": "string"
}
}
}
], - "_links": {
- "self": {
- "href": "string"
}, - "previous": {
- "href": "string"
}, - "next": {
- "href": "string"
}
}
}Non-admin users will only see organizations they are members of.
object (StringFilter) Allows filtering by Using the Access Token" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw eRTzUs ljKHqG">Forbidden Response samples
Content type application/json {Response samples
Content type application/json {Create organizationCreates a new organization. Authorizations:OAuth2 Request Body schema: application/json |
| label required | string The human-readable label of the organization. @@ -807,7 +807,7 @@Using the Access Token" class="sc-eVqvcJ sc-fszimp sc-etsjJW kIppRw eRTzUs ljKHqG">Forbidden Request samples
Content type application/json {Response samples
Content type application/json {Request samples
Content type application/json {Response samples
Content type application/json {Get organizationRetrieves the specified organization. Authorizations:OAuth2 path Parameters
ResponsesRequest samples
Content type application/json {Response samples
Content type application/json {{schemes}://api.upsun.com/projects/{projectId}/environments/{environmentId}/backups/{backupId}/restore Request samples
Content type application/json {Response samples
Content type application/json {Using the Access Token
within an environment.
Authorizations:OAuth2 path Parameters
ResponsesResponse samples
Content type application/json [Response samples
Content type application/json [Add an environment variableUsing the Access Token
section in our documentation for more information.
Authorizations:OAuth2 path Parameters
Request Body schema: application/json |
| name required | string (Name) |
| value required | string (Value) |
object (Arbitrary attributes attached to this resource) | |
| is_json | boolean (The variable is a JSON string) |
| is_sensitive | boolean (The variable is sensitive) |
| visible_build | boolean (The variable is visible during build) |
| visible_runtime | boolean (The variable is visible at runtime) |
| application_scope | Array of strings (Applications that have access to this variable) |
| is_enabled | boolean (The variable is enabled on this environment) |
| is_inheritable | boolean (The variable is inheritable to child environments) |
{- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "is_enabled": true,
- "is_inheritable": true
}{- "status": "string",
- "code": 0
}{- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "is_enabled": true,
- "is_inheritable": true
}{- "status": "string",
- "code": 0
}Retrieve a single user-defined environment variable.
| projectId required | string |
| environmentId required | string |
| variableId required | string |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "project": "string",
- "environment": "string",
- "inherited": true,
- "is_enabled": true,
- "is_inheritable": true
}{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "project": "string",
- "environment": "string",
- "inherited": true,
- "is_enabled": true,
- "is_inheritable": true
}| projectId required | string |
| environmentId required | string |
| variableId required | string |
| name | string (Name) |
object (Arbitrary attributes attached to this resource) | |
| value | string (Value) |
| is_json | boolean (The variable is a JSON string) |
| is_sensitive | boolean (The variable is sensitive) |
| visible_build | boolean (The variable is visible during build) |
| visible_runtime | boolean (The variable is visible at runtime) |
| application_scope | Array of strings (Applications that have access to this variable) |
| is_enabled | boolean (The variable is enabled on this environment) |
| is_inheritable | boolean (The variable is inheritable to child environments) |
{- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "is_enabled": true,
- "is_inheritable": true
}{- "status": "string",
- "code": 0
}{- "name": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "value": "string",
- "is_json": true,
- "is_sensitive": true,
- "visible_build": true,
- "visible_runtime": true,
- "application_scope": [
- "string"
], - "is_enabled": true,
- "is_inheritable": true
}{- "status": "string",
- "code": 0
}{- "status": "string",
- "code": 0
}.upsun/config.yaml file.
| projectId required | string |
| environmentId required | string |
[- {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
][- {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
]Get details of a route from an environment using the id of the entry
@@ -1923,7 +1923,7 @@
| projectId required | string |
| environmentId required | string |
| routeId required | string |
{- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}{- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}| projectId required | string |
| environmentId required | string |
| operation required | string (The name of the operation to execute) |
required | object (The variables of the application.) |
{- "operation": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}
}{- "status": "string",
- "code": 0
}{- "operation": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}
}{- "status": "string",
- "code": 0
}Lists all the source operations, defined in .upsun/config.yaml, that are available in an environment.
@@ -1949,11 +1949,11 @@
| projectId required | string |
| environmentId required | string |
[- {
- "id": "string",
- "app": "string",
- "operation": "string",
- "command": "string"
}
][- {
- "id": "string",
- "app": "string",
- "operation": "string",
- "command": "string"
}
]Execute a runtime operation on a currently deployed environment. This allows you to run one-off commands, such as rebuilding static assets on demand, by defining an operations key in a project's .upsun/config.yaml configuration. More information on runtime operations is available in our user documentation.
| projectId required | string |
| environmentId required | string |
| deploymentId required | string |
| service required | string (The name of the application or worker to run the operation on) |
| operation required | string (The name of the operation) |
| parameters required | Array of strings (The parameters to run the operation with) |
{- "service": "string",
- "operation": "string",
- "parameters": [
- "string"
]
}{- "status": "string",
- "code": 0
}{- "service": "string",
- "operation": "string",
- "parameters": [
- "string"
]
}{- "status": "string",
- "code": 0
}| projectId required | string |
| environmentId required | string |
[- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "cluster_name": "string",
- "project_info": {
- "title": "string",
- "name": "string",
- "namespace": "string",
- "organization": "string",
- "capabilities": { },
- "settings": { }
}, - "environment_info": {
- "name": "string",
- "status": "string",
- "is_main": true,
- "is_production": true,
- "constraints": { },
- "reference": "string",
- "machine_name": "string",
- "environment_type": "string",
- "links": { }
}, - "deployment_target": "string",
- "vpn": {
- "version": 1,
- "aggressive": "no",
- "modeconfig": "pull",
- "authentication": "string",
- "gateway_ip": "string",
- "identity": "string",
- "second_identity": "string",
- "remote_identity": "string",
- "remote_subnets": [
- "string"
], - "ike": "string",
- "esp": "string",
- "ikelifetime": "string",
- "lifetime": "string",
- "margintime": "string"
}, - "http_access": {
- "is_enabled": true,
- "addresses": [
- {
- "permission": "allow",
- "address": "string"
}
], - "basic_auth": {
- "property1": "string",
- "property2": "string"
}
}, - "enable_smtp": true,
- "restrict_robots": true,
- "variables": [
- {
- "name": "string",
- "value": "string",
- "is_sensitive": true,
- "is_json": true,
- "visible_build": true,
- "visible_runtime": true
}
], - "access": [
- {
- "entity_id": "string",
- "role": "admin"
}
], - "subscription": {
- "license_uri": "string",
- "plan": "2xlarge",
- "environments": 0,
- "storage": 0,
- "included_users": 0,
- "subscription_management_uri": "string",
- "restricted": true,
- "suspended": true,
- "user_licenses": 0,
- "resources": {
- "container_profiles": true,
- "production": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}, - "development": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}
}, - "resource_validation_url": "string",
- "image_types": {
- "only": [
- "string"
], - "exclude": [
- "string"
]
}
}, - "services": {
- "property1": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}, - "property2": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}
}, - "routes": {
- "property1": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}, - "property2": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
}, - "webapps": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}
}, - "workers": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}
}, - "container_profiles": {
- "property1": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}, - "property2": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}
}
}
][- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "cluster_name": "string",
- "project_info": {
- "title": "string",
- "name": "string",
- "namespace": "string",
- "organization": "string",
- "capabilities": { },
- "settings": { }
}, - "environment_info": {
- "name": "string",
- "status": "string",
- "is_main": true,
- "is_production": true,
- "constraints": { },
- "reference": "string",
- "machine_name": "string",
- "environment_type": "string",
- "links": { }
}, - "deployment_target": "string",
- "vpn": {
- "version": 1,
- "aggressive": "no",
- "modeconfig": "pull",
- "authentication": "string",
- "gateway_ip": "string",
- "identity": "string",
- "second_identity": "string",
- "remote_identity": "string",
- "remote_subnets": [
- "string"
], - "ike": "string",
- "esp": "string",
- "ikelifetime": "string",
- "lifetime": "string",
- "margintime": "string"
}, - "http_access": {
- "is_enabled": true,
- "addresses": [
- {
- "permission": "allow",
- "address": "string"
}
], - "basic_auth": {
- "property1": "string",
- "property2": "string"
}
}, - "enable_smtp": true,
- "restrict_robots": true,
- "variables": [
- {
- "name": "string",
- "value": "string",
- "is_sensitive": true,
- "is_json": true,
- "visible_build": true,
- "visible_runtime": true
}
], - "access": [
- {
- "entity_id": "string",
- "role": "admin"
}
], - "subscription": {
- "license_uri": "string",
- "plan": "2xlarge",
- "environments": 0,
- "storage": 0,
- "included_users": 0,
- "subscription_management_uri": "string",
- "restricted": true,
- "suspended": true,
- "user_licenses": 0,
- "resources": {
- "container_profiles": true,
- "production": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}, - "development": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}
}, - "resource_validation_url": "string",
- "image_types": {
- "only": [
- "string"
], - "exclude": [
- "string"
]
}
}, - "services": {
- "property1": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}, - "property2": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}
}, - "routes": {
- "property1": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}, - "property2": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
}, - "webapps": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": null,
- "property2": null
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}
}, - "workers": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}
}, - "container_profiles": {
- "property1": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}, - "property2": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}
}
}
]Retrieve a single deployment configuration with an id of current. This may be subject to change in the future.
Only current can be queried.
| projectId required | string |
| environmentId required | string |
| deploymentId required | string |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "cluster_name": "string",
- "project_info": {
- "title": "string",
- "name": "string",
- "namespace": "string",
- "organization": "string",
- "capabilities": { },
- "settings": { }
}, - "environment_info": {
- "name": "string",
- "status": "string",
- "is_main": true,
- "is_production": true,
- "constraints": { },
- "reference": "string",
- "machine_name": "string",
- "environment_type": "string",
- "links": { }
}, - "deployment_target": "string",
- "vpn": {
- "version": 1,
- "aggressive": "no",
- "modeconfig": "pull",
- "authentication": "string",
- "gateway_ip": "string",
- "identity": "string",
- "second_identity": "string",
- "remote_identity": "string",
- "remote_subnets": [
- "string"
], - "ike": "string",
- "esp": "string",
- "ikelifetime": "string",
- "lifetime": "string",
- "margintime": "string"
}, - "http_access": {
- "is_enabled": true,
- "addresses": [
- {
- "permission": "allow",
- "address": "string"
}
], - "basic_auth": {
- "property1": "string",
- "property2": "string"
}
}, - "enable_smtp": true,
- "restrict_robots": true,
- "variables": [
- {
- "name": "string",
- "value": "string",
- "is_sensitive": true,
- "is_json": true,
- "visible_build": true,
- "visible_runtime": true
}
], - "access": [
- {
- "entity_id": "string",
- "role": "admin"
}
], - "subscription": {
- "license_uri": "string",
- "plan": "2xlarge",
- "environments": 0,
- "storage": 0,
- "included_users": 0,
- "subscription_management_uri": "string",
- "restricted": true,
- "suspended": true,
- "user_licenses": 0,
- "resources": {
- "container_profiles": true,
- "production": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}, - "development": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}
}, - "resource_validation_url": "string",
- "image_types": {
- "only": [
- "string"
], - "exclude": [
- "string"
]
}
}, - "services": {
- "property1": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}, - "property2": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}
}, - "routes": {
- "property1": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}, - "property2": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
}, - "webapps": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}
}, - "workers": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}
}, - "container_profiles": {
- "property1": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}, - "property2": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}
}
}{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fingerprint": "string",
- "cluster_name": "string",
- "project_info": {
- "title": "string",
- "name": "string",
- "namespace": "string",
- "organization": "string",
- "capabilities": { },
- "settings": { }
}, - "environment_info": {
- "name": "string",
- "status": "string",
- "is_main": true,
- "is_production": true,
- "constraints": { },
- "reference": "string",
- "machine_name": "string",
- "environment_type": "string",
- "links": { }
}, - "deployment_target": "string",
- "vpn": {
- "version": 1,
- "aggressive": "no",
- "modeconfig": "pull",
- "authentication": "string",
- "gateway_ip": "string",
- "identity": "string",
- "second_identity": "string",
- "remote_identity": "string",
- "remote_subnets": [
- "string"
], - "ike": "string",
- "esp": "string",
- "ikelifetime": "string",
- "lifetime": "string",
- "margintime": "string"
}, - "http_access": {
- "is_enabled": true,
- "addresses": [
- {
- "permission": "allow",
- "address": "string"
}
], - "basic_auth": {
- "property1": "string",
- "property2": "string"
}
}, - "enable_smtp": true,
- "restrict_robots": true,
- "variables": [
- {
- "name": "string",
- "value": "string",
- "is_sensitive": true,
- "is_json": true,
- "visible_build": true,
- "visible_runtime": true
}
], - "access": [
- {
- "entity_id": "string",
- "role": "admin"
}
], - "subscription": {
- "license_uri": "string",
- "plan": "2xlarge",
- "environments": 0,
- "storage": 0,
- "included_users": 0,
- "subscription_management_uri": "string",
- "restricted": true,
- "suspended": true,
- "user_licenses": 0,
- "resources": {
- "container_profiles": true,
- "production": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}, - "development": {
- "legacy_development": true,
- "max_cpu": 0.1,
- "max_memory": 0,
- "max_environments": 0
}
}, - "resource_validation_url": "string",
- "image_types": {
- "only": [
- "string"
], - "exclude": [
- "string"
]
}
}, - "services": {
- "property1": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}, - "property2": {
- "type": "string",
- "size": "2XL",
- "disk": 0,
- "access": { },
- "configuration": { },
- "relationships": {
- "property1": "string",
- "property2": "string"
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "container_profile": "string",
- "endpoints": { },
- "instance_count": 0
}
}, - "routes": {
- "property1": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}, - "property2": {
- "id": "string",
- "primary": true,
- "production_url": "string",
- "attributes": {
- "property1": "string",
- "property2": "string"
}, - "type": "proxy",
- "tls": {
- "strict_transport_security": {
- "enabled": true,
- "include_subdomains": true,
- "preload": true
}, - "min_version": "TLSv1.0",
- "client_authentication": "request",
- "client_certificate_authorities": [
- "string"
]
}, - "to": "string"
}
}, - "webapps": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "web": {
- "locations": {
- "property1": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}, - "property2": {
- "root": "string",
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "index": [
- "string"
], - "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "rules": {
- "property1": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}, - "property2": {
- "expires": "string",
- "passthru": "string",
- "scripts": true,
- "allow": true,
- "headers": {
- "property1": "string",
- "property2": "string"
}
}
}, - "request_buffering": {
- "enabled": true,
- "max_request_size": "string"
}
}
}, - "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "upstream": {
- "socket_family": "tcp",
- "protocol": "fastcgi"
}, - "document_root": "string",
- "passthru": "string",
- "index_files": [
- "string"
], - "whitelist": [
- "string"
], - "blacklist": [
- "string"
], - "expires": "string",
- "move_to_root": true
}, - "hooks": {
- "build": "string",
- "deploy": "string",
- "post_deploy": "string"
}, - "crons": {
- "property1": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}, - "property2": {
- "spec": "string",
- "commands": {
- "start": "string",
- "stop": "string"
}, - "shutdown_timeout": 0,
- "timeout": 0,
- "cmd": "string"
}
}, - "source": {
- "root": "string",
- "operations": {
- "property1": {
- "command": "string"
}, - "property2": {
- "command": "string"
}
}
}, - "build": {
- "flavor": "string",
- "caches": {
- "property1": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}, - "property2": {
- "directory": "string",
- "watch": [
- "string"
], - "allow_stale": true,
- "share_between_apps": true
}
}
}, - "dependencies": {
- "property1": { },
- "property2": { }
}, - "stack": [
- { }
], - "is_across_submodule": true,
- "instance_count": 0,
- "config_id": "string",
- "slug_id": "string"
}
}, - "workers": {
- "property1": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}, - "property2": {
- "resources": {
- "base_memory": 0,
- "memory_ratio": 0,
- "profile_size": "string",
- "minimum": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "default": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed",
- "disk": 0,
- "profile_size": "string"
}, - "disk": {
- "temporary": 0,
- "instance": 0,
- "storage": 0
}
}, - "size": "2XL",
- "disk": 0,
- "access": {
- "property1": "admin",
- "property2": "admin"
}, - "relationships": {
- "property1": {
- "service": "string",
- "endpoint": "string"
}, - "property2": {
- "service": "string",
- "endpoint": "string"
}
}, - "additional_hosts": {
- "property1": "string",
- "property2": "string"
}, - "mounts": {
- "property1": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}, - "property2": {
- "source": "instance",
- "source_path": "string",
- "service": "string"
}
}, - "timezone": "string",
- "variables": {
- "property1": {
- "property1": null,
- "property2": null
}, - "property2": {
- "property1": null,
- "property2": null
}
}, - "firewall": {
- "outbound": [
- {
- "protocol": "tcp",
- "ips": [
- "string"
], - "domains": [
- "string"
], - "ports": [
- 0
]
}
]
}, - "container_profile": "string",
- "operations": {
- "property1": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}, - "property2": {
- "commands": {
- "start": "string",
- "stop": "string"
}, - "timeout": 0,
- "role": "admin"
}
}, - "name": "string",
- "type": "string",
- "preflight": {
- "enabled": true,
- "ignored_rules": [
- "string"
]
}, - "tree_id": "string",
- "app_dir": "string",
- "endpoints": { },
- "runtime": { },
- "worker": {
- "commands": {
- "pre_start": "string",
- "start": "string",
- "post_start": "string"
}, - "disk": 0
}, - "app": "string",
- "stack": [
- { }
], - "instance_count": 0,
- "slug_id": "string"
}
}, - "container_profiles": {
- "property1": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}, - "property2": {
- "property1": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}, - "property2": {
- "cpu": 0.1,
- "memory": 0,
- "cpu_type": "guaranteed"
}
}
}
}environment.backup.
| projectId required | string |
[- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}
][- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}
]| projectId required | string |
| activityId required | string |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}{- "status": "string",
- "code": 0
}| projectId required | string |
| environmentId required | string |
[- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}
][- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}
]| projectId required | string |
| environmentId required | string |
| activityId required | string |
{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}{- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "parameters": { },
- "project": "string",
- "integration": "string",
- "environments": [
- "string"
], - "state": "cancelled",
- "result": "failure",
- "started_at": "2019-08-24T14:15:22Z",
- "completed_at": "2019-08-24T14:15:22Z",
- "completion_percent": 0,
- "cancelled_at": "2019-08-24T14:15:22Z",
- "timings": {
- "property1": 0.1,
- "property2": 0.1
}, - "log": "string",
- "payload": { },
- "description": "string",
- "text": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "commands": [
- {
- "app": "string",
- "type": "string",
- "exit_code": 0
}
]
}Please note that not all activities are cancelable.
| projectId required | string |
| environmentId required | string |
| activityId required | string |
{- "status": "string",
- "code": 0
}{- "status": "string",
- "code": 0
}Creates an invitation to a project for a user with the specified email address.