v1

latestOpenAPI 3.0.3agpl2026-07-174323249.6 KB
comment_api

Add comment

This endpoint allows CORS requests

post/ocs/v2.php/apps/polls/api/v1.0/poll/{pollId}/comment

Path parameters

pollIdinteger required

Poll id

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

commentstring required

Comment text to add

Response

Comment added