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=2&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":[{"keywords":[],"product":"Gentoo Linux","blocks":[9],"assigned_to":"test@example.com","cc_detail":[{"real_name":"ALPHA
        arch team","id":3,"name":"alpha@gentoo.org","email":"alpha@gentoo.org"},{"real_name":"HPPA
        arch team","id":5,"name":"hppa@gentoo.org","email":"hppa@gentoo.org"}],"id":2,"assigned_to_detail":{"real_name":"Test
        developer","id":1,"email":"test@example.com","name":"test@example.com"},"cc":["alpha@gentoo.org","hppa@gentoo.org"],"component":"Keywording","whiteboard":"","depends_on":[1],"cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","flags":[],"resolution":"","last_change_time":"2021-04-16T08:51:17Z"}]}'
    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:49 GMT
      Etag:
      - +Vm26Ao3P0JhYfZcczRvVw
      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/2/comment
  response:
    body:
      string: '{"bugs":{"2":{"comments":[{"id":2,"count":0,"creator":"test@example.com","time":"2020-04-03T13:18:10Z","text":"","bug_id":2,"creation_time":"2020-04-03T13:18:10Z","tags":[],"is_private":false,"attachment_id":null}]}},"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:50 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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": [2], "cc": {"remove": ["hppa@gentoo.org"]}, "comment": {"body":
      "hppa done"}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '85'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/2
  response:
    body:
      string: '{"bugs":[{"id":2,"last_change_time":"2021-04-16T08:51:51Z","changes":{"cc":{"added":"","removed":"hppa@gentoo.org"}},"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:51:50 GMT
      Etag:
      - M0gz79wpDFySZvWdsnOJkA
      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/bug?id=2&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":[{"cc_detail":[{"id":3,"real_name":"ALPHA arch team","email":"alpha@gentoo.org","name":"alpha@gentoo.org"}],"cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","resolution":"","keywords":[],"last_change_time":"2021-04-16T08:51:51Z","assigned_to":"test@example.com","cc":["alpha@gentoo.org"],"whiteboard":"","flags":[],"component":"Keywording","depends_on":[1],"assigned_to_detail":{"id":1,"real_name":"Test
        developer","email":"test@example.com","name":"test@example.com"},"id":2,"product":"Gentoo
        Linux","blocks":[9]}]}'
    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:51 GMT
      Etag:
      - WogZU4/Hh/OMF0wi8Ec+Jw
      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.25.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/2/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"2":{"comments":[{"is_private":false,"time":"2020-04-03T13:18:10Z","count":0,"bug_id":2,"id":2,"creation_time":"2020-04-03T13:18:10Z","tags":[],"text":"","attachment_id":null,"creator":"test@example.com"},{"creation_time":"2021-04-16T08:51:51Z","tags":[],"id":15,"text":"hppa
        done","creator":"test@example.com","attachment_id":null,"count":1,"time":"2021-04-16T08:51:51Z","is_private":false,"bug_id":2}]}}}'
    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:52 GMT
      Etag:
      - iXUEXwT4wrKEWeQPjJpd9w
      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
