This API is used to query app details.
GET /v2/{project_id}/apps/{app_name}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
app_name |
Yes |
String |
Name of the app to be queried. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Status code: 200
Parameter |
Type |
Description |
---|---|---|
app_name |
String |
Name of the app. |
app_id |
String |
Unique identifier of the app. |
create_time |
Long |
Time when the app is created, in milliseconds. |
commit_checkpoint_stream_names |
Array of strings |
List of associated streams. |
Querying App Details
GET https://{Endpoint}/v2/{project_id}/apps/{app_name}
Status code: 200
Normal response.
{ "app_id" : "bd6IPpvgiIflQPMpi9M", "app_name" : "newstream", "create_time" : 1593569685875, "commit_checkpoint_stream_names" : [ "newstream" ] }
Status Code |
Description |
---|---|
200 |
Normal response. |
See Error Codes.