interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=6&include_fields=assigned_to&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=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"id":6,"cc":[],"product":"Gentoo Security","component":"Kernel","assigned_to":"test@example.com","resolution":"","flags":[],"keywords":[],"depends_on":[],"whiteboard":"","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","cc_detail":[],"last_change_time":"2020-04-03T13:31:19Z","blocks":[],"assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"}}]}'
    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, 16 Apr 2021 08:53:00 GMT
      Etag:
      - C2y0MYvYS4Eh4NMoXarOIg
      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.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/6/comment
  response:
    body:
      string: '{"bugs":{"6":{"comments":[{"bug_id":6,"creator":"test@example.com","time":"2020-04-03T13:27:05Z","is_private":false,"text":"","tags":[],"attachment_id":null,"id":6,"count":0,"creation_time":"2020-04-03T13:27:05Z"}]}},"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, 16 Apr 2021 08:53:01 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: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/6/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"6":{"comments":[{"time":"2020-04-03T13:27:05Z","creator":"test@example.com","id":6,"creation_time":"2020-04-03T13:27:05Z","tags":[],"is_private":false,"count":0,"attachment_id":null,"text":"","bug_id":6}]}}}'
    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, 16 Apr 2021 08:53:02 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/whoami
  response:
    body:
      string: '{"real_name":"NATTkA","id":2,"name":"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:
      - Fri, 16 Apr 2021 08:53:02 GMT
      Etag:
      - mVytJ9+Su1npSL9ztIqPVQ
      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: '{"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.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/6
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2021-04-16T08:53:03Z","changes":{"flagtypes.name":{"removed":"","added":"sanity-check-"}},"id":6,"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, 16 Apr 2021 08:53:03 GMT
      Etag:
      - q4OnjtoSzEVAGzd89PWBLQ
      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
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=6&include_fields=assigned_to&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=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"whiteboard":"","id":6,"product":"Gentoo Security","assigned_to":"test@example.com","blocks":[],"component":"Kernel","cc_detail":[],"assigned_to_detail":{"real_name":"Test
        developer","email":"test@example.com","id":1,"name":"test@example.com"},"last_change_time":"2021-04-16T08:53:03Z","cc":[],"resolution":"","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","depends_on":[],"flags":[{"name":"sanity-check","id":4,"setter":"nattka@gentoo.org","status":"-","creation_date":"2021-04-16T08:53:03Z","modification_date":"2021-04-16T08:53:03Z","type_id":1}],"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, 16 Apr 2021 08:53:04 GMT
      Etag:
      - vmENnhVWXYPBdIDQIBztqw
      Keep-Alive:
      - timeout=15, max=95
      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.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/6/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"6":{"comments":[{"creator":"test@example.com","time":"2020-04-03T13:27:05Z","count":0,"tags":[],"is_private":false,"bug_id":6,"text":"","id":6,"creation_time":"2020-04-03T13:27:05Z","attachment_id":null},{"creator":"nattka@gentoo.org","time":"2021-04-16T08:53:03Z","tags":[],"is_private":false,"bug_id":6,"count":1,"text":"sanity
        check failed!","attachment_id":null,"creation_time":"2021-04-16T08:53:03Z","id":14}]}}}'
    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, 16 Apr 2021 08:53:04 GMT
      Etag:
      - 1/uIE6TlZUDoSUWkpkQsCA
      Keep-Alive:
      - timeout=15, max=94
      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
