-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfolio-set-filtering-conditions.raml
45 lines (40 loc) · 1.48 KB
/
folio-set-filtering-conditions.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: OAI-PMH API
baseUri: https://github.com/folio-org/mod-oai-pmh
version: v3.1
protocols: [ HTTP, HTTPS ]
documentation:
- title: Set API
content: API for retirieving filtering condition values
types:
filteringCondition: !include schemas/dto/filteringCondition.json
filteringConditionValueCollection: !include schemas/dto/filteringConditionValueCollection.json
errors: !include raml-util/schemas/errors.schema
traits:
validate: !include raml-util/traits/validation.raml
pageable: !include raml-util/traits/pageable.raml
resourceTypes:
collection: !include raml-util/rtypes/collection.raml
collection-item: !include raml-util/rtypes/item-collection.raml
/oai-pmh/filtering-conditions:
displayName: Filtering conditions
description: "Retrieve values for next filtering condition types: location, illpolicy, material-type, resource-type, instance-formats."
get:
responses:
200:
body:
application/json:
type: filteringConditionValueCollection
example:
strict: false
value: !include examples/filtering_condition_value_collection.sample
401:
description: "Not authorized to perform requested action"
body:
text/plain:
example: "Unable to get filtering condition values. Unauthorized"
500:
description: "Internal server error, e.g. due to misconfiguration"
body:
text/plain:
example: "Internal server error, contact administrator"