Storyden
Threads

Thread Update

Publish changes to a thread.

Publish changes to a thread.

PATCH/threads/{thread_mark}
storyden-session<token>

In: cookie

Path Parameters

thread_markstring

Thread unique and permanent identifier.

Formatxid-prefixed-kebab-case-string
title?ThreadTitle

The title of a thread.

body?PostContent

The body text of a post within a thread. The type is either a string or an object, depending on what was used during creation. Strings can be used for basic plain text or markdown content and objects are used for more complex types such as Slate.js editor documents.

tags?TagNameList
meta?Metadata

Arbitrary metadata for the resource.

Empty Object

category?Identifier

A unique identifier for this resource.

Formatxid
visibility?Visibility
Value in"draft" | "unlisted" | "review" | "published"
url?URL

A web address

Formaturl

Response Body

curl -X PATCH "https://loading/api/threads/cc5lnd2s1s4652adtu50-top-10-movies-thread" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "cc5lnd2s1s4652adtu50",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "deletedAt": "2019-08-24T14:15:22Z",
  "misc": {},
  "title": "Hello world!",
  "description": "string",
  "slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
  "author": {
    "id": "cc5lnd2s1s4652adtu50",
    "joined": "2019-08-24T14:15:22Z",
    "suspended": "2019-08-24T14:15:22Z",
    "handle": "Southclaws",
    "name": "Barnaby Keene"
  },
  "assets": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "filename": "string",
      "path": "string",
      "mime_type": "string",
      "width": 0,
      "height": 0,
      "parent": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {}
      }
    }
  ],
  "reacts": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "emoji": "string",
      "author": {
        "id": "cc5lnd2s1s4652adtu50",
        "joined": "2019-08-24T14:15:22Z",
        "suspended": "2019-08-24T14:15:22Z",
        "handle": "Southclaws",
        "name": "Barnaby Keene"
      }
    }
  ],
  "collections": {
    "in_collections": 0,
    "has_collected": true
  },
  "likes": {
    "likes": 0,
    "liked": true
  },
  "meta": {},
  "body": "string",
  "body_links": [
    {
      "id": "cc5lnd2s1s4652adtu50",
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z",
      "deletedAt": "2019-08-24T14:15:22Z",
      "misc": {},
      "url": "string",
      "slug": "github-com-southclaws-storyden",
      "domain": "github.com",
      "title": "The Open Graph Protocol",
      "description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
      "favicon_image": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {
          "id": "cc5lnd2s1s4652adtu50",
          "filename": "string",
          "path": "string",
          "mime_type": "string",
          "width": 0,
          "height": 0,
          "parent": {}
        }
      },
      "primary_image": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {
          "id": "cc5lnd2s1s4652adtu50",
          "filename": "string",
          "path": "string",
          "mime_type": "string",
          "width": 0,
          "height": 0,
          "parent": {}
        }
      }
    }
  ],
  "pinned": true,
  "visibility": "draft",
  "read_status": {
    "last_read_at": "2019-08-24T14:15:22Z",
    "replies_since": 0
  },
  "reply_status": {
    "replies": 0,
    "replied": 0
  },
  "category": {
    "id": "cc5lnd2s1s4652adtu50",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "deletedAt": "2019-08-24T14:15:22Z",
    "misc": {},
    "name": "string",
    "slug": "string",
    "description": "string",
    "colour": "string",
    "sort": 0,
    "parent": "cc5lnd2s1s4652adtu50",
    "cover_image": {
      "id": "cc5lnd2s1s4652adtu50",
      "filename": "string",
      "path": "string",
      "mime_type": "string",
      "width": 0,
      "height": 0,
      "parent": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {}
      }
    },
    "children": [
      {
        "id": "cc5lnd2s1s4652adtu50",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "deletedAt": "2019-08-24T14:15:22Z",
        "misc": {},
        "name": "string",
        "slug": "string",
        "description": "string",
        "colour": "string",
        "sort": 0,
        "parent": "cc5lnd2s1s4652adtu50",
        "cover_image": {
          "id": "cc5lnd2s1s4652adtu50",
          "filename": "string",
          "path": "string",
          "mime_type": "string",
          "width": 0,
          "height": 0,
          "parent": {
            "id": "cc5lnd2s1s4652adtu50",
            "filename": "string",
            "path": "string",
            "mime_type": "string",
            "width": 0,
            "height": 0,
            "parent": {}
          }
        },
        "children": [],
        "meta": {},
        "postCount": 0
      }
    ],
    "meta": {}
  },
  "link": {
    "id": "cc5lnd2s1s4652adtu50",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "deletedAt": "2019-08-24T14:15:22Z",
    "misc": {},
    "url": "string",
    "slug": "github-com-southclaws-storyden",
    "domain": "github.com",
    "title": "The Open Graph Protocol",
    "description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
    "favicon_image": {
      "id": "cc5lnd2s1s4652adtu50",
      "filename": "string",
      "path": "string",
      "mime_type": "string",
      "width": 0,
      "height": 0,
      "parent": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {}
      }
    },
    "primary_image": {
      "id": "cc5lnd2s1s4652adtu50",
      "filename": "string",
      "path": "string",
      "mime_type": "string",
      "width": 0,
      "height": 0,
      "parent": {
        "id": "cc5lnd2s1s4652adtu50",
        "filename": "string",
        "path": "string",
        "mime_type": "string",
        "width": 0,
        "height": 0,
        "parent": {}
      }
    }
  },
  "tags": [
    {
      "name": "string",
      "colour": "string",
      "item_count": 0
    }
  ],
  "last_reply_at": "2019-08-24T14:15:22Z",
  "recomentations": [
    {
      "kind": "post",
      "ref": {
        "id": "cc5lnd2s1s4652adtu50",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "deletedAt": "2019-08-24T14:15:22Z",
        "misc": {},
        "title": "Hello world!",
        "description": "string",
        "slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
        "author": {
          "id": "cc5lnd2s1s4652adtu50",
          "joined": "2019-08-24T14:15:22Z",
          "suspended": "2019-08-24T14:15:22Z",
          "handle": "Southclaws",
          "name": "Barnaby Keene"
        },
        "assets": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "filename": "string",
            "path": "string",
            "mime_type": "string",
            "width": 0,
            "height": 0,
            "parent": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {}
            }
          }
        ],
        "reacts": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "emoji": "string",
            "author": {
              "id": "cc5lnd2s1s4652adtu50",
              "joined": "2019-08-24T14:15:22Z",
              "suspended": "2019-08-24T14:15:22Z",
              "handle": "Southclaws",
              "name": "Barnaby Keene"
            }
          }
        ],
        "collections": {
          "in_collections": 0,
          "has_collected": true
        },
        "likes": {
          "likes": 0,
          "liked": true
        },
        "meta": {},
        "body": "string",
        "body_links": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "deletedAt": "2019-08-24T14:15:22Z",
            "misc": {},
            "url": "string",
            "slug": "github-com-southclaws-storyden",
            "domain": "github.com",
            "title": "The Open Graph Protocol",
            "description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
            "favicon_image": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {
                "id": "cc5lnd2s1s4652adtu50",
                "filename": "string",
                "path": "string",
                "mime_type": "string",
                "width": 0,
                "height": 0,
                "parent": {}
              }
            },
            "primary_image": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {
                "id": "cc5lnd2s1s4652adtu50",
                "filename": "string",
                "path": "string",
                "mime_type": "string",
                "width": 0,
                "height": 0,
                "parent": {}
              }
            }
          }
        ]
      }
    }
  ],
  "replies": {
    "page_size": 0,
    "results": 0,
    "total_pages": 0,
    "current_page": 0,
    "next_page": 0,
    "replies": [
      {
        "id": "cc5lnd2s1s4652adtu50",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "deletedAt": "2019-08-24T14:15:22Z",
        "misc": {},
        "title": "Hello world!",
        "description": "string",
        "slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
        "author": {
          "id": "cc5lnd2s1s4652adtu50",
          "joined": "2019-08-24T14:15:22Z",
          "suspended": "2019-08-24T14:15:22Z",
          "handle": "Southclaws",
          "name": "Barnaby Keene"
        },
        "assets": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "filename": "string",
            "path": "string",
            "mime_type": "string",
            "width": 0,
            "height": 0,
            "parent": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {}
            }
          }
        ],
        "reacts": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "emoji": "string",
            "author": {
              "id": "cc5lnd2s1s4652adtu50",
              "joined": "2019-08-24T14:15:22Z",
              "suspended": "2019-08-24T14:15:22Z",
              "handle": "Southclaws",
              "name": "Barnaby Keene"
            }
          }
        ],
        "collections": {
          "in_collections": 0,
          "has_collected": true
        },
        "likes": {
          "likes": 0,
          "liked": true
        },
        "meta": {},
        "body": "string",
        "body_links": [
          {
            "id": "cc5lnd2s1s4652adtu50",
            "createdAt": "2019-08-24T14:15:22Z",
            "updatedAt": "2019-08-24T14:15:22Z",
            "deletedAt": "2019-08-24T14:15:22Z",
            "misc": {},
            "url": "string",
            "slug": "github-com-southclaws-storyden",
            "domain": "github.com",
            "title": "The Open Graph Protocol",
            "description": "The Open Graph protocol enables any web page to become a rich object in a social graph.",
            "favicon_image": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {
                "id": "cc5lnd2s1s4652adtu50",
                "filename": "string",
                "path": "string",
                "mime_type": "string",
                "width": 0,
                "height": 0,
                "parent": {}
              }
            },
            "primary_image": {
              "id": "cc5lnd2s1s4652adtu50",
              "filename": "string",
              "path": "string",
              "mime_type": "string",
              "width": 0,
              "height": 0,
              "parent": {
                "id": "cc5lnd2s1s4652adtu50",
                "filename": "string",
                "path": "string",
                "mime_type": "string",
                "width": 0,
                "height": 0,
                "parent": {}
              }
            }
          }
        ],
        "root_id": "cc5lnd2s1s4652adtu50",
        "root_slug": "cc5lnd2s1s4652adtu50-top-10-movies-thread",
        "reply_to": "cc5lnd2s1s4652adtu50"
      }
    ]
  }
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}