mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 02:40:38 +00:00
Add star json with links to lokalhost
This commit is contained in:
parent
ede86df685
commit
2c4089ba1d
1 changed files with 14 additions and 0 deletions
|
@ -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
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue