zapread.com icon indicating copy to clipboard operation
zapread.com copied to clipboard

JSON Endpoint for Post Metadata

Open wfinn opened this issue 4 years ago • 1 comments

You might don't need that right now, but for me and maybe future features it would be helpful to have an Endpoint that gives infos about a Post via the Id.

I'm thinking of something like /Post/GetMetadata/ which accepts a PostID and returns JSON with (at least) these info:

  • title
  • groupid (this is what I have to parse html for)
  • userid of poster

wfinn avatar Mar 18 '20 18:03 wfinn

To give var names: Title GroupID FromID

wfinn avatar Mar 18 '20 18:03 wfinn