From 519bb10c609d4fa95569d2844df96e519f380d79 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Sat, 18 Mar 2023 18:15:28 +0000 Subject: [PATCH] Updated docs for `PUBLISH_QDN_RESOURCE`, to include "filename" parameter. --- Q-Apps.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Q-Apps.md b/Q-Apps.md index a0a7e344..841d8cb3 100644 --- a/Q-Apps.md +++ b/Q-Apps.md @@ -284,12 +284,13 @@ _Requires user approval_ await qortalRequest({ action: "PUBLISH_QDN_RESOURCE", name: "Demo", // Publisher must own the registered name - use GET_ACCOUNT_NAMES for a list - service: "WEBSITE", + service: "IMAGE", data64: "base64_encoded_data", - title: "Title", - description: "Description", - category: "TECHNOLOGY", - tags: ["tag1", "tag2", "tag3", "tag4", "tag5"] + filename: "image.jpg", // Optional - to help apps determine the file's type + // title: "Title", // Optional + // description: "Description", // Optional + // category: "TECHNOLOGY", // Optional + // tags: ["tag1", "tag2", "tag3", "tag4", "tag5"] // Optional }); ```