Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GraceDB Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Coughlin
GraceDB Server
Commits
8b698224
Commit
8b698224
authored
6 years ago
by
Tanner Prestegard
Committed by
GraceDB
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Adding signoff and instrument details to API root
parent
4de77888
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gracedb/api/v1/main/views.py
+4
-1
4 additions, 1 deletion
gracedb/api/v1/main/views.py
with
4 additions
and
1 deletion
gracedb/api/v1/main/views.py
+
4
−
1
View file @
8b698224
...
...
@@ -16,7 +16,7 @@ from rest_framework.views import APIView
from
api.backends
import
LigoAuthentication
from
api.utils
import
api_reverse
from
events.models
import
Group
,
Pipeline
,
Search
,
Tag
,
Label
,
EMGroup
,
\
VOEvent
,
EMBBEventLog
,
EMSPECTRUM
VOEvent
,
EMBBEventLog
,
EMSPECTRUM
,
SignoffBase
from
events.view_logic
import
get_performance_info
from
superevents.models
import
Superevent
from
..superevents.url_templates
import
construct_url_templates
...
...
@@ -136,6 +136,9 @@ class GracedbRoot(APIView):
"
obs-statuses
"
:
dict
(
EMBBEventLog
.
OBS_STATUS_CHOICES
),
"
superevent-categories
"
:
dict
(
Superevent
.
SUPEREVENT_CATEGORY_CHOICES
),
"
signoff-types
"
:
dict
(
SignoffBase
.
SIGNOFF_TYPE_CHOICES
),
"
signoff-statuses
"
:
dict
(
SignoffBase
.
OPERATOR_STATUS_CHOICES
),
"
instruments
"
:
dict
(
SignoffBase
.
INSTRUMENT_CHOICES
),
"
voevent-types
"
:
dict
(
VOEvent
.
VOEVENT_TYPE_CHOICES
),
"
API_VERSIONS
"
:
api_settings
.
ALLOWED_VERSIONS
,
})
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment