Python
from playbookNetworkClient import PlaybookClient
def setup(self):
self.playbookClient = PlaybookClient()
self.playbookClient.set_api_key({your api key})
def upload_video(self, video: Union[str, bytes]):
result = self.playbookClient.upload_video_to_playbook(video)RunWorkflowProperties data =
new()
{
id = {workflow_id},
origin = "2",
inputs = new { },
};{
"message": "Image Uploaded succesfully"
}{
"detail": [
"<unknown>"
]
}Upload Assets
Upload Video
Uploads video to Playbook3d’s servers
POST
/
upload-video
Python
from playbookNetworkClient import PlaybookClient
def setup(self):
self.playbookClient = PlaybookClient()
self.playbookClient.set_api_key({your api key})
def upload_video(self, video: Union[str, bytes]):
result = self.playbookClient.upload_video_to_playbook(video)RunWorkflowProperties data =
new()
{
id = {workflow_id},
origin = "2",
inputs = new { },
};{
"message": "Image Uploaded succesfully"
}{
"detail": [
"<unknown>"
]
}Headers
Your API key. This is required by most endpoints to access our API programatically. You can view your x-api-key using the 'Profile' tab on the website.
Response
Successful Response