interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=5&include_fields=blocks&include_fields=cc&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"resolution":"","cc_detail":[{"name":"test@example.com","email":"test@example.com","id":1,"real_name":"Test
        developer"}],"cf_stabilisation_atoms":"app-arch/arj-3.10.22-r7 amd64 hppa","cc":["test@example.com"],"blocks":[],"id":5,"keywords":[],"product":"Gentoo
        Security","component":"Vulnerabilities","flags":[],"whiteboard":"test whiteboard","depends_on":[]}]}'
    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:
      - Fri, 10 Apr 2020 09:53:29 GMT
      Etag:
      - mTk+s7Illq277Pu3OYnKQw
      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.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/5/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"5":{"comments":[{"time":"2020-04-03T13:26:12Z","count":0,"id":5,"attachment_id":null,"tags":[],"creator":"test@example.com","bug_id":5,"is_private":false,"creation_time":"2020-04-03T13:26:12Z","text":"who
        uses arj anyway these days?"}]}}}'
    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:
      - Fri, 10 Apr 2020 09:53:31 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: '{"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.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/5
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2020-04-10T09:53:34Z","id":5,"changes":{"flagtypes.name":{"added":"sanity-check+","removed":""}},"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:
      - Fri, 10 Apr 2020 09:53:33 GMT
      Etag:
      - 2kYOc05thsW5wqW0A/Zr2Q
      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.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=5&include_fields=blocks&include_fields=cc&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"cc_detail":[{"id":1,"name":"test@example.com","real_name":"Test
        developer","email":"test@example.com"}],"resolution":"","depends_on":[],"flags":[{"creation_date":"2020-04-10T09:53:34Z","setter":"nattka@gentoo.org","status":"+","modification_date":"2020-04-10T09:53:34Z","id":4,"name":"sanity-check","type_id":1}],"whiteboard":"test
        whiteboard","cf_stabilisation_atoms":"app-arch/arj-3.10.22-r7 amd64 hppa","blocks":[],"cc":["test@example.com"],"keywords":[],"component":"Vulnerabilities","product":"Gentoo
        Security","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:
      - Fri, 10 Apr 2020 09:53:35 GMT
      Etag:
      - jvFqCtR/0dDtQN4zjYYRyw
      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: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.23.0
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/5/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"5":{"comments":[{"attachment_id":null,"creation_time":"2020-04-03T13:26:12Z","is_private":false,"creator":"test@example.com","tags":[],"id":5,"count":0,"bug_id":5,"time":"2020-04-03T13:26:12Z","text":"who
        uses arj anyway these days?"}]}}}'
    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:
      - Fri, 10 Apr 2020 09:53:36 GMT
      Etag:
      - lDf6jrNoZJw0HKJZ0QEhDg
      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
version: 1
