logo
logo

Get option list

GET /datasources/:optionListName

Replace these placeholders:

placeholderdescription
:optionListNamethe name of option list that needs to be returned

Response

ResponseDescription
200 OkReturns the requested option list

Response examples

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"
    }
}

Can we improve this article ? Provide feedback