Koha/api/v1/swagger/definitions/ticket.yaml
Martin Renvoize 8b08ec8b3f
Bug 35657: Add support for assignee_id to ticket_updates endpoint
This patch adds support for cross-synced ticket.assignee_id updates.

The API allows you to set assignee directly on a ticket or via a
ticket_update. In both cases we store a ticket_update with the fine
details of when and who set the assigee.

Signed-off-by: Paul Derscheid <paulderscheid@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-02 15:03:35 +02:00

88 lines
1.8 KiB
YAML

---
type: object
properties:
ticket_id:
type: integer
description: Internal ticket identifier
readOnly: true
source:
type: string
enum:
- catalog
reported_date:
type:
- string
- "null"
format: date-time
description: Date the ticket was reported
readOnly: true
biblio:
type:
- object
- "null"
description: The object representing the biblio the ticket is related to
readOnly: true
biblio_id:
type: integer
description: Internal identifier for the biblio the ticket is related to
title:
type: string
description: Ticket title
body:
type: string
description: Ticket details
status:
type:
- string
- "null"
description: Current status of the ticket
readOnly: true
reporter:
type:
- object
- "null"
description: The object representing the patron who reported the ticket
readOnly: true
reporter_id:
type: integer
description: Internal identifier for the patron who reported the ticket
assignee:
type:
- object
- "null"
assignee_id:
type:
- integer
- "null"
resolver:
type:
- object
- "null"
description: The object representing the user who resolved the ticket
readOnly: true
resolver_id:
type:
- integer
- "null"
description: Internal identifier for the user who resolved the ticket
resolved_date:
type:
- string
- "null"
format: date-time
description: Date the ticket was resolved_date
updates_count:
type:
- integer
- "null"
description: Number of updates
_strings:
type:
- object
- "null"
description: A list of stringified coded values
additionalProperties: false
required:
- source
- title
- body