tag-details.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "get": {
  3. "tags": ["Events"],
  4. "description": "Returns details for given tag key related to an issue.",
  5. "operationId": "Retrieve Tag Details",
  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": "object",
  33. "required": ["key", "totalValues"],
  34. "properties": {
  35. "key": {
  36. "type": "string"
  37. },
  38. "totalValues": {
  39. "type": "integer"
  40. }
  41. }
  42. },
  43. "example": {
  44. "key": "ice_cream",
  45. "totalValues": 6
  46. }
  47. }
  48. }
  49. },
  50. "403": {
  51. "description": "Forbidden"
  52. }
  53. },
  54. "security": [
  55. {
  56. "auth_token": ["event:read"]
  57. }
  58. ]
  59. }
  60. }