Skip to content

How to fetch information about an individual post from a community? #141

Open
@knuxify

Description

I can't find a way to fetch information about an individual community post by its ID.

It seems to be possible to get a timeline of posts with GET /v2/communities/{community-handle}/timeline, but that doesn't guarantee I find the post I need. There are /v2/communities/{community-handle}/posts/{post-id}/reaction APIs, but the base /v2/communities/{community-handle}/posts/{post-id} API seems to 404.

Trying to use the regular API for fetching posts (GET /v2/blog/.../posts?id=...) returns 404s. I tried:

  • Using the community name as the blog name and the ID from the URL as the ID
  • Using the ID of the community as returned by GET /v2/communities/{community-handle} as the blog name and the ID from the URL as the ID (causes internal server error/500)
  • Using the blog name of the poster as the blog name and the ID from the URL as the ID

None seemed to return the post. Is there something I'm missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions