Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions python/spec-kit/src/dfo_spec_kit/registry/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 501
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 501
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -1194,6 +1199,11 @@
"endpoint": "datasets.definition",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand All @@ -1215,6 +1225,11 @@
"endpoint": "datasets.definition",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -1644,6 +1659,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 500
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 500
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -2594,6 +2614,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -3269,6 +3294,16 @@
"endpoint": "datasets.description",
"channel": "problem_details",
"http_status": 400
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 400
},
{
"endpoint": "datasets.snapshot",
"channel": "problem_details",
"http_status": 400
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -3584,6 +3619,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down
40 changes: 40 additions & 0 deletions registries/codes.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 501
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 501
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -1194,6 +1199,11 @@
"endpoint": "datasets.definition",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand All @@ -1215,6 +1225,11 @@
"endpoint": "datasets.definition",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -1644,6 +1659,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 500
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 500
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -2594,6 +2614,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -3269,6 +3294,16 @@
"endpoint": "datasets.description",
"channel": "problem_details",
"http_status": 400
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 400
},
{
"endpoint": "datasets.snapshot",
"channel": "problem_details",
"http_status": 400
}
],
"lifecycle": "active"
Expand Down Expand Up @@ -3584,6 +3619,11 @@
"endpoint": "datasets.refresh",
"channel": "problem_details",
"http_status": 422
},
{
"endpoint": "datasets.files",
"channel": "problem_details",
"http_status": 422
}
],
"lifecycle": "active"
Expand Down
2 changes: 1 addition & 1 deletion schemas/registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Retiring a door is a schema change, reviewed as one: dropping a value from `code

- **`endpoint`** lists the Search endpoints `search.resolve` (`POST /api/search/resolve`) and `search.options` (`POST /api/search/options`).

The Datasets endpoints are `datasets.register` (`POST /api/datasets/register`), `datasets.mint` (`POST /api/datasets`), `datasets.definition` (`GET /api/datasets/{id}`), `datasets.options` (`GET /api/datasets/{id}/options`, the write-free preview door), `datasets.members` (`POST /api/datasets/{id}/members`, the write-free member read), `datasets.snapshot` (`GET /api/datasets/{id}/{content_version}`), `datasets.files` (`GET /api/datasets/{id}/{content_version}/files/{digest}`, which answers a stored artifact with a 302 redirect to its download link), `datasets.description` (`GET /api/datasets/{id}/{content_version}/description`, a stored version's description, for a `spec_` id with a `cv_` version or an `ops_` id with an `ocv_` version, and `GET .../description/values`, which pages one dimension's values), `datasets.observations` (`GET /api/datasets/{id}/{content_version}/observations`, a stored version's observations), `datasets.pin` (`POST /api/datasets/{id}/{content_version}/pin`), `datasets.publish` (`POST /api/datasets/frames/publish`, the door an analysis service uses to publish an already-computed frame under its own identity pair), `datasets.recipe` (`PUT` and `GET /api/datasets/frames/{spec_id}/{content_version}/recipe`, the recorded computation behind a published frame, and `GET /api/datasets/recipes/replays/{replay_key}`, the frame stored under a replay key), `datasets.refresh` (`POST /api/datasets/frames/refresh`, which rebuilds a dataset frame's rendering on current data), and `datasets.operations` (`GET /api/datasets/operations/{operation_id}`).
The Datasets endpoints are `datasets.register` (`POST /api/datasets/register`), `datasets.mint` (`POST /api/datasets`), `datasets.definition` (`GET /api/datasets/{id}`), `datasets.options` (`GET /api/datasets/{id}/options`, the write-free preview door), `datasets.members` (`POST /api/datasets/{id}/members`, the write-free member read), `datasets.snapshot` (`GET /api/datasets/{id}/{content_version}`, and `GET /api/datasets/{id}/versions`, which pages a dataset's servable versions), `datasets.files` (`GET /api/datasets/{id}/{content_version}/files/{digest}`, which answers a stored artifact with a 302 redirect to its download link, and `GET /api/datasets/{id}/{content_version}/file`, which selects a stored version's file by format, bundle and layout, renders it when it is missing, and answers the same redirect), `datasets.description` (`GET /api/datasets/{id}/{content_version}/description`, a stored version's description, for a `spec_` id with a `cv_` version or an `ops_` id with an `ocv_` version, and `GET .../description/values`, which pages one dimension's values), `datasets.observations` (`GET /api/datasets/{id}/{content_version}/observations`, a stored version's observations), `datasets.pin` (`POST /api/datasets/{id}/{content_version}/pin`), `datasets.publish` (`POST /api/datasets/frames/publish`, the door an analysis service uses to publish an already-computed frame under its own identity pair), `datasets.recipe` (`PUT` and `GET /api/datasets/frames/{spec_id}/{content_version}/recipe`, the recorded computation behind a published frame, and `GET /api/datasets/recipes/replays/{replay_key}`, the frame stored under a replay key), `datasets.refresh` (`POST /api/datasets/frames/refresh`, which rebuilds a dataset frame's rendering on current data), and `datasets.operations` (`GET /api/datasets/operations/{operation_id}`).

The Presentation endpoints are `presentation.write` (`POST /api/presentation/components`, `PATCH /api/presentation/components/{component_id}`) and `presentation.render` (`POST /api/presentation/components/{component_id}/revisions/{revision}/render` and `GET .../render/data`, which draw a stored revision on a named target frame and mint no revision). Search's and Datasets' `schema`, `capabilities`, and `healthz` routes and Presentation's read routes carry no permanent codes.

Expand Down
Loading