Tomas Cohen Arazi
07a12da11a
This patch introduces endpoints for managing record sources. This is done on top of Koha::RecordSource(s) following the current coding style. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/record_sources.t => SUCCESS: Tests pass! 3. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
16 lines
350 B
YAML
16 lines
350 B
YAML
---
|
|
type: object
|
|
properties:
|
|
record_source_id:
|
|
type: integer
|
|
description: Internally assigned record source identifier
|
|
readOnly: true
|
|
name:
|
|
description: Record source name
|
|
type: string
|
|
can_be_edited:
|
|
description: If records from this source can be edited
|
|
type: boolean
|
|
additionalProperties: false
|
|
required:
|
|
- name
|