OssCheckResultList

Updated at:

Retrieves a list of OSS scan results.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

yundun-greenweb:OssCheckResultList

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

StartDate

string

No

The start time. The format is YYYY-MM-DD HH:mm:ss.

2023-08-21 16:08:38

EndDate

string

No

The end time. The format is YYYY-MM-DD HH:mm:ss.

2023-10-21 16:08:38

Query

string

No

The query conditions. Note: This parameter is required. You must specify a valid JSON string that contains at least one key-value pair, such as {"Labels":"porn"}. The scan results cannot be filtered properly without query conditions.

{}

PageSize

integer

No

The number of entries per page.

10

CurrentPage

integer

No

The current page number.

1

Sort

object

No

The sort field.

{"GmtCreate":"desc"}

string

No

The sort field.

{\"GmtCreate\":\"desc\"}

RegionId

string

No

The region ID.

cn-shanghai

FinishNum

integer

No

The number of completed tasks.

55

Status

integer

No

The task status.

1

Response elements

Element

Type

Description

Example

object

PortalResponse<SlsPageResponseVO>

RequestId

string

The ID of the request, which is generated by the backend to uniquely identify the request. You can use this ID to troubleshoot issues.

AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****

AuthStatus

string

The authorization status.

OK

TotalCount

integer

The total number of entries.

10

PageSize

integer

The number of entries per page.

10

CurrentPage

integer

The current page number.

1

Items

array<object>

The entries on the current page.

object

The entries on the current page.

Bucket

string

The name of the OSS bucket.

tmp

Object

string

The name of the object.

1713014531569_958.png.jpeg

Md5

string

The MD5 hash of the file.

54416c9b159df4a60ae03c04ccb94cb5

ServiceCode

string

The service code.

audio_media_detection_01

Code

string

The status code. A value of 200 indicates success.

200

Msg

string

The detailed description of the error code.

success

Labels

array

The image labels.

string

The image labels.

nonLabel

ScanResult

string

The details of the scan result.

{}

ImageUrl

string

The URL of the image.

http://www.aliyuncs.com/test.jpg

JobName

string

The name of the job.

dhT20X2310

Labels2

array

The text labels.

string

The text labels.

nonLabel

Url

string

The URL of the job.

http://www.aliyuncs.com/test.mp3

TaskId

string

The ID of the task.

P_XHDUS

ServiceName

string

The service name.

Service name

IsCopy

boolean

Indicates whether the item is copied.

true

CopyFrom

string

The primary service.

audio_media_detection

ContentType

string

The audio and video scan type.

audio

Examples

Success response

JSON format

{
  "RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
  "AuthStatus": "OK",
  "TotalCount": 10,
  "PageSize": 10,
  "CurrentPage": 1,
  "Items": [
    {
      "Bucket": "tmp",
      "Object": "1713014531569_958.png.jpeg",
      "Md5": "54416c9b159df4a60ae03c04ccb94cb5",
      "ServiceCode": "audio_media_detection_01",
      "Code": "200",
      "Msg": "success",
      "Labels": [
        "nonLabel"
      ],
      "ScanResult": "{}",
      "ImageUrl": "http://www.aliyuncs.com/test.jpg",
      "JobName": "dhT20X2310",
      "Labels2": [
        "nonLabel"
      ],
      "Url": "http://www.aliyuncs.com/test.mp3",
      "TaskId": "P_XHDUS",
      "ServiceName": "Service name",
      "IsCopy": true,
      "CopyFrom": "audio_media_detection",
      "ContentType": "audio"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.