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

Automatically generate HTTP routes for actors and objects #18

Open
Nutomic opened this issue Nov 29, 2022 · 1 comment
Open

Automatically generate HTTP routes for actors and objects #18

Nutomic opened this issue Nov 29, 2022 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Nutomic
Copy link
Member

Nutomic commented Nov 29, 2022

It would be nice if the library could automatically generate required HTTP routes, because these require a lot of boilerplate code. This would at minimum be a GET endpoint for each actor/object, and a POST inbox endpoint for actors. There are also other endpoints such as outbox, followers and shared inbox.

Examples:

This would require passing format strings to the library, so that it knows at which path the routes should be created.

@Nutomic Nutomic added the enhancement New feature or request label Nov 29, 2022
@oknozor
Copy link
Contributor

oknozor commented Nov 29, 2022

I found myself looking for this today, so I might make a PR soon :)

@Nutomic Nutomic added the help wanted Extra attention is needed label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants