Help Center/ CodeArts Pipeline/ API Reference/ API/ Pipeline Management/ Querying the Pipeline Editing History
Updated on 2025-03-25 GMT+08:00

Querying the Pipeline Editing History

Function

This API is used to query the pipeline editing history.

Calling Method

For details, see Calling APIs.

URI

GET /v5/{project_id}/api/pipelines/{pipeline_id}/pipelines-modify-historys

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Parameter description:

CodeArts project ID.

Constraints:

N/A.

Value Range:

The value contains 32 characters.

Default value:

N/A.

pipeline_id

Yes

String

Parameter description:

Pipeline ID.

Constraints:

N/A.

Value Range:

The value contains 32 characters.

Default value:

N/A.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

offset

Yes

Long

Offset.

limit

Yes

Long

Number of records on each page.

Request Parameters

None

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

data

Array of data objects

Details list.

count

Integer

Total number.

Table 4 data

Parameter

Type

Description

creator_name

String

Name of the editor.

creator_nick_name

String

Nickname of the editor.

create_time

Integer

Creation time.

modify_type

String

Edit type.

Example Requests

GET https://(endpoint)/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipelines/dc73b5ed58a64ab7a469b9480e5f6632/pipelines-modify-historys?offset=0&limit=10

Example Responses

Status code: 200

Response body.

{
  "data" : [ {
    "creator_name" : "456",
    "creator_nick_name" : "45-5",
    "create_time" : 1718956700000,
    "modify_type" : "edit"
  }, {
    "creator_name" : "456",
    "creator_nick_name" : "12-5",
    "create_time" : 1718956641000,
    "modify_type" : "edit"
  } ],
  "count" : 7
}

Status Codes

Status Code

Description

200

Response body.

Error Codes

See Error Codes.