Price tags

Price_tags_list

GET
/api/v1/price-tags

Query Parameters

created__gte?string
Formatdate-time
created__lte?string
Formatdate-time
order_by?string

Which field to use when ordering the results.

page?integer

A page number within the paginated result set.

prediction_count?integer
prediction_count__gte?integer
prediction_count__lte?number
price_id?integer
proof__location__osm_address_country_code?string
proof__owner?string
proof__ready_for_price_tag_validation?boolean
proof_id?integer
size?integer

Number of results to return per page.

status?integer | null

The annotation status

  • 0 - deleted
  • 1 - linked_to_price
  • 2 - not_readable
  • 3 - truncated
  • 4 - not_price_tag
  • 5 - no_barcode
  • 10 - other
Value in0 | 1 | 10 | 2 | 3 | 4 | 5
status__isnull?boolean
tags__contains?string

Response Body

curl -X GET "https://loading/api/v1/price-tags?created__gte=2019-08-24T14%3A15%3A22Z&created__lte=2019-08-24T14%3A15%3A22Z&order_by=string&page=0&prediction_count=0&prediction_count__gte=0&prediction_count__lte=0&price_id=0&proof__location__osm_address_country_code=string&proof__owner=string&proof__ready_for_price_tag_validation=true&proof_id=0&size=0&status=0&status__isnull=true&tags__contains=string"
{
  "items": [
    [
      {
        "id": 0,
        "price_id": 0,
        "predictions": [
          {
            "type": "PRICE_TAG_EXTRACTION",
            "model_name": "string",
            "model_version": "string",
            "schema_version": "string",
            "data": null,
            "created": "2019-08-24T14:15:22Z"
          }
        ],
        "proof": {
          "id": 0,
          "location_id": 0,
          "location": {
            "id": 0,
            "type": "OSM",
            "osm_id": 9223372036854776000,
            "osm_type": "NODE",
            "osm_name": "string",
            "osm_display_name": "string",
            "osm_tag_key": "string",
            "osm_tag_value": "string",
            "osm_brand": "string",
            "osm_address_postcode": "string",
            "osm_address_city": "string",
            "osm_address_country": "string",
            "osm_address_country_code": "string",
            "osm_lat": -9999,
            "osm_lon": -9999,
            "osm_version": 2147483647,
            "website_url": "http://example.com",
            "price_count": 2147483647,
            "user_count": 2147483647,
            "product_count": 2147483647,
            "proof_count": 2147483647,
            "source": "string",
            "created": "2019-08-24T14:15:22Z",
            "updated": "2019-08-24T14:15:22Z"
          },
          "file_path": "string",
          "mimetype": "string",
          "type": "PRICE_TAG",
          "image_md5_hash": "string",
          "image_thumb_path": "string",
          "location_osm_id": 9223372036854776000,
          "location_osm_type": "NODE",
          "date": "2019-08-24",
          "currency": "ADP",
          "receipt_price_count": 2147483647,
          "receipt_price_total": 9999999,
          "receipt_online_delivery_costs": 9999999,
          "ready_for_price_tag_validation": true,
          "owner_consumption": true,
          "owner_comment": "string",
          "price_count": 2147483647,
          "prediction_count": 2147483647,
          "owner": "string",
          "source": "string",
          "tags": [
            "string"
          ],
          "created": "2019-08-24T14:15:22Z",
          "updated": "2019-08-24T14:15:22Z"
        },
        "image_path": "string",
        "bounding_box": [
          0.1
        ],
        "status": 0,
        "prediction_count": 2147483647,
        "created_by": "string",
        "updated_by": "string",
        "tags": [
          "string"
        ],
        "created": "2019-08-24T14:15:22Z",
        "updated": "2019-08-24T14:15:22Z",
        "proof_prediction": 0
      }
    ]
  ],
  "page": 1,
  "pages": 16,
  "size": 100,
  "total": 1531
}