3.9. Query

Overview

The information of queries are included.

Data Type

parameter description datatype
field The name of the field to test String
op The comparison operator Enum( Query Operator )
type The data type of value to compare against the stored data Enum( Query Type )
value The value to compare against the stored data String

Query Operator

operator description
eq equal to
lt less than
le less than or equal to
gt greater than
ge greater than or equal to
ne not equal to

Query Type

type ex. (q.value)
integer 1234
float 1234.1234
boolean 0 or 1
string abcd
datetime 2015-12-01T12:34:00+09:00 (ISO 8601)

Data Sample

{
    "field": "resource_id",
    "op": "eq",
    "type": "string",
    "value": "nova_5dd5bfe5-aee8-4663-86e4-e76d032d318e"
}