Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions xero_accounting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1338,6 +1338,7 @@ paths:
schema:
type: integer
- $ref: '#/components/parameters/unitdp'
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type BankTransactions array with 0 to n BankTransaction
Expand Down Expand Up @@ -3737,6 +3738,7 @@ paths:
example: "Joe Bloggs"
schema:
type: string
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type Contacts array with 0 to N Contact
Expand Down Expand Up @@ -5573,6 +5575,7 @@ paths:
schema:
type: integer
- $ref: '#/components/parameters/unitdp'
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type Credit Notes array of CreditNote
Expand Down Expand Up @@ -8233,6 +8236,7 @@ paths:
type: boolean
- $ref: '#/components/parameters/unitdp'
- $ref: '#/components/parameters/summaryOnly'
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type Invoices array with all Invoices
Expand Down Expand Up @@ -10975,6 +10979,7 @@ paths:
example: 1
schema:
type: integer
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type ManualJournals array with a all ManualJournals
Expand Down Expand Up @@ -12775,6 +12780,7 @@ paths:
example: 1
schema:
type: integer
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type Payments array for all Payments
Expand Down Expand Up @@ -14243,6 +14249,7 @@ paths:
example: 1
schema:
type: integer
- $ref: '#/components/parameters/pageSize'
responses:
'200':
description: Success - return response of type PurchaseOrder array of all PurchaseOrder
Expand Down Expand Up @@ -23393,6 +23400,13 @@ components:
schema:
type: string
format: date
pageSize:
in: query
name: pageSize
description: Number of records to retrieve per page
Copy link
Contributor Author

@ronnel-santiago-xero ronnel-santiago-xero Jun 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This x-snake, what is the relevance of it?
Or I simply omit?

Note that the purpose of this PR is to add the pagesize query parameter to api-explorer.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've removed that x-snake.

example: 100
schema:
type: integer
AccountID:
required: true
in: path
Expand Down