@abext/integrations 中文文档教程

发布于 4年前 浏览 28 更新于 3年前

Airboat Extension - Integrations

Examples and Usages

import '@abext/integrations';

Models

  • connection
  • exception
  • identity
  • integration
  • syncableModel

Routes

  • GET /connections
  • GET /integrations
  • POST /integrations
  • GET /providers/:provider/authorize
  • GET /providers/:provider/callback
  • ANY /providers/:provider/sync

Configuration

{
  "extensions":{
    "integrations": {
      "credentialsEncryptionSecret": "...",
      "oauth": {
        "jwtSecret": "...",
        "jwtOptions": {},
      }
    }
  }
}

TODO

  • [x] GET /connections
  • [x] GET /integrations
  • [x] POST /integrations
  • [x] GET /exceptions/integrations
  • [x] GET /providers
  • [x] ANY /providers/:provider/sync
  • [x] GET /providers/:provider/authorize
  • [x] GET /providers/:provider/callback
  • [x] Exception handling: request, response, execution, request
  • [x] Return all exceptions on GET /exceptions
  • [ ] Return all integrations on GET /integrations
  • [ ] Validation on the POST /integrations
  • [ ] GET /request-types
  • [ ] Register request
  • [x] Better strategy for Exception management

Concepts

Providers

Connections

Requests

Responses

Integrations

Airboat Extension - Integrations

Examples and Usages

import '@abext/integrations';

Models

  • connection
  • exception
  • identity
  • integration
  • syncableModel

Routes

  • GET /connections
  • GET /integrations
  • POST /integrations
  • GET /providers/:provider/authorize
  • GET /providers/:provider/callback
  • ANY /providers/:provider/sync

Configuration

{
  "extensions":{
    "integrations": {
      "credentialsEncryptionSecret": "...",
      "oauth": {
        "jwtSecret": "...",
        "jwtOptions": {},
      }
    }
  }
}

TODO

  • [x] GET /connections
  • [x] GET /integrations
  • [x] POST /integrations
  • [x] GET /exceptions/integrations
  • [x] GET /providers
  • [x] ANY /providers/:provider/sync
  • [x] GET /providers/:provider/authorize
  • [x] GET /providers/:provider/callback
  • [x] Exception handling: request, response, execution, request
  • [x] Return all exceptions on GET /exceptions
  • [ ] Return all integrations on GET /integrations
  • [ ] Validation on the POST /integrations
  • [ ] GET /request-types
  • [ ] Register request
  • [x] Better strategy for Exception management

Concepts

Providers

Connections

Requests

Responses

Integrations

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文