Files
codex-telegram-bot/schemas/v2/ThreadMetadataUpdateParams.json
2026-05-21 08:40:16 +00:00

52 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "ThreadMetadataUpdateParams",
"type": "object",
"required": [
"threadId"
],
"properties": {
"gitInfo": {
"description": "Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to `null` to clear it, or provide a string to replace the stored value.",
"anyOf": [
{
"$ref": "#/definitions/ThreadMetadataGitInfoUpdateParams"
},
{
"type": "null"
}
]
},
"threadId": {
"type": "string"
}
},
"definitions": {
"ThreadMetadataGitInfoUpdateParams": {
"type": "object",
"properties": {
"branch": {
"description": "Omit to leave the stored branch unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
},
"originUrl": {
"description": "Omit to leave the stored origin URL unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
},
"sha": {
"description": "Omit to leave the stored commit unchanged, set to `null` to clear it, or provide a non-empty string to replace it.",
"type": [
"string",
"null"
]
}
}
}
}
}