{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/releases/create-a-new-deploy-for-an-organization/","result":{"data":{"openApi":{"id":"4e54fffc-d53b-5602-8a34-8cc9d3148b40","path":{"description":"Create a deploy.","method":"post","operationId":"Create a New Deploy for an Organization","summary":null,"tags":["Releases"],"apiPath":"/api/0/organizations/{organization_slug}/releases/{version}/deploys/","readableUrl":"/api/releases/create-a-new-deploy-for-an-organization/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"version","in":"path","description":"The version identifier of the release.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"environment\": \"prod\",\n  \"name\": null,\n  \"url\": null,\n  \"dateStarted\": null,\n  \"dateFinished\": \"2020-08-31T19:40:38.651670Z\",\n  \"id\": \"1234567\"\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"environment\",\n    \"name\",\n    \"dateStarted\",\n    \"dateFinished\",\n    \"url\",\n    \"id\"\n  ],\n  \"properties\": {\n    \"environment\": {\n      \"type\": \"string\"\n    },\n    \"name\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"dateStarted\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\",\n      \"nullable\": true\n    },\n    \"dateFinished\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"url\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"id\": {\n      \"type\": \"string\"\n    }\n  }\n}"},"description":"Success","status_code":"201"},{"content":null,"description":"Already Reported","status_code":"208"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Not Found","status_code":"404"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"environment\"\n  ],\n  \"properties\": {\n    \"environment\": {\n      \"type\": \"string\",\n      \"description\": \"The environment you're deploying to.\",\n      \"example\": \"prod\"\n    },\n    \"url\": {\n      \"type\": \"string\",\n      \"description\": \"The optional URL that points to the deploy.\"\n    },\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"The optional name of the deploy.\"\n    },\n    \"dateStarted\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\",\n      \"description\": \"An optional date that indicates when the deploy started.\"\n    },\n    \"dateFinished\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\",\n      \"description\": \"An optional date that indicates when the deploy ended. If not provided, the current time is used.\"\n    }\n  }\n}"},"required":null},"security":[{"auth_token":["project:releases"]}]}}},"pageContext":{"id":"4e54fffc-d53b-5602-8a34-8cc9d3148b40","title":"Create a New Deploy for an Organization"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}