volumeTemplates
Create volume template
Creates a new volume template for initializing volumes with pre-configured filesystem contents. Optionally returns a presigned URL for uploading the template archive.
post/volume_templates
Request
- Base URLhttps://api.blaxel.ai/v0
- Auth
- OAuth 2Authorization code/oauth/authorizeClient credentialsToken URL/oauth/tokenScopesvolumeTemplates:create
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
uploadboolean
If true, returns a presigned URL for uploading the template content
versionstring
Version name for the template version being created
Request body
Example request
{
"metadata": {
"displayName": "My Resource",
"externalId": "my-session-123",
"name": "my-resource"
}
}Response
successful operation
Example response
{
"metadata": {
"displayName": "My Resource",
"externalId": "my-session-123",
"name": "my-resource"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.