Dimension

Create a dimension

Creates a dimension.

post/dimension

Request body

namestring required

The name of the dimension

nrnstring required

NRN (at or below) where the dimension applies

orderinteger

The priority this dimension will have whenever runtime configuration values are merged (lower prelates higher numbers).

Example request

{
  "name": "Environment",
  "nrn": "organization=1:account=2:namespace=3:application=4",
  "order": 1
}

Response

The operation was successful.

idinteger

A system-wide unique ID representing the dimension.

namestring

The name of the dimension

status'active' | 'inactive'

The status of this dimension.

slugstring

A name-derived string representing the dimension.

nrnstring

NRN (at or below) where the dimension applies.

orderinteger

The priority this dimension has whenever runtime configuration values are merged (lower prelates higher numbers).

Example response

{
  "id": 1234,
  "name": "Environment",
  "status": "active",
  "slug": "environment",
  "nrn": "organization=1:account=2:namespace=3:application=4",
  "order": 1,
  "values": {
    "id": 9876,
    "name": "Staging",
    "status": "active",
    "slug": "staging",
    "nrn": "organization=1:account=2:namespace=3:application=4"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.