ForumPosts

Update forum post

Changed on

Updates a forum post

patch/posts/{id}

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

Request body

PostRequest required
title, string nullable
content, string required

Post body (required). The post's slug is derived from the title when present, otherwise from the content.

pinned, boolean
gif_url, string nullable
topics, string[]

Topic IDs (topic_...) to file the post under

Response

Post updated

Post required
id, string required
object, string required
title, string nullable required
content, string required
pinned, boolean nullable required
gif_url, string nullable required
author_name, string required
topics, Topic[] required
created_at, string date-time required
updated_at, string date-time required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    4 more changes in this revision