Pull Request Templates
This document uses the REST API. For more details, see the Authentication for API page.
Configures a group level pull request template that will be used on any org or project within that group
Authorizations
Path parameters
group_idstring · uuidrequired
Snyk Group ID
Example:
7626925e-4b0f-11ee-be56-0242ac120002
Query parameters
versionstringrequired
Requested API version
Example:
2021-06-04
Pattern:
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Body
dataobjectrequired
Responses
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
cURL
JavaScript
Python
HTTP
201
400
401
403
404
500
Get your groups pull request template
Authorizations
Path parameters
group_idstring · uuidrequired
Snyk Group ID
Example:
7626925e-4b0f-11ee-be56-0242ac120002
Query parameters
versionstringrequired
Requested API version
Example:
2021-06-04
Pattern:
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
starting_afterstringoptional
Return the page of results immediately after this cursor
Example:
v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringoptional
Return the page of results immediately before this cursor
Example:
v1.eyJpZCI6IjExMDAifQo=
limitinteger · int32 · min: 10 · max: 100 · default: 10optional
Number of results to return per page
Example:
10
Responses
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
cURL
JavaScript
Python
HTTP
200
400
401
403
404
500
Delete your groups pull request template. This means Snyk pull requests will start to use the default template for this group.
Authorizations
Path parameters
group_idstring · uuidrequired
Snyk Group ID
Example:
7626925e-4b0f-11ee-be56-0242ac120002
Query parameters
versionstringrequired
Requested API version
Example:
2021-06-04
Pattern:
^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
application/vnd.api+json
cURL
JavaScript
Python
HTTP
204
400
401
403
404
500
No body
Last updated
Was this helpful?