- id
- uuid
- 3b925cdf-89fe-4f51-b41f-26df23f58e0c
- name
- content
- Servers MUST return a 201 Created HTTP code
- origin
-
The origin of a normative behavior is where it originated, e.g. normative language in a protocol specification.
- origin.source
- https://www.w3.org/TR/activitypub/
- origin.section
- origin.selector.exact
-
Servers MUST return a 201 Created HTTP code
in context
If an Activity is submitted with a value in the id property, servers MUST ignore this and generate a new id for the Activity. Servers MUST return a 201 Created HTTP code , and unless the activity is transient, MUST include the new id in the Location header.
— https://www.w3.org/TR/activitypub/
JSON
{ "type": "Behavior", "uuid": "3b925cdf-89fe-4f51-b41f-26df23f58e0c", "content": "Servers MUST return a 201 Created HTTP code\n", "context": [ "https://www.w3.org/TR/activitypub/", { "name": "Client to server interaction" }, { "name": "server responding to client posting Activities to an actor's outbox" } ], "origin": { "source": "https://www.w3.org/TR/activitypub/", "section": { "id": "https://www.w3.org/TR/activitypub/#x6-client-to-server-interactions", "branch": [ 6 ] }, "selector": { "type": "TextQuoteSelector", "prefix": "If an Activity is submitted with a value in the id property, servers MUST ignore this and generate a new id for the Activity. \n", "exact": "Servers MUST return a 201 Created HTTP code\n", "suffix": ", and unless the activity is transient, MUST include the new id in the Location header.\n" } } }