{"componentChunkName":"component---src-templates-api-page-tsx","path":"/api/teams/create-a-new-project/","result":{"data":{"openApi":{"id":"2c1ffaa6-3faa-5795-bf4e-37018373b8e4","path":{"description":"Create a new project bound to a team.","method":"post","operationId":"Create a New Project","summary":null,"tags":["Teams"],"apiPath":"/api/0/teams/{organization_slug}/{team_slug}/projects/","readableUrl":"/api/teams/create-a-new-project/","parameters":[{"schema":{"type":"string","format":null,"enum":null},"name":"organization_slug","in":"path","description":"The slug of the organization the team belongs to.","required":true},{"schema":{"type":"string","format":null,"enum":null},"name":"team_slug","in":"path","description":"The slug of the team to create a new project for.","required":true}],"responses":[{"content":{"content_type":"application/json","example":"{\n  \"status\": \"active\",\n  \"name\": \"The Spoiled Yoghurt\",\n  \"color\": \"#bf6e3f\",\n  \"isInternal\": false,\n  \"isPublic\": false,\n  \"slug\": \"the-spoiled-yoghurt\",\n  \"platform\": null,\n  \"hasAccess\": true,\n  \"firstEvent\": null,\n  \"avatar\": {\n    \"avatarUuid\": null,\n    \"avatarType\": \"letter_avatar\"\n  },\n  \"isMember\": false,\n  \"dateCreated\": \"2020-08-20T14:36:34.171255Z\",\n  \"isBookmarked\": false,\n  \"id\": \"5398494\",\n  \"features\": [\n    \"custom-inbound-filters\",\n    \"discard-groups\",\n    \"rate-limits\",\n    \"data-forwarding\",\n    \"similarity-view\",\n    \"issue-alerts-targeting\",\n    \"servicehooks\",\n    \"minidump\",\n    \"similarity-indexing\"\n  ]\n}","schema":"{\n  \"type\": \"object\",\n  \"required\": [\n    \"avatar\",\n    \"color\",\n    \"dateCreated\",\n    \"features\",\n    \"firstEvent\",\n    \"hasAccess\",\n    \"id\",\n    \"isBookmarked\",\n    \"isInternal\",\n    \"isMember\",\n    \"isPublic\",\n    \"name\",\n    \"platform\",\n    \"slug\",\n    \"status\"\n  ],\n  \"properties\": {\n    \"avatar\": {\n      \"type\": \"object\",\n      \"properties\": {\n        \"avatarType\": {\n          \"type\": \"string\"\n        },\n        \"avatarUuid\": {\n          \"type\": \"string\",\n          \"nullable\": true\n        }\n      }\n    },\n    \"color\": {\n      \"type\": \"string\"\n    },\n    \"dateCreated\": {\n      \"type\": \"string\",\n      \"format\": \"date-time\"\n    },\n    \"features\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"string\"\n      }\n    },\n    \"firstEvent\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"hasAccess\": {\n      \"type\": \"boolean\"\n    },\n    \"id\": {\n      \"type\": \"string\"\n    },\n    \"isBookmarked\": {\n      \"type\": \"boolean\"\n    },\n    \"isInternal\": {\n      \"type\": \"boolean\"\n    },\n    \"isMember\": {\n      \"type\": \"boolean\"\n    },\n    \"isPublic\": {\n      \"type\": \"boolean\"\n    },\n    \"name\": {\n      \"type\": \"string\"\n    },\n    \"platform\": {\n      \"type\": \"string\",\n      \"nullable\": true\n    },\n    \"slug\": {\n      \"type\": \"string\"\n    },\n    \"status\": {\n      \"type\": \"string\",\n      \"enum\": [\n        \"active\",\n        \"disabled\",\n        \"pending_deletion\",\n        \"deletion_in_progress\"\n      ]\n    }\n  }\n}"},"description":"Created","status_code":"201"},{"content":null,"description":"Bad input","status_code":"400"},{"content":null,"description":"Forbidden","status_code":"403"},{"content":null,"description":"Team not found","status_code":"404"},{"content":null,"description":"Team already exists","status_code":"409"}],"requestBody":{"content":{"content_type":"application/json","schema":"{\n  \"required\": [\n    \"name\"\n  ],\n  \"type\": \"object\",\n  \"properties\": {\n    \"name\": {\n      \"type\": \"string\",\n      \"description\": \"The name for the new project.\",\n      \"example\": \"The Spoiled Yoghurt\"\n    },\n    \"slug\": {\n      \"type\": \"string\",\n      \"description\": \"Optional slug for the new project. If not provided a slug is generated from the name.\",\n      \"example\": \"the-spoiled-yoghurt\"\n    }\n  }\n}"},"required":true},"security":[{"auth_token":["project:write"]}]}}},"pageContext":{"id":"2c1ffaa6-3faa-5795-bf4e-37018373b8e4","title":"Create a New Project"}},"staticQueryHashes":["1218203755","1222113826","1222113826","1766336459","2158593473","3990806462","4015007367","4192517163"]}