repositories
List commit snippets
Changed onList code snippets for a commit (backed by enrichments)
get/repositories/{id}/commits/{commit_sha}/snippets
Request
- Base URL/api/v1 (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v1/repositories/{id}/commits/{commit_sha}/snippets
- AuthAPI key in header X-API-KEY
Path parameters
idinteger required
Repository ID
commit_shastring required
Commit SHA
Query parameters
pageinteger
Page number (default: 1)
page_sizeinteger
Results per page (default: 20, max: 100)
Response
OK
Changes
- info
added the optional property
////to the response with the status
- info
- warning
removed the optional property
///from the response with the status
- warning