Create a parameter
Changed onCreate an application parameter.
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/parameter
- AuthHTTP bearer
Request body
Example request
{
"name": "Pool Size",
"nrn": "organization=1:account=2:namespace=3:application=4",
"type": "environment",
"encoding": "plaintext",
"variable": "POOL_SIZE",
"secret": false,
"read_only": false,
"values": [
{
"nrn": "organization=1:account=2:namespace=3:application=4",
"value": "10"
},
{
"nrn": "organization=1:account=2:namespace=3:application=4",
"value": "50",
"dimensions": {
"environment": "production"
}
}
]
}Response
The operation was successful.
Example response
{
"id": 1234,
"name": "Pool Size",
"nrn": "organization=1:account=2:namespace=3:application=4",
"type": "environment",
"encoding": "plaintext",
"version_id": 12341234,
"values": [
{
"id": 1234,
"nrn": "organization=1:account=2:namespace=3:application=4",
"created_at": "2021-01-02T00:00:00Z",
"value": "200",
"external": {
"id": "external_id_123",
"engine": "hcp_vault"
},
"dimensions": {
"environment": "development",
"country": "US"
}
}
]
}Changes
- info
added the new optional request property
- info
- breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
response property
messagedeprecated - info
response property
messagedeprecated - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking