organization-release-commits.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "get": {
  3. "tags": ["Releases"],
  4. "description": "List an organization release's commits.",
  5. "operationId": "List an Organization Release's Commits",
  6. "parameters": [
  7. {
  8. "name": "organization_slug",
  9. "in": "path",
  10. "description": "The slug of the organization the release belongs to.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "version",
  18. "in": "path",
  19. "description": "The version identifier of the release.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. }
  25. ],
  26. "responses": {
  27. "200": {
  28. "description": "Success",
  29. "content": {
  30. "application/json": {
  31. "schema": {
  32. "type": "array",
  33. "items": {
  34. "$ref": "../../components/schemas/releases/commit.json#/MinimalCommit"
  35. }
  36. },
  37. "example": [
  38. {
  39. "dateCreated": "2018-11-06T21:19:58.536Z",
  40. "id": "acbafc639127fd89d10f474520104517ff1d709e",
  41. "message": "Initial commit from Create Next App"
  42. }
  43. ]
  44. }
  45. }
  46. },
  47. "403": {
  48. "description": "Forbidden"
  49. },
  50. "404": {
  51. "description": "Not Found"
  52. }
  53. },
  54. "security": [
  55. {
  56. "auth_token": ["project:releases"]
  57. }
  58. ]
  59. }
  60. }