Update the ticket’s informations

Examples

PUT '/api/v2/tickets/2':
 {
   "ticket": {
     "title": "second ticket",
     "tags": ["tag1","tag2"],
     "small_summary": "text",
     "content": "text",
     "status": "In Progress"
   }
 }

Params

Param name Description
title
required

The title of the ticket

Validations:

  • Must be a String

tags
required

The tags for the ticket

Validations:

  • Must be an array of any type

small_summary
required

The summary of the ticket

Validations:

  • Must be a String

content
required

The content of the ticket

Validations:

  • Must be a String

status
required

The status of the ticket: should be opened or pending

Validations:

  • Must be a String

user_id
optional

The id of the ticket’s owner

Validations:

  • Must be a Integer