/
isils.raml
45 lines (40 loc) · 1.22 KB
/
isils.raml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#%RAML 1.0
title: Isils
version: v1.0.1
baseUri: http://github.com/org/folio/mod-finc-config
documentation:
- title: mod-finc-config Isils API
content: This documents the API calls that can be made to query and manage isils of the system
types:
isil: !include schemas/isil.json
isils: !include schemas/isils.json
errors: !include raml-util/schemas/errors.schema
traits:
pageable: !include raml-util/traits/pageable.raml
searchable: !include raml-util/traits/searchable.raml
language: !include raml-util/traits/language.raml
validate: !include raml-util/traits/validation.raml
resourceTypes:
collection: !include raml-util/rtypes/collection.raml
collection-item: !include raml-util/rtypes/item-collection.raml
/finc-config/isils:
type:
collection:
exampleCollection: !include examples/isil_collection.sample
exampleItem: !include examples/isil1.sample
schemaCollection: isils
schemaItem: isil
get:
is: [
searchable: {description: "", example: ""},
pageable
]
description: Return a list of isisls
post:
is: [validate]
description: Create an isil
/{id}:
type:
collection-item:
exampleItem: !include examples/isil1.sample
schema: isil