Comment Threads

Introduction

Comment threads contain remarks left by other users on an activity.

Comment Threads

Content-Type
application/vnd.com.runkeeper.CommentThread+json
Field Type Description
uri String The URI for this thread N
userID Integer The unique ID for the user that completed the commented-on activity N
comments Comment[] The comments

Array Structures

comments

Field Type Description
timestamp String The time at which the comment was posted (e.g., Sat, 1 Jan 2011 00:00:00)
userID Integer The unique ID for the user that left the comment
name String The display name of the user that left the comment
comment String The comment

Posting Comments

When posting new comments, use the following structure:

Content-Type
application/vnd.com.runkeeper.Comment+json
Field Type Description
comment String The comment

Supported Operations

Retrieving a Comment Thread

To retrieve a comment thread GET its URI.

Retrieving Headers for a Comment Thread

Header information for a comment thread can be retrieved by making a HEAD request to its URI.

Posting a Comment

To post a comment, POST its fields to the URI of the thread.