issue-hashes.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "get": {
  3. "tags": [
  4. "Events"
  5. ],
  6. "description": "This endpoint lists an issue's hashes, which are the generated checksums used to aggregate individual events.",
  7. "operationId": "List an issue's hashes",
  8. "parameters": [
  9. {
  10. "name": "issue_id",
  11. "in": "path",
  12. "description": "The ID of the issue to retrieve.",
  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. "type": "array",
  26. "items": {
  27. "type": "object",
  28. "properties": {
  29. "latestEvent": {
  30. "$ref": "../../components/schemas/event.json#/EventDetailed"
  31. },
  32. "id": {
  33. "type": "string"
  34. },
  35. "state": {
  36. "type": "string",
  37. "enum": [
  38. "unlocked",
  39. "locked_in_migration",
  40. ]
  41. }
  42. }
  43. }
  44. }
  45. }
  46. }
  47. },
  48. "403": {
  49. "description": "Forbidden"
  50. }
  51. },
  52. "security": [
  53. {
  54. "auth_token": [
  55. "event:read"
  56. ]
  57. }
  58. ]
  59. }
  60. }