Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6a5981d654df35a197ea187fbfe07f9f055119b1 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
mcoughlin committed May 23, 2023
1 parent d68d3df commit c79d0a1
Show file tree
Hide file tree
Showing 5 changed files with 591 additions and 589 deletions.
Binary file modified _images/erd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _sources/followup.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
The vast majority of follow-up instruments will require some form of authentication. All such information is passed through the `altdata` variable of the `Allocation`s API. We briefly describe the authentication form the available telescopes take below:

* ATLAS Forced Photometry: A user account must be made on https://fallingstar-data.com/forcedphot/, at which point the authentication takes the form `{"api_token": "testtoken"}`.
* GENERIC: There are three generic methods for distributing follow-up requests. The first is through API, where the user provides {"endpoint": "API_ENDPOINT", "api_token": "token"} where API_ENDPOINT is the telescope API endpoint. The second is through slack, where the user provides {"type": "slack", "slack_workspace": "XXX", "slack_channel": "YYY", "slack_token": "ZZZ"}. The third is by email, where the user provides {"type": "email", "email": "[email protected],[email protected]"}. Both slack and email also allow for "comment":"True" to indicate that comment text should also be shared in the message.
* KAIT: A username and password are passed as `{"username": "username", "password": "password"}`.
* LCO: A user account must be made on https://lco.global/, at which point the authentication takes the form `{"PROPOSAL_ID": "your_proposal_ID", "API_TOKEN": "testtoken", "API_ARCHIVE_TOKEN": "testarchivetoken"}`. The submission token is available directly from https://observe.lco.global while the archive token can be aquired by API:
ar = requests.post('https://archive-api.lco.global/api-token-auth/',
Expand Down
Loading

0 comments on commit c79d0a1

Please sign in to comment.