tag-values.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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": "issue_id",
  9. "in": "path",
  10. "description": "The ID of the issue to retrieve.",
  11. "required": true,
  12. "schema": {
  13. "type": "string"
  14. }
  15. },
  16. {
  17. "name": "key",
  18. "in": "path",
  19. "description": "The tag key to look the values up for.",
  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. "type": "object",
  35. "required": ["key", "value"],
  36. "properties": {
  37. "key": {
  38. "type": "string"
  39. },
  40. "value": {
  41. "type": "string"
  42. }
  43. }
  44. }
  45. },
  46. "example": [
  47. {
  48. "key": "ice_cream",
  49. "value": "mint_choco"
  50. }
  51. ]
  52. }
  53. }
  54. },
  55. "403": {
  56. "description": "Forbidden"
  57. }
  58. },
  59. "security": [
  60. {
  61. "auth_token": ["event:read"]
  62. }
  63. ]
  64. }
  65. }