PageRenderTime 36ms CodeModel.GetById 11ms RepoModel.GetById 1ms app.codeStats 0ms

/share/bitbucket-spore.json

https://bitbucket.org/Mekk/perl-webservice_bitbucket
JSON | 31 lines | 31 code | 0 blank | 0 comment | 0 complexity | d1968010aad7ffac406676d4d4786b10 MD5 | raw file
  1. {
  2. "name": "BitBucket",
  3. "version" : "0.1",
  4. "base_url" : "https://api.bitbucket.org/2.0",
  5. "authentication": true,
  6. "expected_status": [ "200", "404", "401" ],
  7. "formats": ["json"],
  8. "authority": "BITBUCKET:mekk",
  9. "meta": {
  10. "documentation": "https://confluence.atlassian.com/display/BITBUCKET/Use+the+Bitbucket+REST+APIs",
  11. "authors": "Marcin Kasperski"
  12. },
  13. "methods" : {
  14. "repositories" : {
  15. "authentication" : false,
  16. "optional_params" : [ "page" ],
  17. "required_params" : [ "owner" ],
  18. "path" : "/repositories/:owner",
  19. "method" : "GET",
  20. "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."
  21. },
  22. "user" : {
  23. "authentication" : false,
  24. "optional_params" : [ ],
  25. "required_params" : [ ],
  26. "path" : "/user",
  27. "method" : "GET",
  28. "description" : "Basic info about currently authenticated user."
  29. }
  30. }
  31. }