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

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

{
    "data": {
        "type": "AggregationType",
        "id": "10",
        "attributes": {
            "term": "Categorical",
            "definition": "The values are categorical rather than continuous valued quantities.",
            "provenance": "Adapted from CUAHSI HIS DataTypeCV.  See http://his.cuahsi.org/mastercvreg/edit_cv11.aspx?tbl=DataTy",
            "provenance_uri": "http://vocabulary.odm2.org/aggregationstatistic/categorical/",
            "category": null,
            "note": null,
            "status": "ACCEPTED",
            "requested_by_email": null,
            "discussion_url": null
        },
        "relationships": {
            "measured_quantities": {
                "meta": {
                    "count": 16
                },
                "data": [
                    {
                        "type": "MeasuredQuantity",
                        "id": "356"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "359"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "407"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "408"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "363"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "371"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "372"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "366"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "364"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "358"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "409"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "368"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "362"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "367"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "357"
                    },
                    {
                        "type": "MeasuredQuantity",
                        "id": "361"
                    }
                ],
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/relationships/measured_quantities?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/measured_quantities/?format=api"
                }
            },
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/global_provenance/?format=api"
                },
                "data": {
                    "type": "GlobalProvenance",
                    "id": "4"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/10/?format=api"
        }
    }
}