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

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

{
    "data": {
        "type": "AggregationType",
        "id": "2",
        "attributes": {
            "term": "Sum",
            "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": 9
                },
                "data": [
                    {
                        "type": "MeasuredQuantity",
                        "id": "412"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "94"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "98"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "99"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "100"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "101"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "102"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "140"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "149"
                    }
                ],
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/relationships/measured_quantities?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/measured_quantities/?format=api"
                }
            },
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/global_provenance/?format=api"
                },
                "data": {
                    "type": "GlobalProvenance",
                    "id": "2"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/2/?format=api"
        }
    }
}