interactions:
- request:
    body: '{"query": "\n        mutation create(\n          $name: String!\n          $description:
      String\n          $visibility: Visibility!\n        ) {\n          createTracker(\n            name:
      $name\n            description: $description\n            visibility: $visibility\n          )
      {\n              \nid\ncreated\nupdated\nname\ndescription\nvisibility\n\n          }\n        }\n        ",
      "variables": {"name": "test-acl2", "description": null, "visibility": "UNLISTED"}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '476'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"createTracker":{"id":12214,"created":"2023-08-27T01:41:10.906736Z","updated":"2023-08-27T01:41:10.906736Z","name":"test-acl2","description":null,"visibility":"UNLISTED"}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '181'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:10 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        query {\n          me {\n            username\n          }\n        }\n        ",
      "variables": {}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '119'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"me":{"username":"gotmax23-test"}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '44'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:11 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        query listTrackerAcls($username: String!, $tracker:
      String!, $cursor: Cursor) {\n            user(username: $username) {\n                tracker(name:
      $tracker) {\n                    acls(cursor: $cursor) {\n                        cursor\n                        results
      {\n                            \nbrowse\nsubmit\ncomment\nedit\ntriage\n\nid\ncreated\ntracker
      {\n    \nid\nname\nowner {\n    canonicalName\n}\n\n}\nentity {\n    canonicalName\n}\n\n                        }\n                    }\n                }\n            }\n        }\n        ",
      "variables": {"username": "gotmax23-test", "tracker": "test-acl2", "cursor":
      null}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '668'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"user":{"tracker":{"acls":{"cursor":null,"results":[]}}}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '67'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:11 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        mutation updateUserAcl($inp: ACLInput!, $tracker_id:
      Int!, $user_id: Int!) {\n            updateUserACL(trackerId: $tracker_id, userId:
      $user_id, input: $inp) {\n                \nbrowse\nsubmit\ncomment\nedit\ntriage\n\nid\ncreated\ntracker
      {\n    \nid\nname\nowner {\n    canonicalName\n}\n\n}\nentity {\n    canonicalName\n}\n\n            }\n        }\n        ",
      "variables": {"tracker_id": 12214, "user_id": 26753, "inp": {"browse": true,
      "submit": true, "comment": true, "edit": true, "triage": true}}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '530'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"updateUserACL":{"browse":true,"submit":true,"comment":true,"edit":true,"triage":true,"id":674,"created":"2023-08-27T01:41:11.62926Z","tracker":{"id":12214,"name":"test-acl2","owner":{"canonicalName":"~gotmax23-test"}},"entity":{"canonicalName":"~gotmax23"}}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '269'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:11 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        query listTrackerAcls($username: String!, $tracker:
      String!, $cursor: Cursor) {\n            user(username: $username) {\n                tracker(name:
      $tracker) {\n                    acls(cursor: $cursor) {\n                        cursor\n                        results
      {\n                            \nbrowse\nsubmit\ncomment\nedit\ntriage\n\nid\ncreated\ntracker
      {\n    \nid\nname\nowner {\n    canonicalName\n}\n\n}\nentity {\n    canonicalName\n}\n\n                        }\n                    }\n                }\n            }\n        }\n        ",
      "variables": {"username": "gotmax23-test", "tracker": "test-acl2", "cursor":
      null}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '668'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"user":{"tracker":{"acls":{"cursor":null,"results":[{"browse":true,"submit":true,"comment":true,"edit":true,"triage":true,"id":674,"created":"2023-08-27T01:41:11.62926Z","tracker":{"id":12214,"name":"test-acl2","owner":{"canonicalName":"~gotmax23-test"}},"entity":{"canonicalName":"~gotmax23"}}]}}}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '309'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:11 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        mutation deleteACL($acl_id: Int!) {\n            deleteACL(id:
      $acl_id) {\n                \nbrowse\nsubmit\ncomment\nedit\ntriage\n\nid\ncreated\ntracker
      {\n    \nid\nname\nowner {\n    canonicalName\n}\n\n}\nentity {\n    canonicalName\n}\n\n            }\n        }\n        ",
      "variables": {"acl_id": 674}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '331'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"deleteACL":{"browse":true,"submit":true,"comment":true,"edit":true,"triage":true,"id":674,"created":"2023-08-27T01:41:11.62926Z","tracker":{"id":12214,"name":"test-acl2","owner":{"canonicalName":"~gotmax23-test"}},"entity":{"canonicalName":"~gotmax23"}}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '265'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:12 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
- request:
    body: '{"query": "\n        mutation delete($tracker: Int!) {\n          deleteTracker(id:
      $tracker) {\n            id\n          }\n        }\n        ", "variables":
      {"tracker": 12214}}'
    headers:
      accept:
      - '*/*'
      accept-encoding:
      - gzip, deflate
      connection:
      - keep-alive
      content-length:
      - '180'
      content-type:
      - application/json
      host:
      - todo.sr.ht
      user-agent:
      - python-httpx/0.24.1
    method: POST
    uri: https://todo.sr.ht/query
  response:
    content: '{"data":{"deleteTracker":{"id":12214}}}'
    headers:
      Access-Control-Allow-Headers:
      - User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Range
      Access-Control-Allow-Methods:
      - GET, POST, OPTIONS
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - Content-Length,Content-Range
      Connection:
      - keep-alive
      Content-Length:
      - '39'
      Content-Type:
      - application/json
      Date:
      - Sun, 27 Aug 2023 01:41:12 GMT
      Server:
      - nginx
    http_version: HTTP/1.1
    status_code: 200
version: 1
