https://linen.dev logo
s

Samuel Gordalina

01/20/2021, 4:07 AM
I see that
web_backend
api is very similar to connections but it adds some info, what's the purpose of this api?
u

user

01/20/2021, 4:08 AM
It simplifies the implementation of the frontend
u

user

01/20/2021, 4:08 AM
moves the logic of glueing the rest calls on the backend instead of the webapp
u

user

01/20/2021, 4:08 AM
got it
u

user

01/20/2021, 4:08 AM
can I rely on it?
u

user

01/20/2021, 4:08 AM
nope
u

user

01/20/2021, 4:09 AM
you should use the actual resource endpoints
u

user

01/20/2021, 4:09 AM
how can I get the lastSync otherwise?
u

user

01/20/2021, 4:09 AM
hum
u

user

01/20/2021, 4:09 AM
go through the jobs?
u

user

01/20/2021, 4:11 AM
let me check
u

user

01/20/2021, 4:12 AM
I would say so, that's what we do in the webapp definition
u

user

01/20/2021, 4:13 AM
Just concerned that in introduces a second definition now
u

user

01/20/2021, 4:13 AM
I think we should expose this info in the primitive api, not in the web_backend one
u

user

01/20/2021, 4:14 AM
is it a pb for you to go through the jobs right now?
u

user

01/20/2021, 4:14 AM
I'll just use the web_backends for now
u

user

01/20/2021, 4:14 AM
ok
u

user

01/20/2021, 4:14 AM
knowingly that it will change
u

user

01/20/2021, 4:14 AM
def a +1 for having that in the primitive api
u

user

01/20/2021, 4:15 AM
also, i'd love if we can create/delete workspaces
u

user

01/20/2021, 4:15 AM
that would solve most of my issues when segmentating multiple users in the same instance
u

user

01/20/2021, 4:18 AM
I created this issue to enable it
u

user

01/20/2021, 4:18 AM
Thank you 🙏
u

user

01/20/2021, 4:19 AM
we already support it internally but we aren't exposing it
u

user

01/20/2021, 4:19 AM
it will mostly be UI work
u

user

01/20/2021, 4:19 AM
(and the API mgmt)
u

user

01/20/2021, 4:19 AM
we don't need UI, only the api
u

user

01/20/2021, 4:22 AM
added comment
3 Views