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 (https://data.kasi.re.kr/api/).

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  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
  • Search results can be narrowed down by additional parameters below :

KeyValueOptionDescription
objectString


Target name
bandString
Observing bandpass (e.g., filter, frequency)
projectString
Project/Proposal ID
datatypeString

Type of data (e.g., OBJECT, FLAT, ...)

2. Search by publications (DOI)

KeyValueOptionDefaultDescription
DOIString

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

*Partial string can be matched by regular expression method. 

facilityString

KMTNet

KVN

MIRIS

allSelect one of the data collections

3. List metadata by dataID

KeyValueOptionDescription
dataID

String

pipe-delimited string array for multiple dataIDs

(e.g., dataID1|dataID2|dataID3...)

Data identifier

4. Retrieve publication information

...

KeyValueOptionDefaultDescription
facilityString

KMTNet

KVN

MIRIS

allSelect one of the data collections
dataIDString

Data identifier used in the publication

*Input string must match exactly with dataID in metadata databases.

(i.e., partial string match is not allowed)

5. Register your publication

  • HTTP POST request ( URL: https://data.kasi.re.kr/api/register/request )
  • Request parameters : JSON body {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. 
KeyValueOptionDescription
nameString
Your name
emailString
E-mail address
DOIString
DOI name of the publication to be registered
facilityString

KMTNet

KVN

MIRIS

Select one of the data collections

dataID

String Array
List of data identifiers used in the publication
commentString
Message to database managers


Info
Document written by chr@kasi.re.kr

관련 문서

Content by Label
showLabelsfalse
max5
spacesBIG
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "BIG"
labelskb-how-to-article

...