From: Alexander Strizhakov <alex.strizhakov@gmail.com>
Date: Mon, 30 Mar 2020 07:07:37 +0000 (+0300)
Subject: list of options for pack metadata
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1c1b7e22afd25c5d1c4ff71d03a08ee39149fca1;p=akkoma

list of options for pack metadata
---

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)