v1 - Attachments

Generate attachment upload URL

Generates a secure upload URL for attachment files

post/v1/attachments/upload-url

Request

  • Base URL
    https://light.inc (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Request body

resourceIdstring uuid
fileNamestring
contentTypestring

Response

default response

uploadUrlstring url
keystring
metadataobject nullable

Changes

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