forked from Qortal/qortal
Updated docs for PUBLISH_QDN_RESOURCE
, to include "filename" parameter.
This commit is contained in:
parent
3a64336d9f
commit
519bb10c60
11
Q-Apps.md
11
Q-Apps.md
@ -284,12 +284,13 @@ _Requires user approval_
|
|||||||
await qortalRequest({
|
await qortalRequest({
|
||||||
action: "PUBLISH_QDN_RESOURCE",
|
action: "PUBLISH_QDN_RESOURCE",
|
||||||
name: "Demo", // Publisher must own the registered name - use GET_ACCOUNT_NAMES for a list
|
name: "Demo", // Publisher must own the registered name - use GET_ACCOUNT_NAMES for a list
|
||||||
service: "WEBSITE",
|
service: "IMAGE",
|
||||||
data64: "base64_encoded_data",
|
data64: "base64_encoded_data",
|
||||||
title: "Title",
|
filename: "image.jpg", // Optional - to help apps determine the file's type
|
||||||
description: "Description",
|
// title: "Title", // Optional
|
||||||
category: "TECHNOLOGY",
|
// description: "Description", // Optional
|
||||||
tags: ["tag1", "tag2", "tag3", "tag4", "tag5"]
|
// category: "TECHNOLOGY", // Optional
|
||||||
|
// tags: ["tag1", "tag2", "tag3", "tag4", "tag5"] // Optional
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user