-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedge-oai-pmh.raml
39 lines (39 loc) · 1004 Bytes
/
edge-oai-pmh.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
#%RAML 1.0
title: 'Edge API - OAI-PMH'
baseUri: 'https://github.com/folio-org/edge-oai-pmh'
version: v1
documentation:
-
title: 'Edge API - OAI-PMH'
content: 'Edge API to interface with FOLIO for 3rd party harvesters to harvest metadta via OAI-PMH'
types:
OAI-PMH: !include schemas/OAI-PMH.xsd
traits:
resps: !include traits/resps.raml
params: !include traits/params.raml
apiKeyParam: !include traits/apiKeyParam.raml
/oai:
displayName: OAI-PMH
get:
description: 'Run OAI-PMH request'
is: [params, apiKeyParam, resps]
post:
description: 'Run OAI-PMH request'
is: [params, apiKeyParam, resps]
/{apiKeyPath}:
displayName: OAI-PMH
get:
description: 'Run OAI-PMH request'
is: [params, resps]
post:
description: 'Run OAI-PMH request'
is: [params, resps]
/admin/health:
displayName: 'Health Check'
get:
description: 'Health Check'
responses:
'200':
description: Success
body:
text/plain: