Adding POST /api/v1/reports API, and a UI for submitting reports
This commit is contained in:
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
|
Reference in New Issue
Block a user