locations
GET /api/v1/locations
Changed onRequest
- Base URLhttps://prices.openfoodfacts.org (the document declares no server; this is the origin it was published from)
- URLhttps://prices.openfoodfacts.org/api/v1/locations
- Authnone declared
Query parameters
order_bystring
Which field to use when ordering the results.
osm_address_city__likestring
osm_address_country__likestring
osm_name__likestring
osm_tag_keystring
osm_tag_valuestring
osm_type'NODE' | 'RELATION' | 'WAY' nullable
- NODE - NODE
- WAY - WAY
- RELATION - RELATION
pageinteger
A page number within the paginated result set.
price_countinteger
price_count__gteinteger
price_count__lteinteger
sizeinteger
Number of results to return per page.
type'ONLINE' | 'OSM'
- OSM - OSM
- ONLINE - ONLINE
Response
Example response
{
"page": 1,
"pages": 16,
"size": 100,
"total": 1531
}Changes
- info
added the new optional
queryrequest parameterosm_tag_key - info
added the new optional
queryrequest parameterosm_tag_value - info
added the new optional
queryrequest parameterosm_type - info
added the optional property
//to the response with the status
- info
- info
added the optional property
//to the response with the status
- info