Skip to content

Commit

Permalink
Merge pull request #32 from alexagranov/v0.1.1
Browse files Browse the repository at this point in the history
updating for v0.1.1 of API
  • Loading branch information
alexagranov authored May 26, 2017
2 parents b5518dc + 921890d commit 6397f34
Show file tree
Hide file tree
Showing 6 changed files with 173 additions and 144 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Change Log
All notable changes to this project will be documented in this file.

## [0.1.1] - 2017-05-25 ##
### Changed
- [#32](https://github.com/gonebusy/gonebusy-php-client/pull/32) - POST /bookings/new :user_id is now a required parameter.

### Added
- [#32](https://github.com/gonebusy/gonebusy-php-client/pull/32) - GET /bookings now supports optional :booker_id parameter to filter retrieved bookings to those made on behalf of :booker_id.

## [0.1.0] - 2017-05-09 ##
### NOTE - This version introduces breaking changes and additions listed below.

### Changed
- [#31](https://github.com/gonebusy/gonebusy-php-client/pull/31) - CreateBookingBody `:date` attribute is now a DateTime rather than a String. - [@alexagranov](https://github.com/alexagranov)
- [#31](https://github.com/gonebusy/gonebusy-php-client/pull/31) - TimeWindow attribute `:negation` has been renamed to `:unavailable`. - [@alexagranov](https://github.com/alexagranov)

### Added
- [#31](https://github.com/gonebusy/gonebusy-php-client/pull/31) - POST /bookings/new now takes parameters supporting the creation of a recurring Booking. - [@alexagranov](https://github.com/alexagranov)
- [#31](https://github.com/gonebusy/gonebusy-php-client/pull/31) - PUT /bookings/:id now takes parameters supporting the modification of a recurring Booking or instance of such. - [@alexagranov](https://github.com/alexagranov)
- [#31](https://github.com/gonebusy/gonebusy-php-client/pull/31) - DELETE /bookings/:id now takes parameters supporting the cancellation of a recurring Booking or instance of such. - [@alexagranov](https://github.com/alexagranov)

## [0.0.11] - 2017-03-21 ##
### Added
- [#24](https://github.com/gonebusy/gonebusy-php-client/pull/24) - dd schedules array to ServiceResponse - [@alexagranov](https://github.com/alexagranov)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The MIT License (MIT)
http://opensource.org/licenses/MIT

Copyright (c) 2016 - Gonebusy Inc.
Copyright (c) 2016-2017 - Gonebusy Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ function getBookings(
| page | ``` Optional ``` ``` DefaultValue ``` | Page offset to fetch. |
| perPage | ``` Optional ``` ``` DefaultValue ``` | Number of results to return per page. |
| states | ``` Optional ``` | Comma-separated list of Booking states to retrieve only Bookings in those states. Leave blank to retrieve all Bookings. |
| userId | ``` Optional ``` | Retrieve Bookings owned only by this User Id. You must be authorized to manage this User Id. |
| userId | ``` Optional ``` | Retrieve Bookings for Resources/Services owned by this User Id. You must be authorized to manage this User Id. |
| bookerId | ``` Optional ``` | Retrieve Bookings made by Booker Id. |



Expand Down
Loading

0 comments on commit 6397f34

Please sign in to comment.