-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathperiodic.raml
36 lines (31 loc) · 1.05 KB
/
periodic.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
#%RAML 1.0
title: mod-erm-usage-harvester periodic API
version: v1
baseUri: http://localhost/erm-usage-harvester/periodic
documentation:
- title: mod-erm-usage-harvester periodic API
content: This documents the API calls that can be made to mod-erm-usage-harvester periodic API
types:
periodicConfig: !include schemas/periodicConfig.json
errors: !include raml-util/schemas/errors.schema
traits:
orderable: !include ./raml-util/traits/orderable.raml
pageable: !include ./raml-util/traits/pageable.raml
searchable: !include ./raml-util/traits/searchable.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
/erm-usage-harvester/periodic:
description: Manage periodic harvesting configuration
get:
responses:
200:
body:
application/json:
type: periodicConfig
post:
body:
application/json:
type: periodicConfig
delete: