Skip to content

Get feature definitions

GET
/v2/clients/{client_id}/domains/{domain_id}/features
curl --request GET \
--url https://staging-pie.streamline.enterprises/v2/clients/client-1/domains/south_australia/features \
--header 'Authorization: Bearer <token>'
client_id
required
string
Example
client-1
domain_id
required
string
Example
south_australia

Feature definitions

Media type application/json
Array<object>
object
name
required
string
json_schema
required

JSON Schema Draft 2020-12 document for this feature’s value. Standard keywords apply; use default for the value applied when the caller omits this feature. Values are validated against this schema at service init/update. Arrays use type with items; fixed-length tuple shapes use prefixItems with items: false; unions use oneOf / anyOf as in the spec.

object
mandatory
required
boolean
Example
[
{
"name": "route",
"json_schema": {
"type": "string",
"enum": [
"Adelaide to Sydney",
"Sydney to Adelaide"
]
},
"mandatory": true
}
]

Validation error — malformed input, invalid path parameters, or request that fails syntactic validation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Missing or invalid Authorization bearer token, expired token, or token rejected by the authorization layer (e.g. API Gateway JWT authorizer or application validation).

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Authenticated caller lacks the permission required for this operation.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}

Requested resource was not found.

Media type application/json
object
success
required
boolean
message
required

Human-readable error message

string
Example
{
"success": false
}