Tomas Cohen Arazi
d6c67eddd3
This patch moves all the REST API spec pieces into YAML. To test: 1. Run: $ kshell k$ prove t/db_dependent/api/v1/* => SUCCESS: Tests pass 2. Apply this patch 3. Repeat 1 => SUCCESS: Tests still pass! 4. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
26 lines
667 B
YAML
26 lines
667 B
YAML
---
|
|
type: object
|
|
properties:
|
|
limit_id:
|
|
type: integer
|
|
description: Internal transfer limit identifier
|
|
to_library_id:
|
|
type: string
|
|
description: Internal library id for which library the item is going to
|
|
from_library_id:
|
|
type: string
|
|
description: Internal library id for which library the item is coming from
|
|
item_type:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Itemtype defining the type for this limi
|
|
collection_code:
|
|
type:
|
|
- string
|
|
- "null"
|
|
description: Authorized value for the collection code associated with this limit
|
|
additionalProperties: false
|
|
required:
|
|
- to_library_id
|
|
- from_library_id
|