Skip to content

Commit 0da1a6d

Browse files
committed
ALFREDAPI-565: Update swagger doc for /upload metadata
1 parent f09e0cf commit 0da1a6d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/swagger-ui/swagger.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@
620620
{
621621
"name": "metadata",
622622
"in": "formData",
623-
"description": "Metadata for this file",
623+
"description": "Metadata changes for this file. If used, the content type of this parameter (*not* of the request) needs to be set to *'application/json'*. E.g.: https://curl.se/docs/manpage.html#-F",
624624
"required": false,
625625
"type": "string"
626626
},
@@ -641,6 +641,9 @@
641641
},
642642
"403": {
643643
"description": "Not Authorized"
644+
},
645+
"415": {
646+
"description": "Incorrect content type"
644647
}
645648
}
646649
}

0 commit comments

Comments
 (0)