List application plain values (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/env-values"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/env-values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/env-values \
--cookie ankra_session={
"environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"values": [
{
"key": "<string>",
"value": "<string>",
"source": "shared",
"status": "set",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": {
"user_id": "<string>",
"name": "<string>"
}
}
],
"revision": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Applications
List application plain values (browser session)
List an application's plain values as they resolve in one scope: the shared default, or with environment_id that environment, where its own value overrides the shared default. Unlike a secret, a plain value is returned: anyone with applications.read may read it. Every plain key of the application is listed, in key order; a key that is a secret in this scope is left out (the env-secrets read shows it), and a key with no value in reach here reads status not_set. revision is the same revision env-secrets reports for the scope, and the env-secrets apply seals plain values and secrets into the same <app>-env Secret. A browser session twin is mounted at the same path without the /api/v1 prefix (cookie authentication).
GET
/
org
/
applications
/
{application_id}
/
env-values
List application plain values (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/env-values"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/applications/{application_id}/env-values', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/applications/{application_id}/env-values \
--cookie ankra_session={
"environment_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"values": [
{
"key": "<string>",
"value": "<string>",
"source": "shared",
"status": "set",
"updated_at": "2023-11-07T05:31:56Z",
"updated_by": {
"user_id": "<string>",
"name": "<string>"
}
}
],
"revision": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "<string>"
}Authorizations
Query Parameters
Response
Successful Response
An application's plain values as they resolve in one scope.