Get Parameters
This request returns the parameters of a configuration session with their current values and attributes.
Endpoints
- GET /configsessions/{sessionId}/parameters
Url
- sessionID
-
The ID of the configuration session
Header
- Authorization
-
Bearer {token}
- X-API-KEY
-
{API key}
Response
A JSON object with the parameters
see format in the example below
Example request
GET https://api.paramate.trinckle.com/configsessions/305bdb5c-cf8f-4256-9180-fe050d119f03/parameters
-H Authorization: Bearer eyJhbGciOiJIUzI1Ni ... 3H8gC1k2DIKNEeJpb72yvmdY
-H X-API-KEY: 5b260091e8a03ab9af7716af0d71474a
Output
HTTP/1.1 200 OK
{
"diameter":
{
"name": "Diameter",
"type": "float",
"min": 10.0,
"default": 26.0,
"max": 30.0,
"value": 26.0
},
"bladePitch":
{
"name": "Blade Pitch",
"type": "float",
"min": 0.0,
"default": 30.0,
"max": 45.0,
"value": 30.0
}
}