Sha256: a1c5b2ff590e324d930c1ac18171d07b6afabed2cf91169e228ef8900186eda7

Contents?: true

Size: 547 Bytes

Versions: 4

Compression:

Stored size: 547 Bytes

Contents

# Filtering

```shell
curl "https://kabuni.com/api/v2/kittens?filter[id]=1"
curl "https://kabuni.com/api/v2/kittens?filter[id]=2,3,4"
curl "https://kabuni.com/api/v2/kittens?filter[breed]=Persian,British%20Shorthair,Bengal"
```

This project supports the [JSON API's `filter` keyword](http://jsonapi.org/format/#fetching-filtering) with only the root object, not any of its relationships yet.
You can filter any of the attributes that is inside of the data object.
Please see the example requests to the side on how you my filter a kitten object.

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
solidus_api_v2-0.2.1 docs/source/includes/_filtering.md
spree_api_v2-0.2.1 docs/source/includes/_filtering.md
spree_api_v2-0.2.0 docs/source/includes/_filtering.md
solidus_api_v2-0.2.0 docs/source/includes/_filtering.md