I’m a bit confused on how to initialize a specific API call.
I’m integrating Frame.io into a client’s Bubble app. I’ve successfully created the developer token, set up the API and initialized a few calls. I’m struggling with creating a specific call which is to “Create an Asset”. I do not understand what to put in the dynamic parameters in the JSON body to initialize the call. Below is the API documentation.
- I’ve already created the Developer token (Authoriziation key) and set it up using the Bearer value in the API connector.
- I’ve already created the Team within Frame.io and acquired its TEAM ID.
- I’ve already created a Project within Frame.io and acquired its PROJECT ID, thus acquiring its “Root Asset ID”. I’ve plugged these into the headers for the API call.
I need the user to upload a file, preferably an image, video or audio file, using a file uploader. When the “upload” button is clicked, the file(asset) will be uploaded both in bubble and to frame.io via the API post call.
Here are screen shots of what I have now. If someone can write down the examples for what to type in for these parameters, this will help me understand how this sorta of thing works.