API-V2 OpenAPI Specifications

Endpoints in the API-V2 "measurements" namespace return information about measurements, depending on the endpoint. All reponses are returned as JSON.

Endpoint and Parameter Descriptions

The following table identifies each supported endpoint, and any parameters that the endpoint request supports. Requests are constructed by appending "/api/v2/measurements" with the endpoint and any query parameters. To see which query parameter values are accepted for a query parameter, click on the links in the Param Type column for that parameter. To see what endpoint responses look like, click on the links in the Examples column.
EndpointOperationDescriptionExamples
GET

returns this OpenAPI specification as json.

archiveSets GET

returns all the ArchiveSets known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
sensors

from the specified sensors

/api/v2/missions/sensors
platforms

from the specified platforms

/api/v2/missions/platforms
collections

from the specified collections

/api/v2/measurements/collections
instruments

from the specified instruments

/api/v2/missions/instruments
scienceDomains

from specified science domains

/api/v2/measurements/scienceDomains
keywords

from specified keywords

/api/v2/measurements/keywords
pges

from specified PGEs

/api/v2/measurements/pges
products

from the specified products

/api/v2/measurements/products
archiveSets/{archiveSetId} GET

returns the specified ArchiveSet.

Param NameParam DescriptionParam Type
archiveSetId

from the specified archiveSets

integer
availability GET

returns all the Availability of products known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
availability/{productId} GET

returns the Availability of the specified product.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
productId

from the specified products

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
collections

from the specified collections

/api/v2/measurements/collections
archiveSets

from the specified archiveSets

/api/v2/measurements/archiveSets
temporalRanges

temporal ranges (date and optionally, time) are specified as follows:

  • dates can have either of the two following formats:
    • YYYY-MM-DD where YYYY is year, MM is month number (01..12), and DD is day of month (01..number of days in month).
    • YYYY-DDD where YYYY is the 4 digit year and DDD is the day-of-year (1..365 or 1..366 for leap years)
    • if a date is NOT specified, then the current date is assumed.
  • the date is separated from the time by either a space or a "T" character.
  • times must be specified as HH:MM, where HH is the hour (0..23) counting from midnight, and MM is the minute (0..59).
  • all times are interpreted as Coordinated Universal Time (UTC). Currently time zone specifications are not supported.
  • date time ranges are specified as two dates or date times separated by two period (dot) characters ".."
    • date..date : the start time is assumed to be 00:00 and the end time is assumed to be 23:59
      • YYYY-MM-DD..YYYY-MM-DD
      • YYYY-DDD..YYYY-MM-DD
      • YYYY-MM-DD..YYYY-DDD
      • YYYY-DDD..YYYY-DDD
    • date time..date : the end time is assumed to be 23:59
      • YYYY-MM-DD HH:MM..YYYY-MM-DD
      • YYYY-DDD HH:MM..YYYY-MM-DD
      • YYYY-MM-DD HH:MM..YYYY-DDD
      • YYYY-DDD HH:MM..YYYY-DDD
    • date..date time : the start time is assumed to be 00:00
      • YYYY-MM-DD..YYYY-MM-DD HH:MM
      • YYYY-DDD..YYYY-MM-DD HH:MM
      • YYYY-MM-DD..YYYY-DDD HH:MM
      • YYYY-DDD..YYYY-DDD HH:MM
    • date time..date time
      • YYYY-MM-DD HH:MM..YYYY-MM-DD HH:MM
      • YYYY-DDD HH:MM..YYYY-MM-DD HH:MM
      • YYYY-MM-DD HH:MM..YYYY-DDD HH:MM
      • YYYY-DDD HH:MM..YYYY-DDD HH:MM
/api/v2/measurements/temporalRanges
availability

from the specified date:time ranges

/api/v2/measurements/availability
availableFiles GET

returns a count of available files for the specified date, product type, archiveset/collection, and tileSet. This is used by folks at Google (and elsewhere) to check whether production is complete for a give day. Default is for current date.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
products

from the specified products

/api/v2/measurements/products
collections

from the specified collections

/api/v2/measurements/collections
archiveSets

from the specified archiveSets

/api/v2/measurements/archiveSets
startDates

YYYY-MM-DD hh:mm

/api/v2/measurements/startDates
tileSets

tile set identifier

/api/v2/measurements/tileSets
collections GET

returns all the Collections known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
sensors

from the specified sensors

/api/v2/missions/sensors
platforms

from the specified platforms

/api/v2/missions/platforms
archiveSets

from the specified archiveSets

/api/v2/measurements/archiveSets
instruments

from the specified instruments

/api/v2/missions/instruments
scienceDomains

from specified science domains

/api/v2/measurements/scienceDomains
keywords

from specified keywords

/api/v2/measurements/keywords
pges

from specified PGEs

/api/v2/measurements/pges
products

from the specified products

/api/v2/measurements/products
collections/{collectionId} GET

returns the specified Collection.

Param NameParam DescriptionParam Type
collectionId

from the specified collection

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
illuminations GET

returns all the Illuminations known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
keywords GET

returns all the keywords known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
products

from the specified products

/api/v2/measurements/products
keywords/{keywordId} GET

returns the specified keyword.

Param NameParam DescriptionParam Type
keywordId

from specified keyword

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
pges GET

returns all the Product Generation Executables (PGE)s known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
products

from the specified products

/api/v2/measurements/products
pges/{pgeId} GET

returns the specified PGE.

Param NameParam DescriptionParam Type
pgeId

from specified PGE

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
products GET

returns all the Products known to the system, or all the Products matching the specified query params.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
sensors

from the specified sensors

/api/v2/missions/sensors
platforms

from the specified platforms

/api/v2/missions/platforms
collections

from the specified collections

/api/v2/measurements/collections
archiveSets

from the specified archiveSets

/api/v2/measurements/archiveSets
instruments

from the specified instruments

/api/v2/missions/instruments
scienceDomains

from specified science domains

/api/v2/measurements/scienceDomains
keywords

from specified keywords

/api/v2/measurements/keywords
pges

from specified PGEs

/api/v2/measurements/pges
products/{productId} GET

returns the specified Product.

Param NameParam DescriptionParam Type
productId

from the specified products

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
regions GET

returns all the Regions known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
regions/{regionId} GET

returns the specified region.

Param NameParam DescriptionParam Type
regionId

from specified region

string matching /^[\[\]\(\)\.|a-zA-Z0-9\s\+\-]+$/
scienceDomains GET

returns all the ScienceDomains known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
products

from the specified products

/api/v2/measurements/products
scienceDomains/{scienceDomainId} GET

returns the specified scienceDomain.

Param NameParam DescriptionParam Type
scienceDomainId

from specified science domain

string matching /^[a-zA-Z0-9\.\s\#\*/\(\)_,&:+-]+$/
temporalRanges GET

returns the TemporalRanges for all products known to the system.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
temporalRanges/{productId} GET

returns all the TemporalRanges known for the specified product.

Param NameParam DescriptionParam Type
fields

names of information fields desired in the output

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
formats

format for desired output

one of [json, html, csv]
productId

from the specified products

string matching /^[a-zA-Z0-9\.\,\s\?\*_:|-]+$/
collections

from the specified collections

/api/v2/measurements/collections
archiveSets

from the specified archiveSets

/api/v2/measurements/archiveSets
temporalRanges

temporal ranges (date and optionally, time) are specified as follows:

  • dates can have either of the two following formats:
    • YYYY-MM-DD where YYYY is year, MM is month number (01..12), and DD is day of month (01..number of days in month).
    • YYYY-DDD where YYYY is the 4 digit year and DDD is the day-of-year (1..365 or 1..366 for leap years)
    • if a date is NOT specified, then the current date is assumed.
  • the date is separated from the time by either a space or a "T" character.
  • times must be specified as HH:MM, where HH is the hour (0..23) counting from midnight, and MM is the minute (0..59).
  • all times are interpreted as Coordinated Universal Time (UTC). Currently time zone specifications are not supported.
  • date time ranges are specified as two dates or date times separated by two period (dot) characters ".."
    • date..date : the start time is assumed to be 00:00 and the end time is assumed to be 23:59
      • YYYY-MM-DD..YYYY-MM-DD
      • YYYY-DDD..YYYY-MM-DD
      • YYYY-MM-DD..YYYY-DDD
      • YYYY-DDD..YYYY-DDD
    • date time..date : the end time is assumed to be 23:59
      • YYYY-MM-DD HH:MM..YYYY-MM-DD
      • YYYY-DDD HH:MM..YYYY-MM-DD
      • YYYY-MM-DD HH:MM..YYYY-DDD
      • YYYY-DDD HH:MM..YYYY-DDD
    • date..date time : the start time is assumed to be 00:00
      • YYYY-MM-DD..YYYY-MM-DD HH:MM
      • YYYY-DDD..YYYY-MM-DD HH:MM
      • YYYY-MM-DD..YYYY-DDD HH:MM
      • YYYY-DDD..YYYY-DDD HH:MM
    • date time..date time
      • YYYY-MM-DD HH:MM..YYYY-MM-DD HH:MM
      • YYYY-DDD HH:MM..YYYY-MM-DD HH:MM
      • YYYY-MM-DD HH:MM..YYYY-DDD HH:MM
      • YYYY-DDD HH:MM..YYYY-DDD HH:MM
/api/v2/measurements/temporalRanges
availability

from the specified date:time ranges

/api/v2/measurements/availability
version GET

returns the GitLab Tag of this installed namespace.