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=6&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":[],"assigned_to":"test@example.com","depends_on":[],"blocks":[],"cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","product":"Gentoo
        Security","id":6,"whiteboard":"","last_change_time":"2020-04-03T13:31:19Z","flags":[],"resolution":"","cf_runtime_testing_required":"Yes","assigned_to_detail":{"name":"test@example.com","real_name":"Test
        developer","email":"test@example.com","id":1},"cc":[],"component":"Kernel","cc_detail":[]}]}'
    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:47:54 GMT
      Etag:
      - 9g/49laPPB4nF8CChxeKeA
      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/6/comment
  response:
    body:
      string: '{"bugs":{"6":{"comments":[{"is_private":false,"creation_time":"2020-04-03T13:27:05Z","count":0,"creator":"test@example.com","id":6,"text":"","bug_id":6,"time":"2020-04-03T13:27:05Z","tags":[],"attachment_id":null}]}},"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:47:55 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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/6/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"6":{"comments":[{"id":6,"tags":[],"attachment_id":null,"count":0,"text":"","creation_time":"2020-04-03T13:27:05Z","is_private":false,"creator":"test@example.com","time":"2020-04-03T13:27:05Z","bug_id":6}]}}}'
    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:47:55 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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: '{"id":2,"name":"nattka@gentoo.org","real_name":"NATTkA"}'
    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:47:56 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": [6], "flags": [{"name": "sanity-check", "status": "-"}], "comment":
      {"body": "sanity check failed!\r\n"}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '113'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.28.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/6
  response:
    body:
      string: '{"bugs":[{"id":6,"last_change_time":"2022-09-06T19:47:57Z","alias":[],"changes":{"flagtypes.name":{"removed":"","added":"sanity-check-"}}}]}'
    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:47:56 GMT
      Etag:
      - MSh1fGqITzHzTkWDDbdm3A
      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=6&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":"2022-09-06T19:47:57Z","resolution":"","whiteboard":"","id":6,"cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","product":"Gentoo
        Security","depends_on":[],"keywords":[],"assigned_to":"test@example.com","flags":[{"type_id":1,"setter":"nattka@gentoo.org","name":"sanity-check","status":"-","id":4,"creation_date":"2022-09-06T19:47:57Z","modification_date":"2022-09-06T19:47:57Z"}],"component":"Kernel","assigned_to_detail":{"name":"test@example.com","id":1,"real_name":"Test
        developer","email":"test@example.com"},"cc_detail":[],"cc":[],"cf_runtime_testing_required":"Yes","blocks":[]}]}'
    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:47:57 GMT
      Etag:
      - imPo0Tpl14RQENlFyN1t3Q
      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/6/comment
  response:
    body:
      string: '{"bugs":{"6":{"comments":[{"id":6,"creator":"test@example.com","attachment_id":null,"is_private":false,"count":0,"time":"2020-04-03T13:27:05Z","bug_id":6,"creation_time":"2020-04-03T13:27:05Z","tags":[],"text":""},{"text":"sanity
        check failed!","tags":[],"count":1,"time":"2022-09-06T19:47:57Z","is_private":false,"bug_id":6,"creation_time":"2022-09-06T19:47:57Z","creator":"nattka@gentoo.org","attachment_id":null,"id":14}]}},"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:47:57 GMT
      Etag:
      - JEgx+gYwFquMGc2BpizJmw
      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
