Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

curl https://api.mspbots.ai/api/widget/{resourceId} -H 'apikey: {apiKey}' -X GET

REQUEST

RESPONSE

Supported query criteria

sample URL with conditions:

dataset: https://api.mspbots.ai/api/dataset/{resourceId}1?current=1&size=2&project_name=back

widget: https://api.mspbots.ai/api/widget/{resourceId}?current=1&size=10&Real Name=n&Update Date=2021-10-10,2023-03-30,2023-04-05&Id=,1534956341424005122

Logical OperatorsField Typeexample
TEXTNUMBERBOOLEANDATEDATETIME
Is Emptystatus=
Contains



name=Tod
Equals


is_default=true
id=654321324612312
Later Than (>=)

price=12.6,
date=2022-07-01
Earlier Than (<=)



price=,56.3
between (>= and <=)

price=12.6,56.3
date=2022-07-01,2023-02-01
Multiple intervals
(>= and <=) or (>= and <=)


price=12.6,56.3,103,210
date=2022-07-01,2023-02-01,2023-04-01,2023-05-01
(>= and <=) or (=)



price=12.6,56.3,105.1
(>= and <=) or (>=)


date=2022-07-01,2023-02-01,2023-04-01

Sample Error Responses 

...

  1. Rate limits
  2. Invalid apiKey: Error or deleted
  3. Resource unbound
  4. The resource does not exist