Update v2/swagger.yaml #4
@@ -1850,6 +1850,56 @@ paths:
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/file/count:
|
||||
get:
|
||||
tags:
|
||||
- file
|
||||
summary: count user files.
|
||||
operationId: /file/count
|
||||
parameters:
|
||||
- name: search
|
||||
in: query
|
||||
description: Query string
|
||||
schema:
|
||||
type: string
|
||||
example: Some text
|
||||
responses:
|
||||
200:
|
||||
description: File objects.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
image:
|
||||
type: integer
|
||||
default: 320
|
||||
video:
|
||||
type: integer
|
||||
default: 10
|
||||
document:
|
||||
type: integer
|
||||
default: 10
|
||||
archive:
|
||||
type: integer
|
||||
default: 0
|
||||
other:
|
||||
type: integer
|
||||
default: 0
|
||||
encrypted:
|
||||
type: integer
|
||||
default: 0
|
||||
400:
|
||||
description: Bad Request.
|
||||
401:
|
||||
description: Unauthorized.
|
||||
403:
|
||||
description: Unauthorized.
|
||||
404:
|
||||
description: Unauthorized.
|
||||
500:
|
||||
description: Server Error.
|
||||
|
||||
/user-status/index:
|
||||
get:
|
||||
tags:
|
||||
|
||||
Reference in New Issue
Block a user