Rivier/ Reference/ hosting

A visitor's comment on a published page

post/public/site/comments

A visitor's comment on a published page: checked for spam and abuse; doubtful ones wait for the owner.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Sdk
hosting.siteComment.submit
Cli
hosting site comment submit
Publishable
yes

Request bodyapplication/json, required

  • sitestring (uuid)required
  • pathstringrequired
    At most 120 characters.
  • namestringrequired
    At most 60 characters.
  • emailstring
    At most 200 characters.
  • textstringrequired
    At most 1500 characters.
  • hpstring
    At most 200 characters.
  • localestring
    At most 20 characters.

Responses

  • 201application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown