Help Center/ ServiceStage/ API Reference/ Historical APIs/ Build APIs/ Obtaining the Build Job Result
Updated on 2025-12-16 GMT+08:00

Obtaining the Build Job Result

Function

This API is used to obtain the build job result based on the build job instance ID.

URI

GET /assembling/v1/builds/{build_id}/results

Table 1 Path parameter

Parameter

Mandatory

Type

Description

build_id

Yes

String

Build job instance ID. See Obtaining the Build Job Instance List Based on the Build Job ID.

Request

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format). Default value: application/json;charset=utf8.

X-Auth-Token

Yes

String

API calling can be authenticated using a token or AK/SK. If you use a token, this parameter is mandatory and must be set to the token. For details about how to obtain a token, see Obtaining a User Token.

Response

Table 3 Response parameter

Parameter

Type

Description

checkstyle

Object

Check result. See Table 4.

Table 4 Check result parameter

Parameter

Type

Description

static

Object

Static check result. See Table 5.

Table 5 Static check result parameter

Parameter

Type

Description

count_info

List<Object>

Specific statistical result. See Table 6.

Table 6 Specific statistical parameters

Parameter

Type

Description

build_id

String

Build ID.

build_order

Integer

Build order.

total_count

Integer

Total number of errors.

Example Request

None

Example Response

{
	"checkstyle": {
		"static": {
			"count_info": [
				{
					"build_id": "xx",
					"build_order": 10,
					"total_count": 3
				}
			]
		}
	}
}

Status Code

Status Code

Description

200

OK

400

Bad Request

Error Code

See ServiceStage Error Codes.