All Products
Search
Document Center

StartImageScan

Last Updated: May 18, 2020

Description

You can call this operation to scan an image of an image repository.

Request information

Request line

  1. PUT /repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan HTTP/1.1

Request parameters

Parameter Type Required Description
RepoNamespace String Yes The namespace to which the image repository belongs.
RepoName String Yes The name of the image repository.
Tag String Yes The version of the image that you want to scan.

Custom request headers

None.

Request body

None.

Response information

Response line

  1. HTTP/1.1 200 OK

Custom response headers

None.

Response body

  1. {
  2. "data": {
  3. },
  4. "requestId": "String"
  5. }

Response body description

None.

Examples

Sample requets

  1. PUT /repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan HTTP/1.1
  2. <Common request headers>

Sample responses

  1. HTTP/1.1 200 OK
  2. <Common response headers>
  3. {
  4. "data": {
  5. },
  6. "requestId": "CFCE47E1-593D-47B7-96F0-9776DBEF8A96"
  7. }