Obtaining All Applications
Function
This API is used to obtain all created applications.
URI
GET /v2/{project_id}/cas/applications
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| project_id | String | Yes | Project ID. |
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| limit | String | No | Number of records. The value ranges from 0 to 100. The default value is 1000, indicating that records are not displayed on multiple pages. A maximum of 1000 records can be queried. |
| offset | String | No | Offset. |
| order_by | String | No | Sorting field. By default, query results are sorted by creation time. The following enumerated values are supported: create_time, name, and update_time. |
| order | String | No | Descending or ascending order. Default value: desc. |
Request Parameters
Request parameters
None
Response Parameters
Response parameters
| Parameter | Type | Description |
|---|---|---|
| count | Integer | Total number of applications. |
| applications | Array of object | Application information. See Table 4. |
| Parameter | Type | Description |
|---|---|---|
| id | String | Application ID. |
| name | String | Application name. |
| description | String | Application description. |
| creator | String | Creator. |
| project_id | String | Project ID. |
| enterprise_project_id | String | Enterprise project ID. |
| create_time | Integer | Creation time. |
| update_time | Integer | Update time. |
| component_count | Integer | Number of components. |
Example
Example request
None
Example response
{
"applications": [
{
"id": "14356608-381b-4700-9b2b-0a2f115fd5b7",
"name": "application_name",
"description": "application_description",
"creator": "string",
"project_id": "4c5fac143bc3459fae56789ead33a78a",
"enterprise_project_id": "0",
"create_time": 1571110516233,
"update_time": 1571110516233,
"component_count": 0
}
],
"count": 10
} Status Code
| HTTP Status Code | Description |
|---|---|
| 200 | OK |
| 400 | Bad Request |
| 404 | Not Found |
| 500 | Internal Server Error |
Error code must be in the format of SVCSTG.00100.[Error_ID]. Example: SVCSTG.00100400. See Error Codes of Application Management APIs.
Last Article: Creating an Application
Next Article: Modifying Application Information
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.