You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
Here is an example url (I tried to describe it with with both OpenAPI and API BluePrint but failed):
http://example.com/api/items?filter[0][field]=value1&filter[0][type]=gte&filter[0][x]=490&filter[1][field]=value2&filter[1][type]=lte&filter[1][x]=200&filter[2][field]=value3&filter[2][type]=between&filter[2][x]=100&filter[2][y]=300
Some additional notes: we have an array of filters that should accept some values. The parameters can be represented in JSON like this:
With this type of query parameters indexing we get natural arrays in PHP without any additional "movements" using something like this:
So, this is not something exotic, this is a normal php-style query uri.
The text was updated successfully, but these errors were encountered: