Skip to content
Developer Preview

SkillProviderUpdatedParams

Experimental

skillProvider/updated params: the client’s delta (or snapshot) for one session it drives.

  • baseRevision — Experimental
  • removes — Experimental
  • revision — Experimental
  • sessionId — Experimental
  • snapshot — Experimental
  • upserts — Experimental
Source

schema/msp/experimental/msp.schema.json#/types/SkillProviderUpdatedParams

{
"description": "`skillProvider/updated` params: the client's delta (or snapshot) for one\nsession it drives.",
"properties": {
"baseRevision": {
"description": "The revision it applies on top of.",
"type": "integer"
},
"removes": {
"description": "The `uri`s of entries that no longer exist, each 1 to 2,048\ncharacters. A non-empty list with `snapshot: true` is invalid params,\nand so is a `uri` that is also in `upserts`.",
"items": {
"type": "string"
},
"maxItems": 256,
"type": "array"
},
"revision": {
"description": "The revision this update produces.",
"type": "integer"
},
"sessionId": {
"description": "The session.",
"type": "string"
},
"snapshot": {
"description": "`true`: `upserts` is the complete catalog, and `removes` must be absent\nor empty; `false` when absent.",
"type": "boolean"
},
"upserts": {
"description": "Entries added or replaced, keyed by `uri`.",
"items": {
"$ref": "#/$defs/SkillProviderEntry"
},
"type": "array"
}
},
"required": [
"baseRevision",
"revision",
"sessionId"
],
"type": "object",
"x-msp-descriptor": "skillProvider/updated",
"x-msp-stability": "experimental"
}