forked from VlachJosef/eeitt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheeitt.raml
50 lines (44 loc) · 1.05 KB
/
eeitt.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
48
49
50
#%RAML 1.0
title: Eeitt
version: 1
baseUri: /eeitt
types:
CacheId:
usage: An Id of the owner of data, such as a Government Gateway GID or CID
type: string
example: A-B-C
FormId:
usage: An Id of a type of data stored
type: string
example: AboutYou
/prepopulation:
description: |
Store and retrieve prepopulation data for tax forms, eeitt or dfs,
initially a common About You page
/{cacheId}:
description: |
Prepopulation data stored for a specific owner, possibly not
retained beyond 28 days
uriParameters:
cacheId: CacheId
delete:
description: |
For non-production environments only, intended to facilitate testing
responses:
204:
400:
/{formId}:
description: A piece of prepopulation data, any valid JSON
uriParameters:
formId: FormId
put:
body:
application/json:
responses:
200:
get:
responses:
200:
body:
application/json:
204: