Difference between revisions of "Exploring data formats"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
		
		
		
		
		
	
| Line 1: | Line 1: | ||
| − | =   | + | == Resources ==  | 
| − | =  | + | * http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams2.html#extensibility''Italic text''  | 
| + | * http://pin13.net/mf2/?url=http%3A%2F%2Fsocialwg.indiewebcamp.com%2Firc%2Fsocial%2F2015-06-05  | ||
| + | * https://developer.gitter.im/docs/messages-resource  | ||
| − | === AS2 ===  | + | == Formats ==  | 
| + | |||
| + | === Server Credentials ===  | ||
| + | |||
| + | ==== AS2 ====  | ||
   {  |    {  | ||
| Line 25: | Line 31: | ||
   }  |    }  | ||
| − | == Messages ==  | + | === Messages ===  | 
Revision as of 16:45, 5 June 2015
Resources
- http://jasnell.github.io/w3c-socialwg-activitystreams/activitystreams2.html#extensibilityItalic text
 - http://pin13.net/mf2/?url=http%3A%2F%2Fsocialwg.indiewebcamp.com%2Firc%2Fsocial%2F2015-06-05
 - https://developer.gitter.im/docs/messages-resource
 
Formats
Server Credentials
AS2
 {
   ...
   "context": "irc", 
   "@type": "..." // could be 'create', 'add', 'author'... whatever we choose, this open for discussion
   "actor": {
     "@id": "irc://howard@irc.freenode.net",
     "displayName": "howard"
   },
   "object": {
     "@type" : "credentials",
     "nick": : "howard",
     "password": "radical",
     "server": "irc.freenode.net",
     "port": 1234,
     "secure": true,
     "altNicks": [ "howardtheduck", "famousduck" ] // this property would need to be added to the schema
   },
   "target": "irc://irc.freenode.net"
 }