distribution.releases
Každý release, který tento repozitář zaznamenal, nejnovější první, a ten, na který se rozliší nepřipnutá instalace: nejvyšší verze mezi stabilními, nestaženými záznamy. Ukazatel se odvozuje zde a nikde se nepíše.
Každý release, který tento repozitář zaznamenal, nejnovější první, a ten, na který se rozliší nepřipnutá instalace: nejvyšší verze mezi stabilními, nestaženými záznamy. Ukazatel se odvozuje zde a nikde se nepíše.
- query
- behaviorally_verified
- module distribution
- #distribution
- #release
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_releases |
| HTTP | GET /api/v1/distribution/releases operationId distribution.releases |
| příkazová řádka | majordomus distribution releases |
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 · ReleasesReport
| vlastnost | typ | povinné | popis |
|---|---|---|---|
| počet | integer | ano | Kolik je záznamů. |
| latest | jedno ze 2 | ne | Release, na který se vyřeší nepřipnutá instalace, když nějaký existuje. |
| releases | array | ano | Každý záznam, nejnovější první. |
JSON Schema
{
"$defs": {
"Channel": {
"description": "Which releases an unpinned installation may resolve to.",
"oneOf": [
{
"const": "stable",
"description": "Resolved by `latest`.",
"type": "string"
},
{
"const": "prerelease",
"description": "Published, addressable by its exact tag, never resolved by default.",
"type": "string"
}
]
},
"ReleaseView": {
"description": "One release, as every projection shows it.",
"properties": {
"artifacts": {
"description": "How many artifacts it published.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"channel": {
"$ref": "#/$defs/Channel",
"description": "Whether an unpinned installation may resolve it."
},
"commit": {
"description": "The commit it was built from.",
"type": "string"
},
"metadata_url": {
"description": "Where its public metadata is served.",
"type": "string"
},
"published_at": {
"description": "When it was published, UTC.",
"type": "string"
},
"tag": {
"description": "The git tag.",
"type": "string"
},
"version": {
"description": "The semantic version.",
"type": "string"
},
"yanked": {
"description": "True when it has been withdrawn.",
"type": "boolean"
}
},
"required": [
"tag",
"version",
"channel",
"published_at",
"commit",
"yanked",
"artifacts",
"metadata_url"
],
"type": "object"
}
},
"description": "The releases this repository recorded, and the one an unpinned installation resolves to.",
"properties": {
"count": {
"description": "How many records there are.",
"format": "uint",
"minimum": 0,
"type": "integer"
},
"latest": {
"anyOf": [
{
"$ref": "#/$defs/ReleaseView"
},
{
"type": "null"
}
],
"description": "The release an unpinned installation resolves to, when there is one."
},
"releases": {
"description": "Every record, newest first.",
"items": {
"$ref": "#/$defs/ReleaseView"
},
"type": "array"
}
},
"required": [
"count",
"releases"
],
"title": "ReleasesReport",
"type": "object"
}Politiky
- benchmark
- povinné — cíl na každém transportu, který expozice deklaruje; případy jsou ty ze vstupního typu
- cache
- generation — až 1 záznam v procesu, vymezený otiskem registru a čtením repozitáře kontextem
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.