GithubHelp home page GithubHelp logo

Developer Integrations about linen.dev HOT 3 CLOSED

linen-dev avatar linen-dev commented on May 19, 2024
Developer Integrations

from linen.dev.

Comments (3)

dannysheridan avatar dannysheridan commented on May 19, 2024 1

+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.

cheeseblubber avatar cheeseblubber commented on May 19, 2024 1

For the first version we should set the goal of giving a developer the ability to sync conversations into Linen.

  1. As a developer I can create an api key

  2. The api key should only work per community

  3. 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)

  4. As a developer I can switch out the api key

  5. When someone sends a valid api key we should allow them to post to:

    1. We should allow them to only modify and delete their own messages/channels/users
    2. Rest api for messages
    3. Rest api for threads
    4. Api for channels
      1. history for channels (list all threads and messages)
      2. list all channels
    5. 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)
      1. Create users
      2. List users
      3. Edit users
      4. delete users

    (Early draft looking for feedback)

from linen.dev.

wey-gu avatar wey-gu commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.