ExportInsightSpaceRef
Queries the space_ref table data for a specified organization in Performance Insight.
Operation description
The Performance Insight data export API is available only to Advanced Edition customers. To learn more about the features of Yunxiao Advanced Edition, visit https://help.aliyun.com/document_detail/173288.html.
Try it now
Test
RAM authorization
Request syntax
POST /organization/{organizationId}/data/spaceRefs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| organizationId |
string |
Yes |
The organization ID. It is a string and can be obtained from the Yunxiao URL, such as https://devops.aliyun.com/organization/#{organizationId}. |
61db9af2148974246bexxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| startTime |
string |
Yes |
The start time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-05-01 00:00:00 |
| endTime |
string |
Yes |
The end time. The interval between the start time and the end time cannot exceed one year. Format: YYYY-MM-DD HH:mm:ss. |
2024-06-01 00:00:00 |
| nextToken |
string |
No |
The token for the next page. |
1 |
| maxResults |
integer |
No |
The maximum number of results to return. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| totalCount |
integer |
The total number of records. |
100 |
| nextToken |
string |
The token for the next page. A value of null indicates that no more pages are available. |
2 |
| maxResults |
integer |
The number of records returned. |
10 |
| result |
array<object> |
The returned results. |
|
|
object |
space_ref |
||
| id |
integer |
The auto-increment ID of the record. |
356525 |
| gmtCreate |
integer |
The time when the record was created. |
1704267849000 |
| gmtModified |
integer |
The time when the record was updated. |
1704267849000 |
| identifier |
string |
The unique identifier. |
49565 |
| isDeleted |
string |
Indicates whether the record is deleted. Valid values: Y and N. |
N |
| organizationId |
string |
The organization ID. |
61db9af2148974246bexxxx |
| creatorId |
string |
The ID of the creator. |
65659358c319d2a0f912xxxx |
| modifierId |
string |
The ID of the modifier. |
65659358c319d2a0f912xxxx |
| fromId |
string |
The ID of the source space. |
7bc2be989727d0d4c9801fxxxx |
| toId |
string |
The ID of the destination space. |
732026500a48d7a74f8b43xxxx |
| type |
string |
The association type. For example, ASSOCIATED indicates that a project portfolio is associated with a project. |
ASSOCIATED |
Examples
Success response
JSON format
{
"totalCount": 100,
"nextToken": "2",
"maxResults": 10,
"result": [
{
"id": 356525,
"gmtCreate": 1704267849000,
"gmtModified": 1704267849000,
"identifier": "49565",
"isDeleted": "N",
"organizationId": "61db9af2148974246bexxxx",
"creatorId": "65659358c319d2a0f912xxxx",
"modifierId": "65659358c319d2a0f912xxxx",
"fromId": "7bc2be989727d0d4c9801fxxxx",
"toId": "732026500a48d7a74f8b43xxxx",
"type": "ASSOCIATED"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.