Koha/api/v1/swagger/definitions/erm_counter_file.yaml
Matt Blenkinsop 5125195a52
Bug 34587: API swagger paths and definitions
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:45:53 -03:00

36 lines
No EOL
770 B
YAML

---
type: object
properties:
erm_counter_files_id:
type: integer
description: internally assigned counter_files identifier
readOnly: true
usage_data_provider_id:
description: usage_data_provider_id of the counter_files
type: integer
type:
description: type of the counter_files
type:
- string
- "null"
filename:
description: filename
type: string
file_content:
description: file_content
type: string
date_uploaded:
type: string
format: date-time
description: Timestamp for the date of upload
counter_logs:
type: array
description: counter logs
items:
$ref: erm_counter_log.yaml
additionalProperties: false
required:
- usage_data_provider_id
- filename
- file_content