$_links
$_links : array
Links.
Whups external API interface.
This file defines Whups' external API interface. Other applications can interact with Whups through this API.
addComment(integer $ticket_id, string $comment, string $group = null) : boolean
Add a comment to a ticket.
integer | $ticket_id | The id of the ticket to comment on. |
string | $comment | The comment text to add. |
string | $group | (optional) Restrict this comment to a specific group. |
True
addVersion(integer $queue, string $name, string $description, boolean $active = true)
Add a version to a queue
integer | $queue | The queue id to add the version to. |
string | $name | The name of the new version. |
string | $description | The descriptive text for the new version. |
boolean | $active | Whether the version is still active. |