Skip to content

Commit 0c6e57a

Browse files
Merge pull request #572 from rob-wigmore/master
[APIB-4282] OpenAPI spec has paging info for Associations/objectid
2 parents 85c0d8e + d5b92eb commit 0c6e57a

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

xero_files.yaml

+32
Original file line numberDiff line numberDiff line change
@@ -506,6 +506,38 @@ paths:
506506
type: string
507507
format: uuid
508508
example: 4ff1e5cc-9835-40d5-bb18-09fdb118db9c
509+
- in: query
510+
name: pagesize
511+
description: pass an optional page size value
512+
schema:
513+
type: integer
514+
maximum: 100
515+
example: 50
516+
- in: query
517+
name: page
518+
description: number of records to skip for pagination
519+
schema:
520+
type: integer
521+
minimum: 1
522+
example: 2
523+
- in: query
524+
name: sort
525+
description: values to sort by
526+
schema:
527+
type: string
528+
enum:
529+
- Name
530+
- CreatedDateUTC
531+
example: "Associations/{ObjectId}?sort=CreatedDateUtc"
532+
- in: query
533+
name: direction
534+
description: direction to sort by
535+
schema:
536+
type: string
537+
enum:
538+
- ASC
539+
- DESC
540+
example: "Associations/{ObjectId}?sort=CreatedDateUtc&direction=DESC"
509541
responses:
510542
'200':
511543
description: search results matching criteria

0 commit comments

Comments
 (0)