mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Added GET_QDN_RESOURCE_PROPERTIES
Q-App action.
This commit is contained in:
12
Q-Apps.md
12
Q-Apps.md
@@ -141,6 +141,7 @@ Here is a list of currently supported actions:
|
||||
- LIST_QDN_RESOURCES
|
||||
- SEARCH_QDN_RESOURCES
|
||||
- GET_QDN_RESOURCE_STATUS
|
||||
- GET_QDN_RESOURCE_PROPERTIES
|
||||
- FETCH_QDN_RESOURCE
|
||||
- PUBLISH_QDN_RESOURCE
|
||||
- GET_WALLET_BALANCE
|
||||
@@ -278,6 +279,17 @@ let res = await qortalRequest({
|
||||
});
|
||||
```
|
||||
|
||||
### Get QDN resource properties
|
||||
```
|
||||
let res = await qortalRequest({
|
||||
action: "GET_QDN_RESOURCE_PROPERTIES",
|
||||
name: "QortalDemo",
|
||||
service: "THUMBNAIL",
|
||||
identifier: "qortal_avatar" // Optional
|
||||
});
|
||||
// Returns: filename, size, mimeType (where available)
|
||||
```
|
||||
|
||||
### Publish QDN resource
|
||||
_Requires user approval_
|
||||
```
|
||||
|
Reference in New Issue
Block a user