50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
{
|
|
"SMDVersion": "2.0",
|
|
"id": "http://friendfeed.com/api",
|
|
"description": "Friendfeed's API - documentation at http://code.google.com/p/friendfeed-api/wiki/ApiDocumentation",
|
|
|
|
transport: "JSONP",
|
|
envelope: "URL",
|
|
|
|
additionalParameters: true,
|
|
parameters: [
|
|
{ name: "format", optional: false, "default": "json" },
|
|
{ name: "service", optional: true },
|
|
{ name: "start", optional: true, type: "integer" },
|
|
{ name: "num", optional: true, type: "integer" }
|
|
],
|
|
|
|
services: {
|
|
users: {
|
|
target: "http://friendfeed.com/api/feed/user",
|
|
parameters: [
|
|
{ name: "nickname", type: "string", optional: false, "default": "" }
|
|
]
|
|
},
|
|
entry: {
|
|
target: "http://friendfeed.com/api/feed/entry",
|
|
parameters: [
|
|
{ name: "entry_id", type: "string", optional: false, "default": "" }
|
|
]
|
|
},
|
|
search: {
|
|
target: "http://friendfeed.com/api/feed/search",
|
|
parameters: [
|
|
{ name: "q", type: "string", optional: false, "default": "" }
|
|
]
|
|
},
|
|
url: {
|
|
target: "http://friendfeed.com/api/feed/url",
|
|
parameters: [
|
|
{ name: "url", type: "string", optional: false, "default": "" }
|
|
]
|
|
},
|
|
domain: {
|
|
target: "http://friendfeed.com/api/feed/domain",
|
|
parameters: [
|
|
{ name: "domain", type: "string", optional: false, "default":"" }
|
|
]
|
|
}
|
|
}
|
|
}
|