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":[{"resolution":"","depends_on":[7],"cc_detail":[{"id":4,"name":"amd64@gentoo.org","real_name":"AMD64
        arch team","email":"amd64@gentoo.org"}],"product":"Gentoo Linux","cc":["amd64@gentoo.org"],"blocks":[],"assigned_to_detail":{"id":6,"name":"bug-wranglers@gentoo.org","real_name":"Bug
        wranglers","email":"bug-wranglers@gentoo.org"},"id":3,"component":"Stabilization","whiteboard":"","keywords":["STABLEREQ"],"flags":[{"modification_date":"2020-04-03T13:35:02Z","type_id":1,"name":"sanity-check","id":3,"creation_date":"2020-04-03T13:35:02Z","setter":"nattka@gentoo.org","status":"-"}],"cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","last_change_time":"2020-11-26T09:42:55Z","assigned_to":"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:32 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","bug_id":3,"count":0,"is_private":false,"time":"2020-04-03T13:19:04Z","creation_time":"2020-04-03T13:19:04Z","attachment_id":null,"id":3,"tags":[],"text":""},{"is_private":false,"time":"2020-04-03T13:35:02Z","creation_time":"2020-04-03T13:35:02Z","creator":"nattka@gentoo.org","count":1,"bug_id":3,"text":"sanity
        check failed!","attachment_id":null,"tags":[],"id":8},{"tags":[],"id":9,"attachment_id":null,"text":"sanity
        check failed!","bug_id":3,"count":2,"creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:35:33Z","time":"2020-04-03T13:35:33Z","is_private":false},{"creation_time":"2020-04-03T13:37:04Z","time":"2020-04-03T13:37:04Z","is_private":false,"count":3,"bug_id":3,"creator":"nattka@gentoo.org","text":"sanity
        check failed!","id":10,"tags":[],"attachment_id":null},{"count":4,"bug_id":3,"creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:38:16Z","time":"2020-04-03T13:38:16Z","is_private":false,"tags":[],"id":11,"attachment_id":null,"text":"sanity
        check failed!"}]}},"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:32 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: 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: '{"comments":{},"bugs":{"3":{"comments":[{"count":0,"attachment_id":null,"bug_id":3,"tags":[],"is_private":false,"text":"","creator":"test@example.com","creation_time":"2020-04-03T13:19:04Z","time":"2020-04-03T13:19:04Z","id":3},{"is_private":false,"text":"sanity
        check failed!","creation_time":"2020-04-03T13:35:02Z","creator":"nattka@gentoo.org","time":"2020-04-03T13:35:02Z","id":8,"attachment_id":null,"count":1,"bug_id":3,"tags":[]},{"time":"2020-04-03T13:35:33Z","id":9,"text":"sanity
        check failed!","is_private":false,"creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:35:33Z","bug_id":3,"tags":[],"count":2,"attachment_id":null},{"is_private":false,"text":"sanity
        check failed!","creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:37:04Z","time":"2020-04-03T13:37:04Z","id":10,"attachment_id":null,"count":3,"bug_id":3,"tags":[]},{"bug_id":3,"tags":[],"attachment_id":null,"count":4,"time":"2020-04-03T13:38:16Z","id":11,"text":"sanity
        check failed!","is_private":false,"creator":"nattka@gentoo.org","creation_time":"2020-04-03T13:38:16Z"}]}}}'
    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:33 GMT
      Etag:
      - 6aoKiXCfaqTuevape3TPdg
      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: '{"id":2,"real_name":"NATTkA","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:33 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: '{"comment_id": 8, "add": ["obsolete"]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '38'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/comment/8/tags
  response:
    body:
      string: '["obsolete"]'
    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:34 GMT
      Etag:
      - hHg6Y2vRCcfYAEuEwFJkzA
      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: '{"comment_id": 9, "add": ["obsolete"]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '38'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/comment/9/tags
  response:
    body:
      string: '["obsolete"]'
    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:34 GMT
      Etag:
      - hHg6Y2vRCcfYAEuEwFJkzA
      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: '{"comment_id": 10, "add": ["obsolete"]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '39'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/comment/10/tags
  response:
    body:
      string: '["obsolete"]'
    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:35 GMT
      Etag:
      - hHg6Y2vRCcfYAEuEwFJkzA
      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
- request:
    body: '{"comment_id": 11, "add": ["obsolete"]}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '39'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/comment/11/tags
  response:
    body:
      string: '["obsolete"]'
    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:36 GMT
      Etag:
      - hHg6Y2vRCcfYAEuEwFJkzA
      Keep-Alive:
      - timeout=15, max=93
      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], "flags": [{"name": "sanity-check", "status": "-"}]}'
    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/3
  response:
    body:
      string: '{"bugs":[{"id":3,"last_change_time":"2020-11-26T09:42:55Z","changes":{},"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:36 GMT
      Etag:
      - WK1+2MEebuYr8k2z9Hm+uA
      Keep-Alive:
      - timeout=15, max=92
      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":[{"component":"Stabilization","assigned_to":"bug-wranglers@gentoo.org","keywords":["STABLEREQ"],"blocks":[],"whiteboard":"","resolution":"","id":3,"assigned_to_detail":{"id":6,"name":"bug-wranglers@gentoo.org","real_name":"Bug
        wranglers","email":"bug-wranglers@gentoo.org"},"cc":["amd64@gentoo.org"],"last_change_time":"2020-11-26T09:42:55Z","product":"Gentoo
        Linux","cc_detail":[{"name":"amd64@gentoo.org","id":4,"email":"amd64@gentoo.org","real_name":"AMD64
        arch team"}],"depends_on":[7],"cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","flags":[{"type_id":1,"setter":"nattka@gentoo.org","modification_date":"2020-04-03T13:35:02Z","name":"sanity-check","id":3,"creation_date":"2020-04-03T13:35:02Z","status":"-"}]}]}'
    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:37 GMT
      Etag:
      - oDNpxch6IC2RasGM3CVLrQ
      Keep-Alive:
      - timeout=15, max=91
      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: '{"comments":{},"bugs":{"3":{"comments":[{"tags":[],"count":0,"time":"2020-04-03T13:19:04Z","attachment_id":null,"is_private":false,"text":"","id":3,"creation_time":"2020-04-03T13:19:04Z","bug_id":3,"creator":"test@example.com"},{"time":"2020-04-03T13:35:02Z","count":1,"tags":["obsolete"],"bug_id":3,"creator":"nattka@gentoo.org","text":"sanity
        check failed!","attachment_id":null,"id":8,"is_private":false,"creation_time":"2020-04-03T13:35:02Z"},{"creator":"nattka@gentoo.org","bug_id":3,"creation_time":"2020-04-03T13:35:33Z","id":9,"attachment_id":null,"text":"sanity
        check failed!","is_private":false,"time":"2020-04-03T13:35:33Z","tags":["obsolete"],"count":2},{"tags":["obsolete"],"count":3,"time":"2020-04-03T13:37:04Z","text":"sanity
        check failed!","id":10,"attachment_id":null,"is_private":false,"creation_time":"2020-04-03T13:37:04Z","creator":"nattka@gentoo.org","bug_id":3},{"creation_time":"2020-04-03T13:38:16Z","attachment_id":null,"is_private":false,"id":11,"text":"sanity
        check failed!","creator":"nattka@gentoo.org","bug_id":3,"tags":["obsolete"],"count":4,"time":"2020-04-03T13:38:16Z"}]}}}'
    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:37 GMT
      Etag:
      - F6bNAE/hBWuAL4tCRQerjA
      Keep-Alive:
      - timeout=15, max=90
      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
