Comments

The Comment Object

PropertyTypeDescription

body

string

The title of the broadcast.

Create a Comment

POST https://api.pagertree.com/api/v4/comments

Allowed Parameters

def comment_params
  params.permit(
    :body
  )
end

Required Parameters

  • body

Retrieve a Comment

GET https://api.pagertree.com/api/v4/comments/:id

List all Comments

GET https://api.pagertree.com/api/v4/comments

Comment on a Comment

POST https://api.pagertree.com/api/v4/comments/:id/comments

Required Parameters

  • body

List a Comment's Comments

GET https://api.pagertree.com/api/v4/comments/:id/comments

Last updated