File size: 1,045 Bytes
f123267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
  "interfaces": [
    {
      "behavior": [
        "Return HTTP 200 with a stable JSON object once the runtime is ready.",
        "Never require a session, cookie, or admin token."
      ],
      "id": "runtime-health",
      "methods": [
        "GET"
      ],
      "path": "/healthz",
      "request": [
        "No parameters, headers, or body are required."
      ],
      "summary": "Readiness probe the harness polls before any case runs."
    },
    {
      "behavior": [
        "Reject an unauthenticated caller with HTTP 403.",
        "Reset authority is never granted by GET."
      ],
      "id": "local-reset",
      "methods": [
        "POST"
      ],
      "path": "/__admin/reset",
      "request": [
        "POST with no body.",
        "Admin authority is asserted with the X-WebsiteBench-Admin-Token header injected by the harness."
      ],
      "summary": "Deterministic local reset, refused without admin authority."
    }
  ],
  "schema": "websitebench.harbor.scored-interface-contract",
  "site_id": "article"
}