Users

APIDescription
GET api/1/Users/GetAuthenticated

Returns details for the currently logged in user.

GET api/1/Users

Returns details for the currently logged in user.

CommentFlags

APIDescription
POST api/1/CommentFlags/Post

Posts a flag about a comment.

POST api/1/CommentFlags

Posts a flag about a comment.

Applications

APIDescription
GET api/1/Applications/Get

Returns a list of applications for the current application's user.

GET api/1/Applications/Get/{id}

Returns an application record identified by the supplied ID (application must belong to the current application's user).

GET api/1/Applications/GetCommentsSettings

Returns an object containing application-specific settings. Currently just the boolean AllowGuestPosting.

GET api/1/Applications/GetReviewsSettings

Returns an object containing application-specific settings. Currently just the boolean AllowGuestPosting.

GET api/1/Applications/{id}

Returns an application record identified by the supplied ID (application must belong to the current application's user).

ReviewFlags

APIDescription
POST api/1/ReviewFlags/Post

Sends a new Review flag.

POST api/1/ReviewFlags

Sends a new Review flag.

Comments

APIDescription
GET api/1/Comments/GetAllComments?SortOrder={SortOrder}&ResourceKey={ResourceKey}&UserToken={UserToken}

Gets all the comments for the application identified by the calling URL.

GET api/1/Comments/Get/{id}

Gets an individual comment (from the application identified by the calling URL) by ID.

POST api/1/Comments/Post

Posts a new comment to the application identified by the calling URL.

POST api/1/Comments/UserCanPost

Can the current user post to the application identified by the calling URL?

POST api/1/Comments/PostVote

Posts a vote on a comment.

POST api/1/Comments/DeleteComment

Deletes a user's comment based on the comment ID. The comment must belong to the current user.

GET api/1/Comments?SortOrder={SortOrder}&ResourceKey={ResourceKey}&UserToken={UserToken}

Gets all the comments for the application identified by the calling URL.

GET api/1/Comments/{id}

Gets an individual comment (from the application identified by the calling URL) by ID.

Reviews

APIDescription
GET api/1/Reviews/GetAverageRating?ResourceKey={ResourceKey}

Gets the average rating for a recource identifed by the supplied resource key. The resource must belong to the application identified by the calling URL.

GET api/1/Reviews/GetNumberOfRatings?ResourceKey={ResourceKey}

Gets the total number of ratings on a resource identifed by the supplied resource key. The resource must belong to the application identified by the calling URL.

GET api/1/Reviews/GetAllReviews?SortOrder={SortOrder}&ResourceKey={ResourceKey}&UserToken={UserToken}

Gets al the reviews for the resource identifed by the supplied resource key. The resource must belong to the application identified by the calling URL.

POST api/1/Reviews/Post

Posts a new review to the resource identified in the ReviewPostDTO object. The resource must belong to the application identified by the calling URL.

POST api/1/Reviews/PostVote

Posts a new vote on a review identified in the ReviewPostVoteDTO object. The review / vote must belong to the application identified by the calling URL.

POST api/1/Reviews/DeleteReview

Deletes a review identified by the ID in the ReviewsDeleteDTO object. The review must belong to the user makng the call, and belong to the application identified by the calling URL.

GET api/1/Reviews?SortOrder={SortOrder}&ResourceKey={ResourceKey}&UserToken={UserToken}

Gets al the reviews for the resource identifed by the supplied resource key. The resource must belong to the application identified by the calling URL.