sct 4 years ago
parent 1a526c2ecc
commit e847696c05

@ -3957,6 +3957,8 @@ paths:
summary: Get all requests summary: Get all requests
description: | description: |
Returns all requests if the user has the `ADMIN` or `MANAGE_REQUESTS` permissions. Otherwise, only the logged-in user's requests are returned. Returns all requests if the user has the `ADMIN` or `MANAGE_REQUESTS` permissions. Otherwise, only the logged-in user's requests are returned.
If the `requestedBy` parameter is specified, only requests from that particular user ID will be returned.
tags: tags:
- request - request
parameters: parameters:
@ -3984,6 +3986,12 @@ paths:
type: string type: string
enum: [added, modified] enum: [added, modified]
default: added default: added
- in: query
name: requestedBy
schema:
type: number
nullable: true
example: 1
responses: responses:
'200': '200':
description: Requests returned description: Requests returned
@ -4593,7 +4601,7 @@ paths:
type: number type: number
/media: /media:
get: get:
summary: Return media summary: Get media
description: Returns all media (can be filtered and limited) in a JSON object. description: Returns all media (can be filtered and limited) in a JSON object.
tags: tags:
- media - media

Loading…
Cancel
Save