aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-03-30 10:07:37 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-04-30 16:09:22 +0300
commit1c1b7e22afd25c5d1c4ff71d03a08ee39149fca1 (patch)
treec9579a5ab48264266867cf45c2fb9fce5dbed7b7
parent36abeedf9fdd5f90c2c03a4366f8d2cc563f9386 (diff)
downloadpleroma-1c1b7e22afd25c5d1c4ff71d03a08ee39149fca1.tar.gz
list of options for pack metadata
-rw-r--r--docs/API/pleroma_api.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 65d22980b..dc39c8b0b 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -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)