mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 03:13:13 +00:00
3ec1dbd922
- save object ids on pin, instead of activity ids - pins federation - removed pinned_activities field from the users table - activityPub endpoint for user pins - pulling remote users pins
40 lines
1,021 B
JSON
40 lines
1,021 B
JSON
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://{{domain}}/schemas/litepub-0.1.jsonld",
|
|
{
|
|
"@language": "und"
|
|
}
|
|
],
|
|
"id": "https://{{domain}}/users/{{nickname}}/collections/featured",
|
|
"orderedItems": [
|
|
{
|
|
"@context": [
|
|
"https://www.w3.org/ns/activitystreams",
|
|
"https://{{domain}}/schemas/litepub-0.1.jsonld",
|
|
{
|
|
"@language": "und"
|
|
}
|
|
],
|
|
"actor": "https://{{domain}}/users/{{nickname}}",
|
|
"attachment": [],
|
|
"attributedTo": "https://{{domain}}/users/{{nickname}}",
|
|
"cc": [
|
|
"https://{{domain}}/users/{{nickname}}/followers"
|
|
],
|
|
"content": "",
|
|
"id": "https://{{domain}}/objects/{{object_id}}",
|
|
"published": "2021-02-12T15:13:43.915429Z",
|
|
"sensitive": false,
|
|
"source": "",
|
|
"summary": "",
|
|
"tag": [],
|
|
"to": [
|
|
"https://www.w3.org/ns/activitystreams#Public"
|
|
],
|
|
"type": "Note"
|
|
}
|
|
],
|
|
"type": "OrderedCollection"
|
|
}
|