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=6&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":[],"blocks":[],"resolution":"","cc_detail":[],"depends_on":[],"component":"Kernel","whiteboard":"","id":6,"flags":[],"product":"Gentoo
        Security","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","keywords":[]}]}'
    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:38 GMT
      Etag:
      - jt58KnFhpS8+4asPTW46KA
      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/6/comment
  response:
    body:
      string: '{"bugs":{"6":{"comments":[{"text":"","creation_time":"2020-04-03T13:27:05Z","attachment_id":null,"id":6,"tags":[],"is_private":false,"count":0,"time":"2020-04-03T13:27:05Z","creator":"test@example.com","bug_id":6}]}},"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:
      - Fri, 10 Apr 2020 09:53:41 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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": [6], "flags": [{"name": "sanity-check", "status": "-"}], "comment":
      {"body": "sanity check failed!\r\n"}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '113'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.23.0
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/6
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2020-04-10T09:53:44Z","id":6,"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:42 GMT
      Etag:
      - GEAYX3nN67HySwiH2/EiUA
      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=6&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":[{"setter":"nattka@gentoo.org","type_id":1,"name":"sanity-check","creation_date":"2020-04-10T09:53:44Z","modification_date":"2020-04-10T09:53:44Z","status":"-","id":5}],"blocks":[],"cc":[],"component":"Kernel","cc_detail":[],"whiteboard":"","resolution":"","product":"Gentoo
        Security","id":6,"cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","keywords":[],"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:45 GMT
      Etag:
      - y4KOPLJhBa3AwZhMWZbunw
      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/6/comment
  response:
    body:
      string: '{"bugs":{"6":{"comments":[{"text":"","count":0,"bug_id":6,"time":"2020-04-03T13:27:05Z","is_private":false,"tags":[],"attachment_id":null,"creation_time":"2020-04-03T13:27:05Z","id":6,"creator":"test@example.com"},{"creation_time":"2020-04-10T09:53:44Z","attachment_id":null,"tags":[],"id":14,"creator":"nattka@gentoo.org","text":"sanity
        check failed!","count":1,"bug_id":6,"time":"2020-04-10T09:53:44Z","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:
      - Fri, 10 Apr 2020 09:53:46 GMT
      Etag:
      - UpZROL4jbf523oS1BEY95Q
      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
