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=9&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":[{"blocks":[],"component":"Keywording","cc":[],"depends_on":[2],"id":9,"cc_detail":[],"keywords":[],"resolution":"","flags":[],"whiteboard":"","cf_stabilisation_atoms":"dev-python/frobnicate-11","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:
      - Thu, 16 Apr 2020 17:58:00 GMT
      Etag:
      - v2HSvboN5nXhiZJ8YFAX5Q
      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/9/comment
  response:
    body:
      string: '{"bugs":{"9":{"comments":[{"creator":"test@example.com","id":13,"tags":[],"is_private":false,"creation_time":"2020-04-05T14:35:59Z","time":"2020-04-05T14:35:59Z","attachment_id":null,"text":"this
        one depends on a bug that depends on a bug...","count":0,"bug_id":9}]}},"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:
      - Thu, 16 Apr 2020 17:58:02 GMT
      Etag:
      - n6Ps7+fs9H1p33tQU+b13Q
      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": [9], "flags": [{"name": "sanity-check", "status": "+"}], "cf_stabilisation_atoms":
      "dev-python/frobnicate-11 amd64 x86\r\n"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '132'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/9
  response:
    body:
      string: '{"bugs":[{"changes":{"flagtypes.name":{"removed":"","added":"sanity-check+"},"cf_stabilisation_atoms":{"removed":"dev-python/frobnicate-11","added":"dev-python/frobnicate-11
        amd64 x86"}},"id":9,"last_change_time":"2020-04-16T17:58:06Z","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:
      - Thu, 16 Apr 2020 17:58:04 GMT
      Etag:
      - iV/UR6uvNF+3OmLaRJ7L+Q
      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=9&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":[],"whiteboard":"","cf_stabilisation_atoms":"dev-python/frobnicate-11
        amd64 x86","id":9,"resolution":"","cc":[],"product":"Gentoo Linux","depends_on":[2],"component":"Keywording","blocks":[],"cc_detail":[],"flags":[{"status":"+","creation_date":"2020-04-16T17:58:06Z","type_id":1,"name":"sanity-check","modification_date":"2020-04-16T17:58:06Z","id":4,"setter":"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:
      - Thu, 16 Apr 2020 17:58:06 GMT
      Etag:
      - IYm1C2kce9Nj2nmCZQIidw
      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/9/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"9":{"comments":[{"count":0,"text":"this one
        depends on a bug that depends on a bug...","id":13,"is_private":false,"attachment_id":null,"tags":[],"bug_id":9,"creator":"test@example.com","creation_time":"2020-04-05T14:35:59Z","time":"2020-04-05T14:35:59Z"}]}}}'
    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:
      - Thu, 16 Apr 2020 17:58:08 GMT
      Etag:
      - n6Ps7+fs9H1p33tQU+b13Q
      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
