Project templates

Returns the defined project-level repository templates.

get/projects/{projectKey}/project-templates

Path parameters

projectKeystring required

Response

Project-level repository templates found

defaultTemplateboolean

is default template

descriptionstring

the description of the project-level template

idinteger

the ID of the project-level template configuration

logoDatastring

the base64-encoded image logo

reposobject[]

the list of repositories that should be assigned to this template; just pass a list of repository ID's, e.g., [ { "id" : 1 }, { "id" : 2 } ]. You should leave this empty for DELETE.

Changes

Changed in 1 of the 4 revisions of this API.111

  • c973497aa59f111See the full diff
    • removed the optional property items/repos/items/defaultBranch from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/description from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/empty from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/forkable from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/id from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/name from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/project from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/public from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/relatedLinks from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/scmId from the response with the 200 status

      response-optional-property-removed

    • removed the optional property items/repos/items/slug from the response with the 200 status

      response-optional-property-removed

    • removed the optional write-only property items/repos/items/links from the response with the 200 status

      response-optional-write-only-property-removed

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog