Prints

Generates a SAS URL for uploading a file directly to blob storage. Pro subscription required.

post/api/Prints/{id}/files/upload-url

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Prints/{id}/files/upload-url
  • Auth: one of:
    • 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 to attach the file to.

Request body

fileNamestring required
contentTypestring required
sizeBytesinteger

Response

Returns the SAS upload URL and blob path.

sasUrlstring nullable
blobPathstring nullable

Changes

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