Merge branch 'ivan-master-patch-40918' into 'master'
Update v2/swagger.yaml See merge request hrbox-public/api!4
This commit was merged in pull request #4.
This commit is contained in:
+51
-1
@@ -1850,6 +1850,56 @@ paths:
|
|||||||
500:
|
500:
|
||||||
description: Server Error.
|
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:
|
/user-status/index:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -4832,4 +4882,4 @@ components:
|
|||||||
mime_type:
|
mime_type:
|
||||||
description: File MIME-Type.
|
description: File MIME-Type.
|
||||||
type: string
|
type: string
|
||||||
example: image/png
|
example: image/png
|
||||||
|
|||||||
Reference in New Issue
Block a user