media.upload.create

Generated at from openvibe-contracts v0.34.2 and openvibe-sdk v0.5.0.

Not grantable to apps (planned, public).

PLANNED as its own grant: upload an object through the v2 objects API (roadmap §30.2 media.upload.init|sign|complete|abort, one grant because the steps share chained upload tokens): start a single presigned PUT or a resumable multipart session, send the bytes with the session token, then complete it (hash, quota and content-type checks, then ready) or abort it. The routes serve production today but Media's tenantAuth checks media.object.upload on them; a token holding only this id is refused until Media's guard accepts it.

Owner
media (token audience openvibe.media)
Version
1.0
Status
planned
Visibility
public
Resource constraints
namespace, owner
Quota class
media-upload
Permissions
media:write
Events
media.object.uploaded
Implemented by
  • POST /api/v2/:app/objects
  • POST /api/v2/:app/objects/:id/upload-url
  • PUT /api/v2/:app/objects/:id/content
  • POST /api/v2/:app/objects/:id/complete
  • POST /api/v2/:app/objects/:id/multipart
  • GET /api/v2/:app/objects/:id/multipart/:uploadId
  • PUT /api/v2/:app/objects/:id/multipart/:uploadId/parts/:n
  • POST /api/v2/:app/objects/:id/multipart/:uploadId/complete
  • DELETE /api/v2/:app/objects/:id/multipart/:uploadId