Lines 4-10
Link Here
|
4 |
x-mojo-to: ERM::EUsage::UsageDataProviders#list |
4 |
x-mojo-to: ERM::EUsage::UsageDataProviders#list |
5 |
operationId: listErmUsageDataProviders |
5 |
operationId: listErmUsageDataProviders |
6 |
tags: |
6 |
tags: |
7 |
- usage_data_provider |
7 |
- erm_usage_data_providers |
8 |
summary: List usage_data_providers |
8 |
summary: List usage_data_providers |
9 |
produces: |
9 |
produces: |
10 |
- application/json |
10 |
- application/json |
Lines 132-138
Link Here
|
132 |
x-mojo-to: ERM::EUsage::UsageDataProviders#add |
132 |
x-mojo-to: ERM::EUsage::UsageDataProviders#add |
133 |
operationId: addErmUsageDataProviders |
133 |
operationId: addErmUsageDataProviders |
134 |
tags: |
134 |
tags: |
135 |
- usage_data_provider |
135 |
- erm_usage_data_providers |
136 |
summary: Add usage_data_provider |
136 |
summary: Add usage_data_provider |
137 |
consumes: |
137 |
consumes: |
138 |
- application/json |
138 |
- application/json |
Lines 193-199
Link Here
|
193 |
x-mojo-to: ERM::EUsage::UsageDataProviders#get |
193 |
x-mojo-to: ERM::EUsage::UsageDataProviders#get |
194 |
operationId: getERMUsageDataProvider |
194 |
operationId: getERMUsageDataProvider |
195 |
tags: |
195 |
tags: |
196 |
- usage_data_provider |
196 |
- erm_usage_data_providers |
197 |
summary: get usage_data_provider |
197 |
summary: get usage_data_provider |
198 |
produces: |
198 |
produces: |
199 |
- application/json |
199 |
- application/json |
Lines 245-251
Link Here
|
245 |
x-mojo-to: ERM::EUsage::UsageDataProviders#update |
245 |
x-mojo-to: ERM::EUsage::UsageDataProviders#update |
246 |
operationId: updateERMUsageDataProviders |
246 |
operationId: updateERMUsageDataProviders |
247 |
tags: |
247 |
tags: |
248 |
- usage_data_provider |
248 |
- erm_usage_data_providers |
249 |
summary: update usage_data_provider |
249 |
summary: update usage_data_provider |
250 |
consumes: |
250 |
consumes: |
251 |
- application/json |
251 |
- application/json |
Lines 310-316
Link Here
|
310 |
x-mojo-to: ERM::EUsage::UsageDataProviders#delete |
310 |
x-mojo-to: ERM::EUsage::UsageDataProviders#delete |
311 |
operationId: deleteERMUsageDataProviders |
311 |
operationId: deleteERMUsageDataProviders |
312 |
tags: |
312 |
tags: |
313 |
- usage_data_provider |
313 |
- erm_usage_data_providers |
314 |
summary: Delete usage_data_provider |
314 |
summary: Delete usage_data_provider |
315 |
produces: |
315 |
produces: |
316 |
- application/json |
316 |
- application/json |
Lines 357-363
Link Here
|
357 |
x-mojo-to: ERM::EUsage::UsageDataProviders#process_SUSHI_response |
357 |
x-mojo-to: ERM::EUsage::UsageDataProviders#process_SUSHI_response |
358 |
operationId: processSUSHICounterUsageDataProviderHarvester |
358 |
operationId: processSUSHICounterUsageDataProviderHarvester |
359 |
tags: |
359 |
tags: |
360 |
- usage data provider harvester |
360 |
- erm_usage_data_providers |
361 |
summary: Process SUSHI COUNTER for this data provider's harvester |
361 |
summary: Process SUSHI COUNTER for this data provider's harvester |
362 |
produces: |
362 |
produces: |
363 |
- application/json |
363 |
- application/json |
Lines 411-417
Link Here
|
411 |
x-mojo-to: ERM::EUsage::UsageDataProviders#process_COUNTER_file |
411 |
x-mojo-to: ERM::EUsage::UsageDataProviders#process_COUNTER_file |
412 |
operationId: processCOUNTERFileUsageDataProviderHarvester |
412 |
operationId: processCOUNTERFileUsageDataProviderHarvester |
413 |
tags: |
413 |
tags: |
414 |
- usage data provider harvester |
414 |
- erm_usage_data_providers |
415 |
summary: Process COUNTER file upload for this data provider's harvester |
415 |
summary: Process COUNTER file upload for this data provider's harvester |
416 |
produces: |
416 |
produces: |
417 |
- application/json |
417 |
- application/json |
Lines 459-465
Link Here
|
459 |
x-mojo-to: ERM::EUsage::UsageDataProviders#test_connection |
459 |
x-mojo-to: ERM::EUsage::UsageDataProviders#test_connection |
460 |
operationId: testUsageDataProviderHarvester |
460 |
operationId: testUsageDataProviderHarvester |
461 |
tags: |
461 |
tags: |
462 |
- usage data provider harvester |
462 |
- erm_usage_data_providers |
463 |
summary: Test this data provider's harvester |
463 |
summary: Test this data provider's harvester |
464 |
produces: |
464 |
produces: |
465 |
- application/json |
465 |
- application/json |
Lines 489-548
Link Here
|
489 |
description: Under maintenance |
489 |
description: Under maintenance |
490 |
schema: |
490 |
schema: |
491 |
$ref: "../swagger.yaml#/definitions/error" |
491 |
$ref: "../swagger.yaml#/definitions/error" |
492 |
x-koha-authorization: |
|
|
493 |
permissions: |
494 |
erm: 1 |
495 |
"/erm/usage_data_providers/report": |
496 |
get: |
497 |
x-mojo-to: ERM::EUsage::UsageDataProviders#providers_report |
498 |
operationId: reportUsageDataProvider |
499 |
tags: |
500 |
- usage data provider report |
501 |
summary: Run a report for this data provider |
502 |
produces: |
503 |
- application/json |
504 |
parameters: |
505 |
- $ref: "../swagger.yaml#/parameters/match" |
506 |
- $ref: "../swagger.yaml#/parameters/order_by" |
507 |
- $ref: "../swagger.yaml#/parameters/page" |
508 |
- $ref: "../swagger.yaml#/parameters/per_page" |
509 |
- $ref: "../swagger.yaml#/parameters/q_param" |
510 |
- $ref: "../swagger.yaml#/parameters/q_body" |
511 |
- $ref: "../swagger.yaml#/parameters/q_header" |
512 |
- name: x-koha-embed |
513 |
in: header |
514 |
required: false |
515 |
description: Embed list sent as a request header |
516 |
type: array |
517 |
items: |
518 |
type: string |
519 |
enum: |
520 |
- counter_files |
521 |
- erm_usage_titles.erm_usage_muses |
522 |
responses: |
523 |
200: |
524 |
description: Successful report run |
525 |
schema: |
526 |
items: |
527 |
$ref: "../swagger.yaml#/definitions/erm_usage_data_provider" |
528 |
400: |
529 |
description: Bad request |
530 |
schema: |
531 |
$ref: "../swagger.yaml#/definitions/error" |
532 |
403: |
533 |
description: Access forbidden |
534 |
schema: |
535 |
$ref: "../swagger.yaml#/definitions/error" |
536 |
500: |
537 |
description: |- |
538 |
Internal server error. Possible `error_code` attribute values: |
539 |
* `internal_server_error` |
540 |
schema: |
541 |
$ref: "../swagger.yaml#/definitions/error" |
542 |
503: |
543 |
description: Under maintenance |
544 |
schema: |
545 |
$ref: "../swagger.yaml#/definitions/error" |
546 |
x-koha-authorization: |
492 |
x-koha-authorization: |
547 |
permissions: |
493 |
permissions: |
548 |
erm: 1 |
494 |
erm: 1 |