Comments (3)
+1 I'm interested in helping Linen offer client libraries when the time is right! My company, Fern, auto-generated client SDKs in Node, Java, Python, etc.
from linen.dev.
For the first version we should set the goal of giving a developer the ability to sync conversations into Linen.
-
As a developer I can create an api key
-
The api key should only work per community
-
As a developer I can create a bot user (this is how we can limit the bot’s permission to only modify their own resources)
-
As a developer I can switch out the api key
-
When someone sends a valid api key we should allow them to post to:
- We should allow them to only modify and delete their own messages/channels/users
- Rest api for messages
- Rest api for threads
- Api for channels
- history for channels (list all threads and messages)
- list all channels
- Rest api for users (Should we have a field for bot created or bot owner?) I’d rather not have bot be able to delete and create all users. (In the future we want a more granular approach but for the time being we want to limit the usage)
- Create users
- List users
- Edit users
- delete users
(Early draft looking for feedback)
from linen.dev.
I am not experienced in defining APIs, but I'll try my best to provide "wishes", which hopefully isn't silly :)
-
it seems we need proper scoping/RBAC mapped to different API action permissions.
-
For messages, we could refer to slack(https://api.slack.com/methods/chat.postMessage) for fields as we shared a similar design, where, for the avatar, there is the capability to enable avatar(when as_user is true) with file or emoji, on top of that, maybe when the username field is an email or(OpenID? mastodon account, gravatar), we could support corresponding avatar system, too(consider we are not leveraging user system from linen in this case)?
from linen.dev.
Related Issues (20)
- Hide extra options for a thread
- Thread should be highlighted
- Markdown parser bug
- Fix race condition for topic view
- fix drag and drop for topic view
- When opening the thread in mobile view it scrolls to bottom and makes you lose position
- Stop scrolling to the bottom on thread opens
- Don't show 404 images
- Improve deploy performance
- change text for submission button
- Allow users to ask follow up question for Linen bot
- Getting linen bot to prod
- Investigate llama for sumary question and answer
- Scroll bar show on hover
- Creating community error handling
- Scroll bug
- End to End encryption: Why and how HOT 1
- testing ticket HOT 1
- URL in a code block is wrapped in `<>`, mangling it
- Project status HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linen.dev.