Spaces:
Sleeping
Sleeping
File size: 708 Bytes
944f7e5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | @host = http://127.0.0.1:5000
@dataset = A2744_F1228
@datacube = nircam
### List datasets
# Response: DatasetsResponse
# datasets: list[str]
# default: str
GET {{host}}/api/datasets
Accept: application/json
### List datacubes for a dataset
# 404 when dataset_name unknown.
# Response: DatacubesResponse
# datacubes: list[str]
GET {{host}}/api/datasets/{{dataset}}/datacubes
Accept: application/json
### List filters for a datacube
# Response: FiltersResponse
# filters: list[FilterInfo]
# index: int
# name: str (e.g. "F200W")
# wavelength: float (microns; 0.0 if not in NIRCAM_WAVELENGTHS)
GET {{host}}/api/datasets/{{dataset}}/filters/{{datacube}}
Accept: application/json
|