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

Expose Topics.getTeaser to API #1422

Closed
psychobunny opened this issue Apr 22, 2014 · 1 comment
Closed

Expose Topics.getTeaser to API #1422

psychobunny opened this issue Apr 22, 2014 · 1 comment
Assignees
Milestone

Comments

@psychobunny
Copy link
Contributor

We removed teaser_text stuff from the category view to speed up the call, but now there is no way to pull topics teaser from the API. Some themes or widgets might like to make use of this data so perhaps a route like /api/topics/[tid]/teaser would be nice to have

Original thread

@psychobunny psychobunny added this to the 0.4.2 milestone Apr 22, 2014
@barisusakli barisusakli self-assigned this Apr 27, 2014
@barisusakli
Copy link
Member

The route is /api/topics/teaser/[tid].

/api/topics/[tid]/teaser would have conflicted with a topic with the slug teaser.

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