ContainerImage
List instances of container image
Required permissions
View container images (org.container_image.read)
Authorizations
Path parameters
org_idstring · uuidRequiredExample:
Org ID
f59045b3-f093-40c3-871d-a334ae30c568
Query parameters
image_idsstring · uri[] · max: 100OptionalExample:
A comma-separated list of Image IDs
["sha256:b26f21f90920dba8401e30b89ad803587f81cce9bd1f92750f963556da2f930f","sha256:28984a62eb713aa5fff922ba06e8689f20e4b2f07de30f3d753b868389c0904f"]
platformstring · enumOptionalExample:
The image Operating System and processor architecture
linux/amd64
Possible values: namesstring[] · max: 1OptionalExample:
The container registry names
["gcr.io/snyk/redis:5"]
versionstringRequiredExample:
Requested API version
2021-06-04
Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
limitinteger · int32 · min: 10 · max: 100OptionalDefault:
Number of results to return per page
10
Example: 10
starting_afterstringOptionalExample:
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptionalExample:
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Responses
200
Returns a list of container image instances
application/vnd.api+json
400
Bad Request: A parameter provided as a part of the request was invalid.
application/vnd.api+json
401
Unauthorized: the request requires an authentication token.
application/vnd.api+json
403
Forbidden: the request requires an authentication token with more or different permissions.
application/vnd.api+json
404
Not Found: The resource being operated on could not be found.
application/vnd.api+json
409
Conflict: The requested operation conflicts with the current state of the resource in some way.
application/vnd.api+json
500
Internal Server Error: An error was encountered while attempting to process the request.
application/vnd.api+json
get
Get instance of container image
Required permissions
View container images (org.container_image.read)
Authorizations
Path parameters
org_idstring · uuidRequiredExample:
Org ID
f59045b3-f093-40c3-871d-a334ae30c568
image_idstring · uriRequiredExample:
Image ID
sha256:2bd864580926b790a22c8b96fd74496fe87b3c59c0774fe144bab2788e78e676
Pattern: ^sha256(:|%3A)[a-f0-9]{64}$
Query parameters
versionstringRequiredExample:
Requested API version
2021-06-04
Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
Responses
200
Returns an instance of container image
application/vnd.api+json
400
Bad Request: A parameter provided as a part of the request was invalid.
application/vnd.api+json
401
Unauthorized: the request requires an authentication token.
application/vnd.api+json
403
Forbidden: the request requires an authentication token with more or different permissions.
application/vnd.api+json
404
Not Found: The resource being operated on could not be found.
application/vnd.api+json
409
Conflict: The requested operation conflicts with the current state of the resource in some way.
application/vnd.api+json
500
Internal Server Error: An error was encountered while attempting to process the request.
application/vnd.api+json
get
List instances of image target references for a container image
Required permissions
View container images (org.container_image.read)
Authorizations
Path parameters
org_idstring · uuidRequiredExample:
Org ID
f59045b3-f093-40c3-871d-a334ae30c568
image_idstring · uriRequiredExample:
Image ID
sha256:2bd864580926b790a22c8b96fd74496fe87b3c59c0774fe144bab2788e78e676
Pattern: ^sha256(:|%3A)[a-f0-9]{64}$
Query parameters
versionstringRequiredExample:
Requested API version
2021-06-04
Pattern: ^(wip|work-in-progress|experimental|beta|((([0-9]{4})-([0-1][0-9]))-((3[01])|(0[1-9])|([12][0-9]))(~(wip|work-in-progress|experimental|beta))?))$
limitinteger · int32 · min: 10 · max: 100OptionalDefault:
Number of results to return per page
10
Example: 10
starting_afterstringOptionalExample:
Return the page of results immediately after this cursor
v1.eyJpZCI6IjEwMDAifQo=
ending_beforestringOptionalExample:
Return the page of results immediately before this cursor
v1.eyJpZCI6IjExMDAifQo=
Responses
200
Returns a list of image target references for a container image
application/vnd.api+json
400
Bad Request: A parameter provided as a part of the request was invalid.
application/vnd.api+json
401
Unauthorized: the request requires an authentication token.
application/vnd.api+json
403
Forbidden: the request requires an authentication token with more or different permissions.
application/vnd.api+json
404
Not Found: The resource being operated on could not be found.
application/vnd.api+json
409
Conflict: The requested operation conflicts with the current state of the resource in some way.
application/vnd.api+json
500
Internal Server Error: An error was encountered while attempting to process the request.
application/vnd.api+json
get
Last updated
Was this helpful?