Sticks REST API (v1)

Tickets

GET /v1/tickets

Return all tickets :type project: unicode

Return type:TicketResourceCollection
GET /v1/tickets

Return ticket :type ticket_id: unicode

Return type:TicketResource
POST /v1/tickets

Create a ticket :type data: TicketResource

Return type:TicketResource
PUT /v1/tickets

Modify a ticket

DELETE /v1/tickets

Delete a ticket

type TicketResource

Type describing a ticket.

Data samples:

Json
{
    "project": "test_project", 
    "title": "Ticket incident"
}
XML
<value>
  <title>Ticket incident</title>
  <project>test_project</project>
</value>
id
Type:unicode

Id of the ticket.

project
Type:unicode

Associated project of the ticket.

start_date
Type:date

Start date.

status
Type:unicode

Status.

title
Type:unicode

Title of the ticket.

type TicketResourceCollection

A list of Tickets.

Data samples:

Json
{}
XML
<value />

Table Of Contents

Previous topic

Sticks REST API (root)

This Page