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

Add views to /forums/topics/{topic} api #11683

Open
cyperdark opened this issue Nov 25, 2024 · 1 comment
Open

Add views to /forums/topics/{topic} api #11683

cyperdark opened this issue Nov 25, 2024 · 1 comment

Comments

@cyperdark
Copy link

I noticed that on topics page we have views of each topic, but api does not return views when requesting specific topic via api, can it be added to api?

current json response:

{
  "posts": [
    ...
   ],
  "search": {
    "limit": 50,
    "sort": "id_asc"
  },
  "topic": {
    "created_at": "2022-08-14T07:46:13+00:00",
    "deleted_at": null,
    "first_post_id": 8745971,
    "forum_id": 109,
    "id": 1629078,
    "is_locked": false,
    "last_post_id": 9735912,
    "post_count": 18,
    "title": "[STD] - Selyui - (v1.21 240814) [16:9/16:10/4:3/21:9 HD/SD]",
    "type": "normal",
    "updated_at": "2024-11-24T22:09:15+00:00",
    "user_id": 10324621,
    "poll": null
  },
  "cursor": {
    "id": 9735912
  },
  "cursor_string": "eyJpZCI6OTczNTkxMn0"
}
@cyperdark
Copy link
Author

also will be nice to have views on topic page as well

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

No branches or pull requests

2 participants