Project templates

Updates a project-level repository template.

put/projects/{projectKey}/project-templates

Path parameters

projectKeystring required

Request body

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.

Response

Project-level repository templates updated

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.231

  • c973497aa59f231See the full diff
    • removed the request property repos/items/defaultBranch

      request-property-removed

    • removed the request property repos/items/description

      request-property-removed

    • removed the request property repos/items/empty

      request-property-removed

    • removed the request property repos/items/forkable

      request-property-removed

    • removed the request property repos/items/id

      request-property-removed

    • removed the request property repos/items/links

      request-property-removed

    • removed the request property repos/items/name

      request-property-removed

    • removed the request property repos/items/project

      request-property-removed

    • removed the request property repos/items/public

      request-property-removed

    • removed the request property repos/items/relatedLinks

      request-property-removed

    • removed the request property repos/items/scmId

      request-property-removed

    • removed the request property repos/items/slug

      request-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

    • removed the optional write-only property 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