projects.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "get": {
  3. "tags": ["Teams"],
  4. "description": "Return a list of projects bound to a team.",
  5. "operationId": "List a Team's Projects",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The slug of the organization the team belongs to.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "team_slug",
  18. "in": "path",
  19. "description": "The slug of the team to get.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. },
  25. {
  26. "$ref": "../../components/parameters/pagination-cursor.json#/PaginationCursor"
  27. }
  28. ],
  29. "responses": {
  30. "200": {
  31. "description": "Success",
  32. "content": {
  33. "application/json": {
  34. "schema": {
  35. "type": "array",
  36. "items": {
  37. "$ref": "../../components/schemas/project.json#/TeamProjects"
  38. }
  39. },
  40. "example": [
  41. {
  42. "slug": "the-spoiled-yoghurt",
  43. "name": "The Spoiled Yoghurt",
  44. "hasAccess": true,
  45. "teams": [
  46. {
  47. "id": "542609",
  48. "name": "Powerful Abolitionist",
  49. "slug": "powerful-abolitionist"
  50. }
  51. ],
  52. "platform": null,
  53. "firstEvent": null,
  54. "isMember": false,
  55. "team": {
  56. "id": "542609",
  57. "name": "Powerful Abolitionist",
  58. "slug": "powerful-abolitionist"
  59. },
  60. "dateCreated": "2020-08-20T14:36:34.171255Z",
  61. "isBookmarked": false,
  62. "id": "5398494",
  63. "latestDeploys": null,
  64. "features": [
  65. "custom-inbound-filters",
  66. "discard-groups",
  67. "rate-limits",
  68. "data-forwarding",
  69. "similarity-view",
  70. "issue-alerts-targeting",
  71. "servicehooks",
  72. "minidump",
  73. "similarity-indexing"
  74. ]
  75. }
  76. ]
  77. }
  78. }
  79. },
  80. "403": {
  81. "description": "Forbidden"
  82. },
  83. "404": {
  84. "description": "Team not found"
  85. }
  86. },
  87. "security": [
  88. {
  89. "auth_token": ["project:read"]
  90. }
  91. ]
  92. }
  93. }