Snapshots (v1)

이 문서는 v1 API를 사용합니다. 자세한 내용은 v1 API를 참조하십시오.

List all project snapshots

post

Required permissions

  • View Organization

  • View Project

  • View Project Snapshot

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
projectIdstringRequired

The project ID to return snapshots for.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454545
Query parameters
perPagenumber · doubleOptional

The number of results to return (the default is 10, the maximum is 100).

Example: 10
pagenumber · doubleOptional

The offset from which to start returning results from.

Example: 1
Body
and
anyOptionalExample: {"filters":{"imageId":"sha256:a368cbcfa6789bc347345f6d78902afe138b62ff5373d2aa5f37120277c90a67"}}
Responses
200Success
application/json; charset=utf-8
post
/org/{orgId}/project/{projectId}/history
200Success

List all project snapshot issue paths

get

Required permissions

  • View Organization

  • View Project

  • View Project Snapshot

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 4a18d42f-0706-4ad0-b127-24078731fbed
projectIdstringRequired

The project ID for which to return issue paths.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454545
snapshotIdstringRequired

The project snapshot ID for which to return issue paths. If set to latest, the most recent snapshot will be used. Use the "List all project snapshots" endpoint to find suitable values for this.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454553
issueIdstringRequired

The issue ID for which to return issue paths.

Example: SNYK-JS-LODASH-590103
Query parameters
perPagenumber · doubleOptional

The number of results to return per page (1 - 1000, inclusive).

Example: 3
pagenumber · doubleOptional

The page of results to return.

Example: 2
Header parameters
Content-Typestring · enumRequiredExample: application/jsonPossible values:
Responses
200Success
application/json; charset=utf-8
get
/org/{orgId}/project/{projectId}/history/{snapshotId}/issue/{issueId}/paths
200Success

List all project snapshot aggregated issues

post

Required permissions

  • View Organization

  • View Project

  • View Project Snapshot

Path parameters
orgIdstringRequired

The organization ID. The API_KEY must have access to this organization.

Example: 2d5c4d0c-c6d6-4658-a703-c2721c135b26
projectIdstringRequired

The project ID.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454545
snapshotIdstringRequired

The snapshot ID. If set to latest, the most recent snapshot will be used.

Example: 6d5813be-7e6d-4ab8-80c2-1e3e2a454553
Body
and
anyOptionalExample: {"includeDescription":false,"includeIntroducedThrough":false}
Responses
200Success
application/json; charset=utf-8
post
/org/{orgId}/project/{projectId}/history/{snapshotId}/aggregated-issues
200Success

Last updated