source: Dev/branches/rest-dojo-ui/client/dojox/rpc/SMDLibrary/twitter.smd @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 762 bytes
Line 
1{
2       
3        "SMDVersion": "2.0",
4        "id": "http://apiwiki.twitter.com/w/page/22554756/Twitter-Search-API-Method:-search",
5        "description": "Twitter Search API",
6               
7        "transport": "JSONP",
8        "envelope": "URL",
9        "additionalParameters": true,
10       
11        "parameters": [
12                // the most important param, the search query:
13                { "name": "q", optional: false, "default":"" },
14               
15
16                // result size: large | small (8 or 4 per page)
17                { "name": "rpp", optional:true, "default": 10 },
18
19                // language selection:
20                { "name": "lang", optional:true, "default": "en" },
21
22                // starting page
23                { "name": "page", optional:true, "default": 0 }
24
25        ],
26
27        "services": {
28
29                "search": {
30                        "target": "http://search.twitter.com/search.json",
31                        "parameters": [
32                        ]
33                }               
34        }
35}
Note: See TracBrowser for help on using the repository browser.