aboutsummaryrefslogblamecommitdiff
blob: ad69b727af9e63d03256dade226490eaecb4b823 (plain) (tree)





















































                                                                                                                                                
interactions:
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/accounts/1/follow
  response:
    body: {string: '{"id":"1","following":true,"followed_by":false,"blocking":false,"muting":false,"requested":false,"domain_blocking":false}'}
    headers:
      Cache-Control: ['max-age=0, private, must-revalidate']
      Content-Type: [application/json; charset=utf-8]
      ETag: [W/"54ee9a8f552ca13f2eb48913ddfa66b6"]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Frame-Options: [SAMEORIGIN]
      X-Request-Id: [74b7ca00-cec6-4673-a6f7-00e340e5299f]
      X-Runtime: ['0.155400']
      X-XSS-Protection: [1; mode=block]
      content-length: ['121']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/accounts/1/unfollow
  response:
    body: {string: '{"id":"1","following":false,"followed_by":false,"blocking":false,"muting":false,"requested":false,"domain_blocking":false}'}
    headers:
      Cache-Control: ['max-age=0, private, must-revalidate']
      Content-Type: [application/json; charset=utf-8]
      ETag: [W/"0f18b5b45430f24d88fd4f352cdf3e0d"]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Frame-Options: [SAMEORIGIN]
      X-Request-Id: [75185a80-e13e-4620-89c1-d368db67b22c]
      X-Runtime: ['0.094960']
      X-XSS-Protection: [1; mode=block]
      content-length: ['122']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)