Add "platform" to the "Create Project" Docs

I was able to make a POST request to the “Create Project” endpoint with a “platform” parameter and it successfully created the project with the specified platform. As of right now, this is not something within the documentation as a potential parameter for the post request: https://docs.sentry.io/api/teams/post-team-projects/

The request:

const create_project = async (project_object) =>{
    var options = {
        url: `https://sentry.io/api/0/teams/MY_COOL_TEAM/${project_object.team}/projects/`,
        headers: {
            "Authorization": `Bearer A_COOL_TOKEN`,
        },
        body: {
            name: "Test Project",
            slug:"test-project",
            platform: "python"
        },
        json:true
    };

    const result = await rp.post(options).catch(err => console.log(err))
    return result
}

The following options worked for the platform parameter:

  • “python-flask”
  • “python”
  • “node”
  • “javascript-react”