DvData Web Services¶
GET
/api/v0.1/dvdata/{mission}/info/
¶DV Data table metadata
Get metadata about the information returned in DV Data table queries.
- Parameters
mission (string) – The mission (tess/kepler)
- Status Codes
200 OK – JSON DV metadata dictionary
422 Unprocessable Entity – Validation Error
GET
/api/v0.1/dvdata/{mission}/{star_id}/info/
¶Kepler/TESS ID and TCE metadata.
Get metadata about given Kepler/TESS ID and TCE. If no TCE is supplied, TCE specific headers are omitted from the response.
- Parameters
mission (string) – The mission (tess/kepler)
star_id (string) – The TESS/Kepler ID
- Query Parameters
list_tce (string) – Flag to include list of TCEs
tce (string) – The TCE (TCE_# or #)
sector (string) – The TESS sector identifier (eg, s0001-s0001 or # for a single sector)
- Status Codes
200 OK – JSON string of Kepler/TESS ID and TCE metadata
400 Bad Request – Missing sector in TESS request
422 Unprocessable Entity – Validation Error
GET
/api/v0.1/dvdata/{mission}/{star_id}/tces/
¶Kepler/TESS ID associated TCEs.
Get a list of TCEs associated with the given Kepler/TESS ID.TESS TCEs will include the sector information as well.
- Parameters
mission (string) – The mission (tess/kepler)
star_id (string) – The TESS/Kepler ID
- Status Codes
200 OK – JSON string of TCEs for Kepler or TESS.
422 Unprocessable Entity – Validation Error
GET
/api/v0.1/dvdata/{mission}/{star_id}/table
¶TESS/Kepler ID and TCE associated table data
Gets data table associated with a given tess/kepler id and TCE.For Kepler, if no TCE is supplied, the data table for the first TCE is returned.This light curve has been median detrended, but no transits have been removed.For TESS, both TCE and Sector are required. You can use the /tces endpoint to check the available data.
- Parameters
mission (string) – The mission (tess/kepler)
star_id (string) – The TESS/Kepler ID
- Query Parameters
tce (string) – The TCE (TCE_# or #)
sector (string) – The TESS sector identifier (eg, s0001-s0001 or # for a single sector)
- Status Codes
200 OK – JSON string containing data associated with tess/kepler id and TCE
400 Bad Request – Bad Request: Missing sector/tce in TESS call. Use /tces call to get options
422 Unprocessable Entity – Validation Error
GET
/api/v0.1/dvdata/{mission}/{star_id}/phaseplot/
¶DV Data phased lightcurve plot
Returns a phased lightcurve plot of DV data for given Kepler ID and TCE.If no TCE is supplied TCE_1 is assumed, however this behavior will eventuallychange, and should not be depended on.For TESS, both TCE and Sector are required. You can use the /tces endpoint to check the available data.
- Parameters
mission (string) – The mission (tess/kepler)
star_id (string) – The Kepler/TESS ID
- Query Parameters
embed (string) – If this flag argument is present the response will be a json object containing all necessary information to embed the plot in a webpage. If this argument is not present the HTML plot will be returned.
splitphase (string) – If this flag argument is present even and odd phases will be plotted separately
tce (string) – The TCE (TCE_# or #)
sector (string) – The TESS sector identifier (eg, s0001-s0001 or # for a single sector)
- Status Codes
200 OK – Phased lightcurve plot
400 Bad Request – Bad Request: Missing sector/tce in TESS call. Use /tces call to get options
422 Unprocessable Entity – Validation Error