Hello there! Please take this five question survey to help us learn more about how you use exo.MAST. We will use the results to focus improvements and better support the science community.

Spectra Web Services

GET /api/v0.1/spectra/{planet_name}/plot

Get curated Spectra plots for particular exoplanet

Get the archive webservice to request curated spectra for a given exoplanet.

Parameters:
  • planet_name (string) – Exoplanet name or id

Query Parameters:
  • embed ({'null', 'string'}) – This flag tells the request render a html page or return components to embed

Status Codes:
GET /api/v0.1/spectra/{planet_name}/file/{filename}/

Get the Spectra datafile

Get a States datafile off of the filesystem and retrieves it for the caller. This is used in the UI when a user wants to retrieve the source data for one of our spectra plots.

Parameters:
  • planet_name (string)

  • filename (string)

Status Codes:
GET /api/v0.1/spectra/{planet_name}/filelist

Get the list of Spectra datafiles

Get a list of available datafiles for a given planet. The user may then call the /file/ method to retrieve the data.

Parameters:
  • planet_name (string) – Exoplanet name or id

Status Codes: