Get an option list

RequestResponse

GET /datasources/<name>

Replace these placeholders:

placeholder

description

<name>

the name of option list that needs to be returned

Response

Response

Description

200 Ok

Returns the requested option list

Response examples

RequestResponse

Status: 200 OK

{
  "name": "ActionTypes",
  "labels": {
    "en-US": "ActionTypes"
  },
  "type": "Flat",

  "values": [
    {
      "identifier": "ApiCall",
      "labels": {
        "en-US": "API call"
      },
      "values": []
    },

    {
      "identifier": "MessageQueue",
      "labels": {
        "en-US": "Message queue"
      },
      "values": []
    },

    ...
  }

  "is_system_owned": true,
  "self": {
    "href": "http://localhost:8080/api/datasources/ActionTypes"
  }
}

Do you have some feedback for us?

If you have suggestions for improving this article,