Skip to content

Commit 446ff0d

Browse files
Updated application.raml to include explicit root
1 parent 0b4d836 commit 446ff0d

File tree

1 file changed

+25
-25
lines changed

1 file changed

+25
-25
lines changed

resources/public/api/conf/1.0/application.raml

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,31 @@ types:
3232
pattern: "[a-zA-Z0-9]{3}/[a-zA-Z0-9]{7}"
3333

3434
/epaye:
35-
get:
36-
is: [ headers.acceptHeader ]
37-
displayName: Get access to ePAYE data
38-
description: This resource is the entry point to the ePAYE API. It will return a set of URLs for each account you have access to, allowing you to access ePAYE data. This will include the employer's ePAYE balance, monthly totals of RTI charges, non-RTI charges and a breakdown of individual charges.
39-
(annotations.scope): "read:epaye"
40-
securedBy: [ sec.oauth_2_0: { scopes: [ "read:epaye" ] } ]
41-
responses:
42-
200:
43-
body:
44-
application/json:
45-
type: !include schemas/Epaye.get.schema.array.json
46-
example: !include examples/Epaye.get.array.json
47-
401:
48-
body:
49-
application/json:
50-
type: !include schemas/ErrorCodes.schema.json
51-
examples:
52-
notOpenStatus:
53-
description: You don't have currently an ePAYE enrolment on this account.
54-
value: |
55-
{
56-
"code" : "INSUFFICIENT_ENROLMENTS",
57-
"message" : "You are not currently enrolled for ePAYE"
58-
}
59-
35+
/:
36+
get:
37+
is: [ headers.acceptHeader ]
38+
displayName: Get access to ePAYE data
39+
description: This resource is the entry point to the ePAYE API. It will return a set of URLs for each account you have access to, allowing you to access ePAYE data. This will include the employer's ePAYE balance, monthly totals of RTI charges, non-RTI charges and a breakdown of individual charges.
40+
(annotations.scope): "read:epaye"
41+
securedBy: [ sec.oauth_2_0: { scopes: [ "read:epaye" ] } ]
42+
responses:
43+
200:
44+
body:
45+
application/json:
46+
type: !include schemas/Epaye.get.schema.array.json
47+
example: !include examples/Epaye.get.array.json
48+
401:
49+
body:
50+
application/json:
51+
type: !include schemas/ErrorCodes.schema.json
52+
examples:
53+
notOpenStatus:
54+
description: You don't have currently an ePAYE enrolment on this account.
55+
value: |
56+
{
57+
"code" : "INSUFFICIENT_ENROLMENTS",
58+
"message" : "You are not currently enrolled for ePAYE"
59+
}
6060
/{empRef}/total:
6161
uriParameters:
6262
empRef:

0 commit comments

Comments
 (0)