Skip to content

Releases: vhx/vhx-php

v1.11.0

16 Feb 23:09
Compare
Choose a tag to compare

Adds header support. Headers can be passed as an array via the last param (either the second or third param depending on the method).

Example:

$customer = \VHX\Customers::create(array(
  'name' => 'First Last',
  'email' => 'customer@email.com',
  'product' => 'https://api.vhx.tv/products/1'
), array(
  'VHX-Client-IP' => '0.0.0.0'
));

v1.10.0

01 Feb 16:51
Compare
Choose a tag to compare

To allow for greater flexibility with request data we now send data using a content type of JSON with PUT and POST requests as opposed to POST fields. This makes sending objects like the new metadata property for collections and videos easier to deal with.

v1.9.0

20 Dec 23:01
Compare
Choose a tag to compare

Ensures PHP 7.0 compatibility

v1.8.0

02 Dec 19:48
Compare
Choose a tag to compare

Adds an interface for our browse endpoint, where api users can retrieve browse items for a given product.

Example request:

# list browse items
\VHX\Browse::all(array(
  'product' => $product
));

v1.7.0

29 Nov 16:19
Compare
Choose a tag to compare

Adds watching resource (an alias to customers/:id/watching) with the items method. Example request:

$watching = \VHX\Watching::items("https://api.vhx.tv/customers/1");

v1.6.1

21 Nov 19:13
Compare
Choose a tag to compare

Fix bug introduced in 1.6.0 that was causing collections/:id/items requests to return the wrong response.

v1.6.0

18 Nov 18:22
Compare
Choose a tag to compare

Adds an interface for our customers watchlist endpoint for retrieving, adding/removing items from customer's a watchlist.

v1.5.1

17 Oct 16:24
Compare
Choose a tag to compare

Collections > Items Bug fix
Allow passing of collection resource both as the first param or as part of a single params array with key collection.

1.5.0

19 Aug 16:39
Compare
Choose a tag to compare
  • Add analytics resources with report method

v1.4.1

22 Apr 20:00
Compare
Choose a tag to compare
  • Fix typos with handleCurlError method