From 2c4089ba1dece994afc0fd0149cce773f7ea4243 Mon Sep 17 00:00:00 2001 From: erik Date: Wed, 29 Nov 2023 13:24:59 +0100 Subject: [PATCH] Add star json with links to lokalhost --- docs/unsure-where-to-put/dev-notes.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/unsure-where-to-put/dev-notes.md b/docs/unsure-where-to-put/dev-notes.md index 9df5c4891e..7f1d797569 100644 --- a/docs/unsure-where-to-put/dev-notes.md +++ b/docs/unsure-where-to-put/dev-notes.md @@ -63,6 +63,20 @@ curl -X 'POST' \ }' ``` +# Datastructures handy for local tests + +## Star activity + +```json +{ + "id": "http://localhost:3000/api/v1/activitypub/user-id/1/outbox/12345", + "type": "Star", + "source": "forgejo", + "actor": "http://localhost:3000/api/v1/activitypub/user-id/1", + "object": "http://localhost:3000/api/v1/activitypub/repository-id/1" +} +``` + # sync base branch ```