OpenData product image
API test authentication
The Open API block allows you to test OS APIs directly from the page with example data and parameters. To use this feature, you will need to add your API Key or OAuth2 token to the authentication field.
For help generating an API Key or OAuth2 token, please see the Getting started with an API project or OAuth2 documentation.
The id of the product.
The index of the image to be retrieved. Valid values are from 0 to (Product.imageCount-1).
When set, the image that is returned will be a larger version.
Successful response.
This response is a redirect to the actual image location.
The request does not match any known content. The response will contain a human readable message, and may also contain links to help you navigate to other API endpoints.
GET /downloads/v1//products/{productId}/images/{index} HTTP/1.1
Host: api.os.uk
Accept: */*
binary
Last updated
Was this helpful?