API Reference

Get Parameters

Description

Returns a list of all parameters associated with the workspace. By default, these parameters are ordered by their names in ascending order.

GET /api/v1/parameter

🚧

Required OAuth Scopes:

No OAuth scopes are required to use this endpoint.

Parameters

ParameterInTypeRequiredDescription
limitqueryinteger(int32)falseThe number of parameters to return, must be between 1 and 1000, will default to 1000
cursorquerystringfalseA paging cursor; if included the limit is ignored
offsetqueryinteger(int64)falseThe item to start with on the page, must be greater than or equal to 0, will default to 0

Code Samples

curl -X GET https://h.app.wdesk.com/s/wdata/prep/api/v1/parameter  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://h.app.wdesk.com/s/wdata/prep/api/v1/parameter  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://h.app.wdesk.com/s/wdata/prep/api/v1/parameter" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://h.app.wdesk.com/s/wdata/prep/api/v1/parameter', headers = headers)

print(r.json())

Returns

200 - OK

undefined

Example Responses


{
  "body": [
    {
      "choices": [
        {}
      ],
      "created": "string",
      "databaseId": "string",
      "description": "string",
      "id": "string",
      "label": "string",
      "mode": "string",
      "name": "string",
      "overridable": "boolean",
      "selectListId": "string",
      "type": "string",
      "updated": "string",
      "userId": "string",
      "value": {},
      "version": "integer"
    }
  ],
  "code": "integer",
  "cursor": "string"
}