interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=8&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2020-04-04T07:07:56Z","cf_runtime_testing_required":"---","id":8,"cc":[],"assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"},"whiteboard":"","keywords":[],"cf_stabilisation_atoms":"dev-lang/python-3.7.7","resolution":"FIXED","flags":[],"cc_detail":[],"component":"Stabilization","depends_on":[],"blocks":[],"product":"Gentoo
        Linux","assigned_to":"test@example.com"}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:19 GMT
      Etag:
      - 6Ai4YT7a9heCGANbv8iz5w
      Keep-Alive:
      - timeout=15, max=100
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/8/comment
  response:
    body:
      string: '{"bugs":{"8":{"comments":[{"text":"Resolved bugs should appear when
        requested via id but not in search.","creation_time":"2020-04-04T07:07:40Z","is_private":false,"creator":"test@example.com","tags":[],"id":12,"time":"2020-04-04T07:07:40Z","attachment_id":null,"count":0,"bug_id":8}]}},"comments":{}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:19 GMT
      Etag:
      - SmkLlM4MqrWeOKN5IJ3Yig
      Keep-Alive:
      - timeout=15, max=99
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/8/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"8":{"comments":[{"attachment_id":null,"text":"Resolved
        bugs should appear when requested via id but not in search.","creator":"test@example.com","id":12,"time":"2020-04-04T07:07:40Z","count":0,"creation_time":"2020-04-04T07:07:40Z","bug_id":8,"tags":[],"is_private":false}]}}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:20 GMT
      Etag:
      - SmkLlM4MqrWeOKN5IJ3Yig
      Keep-Alive:
      - timeout=15, max=98
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/whoami
  response:
    body:
      string: '{"name":"nattka@gentoo.org","real_name":"NATTkA","id":2}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:20 GMT
      Etag:
      - mVytJ9+Su1npSL9ztIqPVQ
      Keep-Alive:
      - timeout=15, max=97
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: '{"ids": [8], "flags": [{"name": "sanity-check", "status": "+"}], "keywords":
      {"add": ["ALLARCHES"], "remove": []}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '114'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.28.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/8
  response:
    body:
      string: '{"bugs":[{"alias":[],"last_change_time":"2022-09-06T19:46:21Z","id":8,"changes":{"flagtypes.name":{"removed":"","added":"sanity-check+"},"keywords":{"removed":"","added":"ALLARCHES"}}}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:21 GMT
      Etag:
      - Le8iXNoG+xsoop5CRGho+Q
      Keep-Alive:
      - timeout=15, max=96
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=8&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"keywords":["ALLARCHES"],"component":"Stabilization","blocks":[],"last_change_time":"2022-09-06T19:46:21Z","id":8,"depends_on":[],"cc":[],"whiteboard":"","product":"Gentoo
        Linux","cf_runtime_testing_required":"---","cf_stabilisation_atoms":"dev-lang/python-3.7.7","assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"},"assigned_to":"test@example.com","cc_detail":[],"resolution":"FIXED","flags":[{"name":"sanity-check","setter":"nattka@gentoo.org","id":5,"type_id":1,"modification_date":"2022-09-06T19:46:21Z","status":"+","creation_date":"2022-09-06T19:46:21Z"}]}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:21 GMT
      Etag:
      - TCfuBhR4AwvfyGOZr9EMpw
      Keep-Alive:
      - timeout=15, max=95
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/8/comment
  response:
    body:
      string: '{"bugs":{"8":{"comments":[{"id":12,"is_private":false,"bug_id":8,"attachment_id":null,"time":"2020-04-04T07:07:40Z","count":0,"text":"Resolved
        bugs should appear when requested via id but not in search.","creation_time":"2020-04-04T07:07:40Z","tags":[],"creator":"test@example.com"}]}},"comments":{}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:22 GMT
      Etag:
      - SmkLlM4MqrWeOKN5IJ3Yig
      Keep-Alive:
      - timeout=15, max=94
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1
