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":[{"last_change_time":"2020-04-03T13:31:19Z","cc":[],"product":"Gentoo
        Security","cc_detail":[],"assigned_to":"test@example.com","blocks":[],"resolution":"","assigned_to_detail":{"email":"test@example.com","real_name":"Test
        developer","id":1,"name":"test@example.com"},"keywords":[],"component":"Kernel","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","flags":[],"cf_runtime_testing_required":"Yes","id":6,"depends_on":[],"whiteboard":""}]}'
    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:
      - 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":[{"bug_id":6,"attachment_id":null,"time":"2020-04-03T13:27:05Z","tags":[],"creator":"test@example.com","count":0,"text":"","id":6,"creation_time":"2020-04-03T13:27:05Z","is_private":false}]}},"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:23 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: '{"bugs":{"6":{"comments":[{"tags":[],"creator":"test@example.com","time":"2020-04-03T13:27:05Z","is_private":false,"attachment_id":null,"id":6,"creation_time":"2020-04-03T13:27:05Z","bug_id":6,"count":0,"text":""}]}},"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:23 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: '{"real_name":"NATTkA","id":2,"name":"nattka@gentoo.org"}'
    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:24 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": "+"}], "cc":
      {"add": ["amd64@gentoo.org", "hppa@gentoo.org"]}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '120'
      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":[{"last_change_time":"2022-09-06T19:46:25Z","changes":{"flagtypes.name":{"removed":"","added":"sanity-check+"},"cc":{"added":"amd64@gentoo.org,
        hppa@gentoo.org","removed":""}},"id":6,"alias":[]}]}'
    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:24 GMT
      Etag:
      - agHuLfsHzmmIkJ3kdIfOKQ
      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":[{"assigned_to_detail":{"real_name":"Test developer","name":"test@example.com","id":1,"email":"test@example.com"},"resolution":"","keywords":[],"blocks":[],"id":6,"last_change_time":"2022-09-06T19:46:25Z","assigned_to":"test@example.com","cc_detail":[{"id":4,"email":"amd64@gentoo.org","real_name":"AMD64
        arch team","name":"amd64@gentoo.org"},{"real_name":"HPPA arch team","name":"hppa@gentoo.org","id":5,"email":"hppa@gentoo.org"}],"product":"Gentoo
        Security","cf_runtime_testing_required":"Yes","depends_on":[],"cc":["amd64@gentoo.org","hppa@gentoo.org"],"component":"Kernel","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","flags":[{"type_id":1,"setter":"nattka@gentoo.org","creation_date":"2022-09-06T19:46:25Z","id":6,"status":"+","name":"sanity-check","modification_date":"2022-09-06T19:46:25Z"}],"whiteboard":""}]}'
    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:25 GMT
      Etag:
      - lBOUTbYc9EqzWYImXBLbew
      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: '{"comments":{},"bugs":{"6":{"comments":[{"creator":"test@example.com","bug_id":6,"count":0,"time":"2020-04-03T13:27:05Z","text":"","attachment_id":null,"creation_time":"2020-04-03T13:27:05Z","id":6,"is_private":false,"tags":[]}]}}}'
    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:25 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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
