https://linen.dev logo
w

Wesley Gormley

04/22/2021, 9:12 PM
Hey everyone, been playing around and so far I love it. Is there an endpoint to get all workspaces? Or a way to get the uuid for the default workspace? Can the ui be visited just for an individual workspace?
u

user

04/22/2021, 9:20 PM
yep i did, didnt see a way to get if you dont have the id or slug, was hoping for a way to get all workspaces and curious if there was a ui exclusive for a workspace
u

user

04/22/2021, 9:29 PM
ah yeah we don’t have an endpoint to list workspaces at this point
u

user

04/22/2021, 9:30 PM
we’ll have the UI support logging into different workspaces at some point
u

user

04/22/2021, 9:32 PM
Is the listing of workspaces useful to you without workspace permissioning in the UI?
u

user

04/22/2021, 9:39 PM
the way i have thought about workspaces is that i would create one for each of my customers, and keep all sources and destinations in that workspace. a customer service representative that is responsible for one of the customers could come in and see all connectors for that account, and choose to manually run them, or see the last run if desired.
u

user

04/22/2021, 9:40 PM
tldr: useful? yes i think it could be very useful, a necessity? no, just an experience enhancer
u

user

04/22/2021, 9:45 PM
Do you mind creating an issue on Github? This should be pretty easy to do. It’d be a good first issue for a community member too.
u

user

05/08/2021, 8:58 AM
@Jared Rhizor (Airbyte) Is this feature available somewhere? The documentation does not explicitly state that the airbyte-webapp only shows sources/destinations for the "default" workspace. It would be a great feature to set the workspace slug or workspace id for the webapp, maybe as a setting.
u

user

05/08/2021, 9:56 AM
Looks like it is hard-coded in the source:
Copy code
airbyte/airbyte-webapp/src/config$ cat index.ts | grep workspaceId
    workspaceId: string;
    workspaceId: "5ae6b09b-fdec-41af-aaf7-7d94cfc33ef6",
Can we change this variable in the developer console of the browser (as a quick workaround) and thereby change the workspaceId for the API calls webapp makes?
u

user

05/08/2021, 6:51 PM
That would probably work. We will add the ability to switch workspaces in the future.
u

user

05/08/2021, 6:51 PM
Can you make an issue for it? There’s probably something we can do to make that selectable in an easy way, even if it is a bit hacky
5 Views