Project templates

Creates a project-level repository template.

post/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 created

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.