
Lots more API
Continuing to make the whole app API addressable - here with connection environment building (also landed but not demoed delete folder, import content, moving content, get queries from…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
What's up next? U I'm going to demo some of the API work I've been doing. We see Postman here. Yep. Cool. Um so I'm going to demo um the connection environment. Creating a connection environment flow. It's going to start with creating some connections. So let's create one for our prod database. Um I'm going to just like write these ids down so I can use them later.
So we'll use we'll create a connection to our prod DB. Store that somewhere. Let's create one to our dev DB. Great. We have that here. Um next let's update our connections or our base connection I say I should say. Um to have certain Oh wait, what do I want to do? I want to use the I think it's a put to this um and I want to update my default user attributes um on this connection.
So let's just make the default uh attribute name is environment value is going to be dev patch uh oh okay got it good demo um then so we're now going to try to create a connection environment to actually you know uh create this association between our base connection and our environment connections. So here we'll paste our prod database and we have our ID for our environment connection here.
So what we're going to get back is uh the so this this can be a comma delimited string here. So you can pass in multiple. So we're going to get in our response the ID of the created environment connection as well as the um connection ID uh that we associate that with. Then we'll take the ID for the created connection environment and let's say just for this one for our um our dev database we'll just pass that and it's a put good for me.
It is staging. Great. All right. Cool. Now let's go to the UI. Make sure all of that actually got hooked up. Um, here's our connections page. Dev DB, prod DB. Let's go to our prod DB. Our environments. You'll see that we have environment dev, and our dev DB is now staging. Um, few other API endpoints I want to demo this week, but uh I'll send videos separately.
Uh Corey, do you want to just list off the other APIs you shipped? You don't have to demo them, but uh so that it is on the recording how prolific you have been. They're somewhere. Um yeah, so delete folder API shipped. So if you have um a folder that does not have any documents or any subfolders in it, you can delete it.
Um added to the import API, a destination folder. You can specify where your content's going to land. um another endpoint for moving around documents and then another endpoint um to get all the queries associated with the dashboard. So um we'll record some videos, get that up on our uh our demo page. Thank you.