API endpoint that allows Aggregation Types to be viewed or edited.

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

{
    "data": {
        "type": "AggregationType",
        "id": "9",
        "attributes": {
            "term": "Not applicable",
            "definition": null,
            "provenance": null,
            "provenance_uri": null,
            "category": null,
            "note": null,
            "status": "ACCEPTED",
            "requested_by_email": null,
            "discussion_url": null
        },
        "relationships": {
            "measured_quantities": {
                "meta": {
                    "count": 20
                },
                "data": [
                    {
                        "type": "MeasuredQuantity",
                        "id": "184"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "185"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "194"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "349"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "389"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "222"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "234"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "235"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "236"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "350"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "248"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "387"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "256"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "411"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "293"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "295"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "299"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "310"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "318"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "339"
                    }
                ],
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/relationships/measured_quantities?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/measured_quantities/?format=api"
                }
            },
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/global_provenance/?format=api"
                },
                "data": {
                    "type": "GlobalProvenance",
                    "id": "2"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/9/?format=api"
        }
    }
}