API endpoint that allows action types to be viewed or edited.

GET /sms/cv/api/v1/actiontypes/18/?format=api
HTTP 200 OK
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/vnd.api+json
Vary: Accept

{
    "data": {
        "type": "ActionType",
        "id": "18",
        "attributes": {
            "term": "installation",
            "definition": "Installation of device at the study site",
            "provenance": null,
            "provenance_uri": null,
            "category": null,
            "note": "An installation is handled via the configuration in SMS.",
            "status": "REJECTED",
            "requested_by_email": "ralf.gruendling@ufz.de",
            "discussion_url": "https://codebase.helmholtz.cloud/hub-terra/sms/sms-cv/-/work_items/434"
        },
        "relationships": {
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/global_provenance/?format=api"
                },
                "data": null
            },
            "action_category": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/relationships/action_category?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/action_category/?format=api"
                },
                "data": {
                    "type": "ActionCategory",
                    "id": "2"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/actiontypes/18/?format=api"
        }
    }
}