curl --request POST \
  --url https://api.campsite.com/v2/posts/{post_id}/resolution \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content_markdown": "<string>",
  "comment_id": "<string>"
}'
{
  "id": "<string>",
  "title": "<string>",
  "created_at": "<string>",
  "last_activity_at": "<string>",
  "url": "<string>",
  "content": "<string>",
  "comments_count": 123,
  "channel": {
    "id": "<string>",
    "name": "<string>"
  },
  "author": {
    "avatar_urls": {
      "xs": "<string>",
      "sm": "<string>",
      "base": "<string>",
      "lg": "<string>",
      "xl": "<string>",
      "xxl": "<string>"
    },
    "name": "<string>",
    "id": "<string>",
    "type": "app"
  },
  "resolution": {
    "resolved_at": "<string>",
    "resolved_html": "<string>",
    "resolved_by": {
      "avatar_urls": {
        "xs": "<string>",
        "sm": "<string>",
        "base": "<string>",
        "lg": "<string>",
        "xl": "<string>",
        "xxl": "<string>"
      },
      "name": "<string>",
      "id": "<string>",
      "type": "app"
    },
    "resolved_comment": {
      "id": "<string>",
      "content": "<string>",
      "created_at": "<string>",
      "replies_count": 123,
      "parent_id": "<string>",
      "subject_id": "<string>",
      "subject_type": "<string>",
      "author": {
        "avatar_urls": {
          "xs": "<string>",
          "sm": "<string>",
          "base": "<string>",
          "lg": "<string>",
          "xl": "<string>",
          "xxl": "<string>"
        },
        "name": "<string>",
        "id": "<string>",
        "type": "app"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

post_id
string
required

Body

application/json
content_markdown
string | null
required
comment_id
string | null
required

Response

201 - application/json
id
string
required
title
string
required
created_at
string
required
last_activity_at
string
required
url
string
required
content
string
required
comments_count
number
required
channel
object
required
author
object
required
resolution
object
required