Find all instances of the model matched by filter from the data source.
GET {{baseUrl}}/v1/Countries?filter=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter | string | Filter defining fields, where, include, order, offset, and limit - must be a JSON-encoded string ({"where":{"something":"value"}} ). See https://loopback.io/doc/en/lb3/Querying-data.html#using-stringified-json-in-rest-queries for more details. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
[{"name":"\u003cstring\u003e","alpha2Code":"\u003cstring\u003e","alpha3Code":"\u003cstring\u003e","nativeName":"\u003cstring\u003e","numericCode":"\u003cstring\u003e","currency":"\u003cstring\u003e","union":"\u003cstring\u003e"},{"name":"\u003cstring\u003e","alpha2Code":"\u003cstring\u003e","alpha3Code":"\u003cstring\u003e","nativeName":"\u003cstring\u003e","numericCode":"\u003cstring\u003e","currency":"\u003cstring\u003e","union":"\u003cstring\u003e"}]