The requested article is not available. Either it doesn't apply to this version of the product or the relevant information is organized differently in this version of the docs. You can search, browse, or go back to the other version.
A newer release of this product is available.
List the apps

Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
You can list the applications that are currently managed by Astra. You might do this as part of finding the snapshots or backups for a specific app.
1. List the applications
Perform the following REST API call.
HTTP method | Path |
---|---|
GET |
/account/{account_id}/k8s/v2/apps |
Additional input parameters
In addition to the parameters common with all REST API calls, the following parameters are also used in the curl examples for this step.
Parameter | Type | Required | Description |
---|---|---|---|
include |
Query |
No |
Optionally select the values you want returned in the response. |
Curl example: Return all data for all apps
curl --location -i --request GET 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/k8s/v2/apps' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>'
Curl
Curl example: Return the name, id, and state for all apps
curl --location -i --request GET 'https://astra.netapp.io/accounts/<ACCOUNT_ID>/k8s/v2/apps?include=name,id,state' --header 'Accept: */*' --header 'Authorization: Bearer <API_TOKEN>'
Curl
JSON output example
{
"items": [
[
"mysql",
"4ee2b8fa-3696-4f32-8879-399792f477c3",
"ready"
],
[
"postgresql",
"3b984474-e5c9-4b64-97ee-cdeb9bcd212e",
"ready"
],
],
"metadata": {}
}
JSON