Skip to main content
Follow the REST app guide. Use providerEndpoint from @bijectionhq/app-rest to bind the collection, and supply a scoped bearer token or the raw personal API key through sealed Authorization header auth.
Pass provider as receivers.provider, with the same label to the binder and as the app’s data. Grant the app’s operator role, then call source.initialize with this profile.
The feed posts a fixed read-only GraphQL issue query with Relay pagination. The issue ID keys each observation. An explicit trash flag removes a key, while archived issues remain observable. Hard-deleted or invisible issues do not retire prior rows. The next poll starts a new walk when the connection has no next page. Set limit from 1 to 50. Up to 36 KiB per response. The bundled parser is required. Pages publish rows and their next position together. Use source health and controls to review failures and recover the feed. Provider API reference

Write issues

Follow the native write app guide. Bind providerWriter("linear.issues.create-update-delete", { endpoint: "https://api.linear.app", auth }, data) and pass it as receivers.writers["linear.issues.create-update-delete"]. Seal a Linear OAuth bearer or personal API token with issue write access. Create and update take an IssueCreateInput or IssueUpdateInput object as the JSON payload. Use the issue UUID for update or delete. Delete calls Linear’s archive mutation. Evidence is HTTP 200 with the mutation’s success: true and, for create and update, the issue ID. A GraphQL error leaves the command unresolved. The writer records its evidence at the app’s data label. Commands take up to 24 KiB of JSON and carry no read cursor. Provider write API

Teams, projects, cycles, workflow states, and comments

Bind providerEndpoint(mode, "https://api.linear.app", "/graphql", auth, data) to receivers.provider and bind data to the same protected label. Seal a credential with read access to the intended workspace and teams. Use one mount per mode and initialize with { profile: { mode: "provider", provider: mode, limit: 20 } }. These fixed GraphQL queries follow the opaque Relay cursor through 1–50 records and 36 KiB per response. A terminal page restarts the sweep on the next poll. The credential and Linear’s default visibility determine which rows are returned. Missing or deleted resources remain published. A GraphQL error, including a partial response with errors, leaves the last committed position intact. Linear pagination