Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Fetch all sets of terms

Endpoint ID:2100
Method:

GET

URL:

/permissions/terms

Request body:None

Response body:

JSON data with information about terms.

Example 1 – Two terms exists
{
    "terms": [
        {
            "id": "7a6776a3-9411-4d34-9866-99aa9ac7cc27",
            "name": "Some terms",
            "description": "This explains everything",
            "text": "",
            "versions": [
                {
                    "version": "1.0",
                    "state": "draft",
                    "text": "Please accept our terms and conditions"
                }
            ]
        },
        {
            "id": "1f788c79-7dde-407f-a976-6b08ffb4c75a",
            "name": "Some other terms",
            "description": "This explains these terms",
            "text": "Please accept our terms and conditions",
            "versions": [
                {
                    "version": "2.0",
                    "state": "active",
                    "text": "Please accept our terms and conditions"
                },
                {
                    "version": "1.0",
                    "state": "obsolete",
                    "text": "Accept our terms and conditions"
                }
            ]
        }
    ]
}
Example 2 – No terms exists
{
    "terms": []
}


Status codes:200OK

  • No labels