updateInlineComment
Update inline comment
Details
- Method:
PUT - Path:
/inline-comments/{comment-id} - Operation ID:
updateInlineComment
Parameters
{
"comment-id": {
"description": "The ID of the comment to be retrieved.",
"required": true,
"location": "path",
"type": "integer",
"format": "int64"
},
"version": {
"description": "",
"required": false,
"location": "body",
"type": "object"
},
"body": {
"description": "",
"required": false,
"location": "body",
"type": "string"
},
"resolved": {
"description": "Resolved state of the comment. Set to true to resolve the comment, set to false to reopen it. If\nmatching the existing state (i.e. true -> resolved or false -> open/reopened) , no change will occur. A dangling\ncomment cannot be updated.",
"required": false,
"location": "body",
"type": "boolean"
}
}Response Schema
{
"allOf": [
{
"$ref": "#/components/schemas/InlineCommentModel"
},
{
"type": "object",
"properties": {
"_links": {
"type": "object",
"properties": {
"base": {
"type": "string",
"description": "Base url of the Confluence site."
}
}
}
}
}
]
}Usage
from ocp_agent import OCPAgent
agent = OCPAgent()
await agent.register_api('confluence')
# Call this tool
result = await agent.call_tool('updateInlineComment', {
# Add required parameters here
})