{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/releases/list-an-organizations-releases/","result":{"data":{"openApi":{"id":"0fa87f85-daa2-521c-abfc-3f4ea4031013","path":{"description":"Return a list of releases for a given organization.","method":"get","operationId":"List an Organization's Releases","summary":null,"tags":["Releases"],"apiPath":"/api/0/organizations/{organization_slug}/releases/","readableUrl":"/api/releases/list-an-organizations-releases/","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":"query","in":"query","description":"This parameter can be used to create a \"starts with\" filter for the version.","required":null}],"responses":[{"content":{"content_type":"application/json","example":"[\n  {\n    \"authors\": [],\n    \"commitCount\": 0,\n    \"data\": {},\n    \"dateCreated\": \"2018-11-06T21:20:08.033Z\",\n    \"dateReleased\": null,\n    \"deployCount\": 0,\n    \"firstEvent\": null,\n    \"lastCommit\": null,\n    \"lastDeploy\": null,\n    \"lastEvent\": null,\n    \"newGroups\": 0,\n    \"owner\": null,\n    \"projects\": [\n      {\n        \"name\": \"Pump Station\",\n        \"slug\": \"pump-station\"\n      }\n    ],\n    \"ref\": \"6ba09a7c53235ee8a8fa5ee4c1ca8ca886e7fdbb\",\n    \"shortVersion\": \"2.0rc2\",\n    \"url\": null,\n    \"version\": \"2.0rc2\"\n  },\n  {\n    \"authors\": [],\n    \"commitCount\": 0,\n    \"data\": {},\n    \"dateCreated\": \"2018-11-06T21:19:58.559Z\",\n    \"dateReleased\": null,\n    \"deployCount\": 0,\n    \"firstEvent\": \"2018-11-06T21:19:58.639Z\",\n    \"lastCommit\": null,\n    \"lastDeploy\": null,\n    \"lastEvent\": \"2018-11-06T21:19:58.639Z\",\n    \"newGroups\": 0,\n    \"owner\": null,\n    \"projects\": [\n      {\n        \"name\": \"Prime Mover\",\n        \"slug\": \"prime-mover\"\n      }\n    ],\n    \"ref\": null,\n    \"shortVersion\": \"2b6af31\",\n    \"url\": null,\n    \"version\": \"2b6af31b2edccc73a629108b17344dfe20858780\"\n  }\n]","schema":"{\n  \"type\": \"array\",\n  \"items\": {\n    \"type\": \"object\",\n    \"required\": [\n      \"authors\",\n      \"commitCount\",\n      \"data\",\n      \"dateCreated\",\n      \"dateReleased\",\n      \"deployCount\",\n      \"firstEvent\",\n      \"lastCommit\",\n      \"lastDeploy\",\n      \"lastEvent\",\n      \"newGroups\",\n      \"owner\",\n      \"projects\",\n      \"ref\",\n      \"shortVersion\",\n      \"version\",\n      \"url\"\n    ],\n    \"properties\": {\n      \"authors\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\"\n        }\n      },\n      \"commitCount\": {\n        \"type\": \"integer\",\n        \"format\": \"int64\"\n      },\n      \"data\": {\n        \"type\": \"object\"\n      },\n      \"dateCreated\": {\n        \"type\": \"string\",\n        \"format\": \"date-time\"\n      },\n      \"dateReleased\": {\n        \"type\": \"string\",\n        \"format\": \"date-time\",\n        \"nullable\": true\n      },\n      \"deployCount\": {\n        \"type\": \"integer\",\n        \"format\": \"int64\"\n      },\n      \"firstEvent\": {\n        \"type\": \"string\",\n        \"format\": \"date-time\",\n        \"nullable\": true\n      },\n      \"lastCommit\": {\n        \"type\": \"object\",\n        \"nullable\": true\n      },\n      \"lastDeploy\": {\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      },\n      \"lastEvent\": {\n        \"type\": \"string\",\n        \"format\": \"date-time\",\n        \"nullable\": true\n      },\n      \"newGroups\": {\n        \"type\": \"integer\",\n        \"format\": \"int64\"\n      },\n      \"owner\": {\n        \"type\": \"object\",\n        \"nullable\": true\n      },\n      \"projects\": {\n        \"type\": \"array\",\n        \"items\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"name\": {\n              \"type\": \"string\"\n            },\n            \"slug\": {\n              \"type\": \"string\"\n            }\n          }\n        }\n      },\n      \"ref\": {\n        \"type\": \"string\",\n        \"nullable\": true\n      },\n      \"shortVersion\": {\n        \"type\": \"string\"\n      },\n      \"version\": {\n        \"type\": \"string\"\n      },\n      \"url\": {\n        \"type\": \"string\",\n        \"nullable\": true\n      }\n    }\n  }\n}"},"description":"Success","status_code":"200"},{"content":null,"description":"Permission Denied","status_code":"401"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Not Found","status_code":"404"}],"requestBody":null,"security":[{"auth_token":["project:releases"]}]}}},"pageContext":{"id":"0fa87f85-daa2-521c-abfc-3f4ea4031013","title":"List an Organization's Releases"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}