createFooterComment
Create footer comment
Details
- Method:
POST - Path:
/footer-comments - Operation ID:
createFooterComment
Parameters
{
"blogPostId": {
"description": "ID of the containing blog post, if intending to create a top level footer comment. Do not provide if creating a reply.",
"required": false,
"location": "body",
"type": "string"
},
"pageId": {
"description": "ID of the containing page, if intending to create a top level footer comment. Do not provide if creating a reply.",
"required": false,
"location": "body",
"type": "string"
},
"parentCommentId": {
"description": "ID of the parent comment, if intending to create a reply. Do not provide if creating a top level comment.",
"required": false,
"location": "body",
"type": "string"
},
"attachmentId": {
"description": "ID of the attachment, if intending to create a comment against an attachment.",
"required": false,
"location": "body",
"type": "string"
},
"customContentId": {
"description": "ID of the custom content, if intending to create a comment against a custom content.",
"required": false,
"location": "body",
"type": "string"
},
"body": {
"description": "",
"required": false,
"location": "body",
"type": "string"
}
}Response Schema
{
"allOf": [
{
"$ref": "#/components/schemas/FooterCommentModel"
},
{
"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('createFooterComment', {
# Add required parameters here
})