Download OpenAPI specification:Download
API documentation for the OCS Science Archive
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
proposal_id | string proposal_id |
configuration_type | string configuration_type |
instrument_id | string instrument_id |
reduction_level | string reduction_level |
site_id | string site_id |
telescope_id | string telescope_id |
primary_optical_element | string primary_optical_element |
observation_id | string observation_id |
request_id | string request_id |
start | string start |
end | string end |
DATE_OBS | string DATE_OBS |
DAY_OBS | string DAY_OBS |
dayobs | string dayobs |
basename | string basename |
basename_exact | string basename_exact |
OBJECT | string OBJECT |
target_name | string target_name |
target_name_exact | string target_name_exact |
L1PUBDAT | string L1PUBDAT |
public | string public |
EXPTIME | string EXPTIME |
exposure_time | string exposure_time |
OBSTYPE | string OBSTYPE |
PROPID | string PROPID |
INSTRUME | string INSTRUME |
SITEID | string SITEID |
TELID | string TELID |
FILTER | string FILTER |
BLKUID | string BLKUID |
REQNUM | string REQNUM |
RLEVEL | string RLEVEL |
covers | string covers |
exclude_OBSTYPE | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
exclude_configuration_type | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
intersects | string intersects |
ordering | string Which field to use when ordering the results. |
{- "count": 123,
- "results": [
- {
- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
]
}
basename required | string File basename without extension |
area required | string or null GeoJSON area that this frame covers |
related_frames | Array of integers[ items ] |
required | Array of objects[ items ] Set of versions associated with this file |
headers required | object |
reduction_level | integer [ -32768 .. 32767 ] Reduction level of the frame |
observation_day required | string <date> Observation day in %Y%m%d format |
observation_date | string or null <date-time> Time of observation in UTC |
proposal_id | string <= 200 characters Textual proposal id |
instrument_id | string <= 64 characters Instrument used |
target_name | string <= 200 characters Target object name |
site_id | string <= 3 characters Originating site code. Usually the 3 character airport code of the nearest airport |
telescope_id | string <= 4 characters Originating telescope 4 character code. Ex. 1m0a or 0m4b |
exposure_time | number or null Exposure time, in seconds |
primary_optical_element | string <= 100 characters Primary Optical Element used. FITS header: FILTER |
public_date | string or null <date-time> The date the frame becomes public |
configuration_type required | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" |
observation_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the observation |
request_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the request this observation is a part of |
related_frame_filenames required | Array of strings Set of related frames for this file |
{- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "key": "string",
- "md5": "string",
- "extension": "string"
}
], - "headers": { },
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647,
- "related_frame_filenames": [
- "string"
]
}
{- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
Aggregate field values based on start/end time. Returns the unique values shared across all FITS files for site, telescope, instrument, filter, proposal, and obstype.
start | string Start time |
end | string End time |
aggregate_field | string Default: "ALL" Field to retrieve aggregated values for. Defaults to all fields if not specified. |
site_id | string Aggregate all fields for a given site |
telescope_id | string Aggregate all fields for a given telescope |
primary_optical_element | string Aggregate all fields for a given filter |
instrument_id | string Aggregate all fields for a given instrument |
configuration_type | string Aggregate all fields for a given observation type |
proposal_id | string Aggregate all fields for a given proposal ID |
{- "sites": [
- "string"
], - "telescopes": [
- "string"
], - "filters": [
- "string"
], - "instruments": [
- "string"
], - "obstypes": [
- "string"
], - "proposals": [
- "string"
]
}
id required | string |
proposal_id | string proposal_id |
configuration_type | string configuration_type |
instrument_id | string instrument_id |
reduction_level | string reduction_level |
site_id | string site_id |
telescope_id | string telescope_id |
primary_optical_element | string primary_optical_element |
observation_id | string observation_id |
request_id | string request_id |
start | string start |
end | string end |
DATE_OBS | string DATE_OBS |
DAY_OBS | string DAY_OBS |
dayobs | string dayobs |
basename | string basename |
basename_exact | string basename_exact |
OBJECT | string OBJECT |
target_name | string target_name |
target_name_exact | string target_name_exact |
L1PUBDAT | string L1PUBDAT |
public | string public |
EXPTIME | string EXPTIME |
exposure_time | string exposure_time |
OBSTYPE | string OBSTYPE |
PROPID | string PROPID |
INSTRUME | string INSTRUME |
SITEID | string SITEID |
TELID | string TELID |
FILTER | string FILTER |
BLKUID | string BLKUID |
REQNUM | string REQNUM |
RLEVEL | string RLEVEL |
covers | string covers |
exclude_OBSTYPE | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
exclude_configuration_type | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
intersects | string intersects |
ordering | string Which field to use when ordering the results. |
{- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
id required | string |
proposal_id | string proposal_id |
configuration_type | string configuration_type |
instrument_id | string instrument_id |
reduction_level | string reduction_level |
site_id | string site_id |
telescope_id | string telescope_id |
primary_optical_element | string primary_optical_element |
observation_id | string observation_id |
request_id | string request_id |
start | string start |
end | string end |
DATE_OBS | string DATE_OBS |
DAY_OBS | string DAY_OBS |
dayobs | string dayobs |
basename | string basename |
basename_exact | string basename_exact |
OBJECT | string OBJECT |
target_name | string target_name |
target_name_exact | string target_name_exact |
L1PUBDAT | string L1PUBDAT |
public | string public |
EXPTIME | string EXPTIME |
exposure_time | string exposure_time |
OBSTYPE | string OBSTYPE |
PROPID | string PROPID |
INSTRUME | string INSTRUME |
SITEID | string SITEID |
TELID | string TELID |
FILTER | string FILTER |
BLKUID | string BLKUID |
REQNUM | string REQNUM |
RLEVEL | string RLEVEL |
covers | string covers |
exclude_OBSTYPE | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
exclude_configuration_type | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
intersects | string intersects |
ordering | string Which field to use when ordering the results. |
basename required | string File basename without extension |
area required | string or null GeoJSON area that this frame covers |
related_frames | Array of integers[ items ] |
required | Array of objects[ items ] Set of versions associated with this file |
headers required | object |
reduction_level | integer [ -32768 .. 32767 ] Reduction level of the frame |
observation_day required | string <date> Observation day in %Y%m%d format |
observation_date | string or null <date-time> Time of observation in UTC |
proposal_id | string <= 200 characters Textual proposal id |
instrument_id | string <= 64 characters Instrument used |
target_name | string <= 200 characters Target object name |
site_id | string <= 3 characters Originating site code. Usually the 3 character airport code of the nearest airport |
telescope_id | string <= 4 characters Originating telescope 4 character code. Ex. 1m0a or 0m4b |
exposure_time | number or null Exposure time, in seconds |
primary_optical_element | string <= 100 characters Primary Optical Element used. FITS header: FILTER |
public_date | string or null <date-time> The date the frame becomes public |
configuration_type required | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" |
observation_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the observation |
request_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the request this observation is a part of |
related_frame_filenames required | Array of strings Set of related frames for this file |
{- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "key": "string",
- "md5": "string",
- "extension": "string"
}
], - "headers": { },
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647,
- "related_frame_filenames": [
- "string"
]
}
{- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
id required | string |
proposal_id | string proposal_id |
configuration_type | string configuration_type |
instrument_id | string instrument_id |
reduction_level | string reduction_level |
site_id | string site_id |
telescope_id | string telescope_id |
primary_optical_element | string primary_optical_element |
observation_id | string observation_id |
request_id | string request_id |
start | string start |
end | string end |
DATE_OBS | string DATE_OBS |
DAY_OBS | string DAY_OBS |
dayobs | string dayobs |
basename | string basename |
basename_exact | string basename_exact |
OBJECT | string OBJECT |
target_name | string target_name |
target_name_exact | string target_name_exact |
L1PUBDAT | string L1PUBDAT |
public | string public |
EXPTIME | string EXPTIME |
exposure_time | string exposure_time |
OBSTYPE | string OBSTYPE |
PROPID | string PROPID |
INSTRUME | string INSTRUME |
SITEID | string SITEID |
TELID | string TELID |
FILTER | string FILTER |
BLKUID | string BLKUID |
REQNUM | string REQNUM |
RLEVEL | string RLEVEL |
covers | string covers |
exclude_OBSTYPE | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
exclude_configuration_type | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
intersects | string intersects |
ordering | string Which field to use when ordering the results. |
basename required | string File basename without extension |
area required | string or null GeoJSON area that this frame covers |
related_frames | Array of integers[ items ] |
required | Array of objects[ items ] Set of versions associated with this file |
headers required | object |
reduction_level | integer [ -32768 .. 32767 ] Reduction level of the frame |
observation_day required | string <date> Observation day in %Y%m%d format |
observation_date | string or null <date-time> Time of observation in UTC |
proposal_id | string <= 200 characters Textual proposal id |
instrument_id | string <= 64 characters Instrument used |
target_name | string <= 200 characters Target object name |
site_id | string <= 3 characters Originating site code. Usually the 3 character airport code of the nearest airport |
telescope_id | string <= 4 characters Originating telescope 4 character code. Ex. 1m0a or 0m4b |
exposure_time | number or null Exposure time, in seconds |
primary_optical_element | string <= 100 characters Primary Optical Element used. FITS header: FILTER |
public_date | string or null <date-time> The date the frame becomes public |
configuration_type required | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" |
observation_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the observation |
request_id | integer or null [ 0 .. 2147483647 ] Unique id associated with the request this observation is a part of |
related_frame_filenames required | Array of strings Set of related frames for this file |
{- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "key": "string",
- "md5": "string",
- "extension": "string"
}
], - "headers": { },
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647,
- "related_frame_filenames": [
- "string"
]
}
{- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
id required | string |
proposal_id | string proposal_id |
configuration_type | string configuration_type |
instrument_id | string instrument_id |
reduction_level | string reduction_level |
site_id | string site_id |
telescope_id | string telescope_id |
primary_optical_element | string primary_optical_element |
observation_id | string observation_id |
request_id | string request_id |
start | string start |
end | string end |
DATE_OBS | string DATE_OBS |
DAY_OBS | string DAY_OBS |
dayobs | string dayobs |
basename | string basename |
basename_exact | string basename_exact |
OBJECT | string OBJECT |
target_name | string target_name |
target_name_exact | string target_name_exact |
L1PUBDAT | string L1PUBDAT |
public | string public |
EXPTIME | string EXPTIME |
exposure_time | string exposure_time |
OBSTYPE | string OBSTYPE |
PROPID | string PROPID |
INSTRUME | string INSTRUME |
SITEID | string SITEID |
TELID | string TELID |
FILTER | string FILTER |
BLKUID | string BLKUID |
REQNUM | string REQNUM |
RLEVEL | string RLEVEL |
covers | string covers |
exclude_OBSTYPE | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
exclude_configuration_type | string Enum: "SPECTRUM" "SKYFLAT" "STANDARD" "GUIDE" "TRAILED" "CATALOG" "EXPERIMENTAL" "DARK" "LAMPFLAT" "BIAS" "EXPOSE" Exclude Configuration Types |
intersects | string intersects |
ordering | string Which field to use when ordering the results. |
Return the metadata (headers) associated with the archive record
id required | string |
{- "data": {
- "RA": "15:09:34.389",
- "DEC": "-80:00:00.80",
- "DATE": "2021-09-28",
- "GAIN": 0,
- "SITE": "Site A",
- "CD1_1": -0.0001081,
- "CD1_2": 0,
- "CD2_1": 0,
- "CD2_2": 0.0001081,
- "ENCID": "domb",
- "NAXIS": 2,
- "TELID": "1m0a",
- "BITPIX": 16,
- "BLKUID": "292809554",
- "CCDSUM": "1 1",
- "CRPIX1": 2048,
- "CRPIX2": 2048,
- "CRVAL1": 122.8941814,
- "CRVAL2": -0.1476394,
- "CTYPE1": "RA---TAN",
- "CTYPE2": "DEC--TAN",
- "CUNIT1": "deg",
- "CUNIT2": "deg",
- "DETSEC": "",
- "FILTER": "none*up",
- "FOCDMD": 0,
- "NAXIS1": 0,
- "NAXIS2": 0,
- "PM_DEC": 0,
- "PROPID": "calibrations",
- "SITEID": "mba",
- "SUNALT": 24.6962509,
- "USERID": "example_user",
- "UTSTOP": "21:45:00.218",
- "AIRMASS": 1.0146531,
- "BIASSEC": "",
- "CAT_DEC": "NaN",
- "CLKMODE": 1,
- "DATASEC": "[1:4160,1:4116]",
- "DATASUM": "0",
- "EXPTIME": 0,
- "FILTER1": "",
- "FILTER2": "up",
- "FILTER3": "air",
- "FOCPOSN": 0.0050976,
- "FOCSTAT": "HALTED",
- "FOCTEMP": 10.2600002,
- "FOCTOFF": 0.018012,
- "FOCZOFF": 0.0021702,
- "ISSTEMP": "",
- "M1COVER": "DEPLOYED",
- "M1HRTMN": "",
- "M2PITCH": -150,
- "MJD_OBS": 59485.906121,
- "MOONALT": 25.7255227,
- "OBSNOTE": "",
- "OBSTYPE": "BIAS",
- "OFST_RA": "NaN",
- "RADESYS": "ICRS",
- "RATRACK": 0,
- "RDNOISE": 7.4,
- "RDSPEED": 60,
- "REFPRES": "",
- "REFTEMP": "",
- "REQTIME": 0,
- "SRCTYPE": "",
- "SUNDIST": 56.795027,
- "TRIGGER": "",
- "TRIMSEC": "[1:4096,1:4096]",
- "UT1_UTC": -0.10731,
- "UTSTART": "21:45:00.218",
- "AGFILTER": "air",
- "AGFILTID": "air",
- "AGFOCDMD": -10.05,
- "AGFOCOFF": 0,
- "AGLCKFRC": 0,
- "AGMIRDMD": "",
- "AGMIRPOS": "N/A, N/A",
- "ALTITUDE": 99.7581253,
- "BLKAIRCO": "20.0",
- "BLKEDATE": "2021-09-28T23:09:54",
- "BLKMNDST": 0,
- "BLKNOMEX": 10140,
- "BLKSDATE": "2021-09-28T20:20:54",
- "BLKSEECO": "",
- "BLKTRNCO": "",
- "CAT_EPOC": 2000,
- "CCDATEMP": -90.0008545,
- "CCDSESIG": "",
- "CCDSTEMP": -90,
- "CCDXPIXE": 0.000015,
- "CCDYPIXE": 0.000015,
- "CHECKSUM": "BQfAEOZ0BOd7BOZ7",
- "CONFMODE": "full_frame",
- "CONFNAME": "",
- "DARKCURR": 0,
- "DATE_OBS": "2021-09-28T21:45:00.218",
- "DECTRACK": 0,
- "DETECTID": "DB-76",
- "DETECTOR": "",
- "ENC1STAT": "CLOSED",
- "ENC2STAT": "CLOSED",
- "ENCLOSUR": "Dome-03",
- "ENCRLIGT": "OFF",
- "ENCWLIGT": "OFF",
- "ENGSTATE": "",
- "FILTERI1": "",
- "FILTERI2": "SDSS-UP-184",
- "FILTERI3": "Air",
- "FOCAFOFF": 1.11,
- "FOCFLOFF": -1,
- "FOCINOFF": 0,
- "FOCOBOFF": 0,
- "FOCTELZP": -1.7,
- "FOLDPORT": "1",
- "FOLDPOSN": "N/A, N/A",
- "FOLDSTAT": "",
- "FRAMENUM": 59,
- "FRMTOTAL": 15,
- "INSTRUME": "ia01",
- "LATITUDE": -31.273025,
- "LONGITUD": 149.070764,
- "MOONDIST": 123.3510555,
- "MOONFRAC": 0.5202224,
- "MOONSTAT": "UP",
- "OBRECIPE": "",
- "OBSGEO_X": -4681318.773,
- "OBSGEO_Y": 2804956.796,
- "OBSGEO_Z": -3292409.721,
- "ORIGNAME": "coj1m003-fa19-20210928-0059-b00",
- "PIXSCALE": 0.389,
- "ROLLERDR": 0,
- "ROLLERND": 0,
- "SATURATE": 40000
}
}
Return the related files associated with the archive record
id required | string |
{- "id": 0,
- "basename": "string",
- "area": "string",
- "related_frames": [
- 0
], - "version_set": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
], - "filename": "string",
- "url": "string",
- "reduction_level": -32768,
- "observation_day": "2019-08-24",
- "observation_date": "2019-08-24T14:15:22Z",
- "proposal_id": "string",
- "instrument_id": "string",
- "target_name": "string",
- "site_id": "str",
- "telescope_id": "stri",
- "exposure_time": 0,
- "primary_optical_element": "string",
- "public_date": "2019-08-24T14:15:22Z",
- "configuration_type": "SPECTRUM",
- "observation_id": 2147483647,
- "request_id": 2147483647
}
Instruct the server to download the given Version (one part of a Frame), run funpack on it, and return the uncompressed FITS file to the client.
This is designed to be used by the Archive Client ZIP file support to automatically uncompress FITS files for clients that cannot do it themselves.
id required | string |
<uncompressed file contents>
Return a zip archive of files matching the frame IDs specified in the request
frame_ids required | Array of integers[ items >= 1 ] Frame IDs of images to include in zip archive |
uncompress | boolean Default: false Whether to uncompress the FITS files prior to creating zip archive |
{- "frame_ids": [
- 1
], - "uncompress": false
}
<zip file contents>
limit | integer Number of results to return per page. |
offset | integer The initial index from which to return the results. |
md5 | string md5 |
{- "count": 123,
- "results": [
- {
- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
]
}
id required | string A unique integer value identifying this version. |
md5 | string md5 |
{- "id": 0,
- "created": "2019-08-24T14:15:22Z",
- "key": "string",
- "md5": "string",
- "extension": "string",
- "url": "string"
}
This view is meant to be called by the Oauth Server when a new user account is created. This will create the corresponding user account within this Oauth client app and give it the same api-token, so the user can access this application with their api-token without needing to initially login with their password. This should also be called on token change or on any user info change.
null
null
Obtain the auth token associated with the given user account
username required | string |
password required | string |
{- "token": "string"
}