createUploadDescription method

Future<String> createUploadDescription({
  1. required String cloudCapsuleId,
  2. required String storageId,
  3. required String path,
})

Builds a signed direct-upload description (JSON) for path in a capsule's bucket.

Throws NotFoundException if the bucket is not found. Throws BucketAccessRevokedException if uploads are blocked because customer access to the bucket is revoked. Throws BucketRateLimitExceededException if the capsule has spent its hourly budget for this operation.

Implementation

_ida.Future<String> createUploadDescription({
  required String cloudCapsuleId,
  required String storageId,
  required String path,
}) => caller.callServerEndpoint<String>(
  'bucketObjects',
  'createUploadDescription',
  {'cloudCapsuleId': cloudCapsuleId, 'storageId': storageId, 'path': path},
);