Queries the details of an Object Storage Service (OSS) object that you authorize Data Security Center (DSC) to access.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeOssObjectDetail

The operation that you want to perform. Set the value to DescribeOssObjectDetail.

Id Long Yes 12345213

The ID of the OSS object to query.

Note You can call the DescribeOssObjects operation to query the ID of the OSS object.
Lang String No zh

The natural language of the request and response.

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description

The details of the OSS object.

BucketName String bucke***

The name of the OSS bucket to which the OSS object belongs.

CategoryName String Excel file

The type of the OSS object.

Name String obj_id

The name of the OSS object.

RegionId String cn-***

The region ID of the OSS object.

RiskLevelName String Medium risk level

The risk level of the OSS object.

RuleList Array

The list of sensitive data detection rules that the OSS object hits.

Count Long 2

The number of times that the OSS object hits the sensitive data detection rule.

RuleName String *** rule

The name of the sensitive data detection rule that the OSS object hits.

RequestId String 769FB3C1-F4C9-42DF-9B72-7077A8989C13

The ID of the request.


Sample requests

http(s)://[Endpoint]/?Action=DescribeOssObjectDetail &amp;<Common request parameters>

Sample success responses

XML format

		    <RiskLevelName>Medium risk level</RiskLevelName>
		    <CategoryName>Excel file</CategoryName>
			      <RuleName>*** rule</RuleName>

JSON format

{ &quot;RequestId&quot;:&quot;769FB3C1-F4C9-42DF-9B72-7077A8989C13&quot;, &quot;OssObjectDetail&quot;:{ &quot;Name&quot;:&quot;obj_id&quot;, &quot;RuleList&quot;:[ { &quot;Count&quot;:10, &quot;RuleName&quot;:&quot;*** rule&quot; } ], &quot;CategoryName&quot;:&quot;Excel file&quot;, &quot;BucketName&quot;:&quot;bucke***&quot;, &quot;RiskLevelName&quot;:&quot;Medium risk level&quot;, &quot;RegionId&quot;:&quot;cn-***&quot;, &quot;RiskLevelId&quot;:2, &quot;Id&quot;:17383 } }

Error codes

For a list of error codes, visit the API Error Center.