-
Notifications
You must be signed in to change notification settings - Fork 5
/
source-record-storage-test-records.raml
43 lines (38 loc) · 1.21 KB
/
source-record-storage-test-records.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
#%RAML 1.0
title: Source Record Storage Test Record API
version: v2.0
protocols: [ HTTP, HTTPS ]
baseUri: http://localhost
documentation:
- title: Source Record Storage Test Record API
content: API for managing test records
types:
testMarcRecordsCollection: !include raml-storage/schemas/mod-source-record-storage/testMarcRecordsCollection.json
errors: !include raml-storage/raml-util/schemas/errors.schema
traits:
validate: !include raml-storage/raml-util/traits/validation.raml
/source-storage/populate-test-marc-records:
post:
description: |
**Deprecated** A non-production endpoint to populate MARC records for testing purposes. Available only in case deployment tenant parameter "loadSample" is set to true
is: [validate]
body:
application/json:
type: testMarcRecordsCollection
responses:
204:
400:
description: "Bad request"
body:
text/plain:
example: "Bad request"
422:
description: "Unprocessable Entity"
body:
application/json:
type: errors
500:
description: "Internal server error"
body:
text/plain:
example: "Internal server error"