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=3&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":["STABLEREQ"],"blocks":[],"depends_on":[7],"flags":[{"status":"-","id":3,"setter":"nattka@gentoo.org","creation_date":"2020-04-03T13:35:02Z","modification_date":"2020-04-03T13:35:02Z","type_id":1,"name":"sanity-check"}],"whiteboard":"","component":"Stabilization","cc_detail":[{"name":"amd64@gentoo.org","id":4,"email":"amd64@gentoo.org","real_name":"AMD64
        arch team"}],"last_change_time":"2020-11-26T09:42:55Z","resolution":"","assigned_to":"bug-wranglers@gentoo.org","cc":["amd64@gentoo.org"],"cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","id":3,"product":"Gentoo Linux","assigned_to_detail":{"email":"bug-wranglers@gentoo.org","id":6,"real_name":"Bug
        wranglers","name":"bug-wranglers@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:52 GMT
      Etag:
      - oDNpxch6IC2RasGM3CVLrQ
      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/3/comment
  response:
    body:
      string: '{"bugs":{"3":{"comments":[{"creator":"test@example.com","attachment_id":null,"is_private":false,"text":"","count":0,"time":"2020-04-03T13:19:04Z","tags":[],"bug_id":3,"creation_time":"2020-04-03T13:19:04Z","id":3},{"is_private":false,"attachment_id":null,"creator":"nattka@gentoo.org","count":1,"text":"sanity
        check failed!","tags":["obsolete"],"time":"2020-04-03T13:35:02Z","id":8,"creation_time":"2020-04-03T13:35:02Z","bug_id":3},{"count":2,"text":"sanity
        check failed!","is_private":false,"creator":"nattka@gentoo.org","attachment_id":null,"id":9,"bug_id":3,"creation_time":"2020-04-03T13:35:33Z","time":"2020-04-03T13:35:33Z","tags":["obsolete"]},{"is_private":false,"attachment_id":null,"creator":"nattka@gentoo.org","count":3,"text":"sanity
        check failed!","tags":["obsolete"],"time":"2020-04-03T13:37:04Z","id":10,"creation_time":"2020-04-03T13:37:04Z","bug_id":3},{"attachment_id":null,"creator":"nattka@gentoo.org","is_private":false,"text":"sanity
        check failed!","count":4,"tags":["obsolete"],"time":"2020-04-03T13:38:16Z","creation_time":"2020-04-03T13:38:16Z","bug_id":3,"id":11}]}},"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:53 GMT
      Etag:
      - F6bNAE/hBWuAL4tCRQerjA
      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": [3], "cc": {"remove": ["hppa@gentoo.org"]}, "comment": {"body":
      "whut?!"}}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '82'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/3
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2021-04-16T08:51:54Z","id":3,"alias":[],"changes":{}}]}'
    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:53 GMT
      Etag:
      - EfxDXQWIT91KHdjfjayrxA
      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=3&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":"","flags":[{"status":"-","modification_date":"2020-04-03T13:35:02Z","creation_date":"2020-04-03T13:35:02Z","setter":"nattka@gentoo.org","name":"sanity-check","type_id":1,"id":3}],"assigned_to":"bug-wranglers@gentoo.org","cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","cc":["amd64@gentoo.org"],"cc_detail":[{"email":"amd64@gentoo.org","id":4,"name":"amd64@gentoo.org","real_name":"AMD64
        arch team"}],"component":"Stabilization","last_change_time":"2021-04-16T08:51:54Z","id":3,"product":"Gentoo
        Linux","assigned_to_detail":{"id":6,"email":"bug-wranglers@gentoo.org","real_name":"Bug
        wranglers","name":"bug-wranglers@gentoo.org"},"keywords":["STABLEREQ"],"blocks":[],"depends_on":[7],"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:54 GMT
      Etag:
      - 49hJgoE+hUqMiQwVMlXOww
      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/3/comment
  response:
    body:
      string: '{"bugs":{"3":{"comments":[{"text":"","creator":"test@example.com","is_private":false,"tags":[],"count":0,"attachment_id":null,"id":3,"creation_time":"2020-04-03T13:19:04Z","bug_id":3,"time":"2020-04-03T13:19:04Z"},{"is_private":false,"tags":["obsolete"],"text":"sanity
        check failed!","creator":"nattka@gentoo.org","attachment_id":null,"count":1,"id":8,"creation_time":"2020-04-03T13:35:02Z","bug_id":3,"time":"2020-04-03T13:35:02Z"},{"tags":["obsolete"],"is_private":false,"creator":"nattka@gentoo.org","text":"sanity
        check failed!","attachment_id":null,"count":2,"time":"2020-04-03T13:35:33Z","bug_id":3,"creation_time":"2020-04-03T13:35:33Z","id":9},{"is_private":false,"tags":["obsolete"],"text":"sanity
        check failed!","creator":"nattka@gentoo.org","attachment_id":null,"count":3,"id":10,"creation_time":"2020-04-03T13:37:04Z","bug_id":3,"time":"2020-04-03T13:37:04Z"},{"creator":"nattka@gentoo.org","text":"sanity
        check failed!","tags":["obsolete"],"is_private":false,"count":4,"attachment_id":null,"time":"2020-04-03T13:38:16Z","bug_id":3,"id":11,"creation_time":"2020-04-03T13:38:16Z"},{"count":5,"attachment_id":null,"time":"2021-04-16T08:51:54Z","bug_id":3,"id":16,"creation_time":"2021-04-16T08:51:54Z","creator":"test@example.com","text":"whut?!","tags":[],"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, 16 Apr 2021 08:51:55 GMT
      Etag:
      - 4lxTw+0lgJ4iKdIjyFCGsQ
      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
