latest-event.json 847 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "get": {
  3. "tags": [
  4. "Events"
  5. ],
  6. "description": "Retrieves the details of the latest event for an issue.",
  7. "operationId": "Retrieve the latest event for an issue",
  8. "parameters": [
  9. {
  10. "name": "issue_id",
  11. "in": "path",
  12. "description": "The ID of the issue.",
  13. "required": true,
  14. "schema": {
  15. "type": "string"
  16. }
  17. }
  18. ],
  19. "responses": {
  20. "200": {
  21. "description": "Success.",
  22. "content": {
  23. "application/json": {
  24. "schema": {
  25. "$ref": "../../components/schemas/event.json#/EventDetailed"
  26. }
  27. }
  28. }
  29. },
  30. "403": {
  31. "description": "Forbidden"
  32. }
  33. },
  34. "security": [
  35. {
  36. "auth_token": [
  37. "event:read"
  38. ]
  39. }
  40. ]
  41. }
  42. }