List form comment threads

List a form's comment threads

Lists the form's threads the user can see, newest activity first, without their comments. The list is paged: when there are more threads than the page holds, the result carries a cursor to pass with the next request. Threads on records or fields the user may not see are left out.

Request

GET https://www.activityinfo.org/resources/form/{formId}/comments

Successful response

application/json

object
threads array[object] The page's threads, newest activity first. required
cursor string Passed back as the `cursor` parameter to fetch the next page. Absent on the last page. optional

Error responses

Status Code Error Code Description
400 INVALID_MENTION A mentioned user is not a user of the database or cannot see the record.
400 INVALID_REQUEST The request is malformed: an id is missing or invalid, or the text is empty.
401 AUTHENTICATION_REQUIRED The request must be authenticated
403 FORBIDDEN The user may see the thread but lacks the permission for this operation.
404 NOT_FOUND The form, record, thread or comment does not exist, or the user may not see it.
409 THREAD_ALREADY_OPEN The target already has an open thread; it must be resolved before another is started.
409 THREAD_NOT_RESOLVED The thread is not resolved, so it cannot be reopened.
409 THREAD_RESOLVED The thread is resolved; it can be read and reopened, but not replied to.

Example

curl -u anything:YOUR_API_TOKEN \
  https://www.activityinfo.org/resources/form/ck8pu9ha07/comments
Next item
List mention candidates