API / Methods / wizehive.notes.getList

wizehive.notes.getList

Gets a list of notes.

Authentication

This method requires authentication.

Arguments

api_key
(Required)
Your API application key. See here for more details.
ws_id
(Optional)
Id of the workspace you want the list of notes for.
pg_id
(Optional)
Id of the page you want the list of notes for.
page
(Optional)
Page number of list.
per_page
(Optional)
Notes per page (default 30).

Example Response

<notes>
  <note id="9" created="2008-12-05 10:58:18" createdBy="mcarlson" workspace="Website" workspace_id="3" page="Programming" page_id="7" parent_id="3" numComments="0">
    I'd prefer to use git.
    <comments/>
    <files/>
  </note>
  <note id="2" created="2008-12-05 00:06:43" createdBy="mcarlson" workspace="Home" workspace_id="2" page="Finance" page_id="5" parent_id="0" numComments="0">
    opened a Schwab credit card which gives 2% cash back on all purchases
    <comments/>
    <files/>
  </note>
  <note id="3" created="2008-12-03 12:50:26" createdBy="dsmith" workspace="Website" workspace_id="3" page="Programming" page_id="7" parent_id="0" numComments="1">
    If no one has a problem with it, I will set up subversion for version control.  Here are some screenshots of the rollout plan.
    <comments>
      <comment id="9" created="2008-12-05 10:58:18" createdBy="mcarlson" workspace="Website" workspace_id="3" page="Programming" page_id="7">I'd prefer to use git.</comment>
    </comments>
    <files>
      <file name="Image1.png" path="http://s3.amazonaws.com/wizehive-imgs/big-823343401656351b831de0677776989b.png"/>
      <file name="Image2.jpg" path="http://s3.amazonaws.com/wizehive-imgs/big-349d5934343489c9d8a49f4e16e98353.jpg"/>
      <file name="Image3.jpg" path="http://s3.amazonaws.com/wizehive-imgs/big-44435568e9ee8bc09765d05d1f539277.jpg"/>
    </files>
  </note>
  <note id="12" created="2008-12-03 12:50:01" createdBy="mcarlson" workspace="Home" workspace_id="2" page="Car" page_id="4" parent_id="0" numComments="0">
    new task: "get oil changed in 8 weeks"
    <comments/>
    <files/>
  </note>
</notes>

Error Codes

98: Login failed / Invalid auth token

The login details or auth token passed were invalid.
100: Invalid API Key

The API key passed was not valid or has expired.
112: Method "xxx" not found

The requested method was not found.