Adding OAuth access scopes, fixing OAuth authorization UI, adding rate limiting
to the API
This commit is contained in:
parent
17122df80d
commit
a9e40a3d80
26 changed files with 195 additions and 99 deletions
|
@ -1,5 +1,5 @@
|
|||
class Api::V1::MediaController < ApiController
|
||||
before_action :doorkeeper_authorize!
|
||||
before_action -> { doorkeeper_authorize! :write }
|
||||
respond_to :json
|
||||
|
||||
def create
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue