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":[{"product":"Gentoo Security","flags":[],"blocks":[],"depends_on":[],"resolution":"","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","id":6,"cc":[],"assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"},"keywords":[],"cc_detail":[],"assigned_to":"test@example.com","component":"Kernel","last_change_time":"2020-04-03T13:31:19Z","whiteboard":""}]}'
    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:51:27 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":[{"id":6,"tags":[],"creation_time":"2020-04-03T13:27:05Z","is_private":false,"attachment_id":null,"count":0,"time":"2020-04-03T13:27:05Z","bug_id":6,"creator":"test@example.com","text":""}]}},"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:51:27 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: '{"bugs":{"6":{"comments":[{"creator":"test@example.com","id":6,"time":"2020-04-03T13:27:05Z","bug_id":6,"tags":[],"is_private":false,"attachment_id":null,"text":"","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:51:28 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:51:28 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": "+"}], "cc":
      {"add": ["amd64@gentoo.org", "hppa@gentoo.org"]}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '120'
      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":[{"alias":[],"changes":{"cc":{"added":"amd64@gentoo.org, hppa@gentoo.org","removed":""},"flagtypes.name":{"removed":"","added":"sanity-check+"}},"last_change_time":"2021-04-16T08:51:30Z","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:51:29 GMT
      Etag:
      - crf5jfOxTet3knA8yfIuwA
      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":[{"component":"Kernel","cf_stabilisation_atoms":"sys-kernel/gentoo-sources-4.1.6","resolution":"","cc_detail":[{"real_name":"AMD64
        arch team","email":"amd64@gentoo.org","name":"amd64@gentoo.org","id":4},{"email":"hppa@gentoo.org","name":"hppa@gentoo.org","id":5,"real_name":"HPPA
        arch team"}],"cc":["amd64@gentoo.org","hppa@gentoo.org"],"keywords":[],"id":6,"depends_on":[],"assigned_to_detail":{"id":1,"name":"test@example.com","email":"test@example.com","real_name":"Test
        developer"},"product":"Gentoo Security","assigned_to":"test@example.com","flags":[{"creation_date":"2021-04-16T08:51:30Z","status":"+","type_id":1,"name":"sanity-check","modification_date":"2021-04-16T08:51:30Z","id":6,"setter":"nattka@gentoo.org"}],"last_change_time":"2021-04-16T08:51:30Z","blocks":[],"whiteboard":""}]}'
    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:51:30 GMT
      Etag:
      - a3HYpbVhCXzU9L6DLjqSWw
      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":[{"creation_time":"2020-04-03T13:27:05Z","count":0,"text":"","attachment_id":null,"tags":[],"bug_id":6,"id":6,"creator":"test@example.com","is_private":false,"time":"2020-04-03T13:27:05Z"}]}}}'
    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:51:30 GMT
      Etag:
      - b+gppQt3tHjVWaHZ4U2b3w
      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
