Skip to content

Commit c2cff20

Browse files
Merge pull request #94 from apivideo/watch-data-docs
Add new analytics endpoints & livestream complete()
2 parents 5ae7ba7 + 172a558 commit c2cff20

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

api/openapi.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ paths:
4444
examples:
4545
response:
4646
value:
47-
type: https://docs.api.video/docs/authenticationinvalid_credentials
47+
type: https://docs.api.video/reference/authentication-invalid-user-credentials
4848
title: The user credentials were incorrect.
4949
name: ""
5050
status: 400
@@ -122,7 +122,7 @@ paths:
122122
response:
123123
value:
124124
status: 400
125-
type: https://docs.api.video/docs/authenticationinvalid_credentials
125+
type: https://docs.api.video/reference/authentication-invalid-user-credentials
126126
title: The user credentials were incorrect.
127127
name: ""
128128
schema:
@@ -260,21 +260,21 @@ paths:
260260
examples:
261261
response:
262262
value:
263-
type: https://docs.api.video/docs/filealreadyuploaded
263+
type: https://docs.api.video/reference/video-source-already-uploaded
264264
title: The source of the video is already uploaded.
265265
name: file
266266
status: 400
267267
problems:
268-
- type: https://docs.api.video/docs/filealreadyuploaded
268+
- type: https://docs.api.video/reference/video-source-already-uploaded
269269
title: The source of the video is already uploaded.
270270
name: file
271-
- type: https://docs.api.video/docs/filealreadyuploaded
271+
- type: https://docs.api.video/reference/video-source-already-uploaded
272272
title: The video xxxx has already been uploaded.
273273
name: video
274-
- type: https://docs.api.video/docs/filemissing
274+
- type: https://docs.api.video/reference/uploaded-file-no-file
275275
title: There is no uploaded file in the request.
276276
name: file
277-
- type: https://docs.api.video/docs/multiplefilesuploaded
277+
- type: https://docs.api.video/reference/uploaded-file-multiple-files
278278
title: There is more than one uploaded file in the request.
279279
name: file
280280
schema:
@@ -307,7 +307,7 @@ paths:
307307
examples:
308308
response:
309309
value:
310-
type: https://docs.api.video/docs/resourcenot_found
310+
type: https://docs.api.video/reference/resource-not-found
311311
title: The requested resource was not found.
312312
name: videoId
313313
status: 404
@@ -339,7 +339,7 @@ paths:
339339
content:
340340
application/json:
341341
examples:
342-
response:
342+
Too many requests:
343343
value:
344344
type: https://docs.api.video/reference/too-many-requests
345345
title: Too many requests.
@@ -687,7 +687,7 @@ paths:
687687
content:
688688
application/json:
689689
examples:
690-
response:
690+
Too many requests:
691691
value:
692692
type: https://docs.api.video/reference/too-many-requests
693693
title: Too many requests.

src/test/resources/payloads/advancedauthentication/authenticate/responses/400.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"type" : "https://docs.api.video/docs/authenticationinvalid_credentials",
2+
"type" : "https://docs.api.video/reference/authentication-invalid-user-credentials",
33
"title" : "The user credentials were incorrect.",
44
"name" : "",
55
"status" : 400
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"status" : 400,
3-
"type" : "https://docs.api.video/docs/authenticationinvalid_credentials",
3+
"type" : "https://docs.api.video/reference/authentication-invalid-user-credentials",
44
"title" : "The user credentials were incorrect.",
55
"name" : ""
66
}

0 commit comments

Comments
 (0)