Prints

Generates a time-limited SAS download URL for a file attachment. Anonymous access is permitted when the print has file downloads enabled; otherwise the owner must be authenticated.

get/api/Prints/{id}/files/{fileId}/download-url

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Prints/{id}/files/{fileId}/download-url
  • Auth: one of:
    • none
    • OAuth 2 (authorization code, authorization URL https://3dprintlog.auth0.com/authorize, token URL https://3dprintlog.auth0.com/oauth/token)
    • API key in header X-Api-Key
    • API key in query parameter api_key

Path parameters

idinteger required

The ID of the print the file is attached to.

fileIdinteger required

The ID of the attachment to download.

Response

Returns the download URL and its expiry time.

urlstring nullable
expiresAtstring date-time

Changes

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