list of options for pack metadata

This commit is contained in:
Alexander Strizhakov 2020-03-30 10:07:37 +03:00
parent 36abeedf9f
commit 1c1b7e22af
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 6 additions and 0 deletions

View File

@ -361,6 +361,12 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* Authentication: required
* Params:
* `metadata`: metadata to replace the old one
* `license`: Pack license
* `homepage`: Pack home page url
* `description`: Pack description
* `fallback-src`: Fallback url to download pack from
* `fallback-src-sha256`: SHA256 encoded for fallback pack archive
* `share-files`: is pack allowed for sharing (boolean)
* Response: JSON, updated "metadata" section of the pack and 200 status or 400 if there was a
problem with the new metadata (the error is specified in the "error" part of the response JSON)