buckets

Get a post's content group

Changed on

Find the group a post belongs to, without creating one.

Answers null when nothing has been made from the post yet. To attach something, call POST /v1/posts/{postId}/bucket instead, which creates the group on first use.

A post you've reopened for editing resolves to the live post's group, so a draft id and its published id give the same answer.

get/v1/posts/{postId}/bucket

Request

  • Base URL
    https://public.api.paragraph.com/api
  • URL
    https://public.api.paragraph.com/api/v1/posts/{postId}/bucket
  • Auth
    HTTP bearer

Path parameters

postIdstring required

Unique identifier of the post

Response

Content group retrieved successfully

bucketIdstring nullable required

The bucket this post is grouped in, or null when nothing has been made from it yet

Changes