The POST and GET methods have the same semantic here, they only get data from the database, nothing is added or removed from it.
Search in the Elasticsearch database with filters.
target_name is optional and it can be for instance /search/Mars
If it's not specified the search will be performed on every target names (Mars, Venus...).
It can be useful to get the list of the target names for example, with:
/search?distinct=true&fields=target_name
Returns an array of objects.
Each object corresponds to an item that matches with the query. The keys of each object are the fields returned and the values of each key is the value of this field.
If none were provided then we have all of the fields of the current element.
Returns an object.
Each key of this object corresponds to a value of the field specified in moc_group.
The value of associated to a key, is the MOC created by merging all of the MOCs of the items that matched with the query and whose moc_group field value is equal to the key.
GET and POST.
If a MOC is provided it's recommended to send it in a POST query since it may be too large for GET.
moc_group and distinct can't be used simultaneously since they return different types of results, and if both are present, then distinct will be used instead of moc_group
Display this help page.
"/" redirects to this page by default.
Get a list of HiPS for the given target_name.
target_name is NOT optional
You can give the name of a HiPS as a parameter to search for it, for example:
/hips/Mars/Mars%20MRO%20CTX
Returns an array of objects.
Each object corresponds to a HiPS that matches with the query.
The object data is as followed (object keys are in bold):
GET and POST.
Get the HiPS properties of the HiPS given in the parameters.
Returns an object corresponding to the searched HiPS.
Each key and values corresponds to a property parameter
Those properties are for example in the format at: Example
GET and POST.
Create a MOC from a list of points (those points define the borders).
The points order is important.
Returns an object corresponding the MOC in JSON format
For more information about the MOC format, refer to the IVOA MOC documentation.
POST.
Create a MOC from a HiPS.
target_name and order are NOT optional
order is the order of the created MOC as defined by the IVOA.
Returns an object corresponding the MOC in JSON format
For more information about the MOC format, refer to the IVOA MOC documentation.
GET and POST.
Get the max order that can have a MOC generated from the given HiPS.
target_name is NOT optional
Returns an integer corresponding to the max order.
GET and POST.
Get the center of a MOC
Returns the array of floats [ra,dec] that corresponds to the coordinates of the center of the given MOC
POST.
Create a MOC in JSON from a string in ASCII.
Returns the MOC in JSON
GET & POST.