Stock Media

Resolve a selected stock asset and record provider attribution events

post/stock-media/selections

Request

  • Base URL: https://app.openpo.st/api/v1
  • URL: https://app.openpo.st/api/v1/stock-media/selections
  • Auth: none required

Request body

$schemastring uri

A URL to the JSON Schema for this object.

external_idstring required
provider'pexels' | 'unsplash' | 'pixabay' required

Example request

{
  "$schema": "https://example.com/api/v1/schemas/SelectStockMediaInputBody.json"
}

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

attribution_textstring required
creator_namestring required
creator_urlstring required
download_urlstring required
duration_secondsinteger
external_idstring required
heightinteger required
kindstring required
license_namestring required
license_urlstring required
mime_typestring required
preview_urlstring
providerstring required
provider_urlstring required
source_urlstring required
thumbnail_urlstring required
titlestring required
widthinteger required

Example response

{
  "$schema": "https://example.com/api/v1/schemas/ResolvedAsset.json"
}

Changes

No recorded changes to this operation across all 1 revision of this API.