-
Notifications
You must be signed in to change notification settings - Fork 0
/
eeitt.raml
59 lines (51 loc) · 1.22 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
51
52
53
54
55
56
57
58
59
#%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
/{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:
/test-only:
description: |
Ability to delete prepopulation data, for non-production environments
only, intended to facilitate testing
/{cacheId}:
uriParameters:
cacheId: CacheId
delete:
description: |
Delete whole cacheId
responses:
204:
400: