v1

latestOpenAPI 3.0.1raw.githubusercontent.com2024-10-113944112.8 KB
Asset Management

Create Asset

Creates a unique id representing an asset and a pre-signed URL to upload the asset artifact to AWS S3 bucket for the NVIDIA Cloud Account. Requires either a bearer token or an api-key with 'invoke_function' scope in the HTTP Authorization header.

post/v2/nvcf/assets

Request body

contentTypestring required

Content type of the asset such image/png, image/jpeg, etc.

descriptionstring required

Asset description

Response

OK

assetIdstring uuid

Unique id of the asset to be uploaded to AWS S3 bucket

uploadUrlstring url

Pre-signed upload URL to upload asset

contentTypestring

Content type of the asset such image/png, image/jpeg, etc.

descriptionstring

Asset description to be used when uploading the asset