-
Notifications
You must be signed in to change notification settings - Fork 16
/
inventory-config.raml
47 lines (44 loc) · 1.45 KB
/
inventory-config.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
46
47
#%RAML 1.0
title: Inventory API
version: v0.1
protocols: [ HTTP, HTTPS ]
baseUri: http://localhost
documentation:
- title: "Inventory configuration API"
content: <b>API for interacting with configuration for Instances, Items, Holdings</b>
types:
errors: !include raml-util/schemas/errors.schema
blocked-fields: !include blocked-fields.json
/inventory/config:
/instances:
/blocked-fields:
get:
description: "Provides configuration with blocked fields of instance"
responses:
200:
description: "Array of blocked fields of instance"
body:
application/json:
example: !include examples/blocked_fields_get.json
type: blocked-fields
500:
description: "Internal server error"
body:
text/plain:
example: "Internal server error, contact administrator"
/holdings:
/blocked-fields:
get:
description: "Provides configuration with blocked fields of holdings"
responses:
200:
description: "Array of blocked fields of holdings"
body:
application/json:
example: !include examples/blocked_fields_get.json
type: blocked-fields
500:
description: "Internal server error"
body:
text/plain:
example: "Internal server error, contact administrator"