Lists journal entries aggregated across all users in the account. By default, only the first 100 entries will be returned, but you can specify a smaller window size via the "count" query parameter, and you can select a different page of entries via the "n" query parameter. Both "count" and "n" are optional; "count" defaults to 100 (which is also the maximum size), and "n" defaults to 0 (the first page).
Status: 200 OK
<journal-entries type="array">
<journal-entry>
<body>...</body>
<created-at type="datetime">...</created-at>
<id type="integer">...</id>
<updated-at type="datetime">...</updated-at>
<user>
<id type="integer">...</id>
<name>...</name>
</user>
</journal-entry>
...
</journal-entries>
Lists journal entries for a specific user. By default, only the first 100 entries will be returned, but you can specify a smaller window size via the "count" query parameter, and you can select a different page of entries via the "n" query parameter. Both "count" and "n" are optional; "count" defaults to 100 (which is also the maximum size), and "n" defaults to 0 (the first page).
Status: 200 OK
<journal-entries type="array">
<journal-entry>
<body>...</body>
<created-at type="datetime">...</created-at>
<id type="integer">...</id>
<updated-at type="datetime">...</updated-at>
<user>
<id type="integer">...</id>
<name>...</name>
</user>
</journal-entry>
...
</journal-entries>
Retrieves a specific journal entry by ID. You may only fetch journal entries for your own account.
Status: 200 OK
<journal-entry>
<account-id type="integer">...</account-id>
<body>...</body>
<created-at type="datetime">...</created-at>
<id type="integer">...</id>
<updated-at type="datetime">...</updated-at>
<user-id type="integer">...</user-id>
</journal-entry>
Creates a new journal entry for the given user. You may only create journal entries for yourself; attempting to do so for a different user will result in a "403 Forbidden" response.
<journal-entry>
<body>...</body>
</journal-entry>
Status: 201 Created
Location: http://.../journal-entries/#{id}
Updates the contents of an existing journal entry. You may only update your own journal entries; attempting to do so for a different user will result in a "403 Forbidden" response.
<journal-entry>
<body>...</body>
</journal-entry>
Status: 200 OK
<journal-entry>
<account-id type="integer">...</account-id>
<body>...</body>
<created-at type="datetime">...</created-at>
<id type="integer">...</id>
<updated-at type="datetime">...</updated-at>
<user-id type="integer">...</user-id>
</journal-entry>
Deletes a single journal entry. You may only delete your own journal entries; attempting to delete someone else's journal entries will result in a "403 Forbidden" response.
Status: 200 OK