repos.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "get": {
  3. "tags": ["Organizations"],
  4. "description": "Return a list of version control repositories for a given organization.",
  5. "operationId": "List an Organization's Repositories",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The organization short name.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. }
  16. ],
  17. "responses": {
  18. "200": {
  19. "description": "Success",
  20. "content": {
  21. "application/json": {
  22. "schema": {
  23. "type": "array",
  24. "items": {
  25. "type": "object",
  26. "required": ["dateCreated", "id", "name"],
  27. "properties": {
  28. "dateCreated": {
  29. "type": "string"
  30. },
  31. "id": {
  32. "type": "string"
  33. },
  34. "name": {
  35. "type": "string"
  36. }
  37. }
  38. }
  39. },
  40. "example": [
  41. {
  42. "dateCreated": "2018-11-06T21:19:58.536Z",
  43. "id": "3",
  44. "name": "sentry/sentry"
  45. }
  46. ]
  47. }
  48. }
  49. },
  50. "403": {
  51. "description": "Forbidden"
  52. },
  53. "404": {
  54. "description": "Not Found"
  55. }
  56. },
  57. "security": [
  58. {
  59. "auth_token": ["org: read"]
  60. }
  61. ]
  62. }
  63. }