Koha/api/v1/swagger/definitions/erm_custom_report.yaml
Matt Blenkinsop 8987ff1591
Bug 34587: Abstract reports backend to allow new data types
Now that harvesting is possible for platforms, databases and items we need to be able to generate reports for all of these data types. Currently the reporting backend structure is very geared towards titles. Rather than copying this for each different data type, this patch abstracts the code to accept the data type as a url parameter and use that to generate a report based on a given data type

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:07 -03:00

64 lines
No EOL
1.3 KiB
YAML

type: object
properties:
title_id:
type: integer
description: internally assigned title identifier
readOnly: true
title:
description: title of the title
type:
- string
- "null"
usage_data_provider_id:
description: usage_data_provider the title is harvested by
type: integer
title_doi:
description: doi number of the title
type:
- string
- "null"
print_issn:
description: print_issn number of the title
type:
- string
- "null"
online_issn:
description: online_issn number of the title
type:
- string
- "null"
title_uri:
description: title_uri number of the title
type:
- string
- "null"
provider_name:
description: provider_name of the title
type:
- string
- "null"
metric_type:
description: metric_type of the title data
type:
- string
- "null"
publisher:
description: publisher of the title data
type:
- string
- "null"
publisher_id:
description: publisher_id of the title 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