/share/bitbucket-spore.json
JSON | 31 lines | 31 code | 0 blank | 0 comment | 0 complexity | d1968010aad7ffac406676d4d4786b10 MD5 | raw file
- {
- "name": "BitBucket",
- "version" : "0.1",
- "base_url" : "https://api.bitbucket.org/2.0",
- "authentication": true,
- "expected_status": [ "200", "404", "401" ],
- "formats": ["json"],
- "authority": "BITBUCKET:mekk",
- "meta": {
- "documentation": "https://confluence.atlassian.com/display/BITBUCKET/Use+the+Bitbucket+REST+APIs",
- "authors": "Marcin Kasperski"
- },
- "methods" : {
- "repositories" : {
- "authentication" : false,
- "optional_params" : [ "page" ],
- "required_params" : [ "owner" ],
- "path" : "/repositories/:owner",
- "method" : "GET",
- "description" : "List of repositories by given user (only public if not auth, private too if auth). Paginated, add page number (counted from 1) to get further pages."
- },
- "user" : {
- "authentication" : false,
- "optional_params" : [ ],
- "required_params" : [ ],
- "path" : "/user",
- "method" : "GET",
- "description" : "Basic info about currently authenticated user."
- }
- }
- }