why.areas
Každá provozní oblast, kterou katalog deklaruje, každá s veřejnými okamžiky, které pod ni spadají. Členství se odvozuje z okamžiků a nikdy se nevypisuje ve vlastním souboru oblasti.
Každá provozní oblast, kterou katalog deklaruje, každá s veřejnými okamžiky, které pod ni spadají. Členství se odvozuje z okamžiků a nikdy se nevypisuje ve vlastním souboru oblasti.
- query
- behaviorally_verified
- module why
- #why
- #catalogue
Zpřístupnění
Kde je tato jedna definice dosažitelná. Absence je explicitní: povrch, který není uveden, ji nenese.
| povrch | jako |
|---|---|
| MCP | nástroj majordomus_why_areas zdroj majordomus://why/areas |
| HTTP | GET /api/v1/why/areas operationId why.areas |
| příkazová řádka | majordomus why areas |
Schémata
Kanonický vstup a výstup z typů Rustu; schéma nástroje MCP a parametry a odpovědi OpenAPI se odvozují z nich.
vstup · Prázdné
Žádné vlastnosti: schopnost nebere žádný vstup.
JSON Schema
{
"additionalProperties": false,
"description": "No input.",
"title": "Empty",
"type": "object"
}výstup · AreaList
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| areas | array | ano | Každý s jeho odvozeným členstvím, v pořadí prezentace. |
| počet | integer | ano | Kolik. |
JSON Schema
{
"$defs": {
"AreaView": {
"description": "One area, with the membership nobody authored.",
"properties": {
"body": {
"description": "The Markdown body.",
"type": "string"
},
"count": {
"description": "Derived: how many.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"id": {
"description": "The identity, the slug and the file name.",
"type": "string"
},
"moments": {
"description": "Derived: the public moments that fall under it, in presentation order.",
"items": {
"type": "string"
},
"type": "array"
},
"route": {
"default": "",
"description": "Derived: `/why/areas/<id>/`.",
"type": "string"
},
"source": {
"default": "",
"description": "Derived: the file it came from.",
"type": "string"
},
"status": {
"description": "`stable`, `draft` or `deprecated`.",
"type": "string"
},
"summary": {
"description": "One line: what falls under it.",
"type": "string"
},
"tags": {
"default": [],
"description": "Free tags.",
"items": {
"type": "string"
},
"type": "array"
},
"title": {
"description": "The area.",
"type": "string"
},
"weight": {
"default": 0,
"description": "Presentation order.",
"format": "uint32",
"minimum": 0,
"type": "integer"
}
},
"required": [
"id",
"title",
"summary",
"status",
"moments",
"count"
],
"type": "object"
}
},
"description": "Every area.",
"properties": {
"areas": {
"description": "Each, with its derived membership, in presentation order.",
"items": {
"$ref": "#/$defs/AreaView"
},
"type": "array"
},
"count": {
"description": "How many.",
"format": "uint",
"minimum": 0,
"type": "integer"
}
},
"required": [
"count",
"areas"
],
"title": "AreaList",
"type": "object"
}Politiky
- benchmark
- povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
- cache
- process: až 4 záznamy v procesu, vymezené otiskem registru
Cíle benchmarku
Odvozeno z registru pro tento repozitář: jeden požadavek na transport a případy, které poskytuje typ vstupu. Celá matice je na stránce měření výkonu.