Skip to content
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

Provide meta data for list requests #1

Open
arueckauer opened this issue Dec 11, 2018 · 0 comments
Open

Provide meta data for list requests #1

arueckauer opened this issue Dec 11, 2018 · 0 comments
Labels
change Something needs to be addressed differently priority-high This issue is urgent

Comments

@arueckauer
Copy link
Owner

List responses contain meta data information (per_page, total_pages, total_entries and so forth) which are currently not accessible, since a collection object with no further information is returned.

See for example List all users.

{
 // [..]
 "per_page":100,
  "total_pages":1,
  "total_entries":3,
  "next_page":null,
  "previous_page":null,
  "page":1,
  "links":{
    "first":"https://api.harvestapp.com/v2/users?page=1&per_page=100",
    "next":null,
    "previous":null,
    "last":"https://api.harvestapp.com/v2/users?page=1&per_page=100"
  }
}
@arueckauer arueckauer added change Something needs to be addressed differently priority-high This issue is urgent labels Dec 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Something needs to be addressed differently priority-high This issue is urgent
Projects
None yet
Development

No branches or pull requests

1 participant