Create
https://fedidevs.org/projects/server-apps/communecter/activities/create/
The Create
activity is used to create new objects in Communecter, such as Note
, Event
, or Project
.
Reference
- Activity: Create
- Object: A Communecter object
Internal Logic
When Communecter receives a Create
activity with an object, it processes the activity based on the type of object being created. This can include Note
, Event
, or Project
, among others.
Example
In this example, Hajavololona creates a new Event
in Communecter and sends it to the public audience with a carbon copy (cc) to ArmelWanes.
{
"@context" : "https://www.w3.org/ns/activitystreams",
"type" : "Create",
"object" : "https://communecter.org/api/activitypub/object/id/649d514ebb9fa",
"id" : "https://communecter.org/api/activitypub/activity/id/649d514eba30c",
"actor" : "https://communecter.org/api/activitypub/users/u/Hajavololona",
"published" : "2023-06-29T09:39:26+0000",
"summary" : "Created a new Event: 'Community Meetup'",
"to" : [
"https://www.w3.org/ns/activitystreams#Public"
],
"cc" : [
"https://instance.communecter.org/api/activitypub/users/u/ArmelWanes"
]
}