{"openapi":"3.1.0","info":{"title":"Interlinked public API","version":"1","description":"Every route of /v1: projects read and written with no copy, webhooks, statuses and reports on a checkpoint, actions. A key (`Authorization: Bearer ilk_live_...`, made at /account/keys) calls it from a server; a connector signs in as a person through OAuth; our own site calls it with the person's session. Every refusal has one shape, `{ok: false, error, message}`, and a stranger and a project that does not exist both answer 404. Hosting is billed per team: free with a confirmed address (30GB stored, 100GB moved and 1,000 checkpoints a month, a limited number of projects), or $8.99 a month with those included and $8.99 per further block of 100GB stored, 100GB moved or 1,000 checkpoints; past a free allowance a route answers 402 with the team's Checkout link."},"servers":[{"url":"https://api.interlinkedfiles.com"}],"components":{"securitySchemes":{"key":{"type":"http","scheme":"bearer","description":"A key, `ilk_live_...`, made at a team or a project."},"oauth":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://www.interlinkedfiles.com/api/auth/oauth2/authorize","tokenUrl":"https://www.interlinkedfiles.com/api/auth/oauth2/token","scopes":{"project:read":"read projects","project:write":"write projects","member:read":"read members","billing:read":"read the bill","status:write":"post statuses","report:write":"put reports","webhook:read":"read webhooks","webhook:write":"manage webhooks"}}}},"session":{"type":"apiKey","in":"cookie","name":"__Secure-better-auth.session_token","description":"A person signed in on the site; a change by cookie is taken only from the site's own origin."}},"schemas":{"Refusal":{"type":"object","required":["ok","error"],"properties":{"ok":{"const":false},"error":{"type":"string","description":"a stable code to switch on"},"message":{"type":"string"}}}}},"paths":{"/v1/openapi.json":{"get":{"operationId":"getV1OpenapiJson","summary":"Every route of this API as OpenAPI 3.1: the one place a client is built from.","description":"Callers: nobody, on a public project.","parameters":[],"security":[{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/me":{"get":{"operationId":"getV1Me","summary":"Which team this key belongs to, the place it was made at, and what it may do. The route you debug against.","description":"Callers: a key, a connector signed in as a person (OAuth).","parameters":[],"security":[{"key":[]},{"oauth":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/team":{"get":{"operationId":"getV1Team","summary":"The team a team key belongs to, and its counts.","description":"Callers: a key.","parameters":[],"security":[{"key":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/team/members":{"get":{"operationId":"getV1TeamMembers","summary":"The team's people, a page at a time: each one's badge (owner, admin, editor, viewer or visitor).","description":"Needs `member:read`. Callers: a key.","parameters":[{"name":"after","in":"query","required":false,"description":"the cursor the previous page answered","schema":{"type":"string"}}],"security":[{"key":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/team/usage":{"get":{"operationId":"getV1TeamUsage","summary":"The team's metered months: storage, transfer and checkpoints.","description":"Needs `billing:read`. Callers: a key.","parameters":[],"security":[{"key":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/teams/{team}/badge":{"post":{"operationId":"postV1TeamsByTeamBadge","summary":"A member's badge: `{userId, badge}`, admin, editor, viewer or visitor. Owners and admins; only the owner takes an admin's away. A person's act, by their session; a key cannot.","description":"Callers: a person by their session.","parameters":[{"name":"team","in":"path","required":true,"description":"the team's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{userId: string, badge: string}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/teams/{team}/transfer":{"post":{"operationId":"postV1TeamsByTeamTransfer","summary":"Offer ownership to any member, a viewer and a visitor included (or, with `role: payer`, the payer seat). They accept within a day; the old owner stays an admin.","description":"Callers: a person by their session.","parameters":[{"name":"team","in":"path","required":true,"description":"the team's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{userId: string, role?: owner | payer}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/teams/{team}/transfer/accept":{"post":{"operationId":"postV1TeamsByTeamTransferAccept","summary":"The member it was offered to takes it.","description":"Callers: a person by their session.","parameters":[{"name":"team","in":"path","required":true,"description":"the team's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{role?: owner | payer}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/teams/{team}/transfer/cancel":{"post":{"operationId":"postV1TeamsByTeamTransferCancel","summary":"Whoever offered it withdraws it, or the member declines.","description":"Callers: a person by their session.","parameters":[{"name":"team","in":"path","required":true,"description":"the team's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{role?: owner | payer}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/regions":{"get":{"operationId":"getV1Regions","summary":"The six regions a project can be hosted in, with their names, and the one nearest you, which a create picks when it names none.","description":"Fixed once a project is made. A region is where its files are kept, best effort (\"hosted in Asia\"), never a legal promise. Callers: nobody, on a public project.","parameters":[],"security":[{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects":{"get":{"operationId":"getV1Projects","summary":"Every project this key reaches, at the key's level on each.","description":"Needs `project:read`. Callers: a key, a connector signed in as a person (OAuth). ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[],"security":[{"key":[]},{"oauth":["project:read"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"post":{"operationId":"postV1Projects","summary":"Make a project, with its first files if you like; private to its team unless `publicLink`, which its team's owner alone can ask.","description":"A person's act: a connector signed in through OAuth with `project:write`, or the person on the site by their session. A key reaches projects that exist and makes none. `region` is where it is hosted, chosen once and never changed: wnam (North America, West), enam, weur, eeur, apac or oc; left out, the one nearest the caller (`GET /v1/regions` names it), and the answer says which. A location, never a legal promise: \"hosted in Asia\". `publicLink`: anyone with the link reads it, its team's owner's to ask, and it moves later by `POST /v1/projects/{id}/link`. Needs `project:write`. Callers: a connector signed in as a person (OAuth), a person by their session.","parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"oauth":["project:write"]},{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{name, publicLink?: boolean, team?, region?: wnam | enam | weur | eeur | apac | oc, message?, files?: [{path, content (base64)}]}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}":{"get":{"operationId":"getV1ProjectsById","summary":"One project: its name, whether it is public (`publicLink`), region, size, maker (`madeBy`) and the caller's rung.","description":"To a person (by session or OAuth) also `you` (their level, whether they manage it), `maker` (named to the people inside the project and its team; the team's name to anyone else). Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"delete":{"operationId":"deleteV1ProjectsById","summary":"Delete the project, with the address typed as `confirm`; restorable for its window.","description":"A person's act (`ifile delete`): an admin of the team that pays for it who can open it. Without the address it answers `confirm` and the address to type. Answers `restoreUntil`. Needs write on the project. Callers: a person by their session.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{confirm: the project's address}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/versions":{"get":{"operationId":"getV1ProjectsByIdVersions","summary":"The checkpoints, newest first: each one's revision, number, time, message, maker and AI tag.","description":"`?path=` keeps the checkpoints that touched one file or folder (`ifile log <project> <path>`). Poll it on your own timer: an unchanged answer is a 304. Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}},{"name":"path","in":"query","required":false,"description":"only the checkpoints that touched this file or folder","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"at most 100 (50 when left out)","schema":{"type":"string"}},{"name":"before","in":"query","required":false,"description":"the page below this checkpoint's number, newest first (not with path)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/versions/{at}":{"get":{"operationId":"getV1ProjectsByIdVersionsByAt","summary":"One checkpoint, by its revision, `v<number>` or `head`.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"at","in":"path","required":true,"description":"a revision, `v<number>` or `head`","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/branches":{"get":{"operationId":"getV1ProjectsByIdBranches","summary":"The timelines, each with its newest checkpoint and which is the default.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/tree":{"get":{"operationId":"getV1ProjectsByIdTree","summary":"Every file at a checkpoint, with sizes and ids, and the subprojects' folders with whether you open each.","description":"A checkpoint too big to list at once answers 413 `oversized`: ask `?prefix=<folder>&depth=1` for one folder at a time, which adds its folders and each entry's content hash. Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"at","in":"query","required":false,"description":"the checkpoint: a revision (6 to 64 hex), `v<number>`, or `head` (the default)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}},{"name":"prefix","in":"query","required":false,"description":"one folder","schema":{"type":"string"}},{"name":"depth","in":"query","required":false,"description":"how many levels below it (0: all)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/files/{path}":{"get":{"operationId":"getV1ProjectsByIdFilesByPath","summary":"One file's bytes at a checkpoint, range-readable.","description":"`{path}` is the file's path, its slashes kept. Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"path","in":"path","required":true,"description":"the file's path in the project","schema":{"type":"string"}},{"name":"at","in":"query","required":false,"description":"the checkpoint: a revision (6 to 64 hex), `v<number>`, or `head` (the default)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/changed":{"get":{"operationId":"getV1ProjectsByIdChanged","summary":"Which files moved between two checkpoints (`ifile changed`).","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"from","in":"query","required":true,"description":"the older checkpoint","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"the newer checkpoint (the head when left out)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}},{"name":"prefix","in":"query","required":false,"description":"only under this folder","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/diff":{"get":{"operationId":"getV1ProjectsByIdDiff","summary":"One file between two checkpoints as a unified diff, the one `ifile diff` prints; a binary file or one past 2 MB says so.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"path","in":"query","required":true,"description":"the file","schema":{"type":"string"}},{"name":"from","in":"query","required":true,"description":"the older checkpoint","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"the newer checkpoint (the head when left out)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/since":{"get":{"operationId":"getV1ProjectsByIdSince","summary":"What landed after the checkpoint you last saw: the checkpoints, the files they changed, and the revision to ask from next.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"revision","in":"query","required":false,"description":"the checkpoint you last saw (left out: the newest 100)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/superposed":{"get":{"operationId":"getV1ProjectsByIdSuperposed","summary":"Every file kept in two versions because two people changed it at once; with `all`, the ones already settled.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"at","in":"query","required":false,"description":"the checkpoint: a revision (6 to 64 hex), `v<number>`, or `head` (the default)","schema":{"type":"string"}},{"name":"all","in":"query","required":false,"description":"1: the settled ones too (needs the full history)","schema":{"type":"string"}},{"name":"path","in":"query","required":false,"description":"one file","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/tags":{"get":{"operationId":"getV1ProjectsByIdTags","summary":"The tags on files and folders.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project. ETagged: an unchanged answer to `If-None-Match` is a 304.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"304":{"description":"Not modified"},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/archive":{"get":{"operationId":"getV1ProjectsByIdArchive","summary":"The whole checkpoint, or one folder with `prefix`, as one ZIP64 download: stored, its size and every CRC known before the first byte, resumable by Range.","description":"Past a label it answers 413 with words and the top level's folders, each an archive of its own; the app and `ifile clone` take any size. Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"at","in":"query","required":false,"description":"the checkpoint: a revision (6 to 64 hex), `v<number>`, or `head` (the default)","schema":{"type":"string"}},{"name":"branch","in":"query","required":false,"description":"the timeline, by id or name (the default timeline when left out)","schema":{"type":"string"}},{"name":"prefix","in":"query","required":false,"description":"one folder","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/saves":{"post":{"operationId":"postV1ProjectsByIdSaves","summary":"Upload one or more files as one checkpoint, with a message, onto a named timeline.","description":"Made by the same save and push a person runs, with your credential, so the plan's limits answer as they would on your machine: a free team past its allowance (30GB stored, 100GB moved and 1,000 checkpoints a month, a limited number of projects) answers 402 `payment_required`, its message naming the team's Checkout link; a paid one is never stopped and pays $8.99 per further block. Needs `project:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["project:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{message, files: [{path, content (base64)}], version?, by?: person | agent}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/token":{"post":{"operationId":"postV1ProjectsByIdToken","summary":"A vault token for this project at the signed-in person's own level, and the vault's address.","description":"The website's door to the vault's own routes for tags, threads, claims and timelines: the page speaks them with this token, so the vault's handlers decide, as they do for `ifile` and the app. A person's only: a key or a connector calls /v1 itself. Needs read on the project. Callers: a person by their session.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/uploads":{"post":{"operationId":"postV1ProjectsByIdUploads","summary":"Open an upload of any size: a vault token for this project at write, the vault's address, the default timeline and the checkpoint it is at.","description":"The client then cuts its files into lore's pieces itself (FastCDC and BLAKE3, the addresses `lore push` makes), asks the vault's `have`, lands the missing pieces in packs and saves its edits there, so the bytes take one hop. workers/_shared/web-upload.ts is that client; the website runs it. Needs `project:write` at write on the project. Callers: a key, a person by their session.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/members":{"get":{"operationId":"getV1ProjectsByIdMembers","summary":"Who has access, at which rung.","description":"Needs `member:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["member:read"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/link":{"get":{"operationId":"getV1ProjectsByIdLink","summary":"The project's link, and whether it is public.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"post":{"operationId":"postV1ProjectsByIdLink","summary":"Private or public, the team's owner's to switch, both ways, any time: `{publicLink}`. A person's act, by their session or a connector signed in as them; a key cannot.","description":"Going private stops public reads at once. A person's act (OAuth with `project:write`, or a session); a key is refused. Needs `project:write`. Callers: a connector signed in as a person (OAuth), a person by their session.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"oauth":["project:write"]},{"session":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{publicLink: true | false}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/commits/{sha}/statuses":{"get":{"operationId":"getV1ProjectsByIdCommitsByShaStatuses","summary":"The statuses on a checkpoint, namespaced to each tool, and their rollup.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"description":"the checkpoint's revision","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"post":{"operationId":"postV1ProjectsByIdCommitsByShaStatuses","summary":"A check on a checkpoint, namespaced to you (its `genre` and `name` together are its identity), so two tools cannot overwrite each other.","description":"Post `queued` or `in_progress` before you have an answer, then `completed` with a conclusion; posting the same genre and name again updates it. Needs `status:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"description":"the checkpoint's revision","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["status:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{genre, name, state: queued | in_progress | completed, conclusion?: success | failure | neutral | cancelled | skipped | timed_out | action_required, description?, target_url?}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/commits/{sha}/reports/{key}":{"get":{"operationId":"getV1ProjectsByIdCommitsByShaReportsByKey","summary":"A report and its line-anchored annotations, on the checkpoint itself.","description":"Needs `project:read` at read on the project. Callers: a key, a connector signed in as a person (OAuth), a person by their session, nobody, on a public project.","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"description":"the checkpoint's revision","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"description":"your report's name","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["project:read"]},{"session":[]},{}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"put":{"operationId":"putV1ProjectsByIdCommitsByShaReportsByKey","summary":"Put a report; a second PUT to the same key replaces it, annotations and all.","description":"Needs `report:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"description":"the checkpoint's revision","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"description":"your report's name","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["report:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{title, type?: security | coverage | test | bug | review | other, result?: passed | failed | pending, details?, data?, annotations?: [{path, line?, end_line?, severity?, summary?, details?, link?}]}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/commits/{sha}/reports/{key}/annotations":{"post":{"operationId":"postV1ProjectsByIdCommitsByShaReportsByKeyAnnotations","summary":"More annotations onto a report you already put: a hundred a call, a thousand a report.","description":"Needs `report:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"sha","in":"path","required":true,"description":"the checkpoint's revision","schema":{"type":"string"}},{"name":"key","in":"path","required":true,"description":"your report's name","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["report:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{annotations: [{path, line?, end_line?, severity?, summary?, details?, link?}]}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/webhooks":{"get":{"operationId":"getV1ProjectsByIdWebhooks","summary":"Your endpoints on the project.","description":"Needs `webhook:read` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["webhook:read"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}},"post":{"operationId":"postV1ProjectsByIdWebhooks","summary":"Point a new endpoint at your service; the signing secret comes back exactly once.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{url, events?: `*` or a list of version.pushed, project.changed, member.changed, format?: interlinked | slack | discord, description?, fixed_address?: true (deliveries from our fixed addresses)}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/webhooks/{endpoint}":{"delete":{"operationId":"deleteV1ProjectsByIdWebhooksByEndpoint","summary":"Stop the deliveries. Answering `410 Gone` to one does the same from your side.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/webhooks/{endpoint}/deliveries":{"get":{"operationId":"getV1ProjectsByIdWebhooksByEndpointDeliveries","summary":"Every delivery to an endpoint: the event, its state, the attempt, and your service's answer.","description":"Needs `webhook:read` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"since","in":"query","required":false,"description":"unix seconds","schema":{"type":"string"}}],"security":[{"key":[]},{"oauth":["webhook:read"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/webhooks/{endpoint}/deliveries/{event}/redeliver":{"post":{"operationId":"postV1ProjectsByIdWebhooksByEndpointDeliveriesByEventRedeliver","summary":"Send one recorded event again, exactly as it was recorded.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"event","in":"path","required":true,"description":"the event's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/webhooks/{endpoint}/resend":{"post":{"operationId":"postV1ProjectsByIdWebhooksByEndpointResend","summary":"Send every recorded event since a time again, oldest first.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{since: a date or unix seconds}","content":{"application/json":{"schema":{"type":"object"}}}}}},"/v1/projects/{id}/webhooks/{endpoint}/test":{"post":{"operationId":"postV1ProjectsByIdWebhooksByEndpointTest","summary":"Send one `ping` now, answered with what your service said and how long it took.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/webhooks/{endpoint}/enable":{"post":{"operationId":"postV1ProjectsByIdWebhooksByEndpointEnable","summary":"Switch an endpoint back on after a `410` or five days of failing switched it off.","description":"Needs `webhook:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"endpoint","in":"path","required":true,"description":"the webhook endpoint's id","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["webhook:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}}}},"/v1/projects/{id}/actions/{name}/runs":{"post":{"operationId":"postV1ProjectsByIdActionsByNameRuns","summary":"Start a run of one of the project's actions on a timeline's newest checkpoint.","description":"The action must say it takes this: `api: true` under `on` in its definition. Needs `project:write` at write on the project. Callers: a key, a connector signed in as a person (OAuth).","parameters":[{"name":"id","in":"path","required":true,"description":"the project: its id (32 hex) or its address","schema":{"type":"string"}},{"name":"name","in":"path","required":true,"description":"the action's name","schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":false,"description":"Your own key for this one action (1 to 255 printable characters). The same request sent again with the same key within 24 hours is answered its first answer, with Idempotent-Replayed: true, and does nothing twice. The same key with a different request is refused (422); one whose first request is still running is told 409.","schema":{"type":"string","maxLength":255}}],"security":[{"key":[]},{"oauth":["project:write"]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"}}}}}},"402":{"description":"The team that holds the project is paused (no subscription, an unconfirmed address, or past a free allowance). `message` names the fix: the team's Checkout link (https://www.interlinkedfiles.com/subscribe?team=...), or confirming the address; `code` is `cap_<meter>`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}},"default":{"description":"A refusal, in one shape","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refusal"}}}}},"requestBody":{"required":true,"description":"{branch?, inputs?}","content":{"application/json":{"schema":{"type":"object"}}}}}}}}