Skip to content

Commit

Permalink
ALFREDAPI-565: Update swagger doc for /upload metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
WimCrols committed Dec 19, 2024
1 parent f09e0cf commit ce26f36
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/swagger-ui/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
{
"name": "metadata",
"in": "formData",
"description": "Metadata for this file",
"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",
"required": false,
"type": "string"
},
Expand All @@ -636,11 +636,14 @@
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/NodeInfo"
"$ref": "#/definitions/MetadataChanges"
}
},
"403": {
"description": "Not Authorized"
},
"415": {
"description": "Incorrect content type"
}
}
}
Expand Down

0 comments on commit ce26f36

Please sign in to comment.