Introduction
The Admins
module is used to manage administrators.
Description
In the context of a website or mobile application, administrators are users with elevated access rights. An administrator is a user who can add, update, and edit information on the website or in the mobile application. Method accept the request body as a parameter for filtering. If you don't want to set up filtering/sorting, pass an empty array or don't pass anything.
const {
Admins }
= defineOneEntry('your-url', {
token: "your-app-token",});
Parameters
const body = [{
"attributeMarker": "num","conditionMarker": "mth","conditionValue": 1}];
Parameters schema
Schema: (body)
attributeMarker: string
text identifier attribute
example: price
conditionMarker: string
text identifier condition, possible values: 'in' - contains, 'nin' - does not contain, 'eq' - equal, 'neq' - not equal, 'mth' - more than, 'lth' - less than, 'exs' - exists, 'nexs' - does not exist, 'pat' - pattern, for example -, where '' any character, 'same' - same value as the selected attribute*
example: in
Enum: [ in, nin, eq, neq, mth, lth, exs, nexs, pat, same ]
conditionValue: number
condition value
example: 1