You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.4 KiB

  1. interactions:
  2. - request:
  3. body: '{"query": "\n query($userName: String!, $orgName: String!,
  4. $teamName: String!) {\n organization(login: $orgName) {\n teams(query:
  5. $teamName, userLogins: [$userName], first: 1) {\n nodes
  6. {\n name\n }\n }\n }\n }\n ",
  7. "variables": {"userName": "hirosan", "orgName": "CatalystCode", "teamName":
  8. "doccano-dev"}}'
  9. headers:
  10. Accept:
  11. - '*/*'
  12. Accept-Encoding:
  13. - gzip, deflate
  14. Connection:
  15. - keep-alive
  16. Content-Length:
  17. - '517'
  18. Content-Type:
  19. - application/json
  20. User-Agent:
  21. - python-requests/2.21.0
  22. method: POST
  23. uri: https://api.github.com/graphql
  24. response:
  25. body:
  26. string: '{"data":{"organization":{"teams":{"nodes":[]}}}}'
  27. headers:
  28. Access-Control-Allow-Origin:
  29. - '*'
  30. Access-Control-Expose-Headers:
  31. - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
  32. X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
  33. X-GitHub-Media-Type
  34. Cache-Control:
  35. - no-cache
  36. Content-Security-Policy:
  37. - default-src 'none'
  38. Content-Type:
  39. - application/json; charset=utf-8
  40. Date:
  41. - Mon, 20 May 2019 17:38:20 GMT
  42. Referrer-Policy:
  43. - origin-when-cross-origin, strict-origin-when-cross-origin
  44. Server:
  45. - GitHub.com
  46. Status:
  47. - 200 OK
  48. Strict-Transport-Security:
  49. - max-age=31536000; includeSubdomains; preload
  50. Transfer-Encoding:
  51. - chunked
  52. X-Accepted-OAuth-Scopes:
  53. - repo
  54. X-Content-Type-Options:
  55. - nosniff
  56. X-Frame-Options:
  57. - deny
  58. X-GitHub-Media-Type:
  59. - github.v4; format=json
  60. X-GitHub-Request-Id:
  61. - E97B:0EFE:220AB47:4963FE2:5CE2E60C
  62. X-OAuth-Scopes:
  63. - read:org
  64. X-RateLimit-Limit:
  65. - '5000'
  66. X-RateLimit-Remaining:
  67. - '4954'
  68. X-RateLimit-Reset:
  69. - '1558377500'
  70. X-XSS-Protection:
  71. - 1; mode=block
  72. content-length:
  73. - '48'
  74. status:
  75. code: 200
  76. message: OK
  77. version: 1