diff --git a/FEDERATION.md b/FEDERATION.md index 935940a..a07e007 100644 --- a/FEDERATION.md +++ b/FEDERATION.md @@ -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": "

fr33's ticket accepted by project ./s/fr33/p/sandbox: This ticket is open

", + "@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)