Koha/api/v1/swagger/definitions/erm_usage_platform.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

30 lines
623 B
YAML

---
type: object
properties:
platform_id:
type: integer
description: internally assigned platform identifier
readOnly: true
platform:
description: title of the platform
type:
- string
- "null"
usage_data_provider_id:
description: usage_data_provider the platform is harvested by
type: integer
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:
- platform
- usage_data_provider_id