Project

General

Profile

Statistics
| Revision:

root / trunk / web / dojo / dojox / rpc / SMDLibrary / friendfeed.smd @ 12

History | View | Annotate | Download (1.26 KB)

1
{
2
	"SMDVersion": "2.0",
3
	"id": "http://friendfeed.com/api",
4
	"description": "Friendfeed's API - documentation at http://code.google.com/p/friendfeed-api/wiki/ApiDocumentation",
5

    
6
	transport: "JSONP",
7
	envelope: "URL",
8
	
9
	additionalParameters: true,
10
	parameters: [
11
		{ name: "format",  optional: false, "default": "json" },
12
		{ name: "service", optional: true  },
13
		{ name: "start",   optional: true, type: "integer"	},
14
		{ name: "num",	   optional: true, type: "integer"	}
15
	],
16

    
17
	services: {
18
		users: {
19
			target: "http://friendfeed.com/api/feed/user",
20
			parameters: [
21
				{ name: "nickname", type: "string", optional: false, "default": "" }
22
			]
23
		},
24
		entry: {
25
			target: "http://friendfeed.com/api/feed/entry",
26
			parameters: [
27
				{ name: "entry_id", type: "string", optional: false, "default": "" }
28
			]
29
		},
30
		search: {
31
			target: "http://friendfeed.com/api/feed/search",
32
			parameters: [
33
				{ name: "q", type: "string", optional: false, "default": "" }
34
			]
35
		},
36
		url: {
37
			target: "http://friendfeed.com/api/feed/url",
38
			parameters: [
39
				{ name: "url", type: "string", optional: false, "default": "" }
40
			]
41
		},	  
42
		domain: {
43
			target: "http://friendfeed.com/api/feed/domain",
44
			parameters: [
45
				{ name: "domain", type: "string", optional: false, "default":"" }
46
			]
47
		}
48
	}
49
}