Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] /posts GET (Retrieve a post) #46

Closed
sjsumlclub opened this issue Sep 27, 2024 · 0 comments · Fixed by #65
Closed

[Feature] /posts GET (Retrieve a post) #46

sjsumlclub opened this issue Sep 27, 2024 · 0 comments · Fixed by #65
Assignees
Labels
feature New feature or request

Comments

@sjsumlclub
Copy link
Collaborator

This endpoint gets published posts from the db.

Query Parameters

  • query?: string
  • limit?: int
  • page?: int
  • type?: string
  • topics[]?: string[]
  • author_ids[]?: string
    Response
  • post_id: string
  • title: string
  • subtitle: string
  • author_id: string
  • author_name: string
  • content_url: string
  • topics[]: string[]
  • header_img?: (file)
  • engagement_count: number
  • created_at: timestamp
  • updated_at: timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
2 participants