/revisions/{locator}/snippets

Retrieve snippets detected in a revision with filtering, sorting, and pagination support.

Path Params
string
required

The revision locator

Query Params
string
required

The path to filter snippets by

ids
array of strings

Filter by specific snippet IDs

ids
packageIds
array of strings

Filter by specific snippet package IDs

packageIds
string

Search term for filtering snippets by package name

rejectionStatus
array of strings

Filter by rejection status

rejectionStatus
packageLabels
array of strings

Filter by package labels

packageLabels
string
enum
Defaults to matchCount_desc

Sort order for results

Allowed:
integer
≥ 1
Defaults to 1

The specific page of data to return

integer
1 to 50
Defaults to 10

The number of items to return in each page of results

Responses

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json