Obtains temporary authorization to read an architecture diagram, which is valid for 30 minutes.
This API has been deprecated. We recommend migrating to BPStudio(2021-09-31) - GetApplication for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bpstudio:GetToken |
get |
*BPStudioVirtual
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ResourceGroupId |
string |
No |
The ID of the resource group. |
rg-aekzhfgmw4e6fwq |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The error message. |
Success |
| RequestId |
string |
The request ID. |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Data |
object |
The authorization information. |
|
| SecurityToken |
string |
The token used to access Object Storage Service (OSS). |
ABCD |
| Endpoint |
string |
The endpoint of OSS. |
https://oss-cn-beijing.aliyuncs.com |
| AccessKeySecret |
string |
The AccessKey secret used to access OSS. |
9NG*****K4X |
| AccessKeyId |
string |
The AccessKey ID used to access OSS. |
STS.NTm*****8tu |
| Bucket |
string |
The OSS bucket where files are stored. |
bucket-1 |
| SnapshotBucket |
string |
The OSS bucket where snapshots are stored. |
bucket-2 |
| UploadPrefix |
string |
/12345/ |
|
| Code |
string |
The status code. |
200 |
Examples
Success response
JSON format
{
"Message": "Success",
"RequestId": "A07FFDF2-78FA-1B48-9E38-88E833A93187",
"Data": {
"SecurityToken": "ABCD",
"Endpoint": "https://oss-cn-beijing.aliyuncs.com",
"AccessKeySecret": "9NG*****K4X",
"AccessKeyId": "STS.NTm*****8tu",
"Bucket": "bucket-1",
"SnapshotBucket": "bucket-2",
"UploadPrefix": "/12345/"
},
"Code": "200"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 200 | Success | The transaction is successful. | |
| 500 | ServiceError | A server error occurred. Please try again later. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.