{ "info": { "_postman_id": "82be8f62-df61-42b0-b9f7-67faf065ba2c", "name": "Upsun.com Rest Add-ons Environment API", "description": "# Introduction\n\nUpsun, formerly Platform.sh, is a container-based Platform-as-a-Service. Our main API\nis simply Git. With a single `git push` and a couple of YAML files in\nyour repository you can deploy an arbitrarily complex cluster.\nEvery [**Project**](#tag/Project) can have multiple applications (PHP,\nNode.js, Python, Ruby, Go, etc.) and managed, automatically\nprovisioned services (databases, message queues, etc.).\n\nEach project also comes with multiple concurrent\nlive staging/development [**Environments**](#tag/Environment).\nThese ephemeral development environments\nare automatically created every time you push a new branch or create a\npull request, and each has a full copy of the data of its parent branch,\nwhich is created on-the-fly in seconds.\n\nOur Git implementation supports integrations with third party Git\nproviders such as GitHub, Bitbucket, or GitLab, allowing you to simply\nintegrate Upsun into your existing workflow.\n\n## Using the REST API\n\nIn addition to the Git API, we also offer a REST API that allows you to manage\nevery aspect of the platform, from managing projects and environments,\nto accessing accounts and subscriptions, to creating robust workflows\nand integrations with your CI systems and internal services.\n\nThese API docs are generated from a standard **OpenAPI (Swagger)** Specification document\nwhich you can find here in [YAML](openapispec-upsun.yaml) and in [JSON](openapispec-upsun.json) formats.\n\nThis RESTful API consumes and produces HAL-style JSON over HTTPS,\nand any REST library can be used to access it. On GitHub, we also host\na few API libraries that you can use to make API access easier, such as our\n[PHP API client](https://github.com/upsun/upsun-sdk-php).\n\nIn order to use the API you will first need to have an [Upsun account](https://auth.upsun.com/register/) \nand [create an API Token](https://docs.upsun.com/anchors/cli/api-token/).\n\n# Authentication\n\n## OAuth2\n\nAPI authentication is done with OAuth2 access tokens.\n\n### API tokens\n\nYou can use an API token as one way to get an OAuth2 access token. This\nis particularly useful in scripts, e.g. for CI pipelines.\n\nTo create an API token, go to the \"API Tokens\" section\nof the \"Account Settings\" tab on the [Console](https://console.upsun.com).\n\nTo exchange this API token for an access token, a `POST` request\nmust be made to `https://auth.upsun.com/oauth2/token`.\n\nThe request will look like this in cURL:\n\n
\ncurl -u platform-api-user: \\\n    -d 'grant_type=api_token&api_token=API_TOKEN' \\\n    https://auth.upsun.com/oauth2/token\n
\n\nThis will return a \"Bearer\" access token that\ncan be used to authenticate further API requests, for example:\n\n
\n{\n    \"access_token\": \"abcdefghij1234567890\",\n    \"expires_in\": 900,\n    \"token_type\": \"bearer\"\n}\n
\n\n### Using the Access Token\n\nTo authenticate further API requests, include this returned bearer token\nin the `Authorization` header. For example, to retrieve a list of\n[Projects](#tag/Project)\naccessible by the current user, you can make the following request\n(substituting the dummy token for your own):\n\n
\ncurl -H \"Authorization: Bearer abcdefghij1234567890\" \\\n    https://api.upsun.com/projects\n
\n\n# HAL Links\n\nMost endpoints in the API return fields which defines a HAL\n(Hypertext Application Language) schema for the requested endpoint.\nThe particular objects returns and their contents can vary by endpoint.\nThe payload examples we give here for the requests do not show these\nelements. These links can allow you to create a fully dynamic API client\nthat does not need to hardcode any method or schema.\n\nUnless they are used for pagination we do not show the HAL links in the\npayload examples in this documentation for brevity and as their content\nis contextual (based on the permissions of the user).\n\n## _links Objects\n\nMost endpoints that respond to `GET` requests will include a `_links` object\nin their response. The `_links` object contains a key-object pair labelled `self`, which defines\ntwo further key-value pairs:\n\n* `href` - A URL string referring to the fully qualified name of the returned object. For many endpoints, this will be the direct link to the API endpoint on the region gateway, rather than on the general API gateway. This means it may reference a host of, for example, `eu-2.platform.sh` rather than `api.upsun.com`.\n* `meta` - An object defining the OpenAPI Specification (OAS) [schema object](https://swagger.io/specification/#schemaObject) of the component returned by the endpoint.\n\nThere may be zero or more other fields in the `_links` object resembling fragment identifiers\nbeginning with a hash mark, e.g. `#edit` or `#delete`. Each of these keys\nrefers to a JSON object containing two key-value pairs:\n\n* `href` - A URL string referring to the path name of endpoint which can perform the action named in the key.\n* `meta` - An object defining the OAS schema of the endpoint. This consists of a key-value pair, with the key defining an HTTP method and the value defining the [operation object](https://swagger.io/specification/#operationObject) of the endpoint.\n\nTo use one of these HAL links, you must send a new request to the URL defined\nin the `href` field which contains a body defined the schema object in the `meta` field.\n\nFor example, if you make a request such as `GET /projects/abcdefghij1234567890`, the `_links`\nobject in the returned response will include the key `#delete`. That object\nwill look something like this fragment:\n\n```\n\"#delete\": {\n \"href\": \"/api/projects/abcdefghij1234567890\",\n \"meta\": {\n \"delete\": {\n \"responses\": {\n . . . // Response definition omitted for space\n },\n \"parameters\": []\n }\n }\n}\n```\n\nTo use this information to delete a project, you would then send a `DELETE`\nrequest to the endpoint `https://api.upsun.com/api/projects/abcdefghij1234567890`\nwith no body or parameters to delete the project that was originally requested.\n\n## _embedded Objects\n\nRequests to endpoints which create or modify objects, such as `POST`, `PATCH`, or `DELETE`\nrequests, will include an `_embedded` key in their response. The object\nrepresented by this key will contain the created or modified object. This\nobject is identical to what would be returned by a subsequent `GET` request\nfor the object referred to by the endpoint.\n\n\nContact Support:\n Name: Support", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "lastUpdatedBy": "35240", "uid": "35240-82be8f62-df61-42b0-b9f7-67faf065ba2c" }, "item": [ { "name": "projects", "item": [ { "name": "{projectId}", "item": [ { "name": "environments", "item": [ { "name": "{environmentId}", "item": [ { "name": "activate", "item": [ { "name": "Activate an environment", "id": "d03ffa1e-32c6-4487-9fda-27f312e5c3e7", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"resources\": {\n \"init\": \"minimum\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/activate", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "activate" ], "variable": [ { "id": "be7a161e-3a22-4aff-82e0-e59eaf667a98", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "1bedea07-419b-43cc-8c88-7634e4d17aaa", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Set the specified environment's status to active" }, "response": [ { "id": "0e5b723c-8315-4fcb-acaa-f6a9da464d3c", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"resources\": {\n \"init\": \"minimum\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/activate", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "activate" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-0e5b723c-8315-4fcb-acaa-f6a9da464d3c" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-d03ffa1e-32c6-4487-9fda-27f312e5c3e7" } ], "id": "955c6cfa-1d35-42db-b03c-78f84c560b01", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-955c6cfa-1d35-42db-b03c-78f84c560b01" }, { "name": "branch", "item": [ { "name": "Branch an environment", "id": "3720f484-945a-4f19-92a2-3cbe0d64b25e", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"clone_parent\": \"\",\n \"type\": \"development\",\n \"resources\": {\n \"init\": \"parent\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/branch", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "branch" ], "variable": [ { "id": "84d06aed-e4b4-451e-89b0-7fb5c8423325", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "01ba7e61-0e5b-4c82-a832-e397f5b33459", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Create a new environment as a branch of the current environment.\n" }, "response": [ { "id": "25907c57-7a73-4c81-a7f1-a2f51c2175c3", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"title\": \"\",\n \"name\": \"\",\n \"clone_parent\": \"\",\n \"type\": \"development\",\n \"resources\": {\n \"init\": \"parent\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/branch", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "branch" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-25907c57-7a73-4c81-a7f1-a2f51c2175c3" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-3720f484-945a-4f19-92a2-3cbe0d64b25e" } ], "id": "4428d817-f86d-48f7-a4c4-69efb5b82148", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-4428d817-f86d-48f7-a4c4-69efb5b82148" }, { "name": "deactivate", "item": [ { "name": "Deactivate an environment", "id": "50447b36-e235-4ce2-91e4-bdfb424a5391", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/deactivate", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "deactivate" ], "variable": [ { "id": "9c31a493-4e20-4d34-bfc0-d13b58edb701", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "8980427d-3c1c-4ea8-8b13-05907c763551", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Destroy all services and data running on this environment so that\nonly the Git branch remains. The environment can be reactivated\nlater at any time; reactivating an environment will sync data\nfrom the parent environment and redeploy.\n\n**NOTE: ALL DATA IN THIS ENVIRONMENT WILL BE IRREVOCABLY LOST**\n" }, "response": [ { "id": "2db27a00-42a4-4a24-a5ef-4348ff645549", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/deactivate", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "deactivate" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-2db27a00-42a4-4a24-a5ef-4348ff645549" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-50447b36-e235-4ce2-91e4-bdfb424a5391" } ], "id": "08027efa-6e0f-48e5-b7b9-fc1655c1f12f", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-08027efa-6e0f-48e5-b7b9-fc1655c1f12f" }, { "name": "deploy", "item": [ { "name": "Deploy an environment", "id": "ef789352-c171-4c68-a080-4b9207fcc86b", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"strategy\": \"rolling\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/deploy", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "deploy" ], "variable": [ { "id": "2823844f-5533-4452-a309-52b60773bd4a", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "4d4a116c-ce6c-4adf-9df8-9a32b1764167", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Trigger a controlled [manual deployment](https://docs.upsun.com/learn/overview/build-deploy.html#manual-deployment)\nto release all the staged changes\n" }, "response": [ { "id": "6d59b857-ca5d-4704-8cc7-0ff2b78ae5f0", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"strategy\": \"rolling\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/deploy", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "deploy" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-6d59b857-ca5d-4704-8cc7-0ff2b78ae5f0" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-ef789352-c171-4c68-a080-4b9207fcc86b" } ], "id": "fd5ea317-4502-42af-b000-72336a7d810a", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-fd5ea317-4502-42af-b000-72336a7d810a" }, { "name": "initialize", "item": [ { "name": "Initialize a new environment", "id": "c44bcf0f-7ff8-472b-b69f-967d2dd852e9", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"profile\": \"\",\n \"repository\": \"\",\n \"config\": \"\",\n \"files\": [\n {\n \"path\": \"\",\n \"mode\": \"\",\n \"contents\": \"\"\n },\n {\n \"path\": \"\",\n \"mode\": \"\",\n \"contents\": \"\"\n }\n ],\n \"resources\": {\n \"init\": \"default\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/initialize", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "initialize" ], "variable": [ { "id": "63cacb1e-1013-4c1e-8968-2cc8d0a42752", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "e8a11cd4-bcd1-4577-bb2f-c400bf4f0c74", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Initialize and configure a new environment with an existing repository.\nThe payload is the url of a git repository with a profile name:\n\n```\n{\n \"repository\": \"git@github.com:platformsh/a-project-template.git@master\",\n \"profile\": \"Example Project\",\n \"files\": [\n {\n \"mode\": 0600,\n \"path\": \"config.json\",\n \"contents\": \"XXXXXXXX\"\n }\n ]\n}\n```\nIt can optionally carry additional files that will be committed to the\nrepository, the POSIX file mode to set on each file, and the base64-encoded\ncontents of each file.\n\nThis endpoint can also add a second repository\nURL in the `config` parameter that will be added to the contents of the first.\nThis allows you to put your application in one repository and the Upsun\nYAML configuration files in another.\n" }, "response": [ { "id": "af01fee0-799a-40d4-9a6a-6d8f8b6f1aac", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"profile\": \"\",\n \"repository\": \"\",\n \"config\": \"\",\n \"files\": [\n {\n \"path\": \"\",\n \"mode\": \"\",\n \"contents\": \"\"\n },\n {\n \"path\": \"\",\n \"mode\": \"\",\n \"contents\": \"\"\n }\n ],\n \"resources\": {\n \"init\": \"default\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/initialize", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "initialize" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-af01fee0-799a-40d4-9a6a-6d8f8b6f1aac" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-c44bcf0f-7ff8-472b-b69f-967d2dd852e9" } ], "id": "159b1d6a-c64d-4b50-b1bb-2b4b92bd3972", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-159b1d6a-c64d-4b50-b1bb-2b4b92bd3972" }, { "name": "merge", "item": [ { "name": "Merge an environment", "id": "51341d1a-e53f-4c47-bee4-cb3d1d5c2352", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"resources\": {\n \"init\": \"minimum\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/merge", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "merge" ], "variable": [ { "id": "07eca85d-fdfa-496e-b982-bac32848dc92", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "ed9e30e6-9cbb-429e-aeb0-d2cc2be25271", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Merge an environment into its parent. This means that code changes\nfrom the branch environment will be merged into the parent branch, and\nthe parent branch will be rebuilt and deployed with the new code changes,\nretaining the existing data in the parent environment.\n" }, "response": [ { "id": "0f75d772-eab8-4bc7-9da4-79bf82826713", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"resources\": {\n \"init\": \"minimum\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/merge", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "merge" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-0f75d772-eab8-4bc7-9da4-79bf82826713" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-51341d1a-e53f-4c47-bee4-cb3d1d5c2352" } ], "id": "634ca0c7-a2be-4329-93b7-a0a45bb155a5", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-634ca0c7-a2be-4329-93b7-a0a45bb155a5" }, { "name": "pause", "item": [ { "name": "Pause an environment", "id": "1d01b6bd-0743-4ed3-b91d-27625147f736", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/pause", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "pause" ], "variable": [ { "id": "43013952-000d-4433-964d-7b6159628629", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "9b8cc305-f277-4c1e-a960-0a6c1bb91805", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Pause an environment, stopping all services and applications (except the router).\n\nDevelopment environments are often used for a limited time and then abandoned.\nTo prevent unnecessary consumption of resources, development environments that\nhaven't been redeployed in 14 days are automatically paused.\n\nYou can pause an environment manually at any time using this endpoint. Further\ninformation is available in our [public documentation](https://docs.upsun.com/anchors/environments/paused/).\n" }, "response": [ { "id": "5e91e788-c8ae-461f-9afe-86fdf4df5e0f", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/pause", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "pause" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-5e91e788-c8ae-461f-9afe-86fdf4df5e0f" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-1d01b6bd-0743-4ed3-b91d-27625147f736" } ], "id": "7c342b90-ec55-4e81-a1fb-1fb07ad56824", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-7c342b90-ec55-4e81-a1fb-1fb07ad56824" }, { "name": "redeploy", "item": [ { "name": "Redeploy an environment", "id": "d9e37380-f352-472d-979f-d8aec7d5d214", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/redeploy", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "redeploy" ], "variable": [ { "id": "e9ef3945-aa8c-4299-abbf-8f2dec5e32bf", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "45c0a064-fcad-45e8-bfc7-b6e694ee90bc", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Trigger the redeployment sequence of an environment." }, "response": [ { "id": "521fe8a1-87a2-48a6-998c-87a737b40db6", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/redeploy", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "redeploy" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-521fe8a1-87a2-48a6-998c-87a737b40db6" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-d9e37380-f352-472d-979f-d8aec7d5d214" } ], "id": "ce0c0f56-632c-462c-b10a-627d24c74d9d", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-ce0c0f56-632c-462c-b10a-627d24c74d9d" }, { "name": "resume", "item": [ { "name": "Resume a paused environment", "id": "b189e8d9-2d3e-4bd7-a336-da2cab5fc617", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/resume", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "resume" ], "variable": [ { "id": "34eba01d-3269-497c-bc52-b7361a05c1a6", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "9aa55d77-c965-4306-99af-e23ae93da2c3", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Resume a paused environment, restarting all services and applications.\n\nDevelopment environments that haven't been used for 14 days will be paused\nautomatically. They can be resumed via a redeployment or manually using this\nendpoint or the CLI as described in the [public documentation](https://docs.upsun.com/anchors/environments/paused/).\n" }, "response": [ { "id": "214ccda6-7ee3-4ef0-b2cc-f597891d4ed2", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/resume", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "resume" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-214ccda6-7ee3-4ef0-b2cc-f597891d4ed2" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-b189e8d9-2d3e-4bd7-a336-da2cab5fc617" } ], "id": "f7b99674-a60e-4e6b-a988-7f8e4c169924", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-f7b99674-a60e-4e6b-a988-7f8e4c169924" }, { "name": "synchronize", "item": [ { "name": "Synchronize a child environment with its parent", "id": "cfa0f44d-c544-474e-91b8-c1c6391bf696", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"synchronize_code\": \"\",\n \"rebase\": \"\",\n \"synchronize_data\": \"\",\n \"synchronize_resources\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/synchronize", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "synchronize" ], "variable": [ { "id": "39ff7a66-fbea-4a4f-a6bf-0b8e8d194bf0", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "d67786ef-f9bf-4146-84d4-977e81c9db42", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "This synchronizes the code and/or data of an environment with that of\nits parent, then redeploys the environment. Synchronization is only\npossible if a branch has no unmerged commits and it can be fast-forwarded.\n\nIf data synchronization is specified, the data in the environment will\nbe overwritten with that of its parent.\n" }, "response": [ { "id": "d6a2ec22-484e-45f4-b9c1-042e9d55e48e", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"synchronize_code\": \"\",\n \"rebase\": \"\",\n \"synchronize_data\": \"\",\n \"synchronize_resources\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/synchronize", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "synchronize" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-d6a2ec22-484e-45f4-b9c1-042e9d55e48e" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-cfa0f44d-c544-474e-91b8-c1c6391bf696" } ], "id": "5a1dcaf8-b27d-45d2-9e41-078fb4fb9e1c", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-5a1dcaf8-b27d-45d2-9e41-078fb4fb9e1c" }, { "name": "versions", "item": [ { "name": "{versionId}", "item": [ { "name": "List the version", "id": "a0c92e42-92ef-4fac-acd5-b09b009381e3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "id": "f117bdd0-920a-4820-808e-a116975d9531", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "10cdd087-5c9e-43e8-bd66-b0c8b103183e", "key": "environmentId", "value": "", "description": "(Required) " }, { "id": "3b840ebc-d191-492c-9589-ca9d0d8c4edc", "key": "versionId", "value": "", "description": "(Required) " } ] }, "description": "List the `{versionId}` version.\nA routing percentage for this version may be specified for staged rollouts\n(if the deployment target supports it).\n" }, "response": [ { "id": "2aed2861-0415-4711-ad6a-28b25f424b4c", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" }, { "key": "versionId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"commit\": \"\",\n \"locked\": \"\",\n \"routing\": {\n \"percentage\": \"\"\n }\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-2aed2861-0415-4711-ad6a-28b25f424b4c" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-a0c92e42-92ef-4fac-acd5-b09b009381e3" }, { "name": "Update the version", "id": "505ba6d2-a6e9-4f04-8ce5-636f74bfbfba", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"routing\": {\n \"percentage\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "id": "0cd0e198-56d3-467b-9d74-852617776b76", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "48593017-99ea-4cae-8209-24d39c4c3bb5", "key": "environmentId", "value": "", "description": "(Required) " }, { "id": "cc0908b5-b9e1-4f64-ac77-131ec253fde2", "key": "versionId", "value": "", "description": "(Required) " } ] }, "description": "Update the `{versionId}` version.\nA routing percentage for this version may be specified for staged rollouts\n(if the deployment target supports it).\n" }, "response": [ { "id": "314e4d1e-9e39-4bc2-9395-48dcaa47ae91", "name": "New Response", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"routing\": {\n \"percentage\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" }, { "key": "versionId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-314e4d1e-9e39-4bc2-9395-48dcaa47ae91" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-505ba6d2-a6e9-4f04-8ce5-636f74bfbfba" }, { "name": "Delete the version", "id": "a146d435-2f26-40c2-b041-01a576c501a3", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "id": "a76dfadf-d1ed-4bf4-9df5-9400c9e3dfca", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "4322f5a8-a6cb-4dea-b5a5-1fe0f2b7e3ef", "key": "environmentId", "value": "", "description": "(Required) " }, { "id": "cc2589eb-4dec-47e2-a94e-be410f6d11df", "key": "versionId", "value": "", "description": "(Required) " } ] }, "description": "Delete the `{versionId}` version.\nA routing percentage for this version may be specified for staged rollouts\n(if the deployment target supports it).\n" }, "response": [ { "id": "1418aa08-96c0-478e-be90-c4d552e4a092", "name": "New Response", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions/:versionId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions", ":versionId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" }, { "key": "versionId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-1418aa08-96c0-478e-be90-c4d552e4a092" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-a146d435-2f26-40c2-b041-01a576c501a3" } ], "id": "19157792-b249-4f42-a67c-967c913398df", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-19157792-b249-4f42-a67c-967c913398df" }, { "name": "List versions associated with the environment", "id": "c6e712e7-91e1-40ca-97ea-71aa72b5e6e2", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions" ], "variable": [ { "id": "dd2c3d5a-462d-4781-9efd-65851525ae7c", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "896797f3-55f6-4d91-9372-caca51c76b4c", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "List versions associated with the `{environmentId}` environment.\nAt least one version always exists.\nWhen multiple versions exist, it means that multiple versions of an app are deployed.\nThe deployment target type denotes whether staged deployment is supported.\n" }, "response": [ { "id": "3382f97d-efca-4b62-b1b5-1f58ba3206e1", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"id\": \"\",\n \"commit\": \"\",\n \"locked\": \"\",\n \"routing\": {\n \"percentage\": \"\"\n }\n },\n {\n \"id\": \"\",\n \"commit\": \"\",\n \"locked\": \"\",\n \"routing\": {\n \"percentage\": \"\"\n }\n }\n]", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-3382f97d-efca-4b62-b1b5-1f58ba3206e1" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-c6e712e7-91e1-40ca-97ea-71aa72b5e6e2" }, { "name": "Create versions associated with the environment", "id": "608c44b1-d0bb-4778-a032-1f599ce5f65f", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"routing\": {\n \"percentage\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions" ], "variable": [ { "id": "a6b8e7b7-3fad-4ab4-9e7d-c78859004fd0", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "55163e8f-8a60-4107-9e65-bb5fbd959983", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Create versions associated with the `{environmentId}` environment.\nAt least one version always exists.\nWhen multiple versions exist, it means that multiple versions of an app are deployed.\nThe deployment target type denotes whether staged deployment is supported.\n" }, "response": [ { "id": "33eb389f-0a72-4757-bcd8-098e0e876766", "name": "New Response", "originalRequest": { "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"routing\": {\n \"percentage\": \"\"\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId/versions", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId", "versions" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-33eb389f-0a72-4757-bcd8-098e0e876766" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-608c44b1-d0bb-4778-a032-1f599ce5f65f" } ], "id": "92bb4769-bbe8-4940-9678-4a0319009f02", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-92bb4769-bbe8-4940-9678-4a0319009f02" }, { "name": "Get an environment", "id": "e85c7561-0c3d-425e-ab81-cd4378acad09", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "id": "9b995bec-cbc1-41ac-9929-d940c33f245c", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "859f8201-6dec-4770-a856-d565e4ca22e8", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Retrieve the details of a single existing environment." }, "response": [ { "id": "b290be16-69b4-49d2-8c9e-099c11b124fb", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"name\": \"\",\n \"machine_name\": \"\",\n \"title\": \"\",\n \"attributes\": {\n \"reprehenderit500\": \"\"\n },\n \"type\": \"staging\",\n \"parent\": \"\",\n \"default_domain\": \"\",\n \"has_domains\": \"\",\n \"clone_parent_on_create\": \"\",\n \"deployment_target\": \"\",\n \"is_pr\": \"\",\n \"has_remote\": \"\",\n \"status\": \"deleting\",\n \"http_access\": {\n \"is_enabled\": \"\",\n \"addresses\": [\n {\n \"permission\": \"allow\",\n \"address\": \"\"\n },\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n }\n ],\n \"basic_auth\": {\n \"proidentab2\": \"\",\n \"cillum_4\": \"\"\n }\n },\n \"enable_smtp\": \"\",\n \"restrict_robots\": \"\",\n \"edge_hostname\": \"\",\n \"deployment_state\": {\n \"last_deployment_successful\": \"\",\n \"last_deployment_at\": \"\",\n \"last_autoscale_up_at\": \"\",\n \"last_autoscale_down_at\": \"\",\n \"crons\": {\n \"enabled\": \"\",\n \"status\": \"paused\"\n }\n },\n \"sizing\": {\n \"services\": {\n \"mollit3dd\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"ea_6\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"webapps\": {\n \"nostrudd\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"dolor1\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"workers\": {\n \"in_4e\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n }\n },\n \"resources_overrides\": {\n \"qui0_8\": {\n \"services\": {\n \"laborum_5d\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"mollit_6\": {\n \"services\": {\n \"ex26\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"nisifff\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"quis_1\": {\n \"services\": {\n \"Ut_e2e\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"Duis555\": {\n \"services\": {\n \"sitdd5\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n }\n },\n \"max_instance_count\": \"\",\n \"last_active_at\": \"\",\n \"last_backup_at\": \"\",\n \"project\": \"\",\n \"is_main\": \"\",\n \"is_dirty\": \"\",\n \"has_staged_activities\": \"\",\n \"can_rolling_deploy\": \"\",\n \"supports_rolling_deployments\": \"\",\n \"has_code\": \"\",\n \"head_commit\": \"\",\n \"merge_info\": {\n \"commits_ahead\": \"\",\n \"commits_behind\": \"\",\n \"parent_ref\": \"\"\n },\n \"has_deployment\": \"\",\n \"supports_restrict_robots\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-b290be16-69b4-49d2-8c9e-099c11b124fb" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-e85c7561-0c3d-425e-ab81-cd4378acad09" }, { "name": "Update an environment", "id": "334eec28-81ea-46d8-93a5-9ef366bca808", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"title\": \"\",\n \"attributes\": {\n \"id_38\": \"\"\n },\n \"type\": \"staging\",\n \"parent\": \"\",\n \"clone_parent_on_create\": \"\",\n \"http_access\": {\n \"is_enabled\": \"\",\n \"addresses\": [\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n },\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n }\n ],\n \"basic_auth\": {\n \"sed_9\": \"\",\n \"ex_55\": \"\"\n }\n },\n \"enable_smtp\": \"\",\n \"restrict_robots\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "id": "d7ab32fd-7199-4d72-ace1-98232b87fd51", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "1fc91b6d-c515-42f8-8e39-e435059bfb78", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Update the details of a single existing environment." }, "response": [ { "id": "b9d8cbe6-54b4-4a57-a806-016cbc435cbe", "name": "New Response", "originalRequest": { "method": "PATCH", "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "body": { "mode": "raw", "raw": "{\n \"name\": \"\",\n \"title\": \"\",\n \"attributes\": {\n \"id_38\": \"\"\n },\n \"type\": \"staging\",\n \"parent\": \"\",\n \"clone_parent_on_create\": \"\",\n \"http_access\": {\n \"is_enabled\": \"\",\n \"addresses\": [\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n },\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n }\n ],\n \"basic_auth\": {\n \"sed_9\": \"\",\n \"ex_55\": \"\"\n }\n },\n \"enable_smtp\": \"\",\n \"restrict_robots\": \"\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-b9d8cbe6-54b4-4a57-a806-016cbc435cbe" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-334eec28-81ea-46d8-93a5-9ef366bca808" }, { "name": "Delete an environment", "id": "7c898a9f-1777-4ab7-bec3-6d8bfa3f5117", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "id": "f91c89c0-6960-4503-8e91-42c8b0875b29", "key": "projectId", "value": "", "description": "(Required) " }, { "id": "8099e517-3548-46e7-bedf-1aee3bbf710b", "key": "environmentId", "value": "", "description": "(Required) " } ] }, "description": "Delete a specified environment." }, "response": [ { "id": "c1733679-cbd8-4f45-8f60-2dc83eb0dbc4", "name": "New Response", "originalRequest": { "method": "DELETE", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments/:environmentId", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments", ":environmentId" ], "variable": [ { "key": "projectId" }, { "key": "environmentId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "{\n \"status\": \"\",\n \"code\": \"\"\n}", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-c1733679-cbd8-4f45-8f60-2dc83eb0dbc4" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-7c898a9f-1777-4ab7-bec3-6d8bfa3f5117" } ], "id": "fd287636-6980-4b31-9b56-11b23c1460cc", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-fd287636-6980-4b31-9b56-11b23c1460cc" }, { "name": "Get list of project environments", "id": "c451814b-7f1d-48fd-b46a-f71111dc8b2d", "protocolProfileBehavior": { "disableBodyPruning": true }, "request": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments" ], "variable": [ { "id": "95f31a43-88e0-47b0-bf32-2b941ed93e08", "key": "projectId", "value": "", "description": "(Required) " } ] }, "description": "Retrieve a list of a project's existing environments and the\ninformation associated with each environment.\n" }, "response": [ { "id": "cb63da9c-554e-4b12-8b57-6ba040287209", "name": "New Response", "originalRequest": { "method": "GET", "header": [ { "key": "Accept", "value": "application/json" }, { "description": "Added as a part of security scheme: oauth2", "key": "Authorization", "value": "" } ], "url": { "raw": "{{baseUrl}}/projects/:projectId/environments", "host": [ "{{baseUrl}}" ], "path": [ "projects", ":projectId", "environments" ], "variable": [ { "key": "projectId" } ] } }, "status": "Internal Server Error", "code": 500, "_postman_previewlanguage": "json", "header": [ { "key": "Content-Type", "value": "application/json" } ], "cookie": [], "responseTime": null, "body": "[\n {\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"name\": \"\",\n \"machine_name\": \"\",\n \"title\": \"\",\n \"attributes\": {\n \"cillumb6\": \"\"\n },\n \"type\": \"production\",\n \"parent\": \"\",\n \"default_domain\": \"\",\n \"has_domains\": \"\",\n \"clone_parent_on_create\": \"\",\n \"deployment_target\": \"\",\n \"is_pr\": \"\",\n \"has_remote\": \"\",\n \"status\": \"active\",\n \"http_access\": {\n \"is_enabled\": \"\",\n \"addresses\": [\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n },\n {\n \"permission\": \"deny\",\n \"address\": \"\"\n }\n ],\n \"basic_auth\": {\n \"eiusmod529\": \"\"\n }\n },\n \"enable_smtp\": \"\",\n \"restrict_robots\": \"\",\n \"edge_hostname\": \"\",\n \"deployment_state\": {\n \"last_deployment_successful\": \"\",\n \"last_deployment_at\": \"\",\n \"last_autoscale_up_at\": \"\",\n \"last_autoscale_down_at\": \"\",\n \"crons\": {\n \"enabled\": \"\",\n \"status\": \"paused\"\n }\n },\n \"sizing\": {\n \"services\": {\n \"ipsum_0\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"cilluma9\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"webapps\": {\n \"adipisicing0\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"workers\": {\n \"fugiat79b\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n }\n },\n \"resources_overrides\": {\n \"tempor206\": {\n \"services\": {\n \"reprehenderitc\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"quia\": {\n \"services\": {\n \"dolore_32b\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"sed_6b\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"deseruntb\": {\n \"services\": {\n \"do_44\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"eaf0c\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"dolor_34\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n }\n },\n \"max_instance_count\": \"\",\n \"last_active_at\": \"\",\n \"last_backup_at\": \"\",\n \"project\": \"\",\n \"is_main\": \"\",\n \"is_dirty\": \"\",\n \"has_staged_activities\": \"\",\n \"can_rolling_deploy\": \"\",\n \"supports_rolling_deployments\": \"\",\n \"has_code\": \"\",\n \"head_commit\": \"\",\n \"merge_info\": {\n \"commits_ahead\": \"\",\n \"commits_behind\": \"\",\n \"parent_ref\": \"\"\n },\n \"has_deployment\": \"\",\n \"supports_restrict_robots\": \"\"\n },\n {\n \"id\": \"\",\n \"created_at\": \"\",\n \"updated_at\": \"\",\n \"name\": \"\",\n \"machine_name\": \"\",\n \"title\": \"\",\n \"attributes\": {\n \"eu0d\": \"\",\n \"culpa_a_\": \"\"\n },\n \"type\": \"development\",\n \"parent\": \"\",\n \"default_domain\": \"\",\n \"has_domains\": \"\",\n \"clone_parent_on_create\": \"\",\n \"deployment_target\": \"\",\n \"is_pr\": \"\",\n \"has_remote\": \"\",\n \"status\": \"inactive\",\n \"http_access\": {\n \"is_enabled\": \"\",\n \"addresses\": [\n {\n \"permission\": \"allow\",\n \"address\": \"\"\n },\n {\n \"permission\": \"allow\",\n \"address\": \"\"\n }\n ],\n \"basic_auth\": {\n \"Lorem29\": \"\"\n }\n },\n \"enable_smtp\": \"\",\n \"restrict_robots\": \"\",\n \"edge_hostname\": \"\",\n \"deployment_state\": {\n \"last_deployment_successful\": \"\",\n \"last_deployment_at\": \"\",\n \"last_autoscale_up_at\": \"\",\n \"last_autoscale_down_at\": \"\",\n \"crons\": {\n \"enabled\": \"\",\n \"status\": \"running\"\n }\n },\n \"sizing\": {\n \"services\": {\n \"aliqua_60\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"webapps\": {\n \"commodo_e9e\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"culpaa\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"in_e33\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n },\n \"workers\": {\n \"velitcd8\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n },\n \"laboris5\": {\n \"resources\": {\n \"profile_size\": \"\"\n },\n \"instance_count\": \"\",\n \"disk\": \"\"\n }\n }\n },\n \"resources_overrides\": {\n \"sint_0b1\": {\n \"services\": {\n \"nostrud_8\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"velit_a6\": {\n \"services\": {\n \"Excepteur2\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"nulla2b1\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"consectetur_67a\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n },\n \"deserunte\": {\n \"services\": {\n \"nulla3\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n },\n \"esse_b\": {\n \"cpu\": \"\",\n \"memory\": \"\",\n \"disk\": \"\"\n }\n },\n \"starts_at\": \"\",\n \"ends_at\": \"\",\n \"redeployed_start\": \"\",\n \"redeployed_end\": \"\"\n }\n },\n \"max_instance_count\": \"\",\n \"last_active_at\": \"\",\n \"last_backup_at\": \"\",\n \"project\": \"\",\n \"is_main\": \"\",\n \"is_dirty\": \"\",\n \"has_staged_activities\": \"\",\n \"can_rolling_deploy\": \"\",\n \"supports_rolling_deployments\": \"\",\n \"has_code\": \"\",\n \"head_commit\": \"\",\n \"merge_info\": {\n \"commits_ahead\": \"\",\n \"commits_behind\": \"\",\n \"parent_ref\": \"\"\n },\n \"has_deployment\": \"\",\n \"supports_restrict_robots\": \"\"\n }\n]", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-cb63da9c-554e-4b12-8b57-6ba040287209" } ], "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-c451814b-7f1d-48fd-b46a-f71111dc8b2d" } ], "id": "83ddbc9d-bc64-46d9-8ebf-f2421dc8daeb", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-83ddbc9d-bc64-46d9-8ebf-f2421dc8daeb" } ], "id": "20d01619-aeb0-41da-8e5a-485032ade81c", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-20d01619-aeb0-41da-8e5a-485032ade81c" } ], "id": "b3860605-004d-4651-86c6-35bd715eaa2d", "createdAt": "2026-07-28T03:24:10.000Z", "updatedAt": "2026-07-28T03:24:10.000Z", "uid": "35240-b3860605-004d-4651-86c6-35bd715eaa2d" } ], "auth": { "type": "oauth2", "oauth2": [ { "key": "redirect_uri", "value": "https://auth.api.platform.sh/oauth2/token", "type": "string" }, { "key": "accessTokenUrl", "value": "https://auth.api.platform.sh/oauth2/token", "type": "string" }, { "key": "authUrl", "value": "https://auth.api.platform.sh/oauth2/authorize", "type": "string" }, { "key": "grant_type", "value": "authorization_code", "type": "string" } ] }, "variable": [ { "key": "schemes", "value": "https" }, { "key": "baseUrl", "value": "{{schemes}}://api.upsun.com" } ] }