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":[{"blocks":[9],"flags":[{"creation_date":"2020-04-03T13:34:59Z","setter":"nattka@gentoo.org","type_id":1,"status":"+","id":2,"modification_date":"2020-04-03T13:34:59Z","name":"sanity-check"}],"component":"Keywording","product":"Gentoo
        Linux","last_change_time":"2020-04-03T13:34:59Z","resolution":"","assigned_to":"test@example.com","cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","whiteboard":"","id":2,"keywords":[],"cc":["alpha@gentoo.org","hppa@gentoo.org"],"depends_on":[1],"assigned_to_detail":{"email":"test@example.com","id":1,"name":"test@example.com","real_name":"Test
        developer"},"cc_detail":[{"email":"alpha@gentoo.org","id":3,"name":"alpha@gentoo.org","real_name":"ALPHA
        arch team"},{"name":"hppa@gentoo.org","id":5,"real_name":"HPPA arch team","email":"hppa@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:14 GMT
      Etag:
      - YEIOC0x+8Y4OAEoveOy97A
      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,"creator":"test@example.com","bug_id":2,"time":"2020-04-03T13:18:10Z","is_private":false,"tags":[],"count":0,"creation_time":"2020-04-03T13:18:10Z","attachment_id":null,"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:15 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: 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":[{"text":"","creator":"test@example.com","creation_time":"2020-04-03T13:18:10Z","count":0,"time":"2020-04-03T13:18:10Z","bug_id":2,"is_private":false,"attachment_id":null,"tags":[],"id":2}]}},"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:15 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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: '{"name":"nattka@gentoo.org","real_name":"NATTkA","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:16 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": [2], "flags": [{"name": "sanity-check", "status": "X"}]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '64'
      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":[{"last_change_time":"2021-04-16T08:51:17Z","changes":{"flagtypes.name":{"removed":"sanity-check+","added":""}},"alias":[],"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:16 GMT
      Etag:
      - QsAgDgYH5gsxJFnfbrq6tA
      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=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":[{"flags":[],"cc":["alpha@gentoo.org","hppa@gentoo.org"],"cc_detail":[{"email":"alpha@gentoo.org","name":"alpha@gentoo.org","id":3,"real_name":"ALPHA
        arch team"},{"email":"hppa@gentoo.org","name":"hppa@gentoo.org","id":5,"real_name":"HPPA
        arch team"}],"assigned_to_detail":{"real_name":"Test developer","id":1,"name":"test@example.com","email":"test@example.com"},"whiteboard":"","keywords":[],"component":"Keywording","assigned_to":"test@example.com","product":"Gentoo
        Linux","last_change_time":"2021-04-16T08:51:17Z","depends_on":[1],"cf_stabilisation_atoms":"dev-python/unittest-mixins-1.6\r\ndev-python/coverage-4.5.4","id":2,"blocks":[9],"resolution":""}]}'
    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:17 GMT
      Etag:
      - +Vm26Ao3P0JhYfZcczRvVw
      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/2/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"2":{"comments":[{"tags":[],"creation_time":"2020-04-03T13:18:10Z","attachment_id":null,"is_private":false,"bug_id":2,"count":0,"creator":"test@example.com","text":"","time":"2020-04-03T13:18:10Z","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:18 GMT
      Etag:
      - Vk3udsmTFrEnHNLfeBB6lg
      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
