tag-values.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "get": {
  3. "tags": ["Events"],
  4. "description": "Returns details for given tag key related to an issue. \n\nWhen [paginated](/api/pagination) can return at most 1000 values.",
  5. "operationId": "List a Tag's Values Related to an Issue",
  6. "parameters": [
  7. {
  8. "name": "organization_id_or_slug",
  9. "in": "path",
  10. "description": "The id or slug of the organization the issue belongs to.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "issue_id",
  18. "in": "path",
  19. "description": "The ID of the issue to retrieve.",
  20. "required": true,
  21. "schema": {
  22. "type": "string"
  23. }
  24. },
  25. {
  26. "name": "key",
  27. "in": "path",
  28. "description": "The tag key to look the values up for.",
  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. "type": "object",
  44. "required": ["key", "value"],
  45. "properties": {
  46. "key": {
  47. "type": "string"
  48. },
  49. "value": {
  50. "type": "string"
  51. }
  52. }
  53. }
  54. },
  55. "example": [
  56. {
  57. "key": "ice_cream",
  58. "value": "mint_choco"
  59. }
  60. ]
  61. }
  62. }
  63. },
  64. "403": {
  65. "description": "Forbidden"
  66. }
  67. },
  68. "security": [
  69. {
  70. "auth_token": ["event:read"]
  71. }
  72. ]
  73. }
  74. }