Skip to content
Navigation

Mints a short-lived URL to a file's bytes.

POST
https://api.sherpo.io/merchant/v1/stores/{store}/assets/{asset}/url

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • asset
    string
    required
    minLength: 1

Request body JSON optional

  • disposition
    optional
    inline
    or
    attachment
  • expires_in
    optional
    integer
    maximum: 604800 · minimum: 1

Returns

200

Mints a short-lived URL to a file's bytes.

JSON
  • url
    string
    required
  • expires_at
    required

    One of the following:

    • string
    • null
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close