Upload attachment
Attachments
Upload attachment
Upload one attachment file and receive an attachment reference for a later resource create request. Include type=attachment so BuildPass can route the file to the correct storage family. For example, use the returned reference to create a photo.
POST
Upload attachment
Requires a valid authenticated request for the builder. No resource-specific scope is required for upload.
Uploads one attachment file into BuildPass-managed attachment storage and returns an attachment reference.
Include
type=attachment in the multipart body. The type tells BuildPass which storage family to use; attachment is the only externally supported upload type for now.
For example, you can use the returned { key, regionId, type } to create a photo by passing it as imageAttachment.Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Response
201 - application/json
Attachment uploaded