FIX: Gap Of Uploading The Same File Key Twice
Build, Push and Deploy CMS / build-push-deploy (push) Successful in 2m19s
Build, Push and Deploy CMS / build-push-deploy (push) Successful in 2m19s
This commit is contained in:
+7
-1
@@ -84,6 +84,12 @@ const docTemplate = `{
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"409": {
|
||||
"description": "key has already been registered by an earlier request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty",
|
||||
"schema": {
|
||||
@@ -91,7 +97,7 @@ const docTemplate = `{
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Categories could not be read, the transcoding job could not be queued, or the video record could not be saved",
|
||||
"description": "Categories could not be read, the key could not be checked, the transcoding job could not be queued, or the video record could not be saved",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
|
||||
@@ -77,6 +77,12 @@
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"409": {
|
||||
"description": "key has already been registered by an earlier request",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
},
|
||||
"422": {
|
||||
"description": "title was empty, key was missing or not a key issued by this API, or categoryIds was empty",
|
||||
"schema": {
|
||||
@@ -84,7 +90,7 @@
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Categories could not be read, the transcoding job could not be queued, or the video record could not be saved",
|
||||
"description": "Categories could not be read, the key could not be checked, the transcoding job could not be queued, or the video record could not be saved",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/api.ProblemDetails"
|
||||
}
|
||||
|
||||
@@ -190,14 +190,19 @@ paths:
|
||||
description: categoryIds referenced a category that does not exist
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"409":
|
||||
description: key has already been registered by an earlier request
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"422":
|
||||
description: title was empty, key was missing or not a key issued by this
|
||||
API, or categoryIds was empty
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
"500":
|
||||
description: Categories could not be read, the transcoding job could not
|
||||
be queued, or the video record could not be saved
|
||||
description: Categories could not be read, the key could not be checked,
|
||||
the transcoding job could not be queued, or the video record could not
|
||||
be saved
|
||||
schema:
|
||||
$ref: '#/definitions/api.ProblemDetails'
|
||||
summary: Register an uploaded video
|
||||
|
||||
Reference in New Issue
Block a user