Retrieve all visible albums of a hub.
- Added: May 28, 2009
- Paginated
params
- hubid --- A single hubid.
sort
Sorted most recent addition. The item with the most recent addition is returned first.extra
This function may return more information if you supply a valid access token to oauth_token.
For more information on oAuth, see http://www.hyves-developers.nl/documentation/data-api/hyves-api-oauth/.
Note that retrieving something by id always succeeds (as long as the id is valid), even if the visibility settings of the object do not allow viewing it. If some user is not allowed to view something, he/she will not get the id from another call.examples
example 1
urlhttps://data.hyves-api.nl/?hubid=00c84cdcb460087b804059d244cb79df31&ha_method=albums.getByHub&ha_resultsperpage=2&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&ha_version=2.0&oauth_signature_method=PLAINTEXT
result- <?xml version="1.0" encoding="UTF-8"?>
- <albums_getByHub_result>
- <album>
- <albumid>006e6364b1353126f0eb62e03517f067d7</albumid>
- <title>Algemeen album</title>
- <mediacount>11</mediacount>
- <hubid>00c84cdcb460087b804059d244cb79df31</hubid>
- <url>http://hyves20games.hyves.nl/album/56179018/Hyves_Games/0Mmoi0cg/</url>
- <visibility>hub</visibility>
- <printability>hub</printability>
- <lastupdate>1310748768</lastupdate>
- </album>
- <info>
- <totalresults>1</totalresults>
- <totalpages>1</totalpages>
- <resultsperpage>2</resultsperpage>
- <currentpage>1</currentpage>
- <secure_connection>true</secure_connection>
- <running_milliseconds>18</running_milliseconds>
- <serverinfo>web1163_stable_93882_HPHP</serverinfo>
- </info>
- </albums_getByHub_result>
returnvalues
- album,
- albumid,
- currentpage,
- hubid,
- info,
- lastupdate,
- mediacount,
- printability,
- resultsperpage,
- running_milliseconds,
- secure_connection,
- serverinfo,
- title,
- totalpages,
- totalresults,
- url,
- visibility