Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Astro Object DB API

The Astro Object DB is the EDC database that houses astronomical data for EPO web apps. The Data Access Protocol (DAC) for the Astro Object DB is this graphQL endpoint.

Endpoint

https://us-central1-skyviewer.cloudfunctions.net/astro-objects-api

API

This is a graphQL endpoint. The astroObjects schema accepts a single argument as a float (with no quotes).

{
    astroObjects(objectId: <objectID>) {
        id        
        ra        
        dec                
        type        
        distance        
        brightness        
        objectId
        sourceId   
    }
} 

Deployment

Run the following command:

sh deploy.sh

The following environment variables must also be provided in the GCP console:

  • DB_USER
  • DB_PASS
  • DB_NAME
  • DB_HOST
  • API_TOKEN

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages