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=5&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","flags":[],"resolution":"","cc":["test@example.com"],"product":"Gentoo
        Security","cf_runtime_testing_required":"Yes","cf_stabilisation_atoms":"app-arch/arj-3.10.22-r7
        amd64 hppa","depends_on":[],"blocks":[],"last_change_time":"2020-04-10T09:47:22Z","id":5,"component":"Vulnerabilities","cc_detail":[{"id":1,"real_name":"Test
        developer","name":"test@example.com","email":"test@example.com"}],"whiteboard":"test
        whiteboard","assigned_to_detail":{"id":1,"name":"test@example.com","real_name":"Test
        developer","email":"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:15 GMT
      Etag:
      - 5o05OZBsubaP84XisHGB3w
      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/5/comment
  response:
    body:
      string: '{"bugs":{"5":{"comments":[{"bug_id":5,"time":"2020-04-03T13:26:12Z","tags":[],"attachment_id":null,"count":0,"is_private":false,"text":"who
        uses arj anyway these days?","id":5,"creation_time":"2020-04-03T13:26:12Z","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:15 GMT
      Etag:
      - lDf6jrNoZJw0HKJZ0QEhDg
      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/5/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"5":{"comments":[{"text":"who uses arj anyway
        these days?","creation_time":"2020-04-03T13:26:12Z","time":"2020-04-03T13:26:12Z","id":5,"tags":[],"creator":"test@example.com","count":0,"is_private":false,"attachment_id":null,"bug_id":5}]}}}'
    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:16 GMT
      Etag:
      - lDf6jrNoZJw0HKJZ0QEhDg
      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,"real_name":"NATTkA","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:16 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": [5], "flags": [{"name": "sanity-check", "status": "+"}]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '64'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.28.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/5
  response:
    body:
      string: '{"bugs":[{"id":5,"changes":{"flagtypes.name":{"added":"sanity-check+","removed":""}},"last_change_time":"2022-09-06T19:46:17Z","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:17 GMT
      Etag:
      - kJUX394A5z++phux+RUbVw
      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=5&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":[{"whiteboard":"test whiteboard","product":"Gentoo Security","resolution":"","cc":["test@example.com"],"cf_stabilisation_atoms":"app-arch/arj-3.10.22-r7
        amd64 hppa","flags":[{"setter":"nattka@gentoo.org","type_id":1,"creation_date":"2022-09-06T19:46:17Z","status":"+","name":"sanity-check","modification_date":"2022-09-06T19:46:17Z","id":4}],"cc_detail":[{"name":"test@example.com","real_name":"Test
        developer","id":1,"email":"test@example.com"}],"depends_on":[],"assigned_to":"test@example.com","blocks":[],"last_change_time":"2022-09-06T19:46:17Z","component":"Vulnerabilities","keywords":[],"assigned_to_detail":{"real_name":"Test
        developer","name":"test@example.com","id":1,"email":"test@example.com"},"cf_runtime_testing_required":"Yes","id":5}]}'
    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:18 GMT
      Etag:
      - Pp8WybTAB8SKYBGFqyz2XA
      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/5/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"5":{"comments":[{"id":5,"text":"who uses arj
        anyway these days?","creator":"test@example.com","time":"2020-04-03T13:26:12Z","count":0,"attachment_id":null,"bug_id":5,"is_private":false,"tags":[],"creation_time":"2020-04-03T13:26:12Z"}]}}}'
    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:18 GMT
      Etag:
      - lDf6jrNoZJw0HKJZ0QEhDg
      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
