-
Notifications
You must be signed in to change notification settings - Fork 439
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
List the latest comments (no matter the URI) #556
Comments
FWIW That seems like a reasonable feature to have to me. |
A different API design could be to support current So, it would be something like: What do you think about this one? |
I think you should add a separate endpoint, so perhaps something like:
rather than adding it to the root. |
For a separate endpoint, what do you think about |
/latest seems like a reasonable name for the endpoint. |
I would like to see this feature, too. It could propably also be used for a feed of all comments (or at least parts of its code). No hard opinion on the name of the endpoint but I agree it should not be done by calling the existing endpoint with / as the URI, because / does not actually have any comments. Do you use upvoting here? I would +1 the feature then. |
If this feature gets added, please make it opt-in. I'm using Isso for the comments on my website which includes private posts (which have hard-to-guess URIs) and I don't want just any random person to be able to retrieve the list of all comments on my site. |
Proposed this to fulfill this issue: #610 |
I have a blog and I'm using Isso (thanks for this software, is great!!).
I want to implement a section in my blog that should show the latest 10 comments I got in the whole blog, with a link to the original post).
For that, I'd need to list all the comments, not filtering by a specific URI. Of course, not all the comments, the latest N.
Is there a current way of doing this?
If not, I'd propose to extend the API, add a new endpoint "/latest/N" where the N is limit (it's mandatory! it doesn't make sense to get everything).
I would work on adding this new endpoint, but I'd love to get some feedback about this proposal, ideas, etc.
Thanks!!
The text was updated successfully, but these errors were encountered: