Snapshots (v1)
Last updated
Was this helpful?
Last updated
Was this helpful?
This document uses the v1 API. For more details, see the v1 API.
View Organization
View Project
View Project Snapshot
/org/{orgId}/project/{projectId}/history
The organization ID. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The project ID to return snapshots for.
6d5813be-7e6d-4ab8-80c2-1e3e2a454545
The number of results to return (the default is 10, the maximum is 100).
10
The offset from which to start returning results from.
1
{"filters":{"imageId":"sha256:a368cbcfa6789bc347345f6d78902afe138b62ff5373d2aa5f37120277c90a67"}}
View Organization
View Project
View Project Snapshot
/org/{orgId}/project/{projectId}/history/{snapshotId}/issue/{issueId}/paths
The organization ID. The API_KEY
must have access to this organization.
4a18d42f-0706-4ad0-b127-24078731fbed
The project ID for which to return issue paths.
6d5813be-7e6d-4ab8-80c2-1e3e2a454545
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.
6d5813be-7e6d-4ab8-80c2-1e3e2a454553
The issue ID for which to return issue paths.
SNYK-JS-LODASH-590103
The number of results to return per page (1 - 1000, inclusive).
3
The page of results to return.
2
application/json
application/json
View Organization
View Project
View Project Snapshot
/org/{orgId}/project/{projectId}/history/{snapshotId}/aggregated-issues
The organization ID. The API_KEY
must have access to this organization.
2d5c4d0c-c6d6-4658-a703-c2721c135b26
The project ID.
6d5813be-7e6d-4ab8-80c2-1e3e2a454545
The snapshot ID. If set to latest, the most recent snapshot will be used.
6d5813be-7e6d-4ab8-80c2-1e3e2a454553
If set to true
, Include issue's description, if set to false
(by default), it won't (Non-IaC projects only)
If set to true
, include the dockerfile instruction that the issue is introducedThrough. If set to false (default), it won’t. This only applies to Container projects with an associated Dockerfile (CLI or Container Registry source)
{"includeDescription":false,"includeIntroducedThrough":false}