Skip to content

Commit 273914a

Browse files
Update sort details for Files endpoint
1 parent 80c93eb commit 273914a

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

xero_files.yaml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,20 @@ paths:
4545
description: values to sort by
4646
schema:
4747
type: string
48-
enum:
49-
- Name
50-
- Size
51-
- CreatedDateUTC
52-
example: "CreatedDateUTC DESC"
48+
enum:
49+
- Name
50+
- Size
51+
- CreatedDateUTC
52+
example: CreatedDateUTC
53+
- in: query
54+
name: direction
55+
description: sort direction
56+
schema:
57+
type: string
58+
enum:
59+
- ASC
60+
- DESC
61+
example: ASC
5362
responses:
5463
'200':
5564
description: search results matching criteria

0 commit comments

Comments
 (0)