v5

latestOpenAPI 3.0.02026-08-04258282491.7 KB
Ticket

Vote for ticket

Vote for a ticket. action controls semantics: 'toggle' (default) flips the vote, 'subscribe' is idempotent add, 'unsubscribe' is idempotent remove.

post/tickets/{ticketId}/vote

Path parameters

ticketIdstring required

Request body

action'toggle' | 'subscribe' | 'unsubscribe'
namestring
emailstring required

Response

Ok

{"stackTrail":"paths:/tickets/{ticketId}/vote:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}