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/39129/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "ob_id": 39129,
    "uuid": "9f3409f617d04b1993eeb04e7b9c3b99",
    "title": "PRIMAVERA: Max Planck Institute for Meteorology (MPI-M) MPI-ESM1-2-XR model output for the \"highresSST-present\" experiment",
    "abstract": "PRIMAVERA Project data from the Max Planck Institute for Meteorology (MPI-M) MPI-ESM1-2-XR model output for the \"forced atmosphere experiment for 1950-2014\" (highresSST-present) experiment. These are available at the following frequencies: Prim6hr, Primday and PrimdayPt. The runs included the ensemble member: r1i1p1f1.\n\nPRIMAVERA was a European Union Horizon2020 (grant agreement 641727) project.",
    "keywords": "PRIMAVERA, HighResMIP, climate change, MPI-M, MPI-ESM1-2-XR, highresSST-present, Prim6hr, Primday, PrimdayPt",
    "publicationState": "published",
    "dataPublishedTime": "2022-11-14T20:55:52.374078",
    "doiPublishedTime": null,
    "updateFrequency": "asNeeded",
    "status": "ongoing",
    "result_field": {
        "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/39130/?format=api",
        "dataPath": "/badc/cmip6/data/PRIMAVERA/HighResMIP/MPI-M/MPI-ESM1-2-XR/highresSST-present",
        "oldDataPath": [],
        "storageLocation": "internal",
        "storageStatus": "online",
        "volume": 2885528393834,
        "numberOfFiles": 1236,
        "fileFormat": "Data are netCDF formatted."
    },
    "timePeriod": "https://api.catalogue.ceda.ac.uk/api/v2/times/10848/?format=api",
    "geographicExtent": "https://api.catalogue.ceda.ac.uk/api/v2/bboxes/529/?format=api",
    "nonGeographicFlag": false,
    "phenomena": [
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/6021/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/6022/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/6023/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50419/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50429/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50475/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50559/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50561/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/50598/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/52748/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/52753/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/57952/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/59392/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/59394/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/59398/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/59403/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/59474/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/60324/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/60327/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/60352/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/60409/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/phenomona/62501/?format=api"
    ],
    "dataLineage": "Data were produced and verified by Max Planck Institute for Meteorology (MPI-M) scientists before upload to the Centre for Environmental Data Analysis (CEDA) and publication via the Earth Systems Grid Federation (ESGF).",
    "removedDataTime": null,
    "removedDataReason": "",
    "language": "English",
    "identifier_set": [],
    "projects": [
        "https://api.catalogue.ceda.ac.uk/api/v2/projects/38942/?format=api"
    ],
    "observationcollection_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/observationcollections/38952/?format=api"
    ],
    "responsiblepartyinfo_set": [
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189752/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189744/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189745/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189746/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189747/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189748/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189749/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189743/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189751/?format=api",
        "https://api.catalogue.ceda.ac.uk/api/v2/rpis/189750/?format=api"
    ],
    "procedureAcquisition": null,
    "procedureCompositeProcess": null,
    "procedureComputation": "https://api.catalogue.ceda.ac.uk/api/v2/computations/29320/?format=api",
    "permissions": [
        {
            "ob_id": "https://api.catalogue.ceda.ac.uk/api/v2/observations/2520/?format=api",
            "useLimitation": null,
            "accessConstraints": null,
            "accessCategory": "public",
            "accessRoles": null,
            "label": "public: None group",
            "licenceURL": "https://artefacts.ceda.ac.uk/licences/specific_licences/CMIP6_Terms_of_Use.pdf",
            "licenceClassifications": ""
        }
    ],
    "discoveryKeywords": [
        {
            "ob_id": 1138,
            "name": "NDGO0003"
        }
    ]
}