Skip to content

Commit 0b1758d

Browse files
committed
Added Pager info in FAQ and Changelog
@see: #17 @todo: Try to also support v1 of the API.
1 parent f32ee65 commit 0b1758d

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
77
### Added:
88
- Endpoint to get a list of teams to which caller has access.
99
- Endpoint to get emails for authenticated user.
10+
- Basic pager in oorder to support response pagination. (_@see #17_)
1011

1112
### Changed:
1213
- Minimum required PHP version has been bumped to 5.4 from 5.3

docs/faq.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,12 @@ Starting with version 1.0 of this library, minimum PHP version will be bumped to
1515
### How can I commit to the repository using this library ?
1616
You can't, because Bitbucket offers only read-only access to a repository source through their API.
1717

18+
### How can I fetch all pages of a paginated response ?
19+
20+
Using `Response\Pager`.
21+
22+
_Example: Fetching all repositories from an account:_
23+
24+
{% include pagination.md var_name="repositories" class_ns="Repositories" %}
25+
1826
[1]: http://semver.org/

0 commit comments

Comments
 (0)