Assets
Published an audio file and returns the new asset info.
post/v1/audio
Request body
namestring
Name for the audio file.
filestring
File to be uploaded. Formatted as a base64 string.
groupIdinteger
Id of the group you are publishing the audio asset for. Null if not publishing under a group.
paymentSourcestring
The source of funds for payment. User: Use personal funds of authenticated user. Group: Use group funds from Roblox.Publish.Api.UploadAudioRequest.GroupId. Null/Empty: Will default to authenticated user funds.
estimatedFileSizeinteger
Estimated file size of the audio file in bytes.
estimatedDurationnumber double
Estimated duration of the audio file in seconds.
assetPrivacy1 | 2
The asset privacy of the audio asset.
Response
OK
Idinteger
Id of the published asset.
Namestring
Name of the published asset.