description: successful operation
schema:
$ref: '#/definitions/Avatar'
- /video:
+ /videos:
get:
tags:
- Video
type: array
items:
$ref: '#/definitions/Video'
- /video/categories:
+ /videos/categories:
get:
tags:
- Video
type: array
items:
type: string
- /video/licences:
+ /videos/licences:
get:
tags:
- Video
type: array
items:
type: string
- /video/languages:
+ /videos/languages:
get:
tags:
- Video
type: array
items:
type: string
- /video/privacies:
+ /videos/privacies:
get:
tags:
- Video
type: array
items:
type: string
- /video/search:
+ /videos/search:
get:
tags:
- Video
type: array
items:
$ref: '#/definitions/Video'
- "/video/{id}":
+ "/videos/{id}":
put:
tags:
- Video
responses:
'204':
description: successful operation
- "/video/{id}/description":
+ "/videos/{id}/description":
get:
tags:
- Video
description: successful operation
schema:
type: string
- "/video/{id}/views":
+ "/videos/{id}/views":
post:
tags:
- Video
responses:
'204':
description: successful operation
- /video/upload:
+ /videos/upload:
post:
tags:
- Video
description: successful operation
schema:
$ref: '#/definitions/VideoUploadResponse'
- /video/abuse:
+ /videos/abuse:
get:
tags:
- VideoAbuse
type: array
items:
$ref: '#/definitions/VideoAbuse'
- "/video/{id}/abuse":
+ "/videos/{id}/abuse":
post:
tags:
- VideoAbuse
responses:
'204':
description: successful operation
- "/video/{videoId}/blacklist":
+ "/videos/{videoId}/blacklist":
post:
tags:
- VideoBlacklist
responses:
'204':
description: successful operation
- /video/blacklist:
+ /videos/blacklist:
get:
tags:
- VideoBlacklist
type: array
items:
$ref: '#/definitions/VideoBlacklist'
- /video/channels:
+ /videos/channels:
get:
tags:
- VideoChannel
responses:
'204':
description: successful operation
- "/video/channels/{id}":
+ "/videos/channels/{id}":
get:
tags:
- VideoChannel
responses:
'204':
description: successful operation
- /video/accounts/{accountId}/channels:
+ /videos/accounts/{accountId}/channels:
get:
tags:
- VideoChannel
type: array
items:
$ref: '#/definitions/VideoChannel'
- "/video/{videoId}/comment-threads":
+ "/videos/{videoId}/comment-threads":
get:
tags:
- VideoComment
'200':
description: successful operation
schema:
- items:
- type: array
- $ref: '#/definitions/VideoComment'
+ $ref: '#/definitions/CommentThreadResponse'
post:
tags:
- VideoComment
responses:
'200':
description: successful operation
- "/video/{videoId}/comment-threads/{threadId}":
+ schema:
+ $ref: '#/definitions/CommentThreadPostResponse'
+ "/videos/{videoId}/comment-threads/{threadId}":
get:
tags:
- VideoComment
description: successful operation
schema:
$ref: '#/definitions/VideoCommentThreadTree'
- "/video/{videoId}/comments/{commentId}":
+ "/videos/{videoId}/comments/{commentId}":
post:
tags:
- VideoComment
responses:
'200':
description: successful operation
+ schema:
+ $ref: '#/definitions/CommentThreadPostResponse'
delete:
tags:
- VideoComment
responses:
'204':
description: successful operation
- "/video/{id}/rate":
+ "/videos/{id}/rate":
put:
tags:
- VideoRate
type: number
uuid:
type: string
+ CommentThreadResponse:
+ properties:
+ total:
+ type: number
+ data:
+ type: array
+ items:
+ $ref: "#/definitions/VideoComment"
+ CommentThreadPostResponse:
+ properties:
+ comment:
+ $ref: "#/definitions/VideoComment"
-#input bodies
+#request bodies
AddUser:
properties:
username: