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=2&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":[{"keywords":[],"cc":["alpha@gentoo.org","hppa@gentoo.org"],"blocks":[9],"product":"Gentoo
        Linux","cc_detail":[{"id":3,"email":"alpha@gentoo.org","real_name":"ALPHA
        arch team","name":"alpha@gentoo.org"},{"email":"hppa@gentoo.org","real_name":"HPPA
        arch team","name":"hppa@gentoo.org","id":5}],"component":"Keywording","id":2,"flags":[{"modification_date":"2020-04-03T13:34:59Z","status":"+","id":2,"setter":"nattka@gentoo.org","type_id":1,"name":"sanity-check","creation_date":"2020-04-03T13:34:59Z"}],"depends_on":[1],"whiteboard":"","resolution":"","cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4"}]}'
    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:19 GMT
      Etag:
      - +LV+tOZJJaEkx2UTjfoMsw
      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/2/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"2":{"comments":[{"is_private":false,"attachment_id":null,"bug_id":2,"creation_time":"2020-04-03T13:18:10Z","time":"2020-04-03T13:18:10Z","id":2,"text":"","creator":"test@example.com","tags":[],"count":0}]}}}'
    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:21 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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": [2], "flags": [{"name": "sanity-check", "status": "X"}]}'
    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/2
  response:
    body:
      string: '{"bugs":[{"id":2,"last_change_time":"2020-04-10T09:53:25Z","alias":[],"changes":{"flagtypes.name":{"removed":"sanity-check+","added":""}}}]}'
    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:24 GMT
      Etag:
      - GxtCIqPgRyt6gsU+abG1yQ
      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=2&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":[{"flags":[],"product":"Gentoo Linux","cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","cc":["alpha@gentoo.org","hppa@gentoo.org"],"keywords":[],"resolution":"","id":2,"whiteboard":"","cc_detail":[{"id":3,"name":"alpha@gentoo.org","real_name":"ALPHA
        arch team","email":"alpha@gentoo.org"},{"email":"hppa@gentoo.org","real_name":"HPPA
        arch team","name":"hppa@gentoo.org","id":5}],"component":"Keywording","depends_on":[1],"blocks":[9]}]}'
    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:26 GMT
      Etag:
      - L3c8afv2Zg4T1d6dn3vf5g
      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/2/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"2":{"comments":[{"creation_time":"2020-04-03T13:18:10Z","id":2,"creator":"test@example.com","time":"2020-04-03T13:18:10Z","attachment_id":null,"tags":[],"bug_id":2,"is_private":false,"count":0,"text":""}]}}}'
    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:28 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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
