project-release-commits.json 1.7 KB

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