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 293a416
Browse filesBrowse the repository at this point in the historyBrowse files
|`GET /api/v1/problems`|`set`, `track`, `kind`, `checked` (`tests`, `rubric` or `ai-review`, as `cstudy list --checked-by`), `lang`, `difficulty`, `status`, `pattern`, `content`, `domain`, `role`, `scope`, each optional, with the values of `cstudy list`, and `widen` (repeatable: `lang`, `role`, `domain`, as `cstudy list --widen`) |[`cstudy list --json`](cli.md#cstudy-list), the [learner profile](cli.md#the-learner-profile) applied as the command applies it, with its `profile`, with each entry's `jdk` and the document's `selected_jdk`; each entry has `id` and `checked_by` as the command gives them |
208
208
|`GET /api/v1/problems/{slug}`|| The problem's entry of `cstudy list --json`, with its `id` and `checked_by`, `languages` the languages `cstudy start` accepts instead of the reference languages, plus `approaches` (`id`, `name`, `role`), `broken` (the broken reference ids, or empty), `levels` (`last`, `passed` and `mastered`, as `cstudy list --json` gives them, or null), `hints_total`, `bench` (whether `cstudy bench` applies), `oracle` (whether `--stress N` adds oracle inputs) and `guides`, the [concept guides](guides.md) its `meta.yaml` names that exist, in its order, each `{"id", "slug", "title", "read"}`. For a rubric problem: `languages`, `approaches`, `broken` and `guides` empty, `levels` null, `hints_total` 0, `bench` and `oracle` false |
209
-
|`GET /api/v1/problems/{slug}/statement`|`level` (optional, as `cstudy show --level`) |`{"markdown": …, "html": …}`: the text `cstudy show` prints, and its HTML; `show_statement`|
209
+
|`GET /api/v1/problems/{slug}/statement`|`level` (optional, as `cstudy show --level`) |`{"markdown": …, "html": …}`: the text `cstudy show` prints, and its HTML, which leaves out an HTML comment paragraph such as the footer of the statement file; `show_statement`|
210
210
|`GET /api/v1/problems/{slug}/history`||[`cstudy history --json`](cli.md#cstudy-history)|
211
211
|`GET /api/v1/problems/{slug}/needs`||`{"needs": [{"label", "text", "problem"}]}`: what a [service project](service-projects.md#where-it-shows) depends on, the rows `cstudy show` prints, `problem` the reason one is not met here or null; `{"needs": null}` for any other problem, which asks Docker nothing; `service_needs_of`. It asks the engine its state and starts nothing |
0 commit comments