Get a list of Observation objects.

### Available end points:

- `/observations/` - Will list all Results in the database
- `/observations.json` - Will return all Results in json format. This can
also be achieved by using the accept header. `application/json`
- `/observations/<object_id>/` - Returns Results object with that id

### Available Methods:

- `GET`
- `HEAD`

### Available filters:

- `title`
- `uuid`
- `keywords`
- `status`
- `result_field`
- `discoveryKeywords`
- `updateFrequency`
- `nonGeographicFlag`
- `publicationState`
- `permissions`

### How to use filters:

These filters can be used like django query filters using __ for related model relationships.

- `/observations/?uuid=d594d53df2612bbd89c2e0e770b5c1a0`
- `/observations/?status=completed`
- `/observations/?results_field__dataPath__startswith=/neodc/esacci`
- `/observations/?discoveryKeywords__name=ESACCI`
- `/observations/?nonGeographicFlag=True`

Filters can be stacked to build an 'AND' relationship. E.g.

- `/observations/?publicationState__in=published,citable&nonGeographicFlag=True`
- `/observations/?publicationState__in=published,citable&discoveryKeyword__name=NDGO0003`

GET /api/v2/observations/40082/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "ob_id": 40082,
    "uuid": "ac43da11867243a1bb414e1637802dec",
    "title": "Hydro-JULES: Global high-resolution drought datasets from 1981-2022",
    "abstract": "These are global scale high-resolution drought indices developed from a combination of precipitation and potential evapotranspiration datasets for the Hydro-JULES project. Climate Hazards group InfraRed Precipitation with Station data (CHIRPS), Multi-Source Weighted-Ensemble Precipitation (MSWEP) precipitation estimates, Global Land Evaporation Amsterdam Model (GLEAM) and Bristol Hourly potential evapotranspiration (hPET) estimates were used. The drought index is developed using the Standardized Precipitation-Evapotranspiration Index (SPEI). These high-resolution global scale drought indices are available from 1981-2022 at a monthly and 5km spatial resolution. The SPEI indices are available from 1-48 months. The datasets provide valuable information for the study and analysis of droughts at much higher resolution from global to local scale.  \r\nThese data were produced for Hydro-Jules (NE/S017380/1) and REACH (Foreign, Commonwealth and Development Office): Programme Code 201880.",
    "keywords": "NE/S017380/1, drought",
    "publicationState": "citable",
    "dataPublishedTime": "2023-05-23T09:12:08",
    "doiPublishedTime": "2023-07-07T09:35:20",
    "updateFrequency": "notPlanned",
    "status": "completed",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/40083/?format=api",
        "dataPath": "/badc/hydro-jules/data/Global_drought_indices/",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 1668153770350,
        "numberOfFiles": 389,
        "fileFormat": "NetCDF"
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/11096/?format=api",
    "geographicExtent": "https://api.catalogue.ceda.ac.uk/api/v2/bboxes/3830/?format=api",
    "nonGeographicFlag": false,
    "phenomena": [
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/52192/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/52193/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/63011/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/63233/?format=api"
    ],
    "dataLineage": "Data were generated using Standardized Precipitation-Evapotranspiration Index (SPEI) at 5km horizontal resolution over the domain 180W-180E, 55S-85N. The dataset is available in NetCDF format.  Data were produced by the project team before uploading to CEDA.\r\nAn error in model run of this data was identified post publishing and a replacement for the  Climate Hazards group InfraRed Precipitation with Station data (CHIRPS) Global Land Evaporation Amsterdam Model (GLEAM) section of this dataset can be found here https://catalogue.ceda.ac.uk/uuid/e652f0109f21401680bc3c0ac834a96e/",
    "removedDataTime": null,
    "removedDataReason": "",
    "language": "English",
    "identifier_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/identifiers/12636/?format=api"
    ],
    "projects": [
        "https://api.catalogue.ceda.ac.uk/api/v2/projects/40079/?format=api"
    ],
    "observationcollection_set": [],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195285/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195278/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195279/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195280/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195281/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195282/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195283/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195284/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196267/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196268/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196269/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196270/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196271/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196272/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196273/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/196274/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/195286/?format=api"
    ],
    "procedureAcquisition": null,
    "procedureCompositeProcess": null,
    "procedureComputation": "https://api.catalogue.ceda.ac.uk/api/v2/computations/40084/?format=api",
    "permissions": [
        {
            "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/2526/?format=api",
            "useLimitation": null,
            "accessConstraints": null,
            "accessCategory": "public",
            "accessRoles": null,
            "label": "public: None group",
            "licenceURL": "http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/",
            "licenceClassifications": "any"
        }
    ],
    "discoveryKeywords": []
}