interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.27.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":[{"flags":[{"setter":"nattka@gentoo.org","modification_date":"2020-04-03T13:35:02Z","id":3,"type_id":1,"name":"sanity-check","status":"-","creation_date":"2020-04-03T13:35:02Z"}],"cc":["amd64@gentoo.org"],"blocks":[],"whiteboard":"","depends_on":[7],"product":"Gentoo
        Linux","keywords":["STABLEREQ"],"id":3,"cc_detail":[{"name":"amd64@gentoo.org","id":4,"real_name":"AMD64
        arch team","email":"amd64@gentoo.org"}],"component":"Stabilization","assigned_to_detail":{"email":"bug-wranglers@gentoo.org","real_name":"Bug
        wranglers","id":6,"name":"bug-wranglers@gentoo.org"},"resolution":"","last_change_time":"2020-11-26T09:42:55Z","assigned_to":"bug-wranglers@gentoo.org","cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64"}]}'
    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:
      - Thu, 17 Mar 2022 20:00:43 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.27.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/3/comment
  response:
    body:
      string: '{"bugs":{"3":{"comments":[{"creation_time":"2020-04-03T13:19:04Z","creator":"test@example.com","is_private":false,"id":3,"bug_id":3,"count":0,"attachment_id":null,"tags":[],"text":"","time":"2020-04-03T13:19:04Z"},{"time":"2020-04-03T13:35:02Z","text":"sanity
        check failed!","tags":[],"attachment_id":null,"count":1,"bug_id":3,"id":8,"creator":"nattka@gentoo.org","is_private":false,"creation_time":"2020-04-03T13:35:02Z"},{"id":9,"is_private":false,"creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:35:33Z","attachment_id":null,"count":2,"bug_id":3,"time":"2020-04-03T13:35:33Z","text":"sanity
        check failed!","tags":[]},{"bug_id":3,"count":3,"attachment_id":null,"creation_time":"2020-04-03T13:37:04Z","is_private":false,"creator":"nattka@gentoo.org","id":10,"text":"sanity
        check failed!","tags":[],"time":"2020-04-03T13:37:04Z"},{"bug_id":3,"count":4,"attachment_id":null,"creation_time":"2020-04-03T13:38:16Z","is_private":false,"creator":"nattka@gentoo.org","id":11,"text":"sanity
        check failed!","tags":[],"time":"2020-04-03T13:38:16Z"}]}},"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:
      - Thu, 17 Mar 2022 20:00:44 GMT
      Etag:
      - 6aoKiXCfaqTuevape3TPdg
      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?!"}, "status": "IN_PROGRESS"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '107'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.27.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/3
  response:
    body:
      string: '{"bugs":[{"last_change_time":"2022-03-17T20:00:45Z","alias":[],"id":3,"changes":{"status":{"added":"IN_PROGRESS","removed":"CONFIRMED"}}}]}'
    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:
      - Thu, 17 Mar 2022 20:00:44 GMT
      Etag:
      - 3PD8MAIh9jhxnF9s7cj+rg
      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.27.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":[{"cc":["amd64@gentoo.org"],"keywords":["STABLEREQ"],"id":3,"blocks":[],"depends_on":[7],"assigned_to":"bug-wranglers@gentoo.org","cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","product":"Gentoo Linux","flags":[{"status":"-","modification_date":"2020-04-03T13:35:02Z","type_id":1,"setter":"nattka@gentoo.org","name":"sanity-check","id":3,"creation_date":"2020-04-03T13:35:02Z"}],"whiteboard":"","assigned_to_detail":{"id":6,"name":"bug-wranglers@gentoo.org","real_name":"Bug
        wranglers","email":"bug-wranglers@gentoo.org"},"resolution":"","component":"Stabilization","last_change_time":"2022-03-17T20:00:45Z","cc_detail":[{"name":"amd64@gentoo.org","id":4,"real_name":"AMD64
        arch team","email":"amd64@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:
      - Thu, 17 Mar 2022 20:00:45 GMT
      Etag:
      - zYcaxbNEWy2IhfCgTsj5uQ
      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.27.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/3/comment
  response:
    body:
      string: '{"bugs":{"3":{"comments":[{"creation_time":"2020-04-03T13:19:04Z","tags":[],"id":3,"count":0,"creator":"test@example.com","is_private":false,"attachment_id":null,"text":"","time":"2020-04-03T13:19:04Z","bug_id":3},{"creation_time":"2020-04-03T13:35:02Z","tags":[],"count":1,"id":8,"attachment_id":null,"creator":"nattka@gentoo.org","is_private":false,"text":"sanity
        check failed!","time":"2020-04-03T13:35:02Z","bug_id":3},{"time":"2020-04-03T13:35:33Z","text":"sanity
        check failed!","bug_id":3,"attachment_id":null,"creator":"nattka@gentoo.org","is_private":false,"count":2,"id":9,"creation_time":"2020-04-03T13:35:33Z","tags":[]},{"tags":[],"creation_time":"2020-04-03T13:37:04Z","id":10,"count":3,"is_private":false,"creator":"nattka@gentoo.org","attachment_id":null,"bug_id":3,"time":"2020-04-03T13:37:04Z","text":"sanity
        check failed!"},{"bug_id":3,"text":"sanity check failed!","time":"2020-04-03T13:38:16Z","attachment_id":null,"is_private":false,"creator":"nattka@gentoo.org","count":4,"id":11,"tags":[],"creation_time":"2020-04-03T13:38:16Z"},{"count":5,"id":15,"tags":[],"creation_time":"2022-03-17T20:00:45Z","bug_id":3,"text":"whut?!","time":"2022-03-17T20:00:45Z","attachment_id":null,"is_private":false,"creator":"test@example.com"}]}},"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:
      - Thu, 17 Mar 2022 20:00:45 GMT
      Etag:
      - ZT9AbTVsMtA+5GV/K2QNmw
      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
