v2

latestOpenAPI 3.0.02026-08-013312111.4 MB
Snippets

Create a snippet for a workspace

Identical to /snippets, except that the new snippet will be created under the workspace specified in the path parameter {workspace}.

post/snippets/{workspace}

Request body

typestring required
idinteger
titlestring
scm'git'

The DVCS used to store the snippet.

created_onstring date-time
updated_onstring date-time
is_privateboolean

Response

The newly created snippet object.

typestring required
idinteger
titlestring
scm'git'

The DVCS used to store the snippet.

created_onstring date-time
updated_onstring date-time
is_privateboolean