Obtains a temporary authorization to read an architecture graph. This authorization 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
This API is deprecated. The access authorization for application-related images is included in the properties of the GetApplication response.
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 ID of the request. |
A07FFDF2-78FA-1B48-9E38-88E833A93187 |
| Data |
object |
The authorization information. |
|
| SecurityToken |
string |
The Object Storage Service (OSS) access token. |
ABCD |
| Endpoint |
string |
The OSS endpoint. |
https://oss-cn-beijing.aliyuncs.com |
| AccessKeySecret |
string |
The AccessKey secret for OSS access. |
9NG*****K4X |
| AccessKeyId |
string |
The AccessKey ID for OSS access. |
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 |
| 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"
},
"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.