ExportInsightSpace

Updated at:

Retrieves the space table data of 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

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

POST /organization/{organizationId}/data/spaces HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

organizationId

string

Yes

The organization ID. This is a string that you can obtain 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. Specify the time in the YYYY-MM-DD HH:mm:ss format.

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. Specify the time in the YYYY-MM-DD HH:mm:ss format.

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 entries.

100

nextToken

string

The token for the next page. A value of null indicates that no next page exists.

2

maxResults

integer

The number of returned entries.

10

result

array<object>

The returned results.

object

space

id

integer

The auto-increment ID of the record.

11034222

gmtCreate

integer

The time when the record was created.

1706510424000

gmtModified

integer

The time when the record was updated.

1706511201000

identifier

string

The unique identifier.

83a2861bbb43b270a04b42xxxx

isDeleted

string

Indicates whether the record is deleted. Valid values: Y and N.

N

organizationId

string

The organization ID.

61db9af2148974246be6xxxx

description

string

The description of the space.

Project description

name

string

The name of the space.

R&D project

type

string

The type of the space. Valid values: enterprise, project, and product.

Project

category

string

The templatetype of the space, such as agile R&D or classic project.

Project

source

string

The source of the space.

projex

status

string

The status of the project.

Not started

stage

string

The stage of the project status.

10

customCode

string

The custom code.

ABCD

Examples

Success response

JSON format

{
  "totalCount": 100,
  "nextToken": "2",
  "maxResults": 10,
  "result": [
    {
      "id": 11034222,
      "gmtCreate": 1706510424000,
      "gmtModified": 1706511201000,
      "identifier": "83a2861bbb43b270a04b42xxxx",
      "isDeleted": "N",
      "organizationId": "61db9af2148974246be6xxxx",
      "description": "项目描述",
      "name": "研发项目",
      "type": "Project",
      "category": "Project",
      "source": "projex",
      "status": "未开始",
      "stage": "10",
      "customCode": "ABCD"
    }
  ]
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.