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=8&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":[{"cf_stabilisation_atoms":"dev-lang/python-3.7.7","whiteboard":"","id":8,"component":"Stabilization","depends_on":[],"resolution":"FIXED","flags":[],"cc":[],"keywords":[],"cc_detail":[],"blocks":[],"product":"Gentoo
        Linux"}]}'
    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:
      - Wed, 15 Apr 2020 10:01:53 GMT
      Etag:
      - wk0OG1JoGdgfDzLtX0qzwA
      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/8/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"8":{"comments":[{"time":"2020-04-04T07:07:40Z","tags":[],"is_private":false,"count":0,"creator":"test@example.com","bug_id":8,"id":12,"creation_time":"2020-04-04T07:07:40Z","text":"Resolved
        bugs should appear when requested via id but not in search.","attachment_id":null}]}}}'
    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:
      - Wed, 15 Apr 2020 10:01:55 GMT
      Etag:
      - SmkLlM4MqrWeOKN5IJ3Yig
      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": [8], "flags": [{"name": "sanity-check", "status": "+"}], "keywords":
      {"add": ["ALLARCHES"], "remove": []}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '114'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/8
  response:
    body:
      string: '{"bugs":[{"id":8,"last_change_time":"2020-04-15T10:01:58Z","changes":{"keywords":{"removed":"","added":"ALLARCHES"},"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:
      - Wed, 15 Apr 2020 10:01:57 GMT
      Etag:
      - uvsxG1O+a6prqacOJSu+kQ
      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=8&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":[{"component":"Stabilization","cc":[],"cf_stabilisation_atoms":"dev-lang/python-3.7.7","resolution":"FIXED","whiteboard":"","flags":[{"setter":"nattka@gentoo.org","status":"+","creation_date":"2020-04-15T10:01:58Z","id":4,"type_id":1,"modification_date":"2020-04-15T10:01:58Z","name":"sanity-check"}],"id":8,"depends_on":[],"blocks":[],"keywords":["ALLARCHES"],"cc_detail":[],"product":"Gentoo
        Linux"}]}'
    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:
      - Wed, 15 Apr 2020 10:01:59 GMT
      Etag:
      - NMvf+e5/PmIc6DyEA2bksw
      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/8/comment
  response:
    body:
      string: '{"bugs":{"8":{"comments":[{"id":12,"creation_time":"2020-04-04T07:07:40Z","attachment_id":null,"bug_id":8,"count":0,"text":"Resolved
        bugs should appear when requested via id but not in search.","time":"2020-04-04T07:07:40Z","tags":[],"creator":"test@example.com","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:
      - Wed, 15 Apr 2020 10:02:01 GMT
      Etag:
      - SmkLlM4MqrWeOKN5IJ3Yig
      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
