All URIs are relative to https://groovy.audioshake.ai
Method | HTTP request | Description |
---|---|---|
upload_audio_link_post | POST /upload/audio-link | Create a new asset from a file link. |
upload_link_post | POST /upload/link | Create a new asset from a file link. |
upload_post | POST /upload/ | Create a new asset. |
InlineResponse2XX1 upload_audio_link_post(body)
Create a new asset from a file link.
from __future__ import print_function
import time
import audioshake
from audioshake.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = audioshake.UploadApi(audioshake.ApiClient(configuration))
body = audioshake.UploadAudiolinkBody() # UploadAudiolinkBody |
try:
# Create a new asset from a file link.
api_response = api_instance.upload_audio_link_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling UploadApi->upload_audio_link_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | UploadAudiolinkBody |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2XX1 upload_link_post(body)
Create a new asset from a file link.
from __future__ import print_function
import time
import audioshake
from audioshake.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = audioshake.UploadApi(audioshake.ApiClient(configuration))
body = audioshake.UploadLinkBody() # UploadLinkBody |
try:
# Create a new asset from a file link.
api_response = api_instance.upload_link_post(body)
pprint(api_response)
except ApiException as e:
print("Exception when calling UploadApi->upload_link_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
body | UploadLinkBody |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse2XX1 upload_post(file)
Create a new asset.
from __future__ import print_function
import time
import audioshake
from audioshake.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = audioshake.UploadApi(audioshake.ApiClient(configuration))
file = '/path/to/file' # file |
try:
# Create a new asset.
api_response = api_instance.upload_post(file)
pprint(api_response)
except ApiException as e:
print("Exception when calling UploadApi->upload_post: %s\n" % e)
Name | Type | Description | Notes |
---|---|---|---|
file | file |
- Content-Type: multipart/form-data
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]