create_attachment
Last updated
Last updated
imerit_ango.sdk.SDK.
Add attachments to assets in a project—more on attachments and uploading them .
project_id: string
The unique identifier for the project. You can find the project ID in or retrieve it using the function.
attachments: List[dict]
List of attachments to attach to existing assets. Attachments are dictionaries containing information about the asset the attachment will be attached to, the type of attachment, and the content of the attachment.
Example attachment parameter with 3 attachments being attached to 2 assets:
In AWS S3, if your attachment URL does not contain region information, your attachments may not be visible. When using S3, please ensure the region information is contained in the URL right after the bucket name, like so:
Returns:
output: dict
For image and video attachments, you may provide links to assets in private buckets, provided that you've connected them to Ango Hub. More information on how to do so can be found on the page.