Management API
Metadata Filtering
10min
To filter by object's metadata which is stored as JSON a query parameter with metadata prefix must be sent in the URL. Here are some examples of how this filtering works:
Query param: metadata={"key1":"value1"}
Response:
Query param: metadata__key1="value1"
Response:
Query param: metadata__key1=123
Response:
Query param: metadata__key1=[1, 2, 3]
Response:
Query param: metadata__key1={"key2": "value2"}
Response:
Query param: metadata__key1=true
Response:
Query param: metadata__key1=null
Response:
Query param: metadata__key1__key2__key3="value3"
Response:
Query param: metadata__key1__0=1
Response:
Query param: metadata__key1__contains=1
Response:
Updated 22 May 2024
Did this page help you?