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

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

{
    "data": {
        "type": "AggregationType",
        "id": "17",
        "attributes": {
            "term": "Sporadic",
            "definition": "The phenomenon is sampled at a particular instant in time but with a frequency that is too coarse for interpreting the record as continuous. This would be the case when the spacing is significantly larger than the support and the time scale of fluctuation of the phenomenon, such as for example infrequent water quality samples.",
            "provenance": "Adapted from CUAHSI HIS DataTypeCV.  See http://his.cuahsi.org/mastercvreg/edit_cv11.aspx?tbl=DataTy",
            "provenance_uri": "http://vocabulary.odm2.org/aggregationstatistic/sporadic/",
            "category": null,
            "note": null,
            "status": "ACCEPTED",
            "requested_by_email": null,
            "discussion_url": null
        },
        "relationships": {
            "measured_quantities": {
                "meta": {
                    "count": 1
                },
                "data": [
                    {
                        "type": "MeasuredQuantity",
                        "id": "382"
                    }
                ],
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/relationships/measured_quantities?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/measured_quantities/?format=api"
                }
            },
            "global_provenance": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/relationships/global_provenance?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/global_provenance/?format=api"
                },
                "data": {
                    "type": "GlobalProvenance",
                    "id": "4"
                }
            },
            "successor": {
                "links": {
                    "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/relationships/successor?format=api",
                    "related": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/successor/?format=api"
                }
            }
        },
        "links": {
            "self": "https://sms-cv.helmholtz.cloud/sms/cv/api/v1/aggregationtypes/17/?format=api"
        }
    }
}