Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 18:04:24 +01:00

Add star json with links to lokalhost

This commit is contained in:
erik 2023-11-29 13:24:59 +01:00 committed by Michael Jerger
parent ede86df685
commit 2c4089ba1d

View file

@ -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 # sync base branch
``` ```