Added optional minLevel filter to GET /arbitrary/resources/search and the SEARCH_QDN_RESOURCES action.

This commit is contained in:
CalDescent
2023-06-23 11:55:49 +01:00
parent b4794ada72
commit badd6ad2b0
5 changed files with 21 additions and 7 deletions

View File

@@ -376,6 +376,7 @@ let res = await qortalRequest({
exactMatchNames: true, // Optional - if true, partial name matches are excluded
default: false, // Optional - if true, only resources without identifiers are returned
mode: "LATEST", // Optional - whether to return all resources or just the latest for a name/service combination. Possible values: ALL,LATEST. Default: LATEST
minLevel: 1, // Optional - whether to filter results by minimum account level
includeStatus: false, // Optional - will take time to respond, so only request if necessary
includeMetadata: false, // Optional - will take time to respond, so only request if necessary
nameListFilter: "QApp1234Subscriptions", // Optional - will only return results if they are from a name included in supplied list