Skip to content

Absences: offset parameter does not match documentation #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
9 changes: 5 additions & 4 deletions personio-personnel-data-api-oa3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1388,19 +1388,20 @@ paths:
- name: limit
in: query
required: false
description: Pagination attribute to limit how many attendances is returning per page
description: Pagination attribute to limit how many absences to return per page. Maximum is 200.
schema:
type: integer
minimum: 1
maximum: 200
default: 200
- name: offset
in: query
required: false
description: Pagination attribute to identify which page you are requesting, by the form of telling an offset from the first record that would be returned.
description: Pagination attribute to identify which page to request from the chunks indicated by `limit`. The value `0` is interpreted as page `1`. You cannot pass a value larger than the available amount of pages, as returned by the `total_pages` meta data in the response.
Copy link
Contributor

Choose a reason for hiding this comment

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

Page 1 is also interpreted as page 1 right? Maybe we need to add that to make it more clear and explicit?

schema:
type: integer
minimum: 0
default: 0
minimum: 1
default: 1
responses:
"200":
description: ""
Expand Down