aboutsummaryrefslogblamecommitdiff
blob: 0144af9fc1485dbbeb332f048afc16e66fcdb171 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                               
                                         


                                                                      
                                                                                                                                                                                                                  


                                                            
                                                  



                                       

                                                          
                                       
                             








                                                             
                                         






                                                              
                                                  



                                       

                                                          


                                       
          
interactions:
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python-requests/2.9.1]
    method: POST
    uri: http://localhost:3000/api/v1/accounts/1234567890123456/follow
  response:
    body: {string: '{"id":"1234567890123456","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false}'}
    headers:
      Cache-Control: ['max-age=0, private, must-revalidate']
      Content-Type: [application/json; charset=utf-8]
      ETag: [W/"6737a3e9598d3423f6aab6d803f28cb0"]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Frame-Options: [SAMEORIGIN]
      X-Request-Id: [a78739d1-f048-4dd6-85c2-66c0e17c77db]
      X-Runtime: ['0.089222']
      X-XSS-Protection: [1; mode=block]
      content-length: ['188']
    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.9.1]
    method: POST
    uri: http://localhost:3000/api/v1/follow_requests/1/reject
  response:
    body: {string: '{}'}
    headers:
      Cache-Control: ['max-age=0, private, must-revalidate']
      Content-Type: [application/json; charset=utf-8]
      ETag: [W/"70ad1d3b65be5c4cb1e00585ab9235f5"]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Frame-Options: [SAMEORIGIN]
      X-Request-Id: [491ec338-00a1-4b31-a56f-db6903db97b2]
      X-Runtime: ['0.046716']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)