Koha/api/v1/swagger/definitions/item_group.yaml
Nick Clemens 95a6ee4d53
Bug 24857: API spec
To test:
1 - prove t/db_dependent/api/v1/item_groups.t

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-07-08 15:59:55 -03:00

37 lines
888 B
YAML

---
type: object
properties:
item_group_id:
type: integer
readOnly: true
description: Internal identifier for the item group
biblio_id:
type: integer
readOnly: true
description: Internal identifier for the parent bibliographic record
description:
type: string
description: Item group description
display_order:
type: integer
description: Item group description
creation_date:
type: string
format: date-time
readOnly: true
description: Date and time the item group was created
modification_date:
type: string
format: date-time
readOnly: true
description: Date and time the item group was last modified
items:
type:
- array
- 'null'
readOnly: true
description: A list of items that belong to the volume (x-koha-embed)
additionalProperties: false
required:
- item_group_id
- biblio_id