Get an app
Suggest changes
You can retrieve all the resource variables describing a single application.
Before you begin
You must have the ID of the app you want to retrieve. If needed you can use the workflow List the apps to locate the application.
Step 1: Get the application
Perform the following REST API call.
HTTP method and endpoint
This REST API call uses the following method and endpoint.
HTTP method | Path |
---|---|
GET |
/accounts/{account_id}/k8s/v2/apps/{app_id} |
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 |
---|---|---|---|
app id |
Path |
Yes |
ID value of the application to retrieve. |
Curl example: Return all data for the application
curl --request GET \
--location "https://astra.netapp.io/accounts/$ACCOUNT_ID/k8s/v2/apps/$APP_ID" \
--include \
--header "Accept: */*" \
--header "Authorization: Bearer $API_TOKEN"