Querying the Data Protection Type
Function
This API is used to query the lifecycle type of data protection in a project.
Calling Method
For details, see Calling APIs.
URI
GET /v1/{project_id}/data-protect-types
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
project_id |
Yes |
String |
Project ID. |
|
Parameter |
Mandatory |
Type |
Description |
|---|---|---|---|
|
life_cycle |
Yes |
String |
Data lifecycle, which includes collection, transmission, storage, usage, sharing, and destruction. |
|
limit |
No |
Integer |
Number of records on each page. |
|
offset |
No |
Integer |
Pagination offset. |
Request Parameters
None
Response Parameters
Status code: 200
|
Parameter |
Type |
Description |
|---|---|---|
|
[items] |
Array of DataTypeDetail objects |
Data protection measure details. |
|
Parameter |
Type |
Description |
|---|---|---|
|
category |
String |
Category of data protection measures. |
|
create_time |
Long |
Creation time. |
|
data_type |
String |
Data protection type. |
|
data_type_id |
String |
Value of level_id when the data protection type is LEVEL. |
|
id |
Long |
Data protection measure ID. |
|
is_deleted |
Boolean |
Deletion flag. |
|
life_cycle |
String |
Lifecycle type. |
|
update_time |
Long |
Update time. |
Example Requests
None
Example Responses
None
Status Codes
|
Status Code |
Description |
|---|---|
|
200 |
Query succeeded. |
|
401 |
Unauthorized. The user is not logged in or the token is invalid. |
|
403 |
Unauthorized to access the resource. |
|
404 |
The specified project does not exist. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot