Help Center/ CodeArts Deploy/ API Reference/ APIs/ AppMsgConfig/ Querying Application Notification Configurations
Updated on 2025-08-18 GMT+08:00

Querying Application Notification Configurations

Function

This API is used to query application notification configurations.

Calling Method

For details, see Calling APIs.

URI

GET /v2/projects/{project_id}/applications/{app_id}/messages

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID.

app_id

Yes

String

Application ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Definition:

User token. Obtain a token (the value of the X-Subject-Token response header) by calling the IAM API used forObtaining a User Token.

Constraints:

N/A.

Value range:

String. Max. 20,000 characters.

Default value:

N/A.

Content-Type

Yes

String

Definition:

Type (or format) of the message body.

Constraints:

N/A.

Value range:

N/A.

Default value:

N/A.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error description

Status code: 401

Table 4 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error description

Status code: 403

Table 5 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error description

Status code: 404

Table 6 Response body parameters

Parameter

Type

Description

error_code

String

Error code

error_msg

String

Error description

Example Requests

None

Example Responses

Status code: 401

Unauthorized

{
  "error_code" : "Deploy.00011154",
  "error_msg" : "You do not have permissions to perform this operation."
}

Status code: 403

Forbidden

{
  "error_code" : "Deploy.00011155",
  "error_msg" : "This user is pending real-name authentication."
}

Status code: 404

Not Found

{
  "error_code" : "Deploy.00011021",
  "error_msg" : "This Application does not exist."
}

Status Codes

Status Code

Description

200

OK

401

Unauthorized

403

Forbidden

404

Not Found

Error Codes

See Error Codes.