Koha/api/v1/swagger/definitions/erm_counter_registry.yaml
Matt Blenkinsop 520ac94242
Bug 35757: Add new fields to api definitions
The counter registry API has added a new field to both the counter registry and sushi service endpoints. This patch adds those new fields to the definitions.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-11 12:10:44 +01:00

60 lines
1.2 KiB
YAML

---
type: object
properties:
id:
description: internally assigned identifier
type: string
name:
description: name of the platform
type: string
abbrev:
description: abbrev of the platform
type:
- string
- "null"
content_provider_name:
description: current content_provider_name of the platform
type:
- string
- "null"
host_types:
description: host_types for the platform
type: array
items:
type: object
address:
description: current address of the platform
type:
- string
- "null"
address_country:
description: current address country of the platform
type:
- object
- string
website:
description: current website of the platform
type:
- string
- "null"
contact:
description: current contact of the platform
type:
- object
- "null"
reports:
description: reports for the platform
type: array
items:
type: object
sushi_services:
description: sushi_services for the platform
type: array
items:
type: object
audited:
description: has the record been audited?
type: boolean
additionalProperties: false