APIMethods/1.2.1/wwws.getComments

TracNav

wwws.getComments

Retrieves the comments for a wwwid.

params

  • target_wwwid --- A single wwwid.
    • Required
  • sortorder --- Sortorder of the result.
    • Optional
    • Default: desc
    • Possible values:
      • asc --- Ascending sorted.
      • desc --- Descending sorted.

sort

Sorted by age. The most recently created items are returned first.

extra

examples

example 1

url

http://data.hyves-api.nl/?target_wwwid=a5c6d31a88741e7a&ha_method=wwws.getComments&ha_resultsperpage=2&oauth_consumer_key=Nl-SK2c5ZCBKB_I8hCF_zjPd&oauth_timestamp=1282117800&oauth_nonce=363290_725&ha_version=1.2.1&oauth_signature_method=HMAC-SHA1&ha_format=xml&ha_fancylayout=false&oauth_signature=zE1vgdM91Gr5Ox6uxSvMXam7X9c%3D

result

<?xml version="1.0" encoding="UTF-8"?>
<wwws_getComments_result>
        <info>
                <timestamp_difference>0</timestamp_difference>
                <totalresults>0</totalresults>
                <totalpages>1</totalpages>
                <resultsperpage>2</resultsperpage>
                <currentpage>1</currentpage>
                <running_milliseconds>105</running_milliseconds>
                <secure_connection>false</secure_connection>
        </info>
</wwws_getComments_result>

returnvalues

<a href='http://hyves-developers.nl/returnvalues#currentpage'>currentpage</a>, <a href='http://hyves-developers.nl/returnvalues#info'>info</a>, <a href='http://hyves-developers.nl/returnvalues#resultsperpage'>resultsperpage</a>, <a href='http://hyves-developers.nl/returnvalues#running_milliseconds'>running_milliseconds</a>, <a href='http://hyves-developers.nl/returnvalues#secure_connection'>secure_connection</a>, <a href='http://hyves-developers.nl/returnvalues#timestamp_difference'>timestamp_difference</a>, <a href='http://hyves-developers.nl/returnvalues#totalpages'>totalpages</a>, <a href='http://hyves-developers.nl/returnvalues#totalresults'>totalresults</a>