ListOssCheckResult

Updated at:

Queries the 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:ListOssCheckResult

list

*All Resource

*

None None

Request parameters

Parameter

Type

Required

Description

Example

StartDate

string

No

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

2023-08-11 09:00:19

EndDate

string

No

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

2023-08-24 10:01:55

Status

integer

No

The task status.

4

FinishNum

integer

No

The number of completed items.

2

Query

string

No

The search conditions. This parameter is required. You must pass a JSON string that contains a valid TaskId, such as {"TaskId":"P_11TL5T"}. You can obtain the TaskId by calling the GetStockOssCheckTasksList operation. If this parameter is not provided, the API returns a 400 error with the error code oss.check.task.not.exists.

{"TaskId":"P_11TL5T"}

PageSize

integer

No

The number of entries per page.

10

CurrentPage

integer

No

The current page number.

1

Sort

object

No

The sort field.

{"StartTime":"desc"}

string

No

The sort field.

{}

RegionId

string

No

The region ID.

cn-shanghai

Response elements

Element

Type

Description

Example

object

The response body.

RequestId

string

The ID assigned by the backend to uniquely identify a request. You can use this ID to troubleshoot issues.

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

TotalCount

integer

The total number of records.

13

PageSize

integer

The number of entries per page.

10

CurrentPage

integer

The current page number.

1

Items

array<object>

The data on the current page.

array<object>

The data on the current page.

Bucket

string

The bucket.

tmp

JobName

string

The task name.

dhT20X2310

Object

string

The object name.

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 error code, which is consistent with the HTTP status code.

200

Msg

string

The detailed description of the error code.

OK

Labels

array

The image labels.

string

The image labels.

nonLabel

Labels2

array

The text labels.

string

The text labels.

nonLabel

ScanResult

string

The scan result details.

{}

ImageUrl

string

The image URL.

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

Url

string

The task URL.

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

TaskId

string

The task ID.

EP6TI7_au_Zo25ITvCbkocNuF801QOQX

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 moderation type.

audio

RiskLevel0

string

The overall risk level.

low

RiskLevel

string

The image risk level.

high

RiskLevel2

string

The text risk level.

none

FreezeType

string

The freeze type.

ACL

FreezeStatus

string

The freeze status.

FREEZED

LabelDetails

array<object>

The list of matched labels for video frames.

object

Label

string

The matched label for video frames.

logo_streaming

Description

string

The description of the label.

Audio and video entertainment

LabelDetails2

array<object>

The list of matched labels for video audio.

object

Label

string

The matched label for audio.

abuse

Description

string

The description of the label.

Abusive content

Examples

Success response

JSON format

{
  "RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
  "TotalCount": 13,
  "PageSize": 10,
  "CurrentPage": 1,
  "Items": [
    {
      "Bucket": "tmp",
      "JobName": "dhT20X2310",
      "Object": "1713014531569_958.png.jpeg",
      "Md5": "54416c9b159df4a60ae03c04ccb94cb5",
      "ServiceCode": "audio_media_detection_01",
      "Code": "200",
      "Msg": "OK",
      "Labels": [
        "nonLabel"
      ],
      "Labels2": [
        "nonLabel"
      ],
      "ScanResult": "{}",
      "ImageUrl": "http://www.aliyuncs.com/test.jpg",
      "Url": "http://www.aliyuncs.com/test.mp3",
      "TaskId": "EP6TI7_au_Zo25ITvCbkocNuF801QOQX",
      "ServiceName": "Service name",
      "IsCopy": true,
      "CopyFrom": "audio_media_detection",
      "ContentType": "audio",
      "RiskLevel0": "low",
      "RiskLevel": "high",
      "RiskLevel2": "none",
      "FreezeType": "ACL",
      "FreezeStatus": "FREEZED",
      "LabelDetails": [
        {
          "Label": "logo_streaming",
          "Description": "Entertainment"
        }
      ],
      "LabelDetails2": [
        {
          "Label": "abuse",
          "Description": "Abusive content"
        }
      ]
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.