sdlc-hub/tests/fixtures/baseline/routes.expected.json
Andrey Epifancev 3a936f5eaa Вики: лента правок, версии и дифф в HTTP API (#140)
Маршруты GET /wiki/changes, /wiki/pages/{code}/versions, /wiki/pages/{code}/diff;
у страницы — modified_at, modified_by, versions; у состояния — history_at.
Дифф режется по 20 000 символов, фильтр автора без учёта регистра в Python.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-28 12:16:04 +04:00

303 lines
3.8 KiB
JSON

[
[
"GET",
"^/(links)?$",
null,
"h_root"
],
[
"GET",
"^/agent$",
"client",
"h_agent_get"
],
[
"POST",
"^/agent/claim$",
"agent",
"h_claim"
],
[
"GET",
"^/agent/commands/(\\d+)$",
"agent",
"h_agent_command"
],
[
"POST",
"^/agent/commands/(\\d+)/result$",
"agent",
"h_agent_result"
],
[
"POST",
"^/agent/files$",
"agent",
"h_agent_files_post"
],
[
"GET",
"^/agent/files/([^/]+)$",
"agent",
"h_agent_file"
],
[
"POST",
"^/agent/history$",
"agent",
"h_agent_history"
],
[
"GET",
"^/agent/known-keys$",
"agent",
"h_known_keys"
],
[
"GET",
"^/agent/release$",
"agent",
"h_agent_release"
],
[
"GET",
"^/agent/settings$",
"agent",
"h_agent_settings"
],
[
"POST",
"^/agent/state$",
"agent",
"h_agent_state"
],
[
"POST",
"^/agent/wiki/pages$",
"agent",
"h_agent_pages"
],
[
"POST",
"^/agent/wiki/versions$",
"agent",
"h_agent_versions"
],
[
"GET",
"^/agents$",
"client",
"h_agents_get"
],
[
"GET",
"^/agile$",
"client",
"h_agile"
],
[
"GET",
"^/app(?:/(.*))?$",
null,
"h_app"
],
[
"GET",
"^/attachments/(\\d+)$",
"client",
"h_attachment_get"
],
[
"GET",
"^/attachments/(\\d+)/content$",
"client",
"h_attachment_content"
],
[
"POST",
"^/attachments/(\\d+)/fetch$",
"client",
"h_attachment_fetch"
],
[
"GET",
"^/batches$",
"client",
"h_batches_get"
],
[
"POST",
"^/batches$",
"client",
"h_batches_post"
],
[
"GET",
"^/batches/(\\d+)$",
"client",
"h_batch_get"
],
[
"POST",
"^/batches/(\\d+)/cancel$",
"client",
"h_batch_cancel"
],
[
"GET",
"^/board$",
"client",
"h_board"
],
[
"GET",
"^/changes$",
"client",
"h_changes"
],
[
"POST",
"^/commands/(\\d+)/cancel$",
"client",
"h_command_cancel"
],
[
"POST",
"^/commands/(\\d+)/retry$",
"client",
"h_command_retry"
],
[
"POST",
"^/files$",
"client",
"h_files_post"
],
[
"GET",
"^/issues$",
"client",
"h_issues"
],
[
"GET",
"^/issues/([^/]+)$",
"client",
"h_issue"
],
[
"PUT",
"^/issues/([^/]+)/note$",
"client",
"h_note_put"
],
[
"GET",
"^/projects$",
"client",
"h_projects_get"
],
[
"POST",
"^/projects$",
"client",
"h_projects_post"
],
[
"PATCH",
"^/projects/([^/]+)$",
"client",
"h_project_patch"
],
[
"POST",
"^/refresh$",
"client",
"h_refresh"
],
[
"GET",
"^/settings$",
"client",
"h_settings_get"
],
[
"PUT",
"^/settings$",
"client",
"h_settings_put"
],
[
"GET",
"^/sync-runs$",
"client",
"h_sync_runs"
],
[
"GET",
"^/wiki/attachments/(\\d+)$",
"client",
"h_attachment_get"
],
[
"GET",
"^/wiki/attachments/(\\d+)/content$",
"client",
"h_attachment_content"
],
[
"POST",
"^/wiki/attachments/(\\d+)/fetch$",
"client",
"h_attachment_fetch"
],
[
"GET",
"^/wiki/changes$",
"client",
"h_changes"
],
[
"GET",
"^/wiki/pages/([^/]+)$",
"client",
"h_page"
],
[
"GET",
"^/wiki/pages/([^/]+)/diff$",
"client",
"h_diff"
],
[
"GET",
"^/wiki/pages/([^/]+)/versions$",
"client",
"h_versions"
],
[
"GET",
"^/wiki/search$",
"client",
"h_search"
],
[
"GET",
"^/wiki/status$",
"client",
"h_status"
],
[
"POST",
"^/wiki/sync$",
"client",
"h_sync"
],
[
"GET",
"^/wiki/tree$",
"client",
"h_tree"
]
]