- 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
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			791 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			791 B
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
  "@context": [
 | 
						|
    "https://www.w3.org/ns/activitystreams",
 | 
						|
    "https://example.com/schemas/litepub-0.1.jsonld",
 | 
						|
    {
 | 
						|
      "@language": "und"
 | 
						|
    }
 | 
						|
  ],
 | 
						|
  "actor": "https://example.com/users/{{nickname}}",
 | 
						|
  "attachment": [],
 | 
						|
  "attributedTo": "https://example.com/users/{{nickname}}",
 | 
						|
  "cc": [
 | 
						|
    "https://example.com/users/{{nickname}}/followers"
 | 
						|
  ],
 | 
						|
  "content": "Content",
 | 
						|
  "context": "https://example.com/contexts/e4b180e1-7403-477f-aeb4-de57e7a3fe7f",
 | 
						|
  "conversation": "https://example.com/contexts/e4b180e1-7403-477f-aeb4-de57e7a3fe7f",
 | 
						|
  "id": "https://example.com/objects/{{object_id}}",
 | 
						|
  "published": "2019-12-15T22:00:05.279583Z",
 | 
						|
  "sensitive": false,
 | 
						|
  "summary": "",
 | 
						|
  "tag": [],
 | 
						|
  "to": [
 | 
						|
    "https://www.w3.org/ns/activitystreams#Public"
 | 
						|
  ],
 | 
						|
  "type": "Note"
 | 
						|
}
 |