GetCertificate
You can view authentication files.
Operation description
-
This feature is available only in DataWorks Basic Edition and later versions.
-
You must have at least one of the following roles in the DataWorks project: Tenant Owner, Space Administrator, Deployment, Developer, Project Owner, or O&M.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
The unique ID of the certificate file. |
676303114031776 |
| ProjectId |
integer |
No |
The ID of the project to which the certificate file belongs. |
1065601 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. Use this ID to locate logs and troubleshoot issues. |
0000-ABCD-EFG**** |
| Certificate |
object |
The details of the certificate. |
|
| Id |
integer |
The unique ID of the certificate file. |
676303114031776 |
| Name |
string |
The file name. |
ca1.crt |
| ProjectId |
integer |
The ID of the project to which the certificate file belongs. |
177161 |
| Description |
string |
The description. |
This is a file |
| CreateUser |
string |
The ID of the user who created the certificate file. |
1107550004253538 |
| CreateTime |
integer |
The time when the file was created. This is a UNIX timestamp in milliseconds. |
1730217600000 |
| FileSizeInBytes |
integer |
The file size in bytes. |
77549 |
Examples
Success response
JSON format
{
"RequestId": "0000-ABCD-EFG****",
"Certificate": {
"Id": 676303114031776,
"Name": "ca1.crt",
"ProjectId": 177161,
"Description": "This is a file",
"CreateUser": "1107550004253538",
"CreateTime": 1730217600000,
"FileSizeInBytes": 77549
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.