Printers

Upload a photo of a printer.

The uploaded bytes are decoded server-side; the declared content type from the client is not trusted. An undecodable or disallowed file is rejected before anything is stored.

post/api/Printers/{id}/images

Request

  • Base URL: https://api.3dprintlog.com
  • URL: https://api.3dprintlog.com/api/Printers/{id}/images
  • 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

Response

The stored image, with signed URLs.

idinteger
urlstring nullable

Signed, inline, bucketed-expiry URL. Null if signing failed.

thumbnailUrlstring nullable

Thumbnail URL; falls back to PrintLogApi.Models.DTOs.Printer.PrinterImageDto.Url when no thumbnail exists.

isDefaultboolean
displayOrderinteger

Changes

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