Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-19467

Add the available parameters on REST API endpoints (Project creation)

XMLWordPrintable

    • 5
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      API documentation is missing parameters, specifically talking about the POST endpoint to create projects: 
      https://developer.atlassian.com/server/bitbucket/rest/v819/api-group-project/#api-api-latest-projects-post

      Please add the "name" and "description" as an available parameter to create the project. Example:

      curl --request POST \
      --url 'http://bitbucketdc/rest/api/latest/projects' \
      --header 'Accept: application/json' \
      --header 'Content-Type: application/json' \
      --header 'Authorization: Basic <HASH>' \
      --data '{
        "key": "PRJ",
        "name": "Project Name",
        "description": "Project Description"
      }' 

       

            Unassigned Unassigned
            9c941f86b120 Pablo Silva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: