Koha/api/v1/swagger/definitions/erm_usage_database.yaml
Matt Blenkinsop b74815dc64
Bug 34587: Add list endpoints for usage_databases/items/platforms
Needed to display lists in the provider tabs in the UI

Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com>
Signed-off-by: Michaela Sieber <michaela.sieber@kit.edu>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-31 16:46:08 -03:00

45 lines
909 B
YAML

---
type: object
properties:
database_id:
type: integer
description: internally assigned database identifier
readOnly: true
database:
description: name of the database
type:
- string
- "null"
usage_data_provider_id:
description: usage_data_provider the database is harvested by
type: integer
platform:
description: name of the platform
type:
- string
- "null"
publisher:
description: publisher of the database data
type:
- string
- "null"
publisher_id:
description: publisher_id of the database data
type:
- string
- "null"
erm_usage_muses:
type: array
description: usage mus
items:
$ref: erm_usage_mus.yaml
erm_usage_yuses:
type: array
description: usage yus
items:
$ref: erm_usage_yus.yaml
additionalProperties: false
required:
- database
- usage_data_provider_id