Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document describes how to access the metadata DBs in KASI Science Data Archive via HTTP APIs.

...

1. Search by coordinates (RA & DEC)

KeyValueOptionDefaultDescription
raDouble

Right Ascension (J2000) of input coordinates in degrees
decDouble

Declination (J2000) of input coordinates in degrees
radDouble
30

Search radius around the given input coordinates.

Result table will be presented by default with increasing distances from the input coordinate.

unitString

degree

arcmin

arcsec

arcminUnit of search radius
limitInteger
100Limit in number of rows returned

...

2. Search by publications (DOI)

KeyValue
Option
Default
Description
DOIString

DOI (Digital Object Identifier) name (i.e., prefix+'/'+suffix, see DOI syntax).

Partial string can be matched by regular expression method. 

...

3. List metadata by dataID

  • HTTP GET request ( URL: https://data.kasi.re.kr/api/facility/list/dataID dataID1|dataID2|dataID3... )
  • Applicable facilities (case sensitive) : KMTNet, MIRIS, KVN(not ready yet)
  • Request parameters : dataID(s)
  • Multiple dataIDs can be requested with pipe-delimited("|") string array
  • Response type : JSON
  • Examples :
)
KeyValueOptionDescription
dataID

String(

pipe-delimited string array for multiple dataIDs

Data identifier

...

4. Retrieve publication information

KeyValueOptionDefaultDescription
facilityString

KMTNet

KVN

MIRIS

allSelect one of the data collections
dataIDString

Data identifier used in the publication

...

5. Register your publication

  • HTTP POST request (URL: https://data.kasi.re.kr/api/register/request)
  • Request parameters : name, email, DOI, facility, dataID, comment
  • Response type : JSON document saved to publication DB collection
  • Registered information should be verified by administrators before showing up in the API search results. 

...