File tree Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Expand file tree Collapse file tree 1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -230,10 +230,7 @@ info:
230
230
231
231
```Shell
232
232
curl "https://api.linode.com/v4/linode/types" \
233
- -H '
234
- X-Filter: {
235
- "class": "standard"
236
- }'
233
+ -H 'X-Filter: { "class": "standard" }'
237
234
```
238
235
239
236
The filter object's keys are the keys of the object you're filtering,
@@ -243,11 +240,7 @@ info:
243
240
244
241
```Shell
245
242
curl "https://api.linode.com/v4/linode/types" \
246
- -H '
247
- X-Filter: {
248
- "class": "standard",
249
- "vcpus": 1
250
- }'
243
+ -H 'X-Filter: { "class": "standard", "vcpus": 1 }'
251
244
```
252
245
253
246
In the above example, both filters are combined with an "and" operation.
@@ -256,13 +249,7 @@ info:
256
249
257
250
```Shell
258
251
curl "https://api.linode.com/v4/linode/types" \
259
- -H '
260
- X-Filter: {
261
- "+or": [
262
- { "vcpus": 1 },
263
- { "class": "standard" }
264
- ]
265
- }'
252
+ -H 'X-Filter: { "+or": [ { "vcpus": 1 }, { "class": "standard" } ] }'
266
253
```
267
254
268
255
Each filter in the `+or` array is its own filter object, and all conditions
You can’t perform that action at this time.
0 commit comments