mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-27 17:44:52 +09:00
FEDERATION.md: Add example of Accept{Offer{Ticket}} activity
This commit is contained in:
parent
d2e64d2920
commit
d2d51cb45a
1 changed files with 25 additions and 0 deletions
|
@ -977,6 +977,31 @@ look like this:
|
|||
}
|
||||
```
|
||||
|
||||
The Accept activity can be sent automatically by the Project actor, or manually
|
||||
by a Person in the project team. It has `object` set to the URI of the Offer,
|
||||
and `result` set to the URI of the newly created Ticket.
|
||||
|
||||
```json
|
||||
{
|
||||
"summary": "<p>fr33's ticket accepted by project ./s/fr33/p/sandbox: This ticket is open</p>",
|
||||
"@context": [
|
||||
"https://www.w3.org/ns/activitystreams",
|
||||
"https://forgefed.peers.community/ns",
|
||||
"https://angeley.es/as2-ext"
|
||||
],
|
||||
"to": [
|
||||
"https://forge.angeley.es/s/fr33",
|
||||
"https://forge.angeley.es/s/fr33/p/sandbox/team",
|
||||
"https://forge.angeley.es/s/fr33/p/sandbox/followers"
|
||||
],
|
||||
"actor": "https://forge.angeley.es/s/fr33/p/sandbox",
|
||||
"result": "https://forge.angeley.es/s/fr33/p/sandbox/t/6",
|
||||
"object": "https://forge.angeley.es/s/fr33/outbox/wl5Yl",
|
||||
"id": "https://forge.angeley.es/s/fr33/p/sandbox/outbox/r07JE",
|
||||
"type": "Accept"
|
||||
}
|
||||
```
|
||||
|
||||
TODO turn replies and history into URIS pointing to separate Collections
|
||||
|
||||
TODO replies and depends (ForgeFed #12)
|
||||
|
|
Loading…
Reference in a new issue