Adding POST /api/v1/reports API, and a UI for submitting reports
This commit is contained in:
parent
40a4053732
commit
3b81baaaaf
26 changed files with 480 additions and 10 deletions
2
app/views/api/v1/reports/index.rabl
Normal file
2
app/views/api/v1/reports/index.rabl
Normal file
|
@ -0,0 +1,2 @@
|
|||
collection @reports
|
||||
extends 'api/v1/reports/show'
|
2
app/views/api/v1/reports/show.rabl
Normal file
2
app/views/api/v1/reports/show.rabl
Normal file
|
@ -0,0 +1,2 @@
|
|||
object @report
|
||||
attributes :id, :action_taken
|
Loading…
Add table
Add a link
Reference in a new issue