You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9efc8d0
Browse filesBrowse the repository at this point in the historyBrowse files
committed
Fit the README's row of GET /api/runs to the table Biome formats
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: CodeAlta <noreply@codealta.io>
|`GET /auth/login?returnTo=/path`, `/auth/callback`, `/auth/logout`| anyone: the sign-in, see below |
160
-
|`GET /api/me` → `{id, name, admin, mayAsk}` or `null`| anyone: the signed-in user |
161
-
|`GET /api/runs?after=:id` → `{runs, next}`| anyone: the questions asked (running, completed or failed, not deleted), newest first,`mine` on the caller's; `next` is the `after` of the next page |
162
-
|`POST /api/runs {question, replaces?}` → `201 {runId, class, amount, currency}`| signed in; the `Admin` or `Contrib` role until `LAUNCHED` is `"true"`; `replaces`, a run of theirs |
163
-
|`POST /api/runs/:id/pay` → `202`| the owner; an `Admin` owner runs free, with no payment job |
164
-
|`POST /api/runs/:id/rerun` → `202`| the owner, once, after a paid run failed |
165
-
|`DELETE /api/runs/:id`| the owner, who may restore it; an admin, for good |
166
-
|`POST /api/runs/:id/restore` → `204`| the owner, after deleting it |
167
-
|`POST /api/runs/:id/cancel` → `204`| the owner, while the run is in progress (`409` once it ended): deletes it for good |
168
-
|`GET /api/runs/:id`, `/events?after=`, `/ws?after=`, `/snapshots/:v`| anyone with the link (`mine` in the summary: the caller owns it); a deleted run, its owner only (`410` for anyone else) |
169
-
|`GET /api/runs/:id/charts/:chart/:v.svg`| anyone with the link: the render of a chart (`c1`) at version `v`|
170
-
|`GET /api/runs/:id/image?v=`| anyone with the link: the picture of the question (immutable with its version `v`) |
171
-
|`POST /api/runs/:id/image` → `{image}`|`Admin`: draws the picture again with today's models, also for a run asked before the pictures |
|`GET /auth/login?returnTo=/path`, `/auth/callback`, `/auth/logout`| anyone: the sign-in, see below |
160
+
|`GET /api/me` → `{id, name, admin, mayAsk}` or `null`| anyone: the signed-in user |
161
+
|`GET /api/runs?after=:id` → `{runs, next}`| anyone: the questions started and not deleted, newest first;`mine`: the caller's; `next`: the `after` of the next page |
162
+
|`POST /api/runs {question, replaces?}` → `201 {runId, class, amount, currency}`| signed in; the `Admin` or `Contrib` role until `LAUNCHED` is `"true"`; `replaces`, a run of theirs |
163
+
|`POST /api/runs/:id/pay` → `202`| the owner; an `Admin` owner runs free, with no payment job |
164
+
|`POST /api/runs/:id/rerun` → `202`| the owner, once, after a paid run failed |
165
+
|`DELETE /api/runs/:id`| the owner, who may restore it; an admin, for good |
166
+
|`POST /api/runs/:id/restore` → `204`| the owner, after deleting it |
167
+
|`POST /api/runs/:id/cancel` → `204`| the owner, while the run is in progress (`409` once it ended): deletes it for good |
168
+
|`GET /api/runs/:id`, `/events?after=`, `/ws?after=`, `/snapshots/:v`| anyone with the link (`mine` in the summary: the caller owns it); a deleted run, its owner only (`410` for anyone else) |
169
+
|`GET /api/runs/:id/charts/:chart/:v.svg`| anyone with the link: the render of a chart (`c1`) at version `v`|
170
+
|`GET /api/runs/:id/image?v=`| anyone with the link: the picture of the question (immutable with its version `v`) |
171
+
|`POST /api/runs/:id/image` → `{image}`|`Admin`: draws the picture again with today's models, also for a run asked before the pictures |
0 commit comments