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

[Enhancement]: Add GET version of /v1/posts/postid/empathies and v1/people/pid/following and other endpoints. #44

Open
1 task done
davidsosa2022 opened this issue Dec 18, 2024 · 0 comments
Labels
awaiting-approval Topic has not been approved or denied enhancement An update to an existing part of the codebase

Comments

@davidsosa2022
Copy link

Checked Existing

  • I have checked the repository for duplicate issues.

What enhancement would you like to see?

I noticed that https://api.olv.pretendo.cc/v1/people/PID/friends endpoint was implemented, but when i was testing with another user with Pretendo set up for HTMLs of a NWF library i was working on, i noticed 2 unimplemented endpoints that i assumed were unknown of, and therefore i could help in getting them implemented in the future:

GET https://api.olv.pretendo.cc/v1/people/PID/following?limit=10

Probably same as the previously mentioned friends endpoint, but with people that are followed by the user.

GET https://api.olv.pretendo.cc/v1/posts/POSTID/empathies?limit=10&with_mii=1

While the Juxt API has the POST version of this endpoint implemented, it seems a GET version also exists, to get users that have added an empathy to the post specified in the post id.

GET https://api.olv.pretendo.cc/v1/communities/COMMUNITYID/favorited?limit=10&with_mii=1

Apparently intended to return users (similar XML structure to the other 2 endpoints?) that have favorited a community specified in the community ID query.

Miiverse Post API field: "url" on /v1/posts

A post uploaded to /v1/posts can have a URL parameter, this originally displayed a browser icon on the original Miiverse, but it could be used by the in-game API too.

Any other details to share? (OPTIONAL)

No response

@davidsosa2022 davidsosa2022 added awaiting-approval Topic has not been approved or denied enhancement An update to an existing part of the codebase labels Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-approval Topic has not been approved or denied enhancement An update to an existing part of the codebase
Projects
None yet
Development

No branches or pull requests

1 participant