1
0
Fork 0

Endpoint for status

This commit is contained in:
Mouse Reeve 2020-02-15 12:32:40 -08:00
parent 8aba8e80e4
commit 8bd566bccb
6 changed files with 53 additions and 16 deletions

View file

@ -16,6 +16,15 @@ urlpatterns = [
re_path(r'^user/(?P<username>\w+)/outbox/?$', outgoing.outbox),
re_path(r'^user/(?P<username>\w+)/followers/?$', incoming.get_followers),
re_path(r'^user/(?P<username>\w+)/following/?$', incoming.get_following),
re_path(
r'^user/(?P<username>\w+)/status/(?P<status_id>\d+)/?$',
incoming.get_status
),
re_path(
r'^user/(?P<username>\w+)/status/(?P<status_id>\d+)/activity/?$',
incoming.get_status
),
re_path(r'^user/(?P<username>\w+)/status/?$', incoming.get_following),
# TODO: shelves need pages in the UI and for their activitypub Collection
# .well-known endpoints