Skip to content
FLORA DocsGo to app

Assets

Asset upload and retrieval endpoints.

Create an asset upload
client.Assets.New(ctx, body) (*AssetNewResponse, error)
POST/assets
Complete a signed asset upload
client.Assets.Complete(ctx, assetID) (*AssetCompleteResponse, error)
POST/assets/{assetId}/complete
Retry a signed asset upload
client.Assets.Retry(ctx, assetID) (*AssetRetryResponse, error)
POST/assets/{assetId}/retry
List assets
client.Assets.List(ctx, query) (*AssetsCursorPage[AssetListResponse], error)
GET/assets
Get an asset
client.Assets.Get(ctx, assetID) (*AssetGetResponse, error)
GET/assets/{assetId}