-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathfund-update-log.raml
More file actions
58 lines (52 loc) · 1.93 KB
/
fund-update-log.raml
File metadata and controls
58 lines (52 loc) · 1.93 KB
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
48
49
50
51
52
53
54
55
56
57
58
#%RAML 1.0
title: Finance - fund update logs
version: v1
protocols: [ HTTP, HTTPS ]
baseUri: https://github.com/folio-org/mod-finance
documentation:
- title: Fund update logs APIs
content: This documents the API calls that can be made to manage fund update logs
types:
errors: !include raml-util/schemas/errors.schema
jobNumber: !include acq-models/mod-finance/schemas/job_number.json
fund-update-log: !include acq-models/mod-finance/schemas/fund_update_log.json
fund-update-log-collection: !include acq-models/mod-finance/schemas/fund_update_log_collection.json
example-fund-update-log: !include acq-models/mod-finance/examples/fund_update_log.sample
example-fund-update-log-collection: !include acq-models/mod-finance/examples/fund_update_log_collection.sample
UUID:
type: string
pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$
traits:
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
/finance/fund-update-logs:
displayName: Fund update logs APIs
description: Fund update logs
type:
collection:
schemaItem: fund-update-log
schemaCollection: fund-update-log-collection
exampleItem: example-fund-update-log
exampleCollection: example-fund-update-log-collection
post:
is: [validate]
get:
is: [
searchable: {description: "with valid searchable fields: for example jobName", example: "[\"jobName\", \"fund update\", \"=\"]"},
pageable
]
/{id}:
uriParameters:
id:
description: The UUID of a fund update log
type: UUID
type:
collection-item:
schema: fund-update-log
exampleItem: example-fund-update-log
put:
is: [validate]