Files
anonymous_github/backend/contracts/routes.json
T

892 lines
26 KiB
JSON

[
{
"method": "POST",
"path": "/github/app/webhook",
"source": "src/server/routes/github-app.ts",
"line": 308,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/billing/webhook",
"source": "src/server/routes/billing.ts",
"line": 19,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/app/login",
"source": "src/server/routes/github-app.ts",
"line": 49,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/app/callback",
"source": "src/server/routes/github-app.ts",
"line": 65,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/app/install",
"source": "src/server/routes/github-app.ts",
"line": 106,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/app/setup",
"source": "src/server/routes/github-app.ts",
"line": 138,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/connections",
"source": "src/server/routes/github-app.ts",
"line": 162,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/connections/email",
"source": "src/server/routes/github-app.ts",
"line": 200,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/github/connections/email",
"source": "src/server/routes/github-app.ts",
"line": 209,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/github/connections/migrate",
"source": "src/server/routes/github-app.ts",
"line": 227,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/github/connections/disconnect-oauth",
"source": "src/server/routes/github-app.ts",
"line": 287,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/account-recovery",
"source": "src/server/routes/connection.ts",
"line": 201,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/login",
"source": "src/server/routes/connection.ts",
"line": 206,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/github/auth",
"source": "src/server/routes/connection.ts",
"line": 223,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/github/login-token",
"source": "src/server/routes/connection.ts",
"line": 251,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/billing",
"source": "src/server/routes/billing.ts",
"line": 78,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/billing/draft/:id",
"source": "src/server/routes/billing.ts",
"line": 99,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/billing/draft",
"source": "src/server/routes/billing.ts",
"line": 111,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/billing/checkout",
"source": "src/server/routes/billing.ts",
"line": 119,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/billing/portal",
"source": "src/server/routes/billing.ts",
"line": 132,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/billing/refresh",
"source": "src/server/routes/billing.ts",
"line": 141,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/maintenance/repositories/:repoId",
"source": "src/server/routes/maintenance.ts",
"line": 34,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "PATCH",
"path": "/api/maintenance/repositories/:repoId",
"source": "src/server/routes/maintenance.ts",
"line": 47,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/maintenance-tokens",
"source": "src/server/routes/maintenance-tokens.ts",
"line": 19,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/user/maintenance-tokens",
"source": "src/server/routes/maintenance-tokens.ts",
"line": 28,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/user/maintenance-tokens/:id",
"source": "src/server/routes/maintenance-tokens.ts",
"line": 53,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/tokens",
"source": "src/server/routes/admin-tokens.ts",
"line": 18,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/tokens",
"source": "src/server/routes/admin-tokens.ts",
"line": 35,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/admin/tokens/:id",
"source": "src/server/routes/admin-tokens.ts",
"line": 67,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/billing/summary",
"source": "src/server/routes/admin-billing.ts",
"line": 16,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/billing/grants",
"source": "src/server/routes/admin-billing.ts",
"line": 24,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/emails/summary",
"source": "src/server/routes/admin-emails.ts",
"line": 63,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/emails",
"source": "src/server/routes/admin-emails.ts",
"line": 86,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/performance",
"source": "src/server/routes/admin.ts",
"line": 91,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/cache",
"source": "src/server/routes/admin.ts",
"line": 97,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/:repo_id",
"source": "src/server/routes/admin.ts",
"line": 184,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/admin/queue/:name/:repo_id",
"source": "src/server/routes/admin.ts",
"line": 209,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/retry-failed",
"source": "src/server/routes/admin.ts",
"line": 237,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/drain",
"source": "src/server/routes/admin.ts",
"line": 258,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/pause",
"source": "src/server/routes/admin.ts",
"line": 269,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/resume",
"source": "src/server/routes/admin.ts",
"line": 280,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queue/:name/empty",
"source": "src/server/routes/admin.ts",
"line": 291,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/queues/pause-all",
"source": "src/server/routes/admin.ts",
"line": 302,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/queues/metrics",
"source": "src/server/routes/admin.ts",
"line": 358,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/queues",
"source": "src/server/routes/admin.ts",
"line": 373,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/errors",
"source": "src/server/routes/admin.ts",
"line": 443,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/errors/stats",
"source": "src/server/routes/admin.ts",
"line": 488,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/admin/errors",
"source": "src/server/routes/admin.ts",
"line": 619,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/overview",
"source": "src/server/routes/admin.ts",
"line": 649,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/stats",
"source": "src/server/routes/admin.ts",
"line": 834,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/repos",
"source": "src/server/routes/admin.ts",
"line": 863,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/admin/repos/:repoId",
"source": "src/server/routes/admin.ts",
"line": 982,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/repos/:repoId/github",
"source": "src/server/routes/admin.ts",
"line": 997,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/users",
"source": "src/server/routes/admin.ts",
"line": 1090,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/users/:username",
"source": "src/server/routes/admin.ts",
"line": 1154,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/users/:username/repos",
"source": "src/server/routes/admin.ts",
"line": 1181,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/users/:username/ban",
"source": "src/server/routes/admin.ts",
"line": 1202,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/users/:username/activate",
"source": "src/server/routes/admin.ts",
"line": 1238,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/users/:username/promote",
"source": "src/server/routes/admin.ts",
"line": 1256,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/admin/users/:username/demote",
"source": "src/server/routes/admin.ts",
"line": 1274,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/admin/conferences",
"source": "src/server/routes/admin.ts",
"line": 1292,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/options",
"source": "src/server/routes/option.ts",
"line": 5,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/conferences/plans",
"source": "src/server/routes/conference.ts",
"line": 36,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/conferences",
"source": "src/server/routes/conference.ts",
"line": 40,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/conferences/{:conferenceID}",
"source": "src/server/routes/conference.ts",
"line": 159,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/conferences/:conferenceID",
"source": "src/server/routes/conference.ts",
"line": 230,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/conferences/:conferenceID",
"source": "src/server/routes/conference.ts",
"line": 275,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/logout",
"source": "src/server/routes/user.ts",
"line": 31,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user",
"source": "src/server/routes/user.ts",
"line": 44,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/dashboard",
"source": "src/server/routes/user.ts",
"line": 68,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/quota",
"source": "src/server/routes/user.ts",
"line": 73,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/user/project-name",
"source": "src/server/routes/user.ts",
"line": 159,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/default",
"source": "src/server/routes/user.ts",
"line": 168,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/user/default",
"source": "src/server/routes/user.ts",
"line": 178,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/user",
"source": "src/server/routes/user.ts",
"line": 200,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/anonymized_repositories",
"source": "src/server/routes/user.ts",
"line": 281,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/anonymized_gists",
"source": "src/server/routes/user.ts",
"line": 299,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/anonymized_pull_requests",
"source": "src/server/routes/user.ts",
"line": 314,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/search/github-users",
"source": "src/server/routes/user.ts",
"line": 331,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/all_repositories",
"source": "src/server/routes/user.ts",
"line": 366,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/user/:username/all_repositories",
"source": "src/server/routes/user.ts",
"line": 377,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/zip",
"source": "src/server/routes/repository-public.ts",
"line": 27,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/files",
"source": "src/server/routes/repository-public.ts",
"line": 192,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/files/counts",
"source": "src/server/routes/repository-public.ts",
"line": 212,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/files/search",
"source": "src/server/routes/repository-public.ts",
"line": 275,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/options",
"source": "src/server/routes/repository-public.ts",
"line": 294,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/file/*path",
"source": "src/server/routes/file.ts",
"line": 65,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo/claim",
"source": "src/server/routes/repository-private.ts",
"line": 79,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo/:repoId/refresh",
"source": "src/server/routes/repository-private.ts",
"line": 153,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo/:repoId/extend",
"source": "src/server/routes/repository-private.ts",
"line": 187,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/repo/:repoId",
"source": "src/server/routes/repository-private.ts",
"line": 260,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:owner/:repo",
"source": "src/server/routes/repository-private.ts",
"line": 287,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:owner/:repo/branches",
"source": "src/server/routes/repository-private.ts",
"line": 306,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:owner/:repo/readme",
"source": "src/server/routes/repository-private.ts",
"line": 330,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:owner/:repo/tree",
"source": "src/server/routes/repository-private.ts",
"line": 363,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:owner/:repo/file",
"source": "src/server/routes/repository-private.ts",
"line": 386,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId",
"source": "src/server/routes/repository-private.ts",
"line": 412,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo/:repoId",
"source": "src/server/routes/repository-private.ts",
"line": 568,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo",
"source": "src/server/routes/repository-private.ts",
"line": 788,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/repo/:repoId/coauthors",
"source": "src/server/routes/repository-private.ts",
"line": 905,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/repo/:repoId/coauthors",
"source": "src/server/routes/repository-private.ts",
"line": 921,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/repo/:repoId/coauthors/:username",
"source": "src/server/routes/repository-private.ts",
"line": 984,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/pr/:pullRequestId/options",
"source": "src/server/routes/pullRequest-public.ts",
"line": 9,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/pr/:pullRequestId/content",
"source": "src/server/routes/pullRequest-public.ts",
"line": 80,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/pr/:pullRequestId/refresh",
"source": "src/server/routes/pullRequest-private.ts",
"line": 25,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/pr/:pullRequestId/extend",
"source": "src/server/routes/pullRequest-private.ts",
"line": 45,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/pr/:pullRequestId",
"source": "src/server/routes/pullRequest-private.ts",
"line": 86,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/pr/:owner/:repository/:pullRequestId",
"source": "src/server/routes/pullRequest-private.ts",
"line": 107,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/pr/:pullRequestId",
"source": "src/server/routes/pullRequest-private.ts",
"line": 133,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/pr/:pullRequestId",
"source": "src/server/routes/pullRequest-private.ts",
"line": 221,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/pr",
"source": "src/server/routes/pullRequest-private.ts",
"line": 258,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/gist/:gistId/options",
"source": "src/server/routes/gist-public.ts",
"line": 9,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/gist/:gistId/content",
"source": "src/server/routes/gist-public.ts",
"line": 82,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/gist/:gistId/refresh",
"source": "src/server/routes/gist-private.ts",
"line": 24,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/gist/:gistId/extend",
"source": "src/server/routes/gist-private.ts",
"line": 44,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "DELETE",
"path": "/api/gist/:gistId",
"source": "src/server/routes/gist-private.ts",
"line": 83,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/gist/source/:gistId",
"source": "src/server/routes/gist-private.ts",
"line": 105,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/gist/:gistId",
"source": "src/server/routes/gist-private.ts",
"line": 128,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/gist/:gistId",
"source": "src/server/routes/gist-private.ts",
"line": 202,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/gist",
"source": "src/server/routes/gist-private.ts",
"line": 238,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "POST",
"path": "/api/anonymize-preview",
"source": "src/server/routes/anonymize-preview.ts",
"line": 19,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/message",
"source": "src/server/index.ts",
"line": 282,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/healthcheck",
"source": "src/server/index.ts",
"line": 289,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/stat",
"source": "src/server/index.ts",
"line": 292,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/api/stat/history",
"source": "src/server/index.ts",
"line": 295,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/w/:repoId/{*path}",
"source": "src/server/routes/webview.ts",
"line": 180,
"verification": "first matching Go handler; behavior verified separately"
},
{
"method": "GET",
"path": "/w/:repoId",
"source": "src/server/routes/webview.ts",
"line": 181,
"verification": "first matching Go handler; behavior verified separately"
}
]