This page describes the URI space used by ProductDB. Each resource is allocated a URI in the productdb.org domain. The URI space is subdivided into areas using the path of the URI.
| URI Pattern | Identified Resource |
|---|---|
| /gtin/{id} | A product, {id} is its 14 digit GTIN |
| /ean/{id} | A product, {id} is its 13 digit EAN |
| /upc/{id} | A product, {id} is its 12 digit UPC (barcode) |
| /asin/{id} | A product, {id} is its 10 digit Amazon identifier |
| /isbn/{id} | A product, {id} is its 13 or 10 digit ISBN |
| /brands/{id} | A brand, {id} is a unique identifier |
| /groups/{id} | A grouping of related products, e.g. a film that has been issued on various media. |
| /classifications/{provider}/{scheme}/{term} | A concept in a taxonomy |
Data about each resource is published using Linked Data principles. The URI for each resource issues an HTTP redirect with status code 303 to direct the request to a document containing data about the resource. The server performs content negotiation to determine the best document to redirect the request to. The following document formats are provided:
| File extension | Media Type | Notes |
|---|---|---|
| .html | text/html | |
| .rdf | application/rdf+xml | |
| .json | application/json | See RDF/JSON specification |
| .ttl | text/turtle | See Turtle specification |
