Skip to content

FeedbackSubmitParams

feedback/submit params: mirrors the TUI confirm-time FeedbackRequest. The call itself is the explicit confirm.

  • attachSessionRecord
  • classification
  • clientArtifactsPath
  • note
  • sessionId
  • withFiles
Source

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

{
"description": "`feedback/submit` params: mirrors the TUI confirm-time\n`FeedbackRequest`. The call itself is the explicit confirm.",
"properties": {
"attachSessionRecord": {
"description": "Consent to attach the session record; honored only for\n`bug`/`badResult` with `session_id` present. `true` with\n`with_files: false`, with a non-`bug`/`badResult` classification,\nor without `session_id` is `invalidParams` (F4, F8).\nDefaults to `false`.",
"type": "boolean"
},
"classification": {
"$ref": "#/$defs/FeedbackClassification",
"description": "The report class (required)."
},
"clientArtifactsPath": {
"description": "An absolute same-host path to a client-packed bundle, admitted\nonly as a regular file under a size cap.",
"type": "string"
},
"note": {
"description": "The user report text (required; non-empty for `bug`).",
"type": "string"
},
"sessionId": {
"description": "Names the session this call is about when present (F8,\nsuperseding F3): the bundle lands in that session's dir. Names a\nsession this host owns. When absent, the bundle lands in the\nhost-level feedback folder and the `session_id` tag is omitted.",
"type": "string"
},
"withFiles": {
"description": "The files-consent decision (required).",
"type": "boolean"
}
},
"required": [
"classification",
"note",
"withFiles"
],
"type": "object"
}