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

             
                                       




                                                               
                            
                                                       
                                          
                
                                                                      
           
                                                                                                                                                                                                                                                      
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             





                                        





                                                               
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                


                                                     
                                                                                      






                                                        

                                                          
                                       
                             






                                                               

                              
                                          


                                                              
                                                                                                                                                                                                                                         
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             
                                    
          
interactions:
- request:
    body: reblogs=1&id=1234567890123457
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
      Connection: [keep-alive]
      Content-Length: ['29']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/accounts/1234567890123457/follow
  response:
    body: {string: '{"id":"1234567890123457","following":false,"showing_reblogs":true,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":true,"domain_blocking":false,"endorsed":false}'}
    headers:
      Cache-Control: ['no-cache, no-store']
      Content-Type: [application/json; charset=utf-8]
      Referrer-Policy: [strict-origin-when-cross-origin]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Download-Options: [noopen]
      X-Frame-Options: [SAMEORIGIN]
      X-Permitted-Cross-Domain-Policies: [none]
      X-Request-Id: [a52c3ee7-f876-4b3f-8980-b64efe2b2c79]
      X-Runtime: ['0.089550']
      X-XSS-Protection: [1; mode=block]
      content-length: ['224']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/follow_requests
  response:
    body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":30,"last_status_at":"2019-10-12T21:00:36.915Z","emojis":[],"fields":[]}]'}
    headers:
      Cache-Control: ['no-cache, no-store']
      Content-Type: [application/json; charset=utf-8]
      Link: ['<http://localhost:3000/api/v1/follow_requests?since_id=25>; rel="prev"']
      Referrer-Policy: [strict-origin-when-cross-origin]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Download-Options: [noopen]
      X-Frame-Options: [SAMEORIGIN]
      X-Permitted-Cross-Domain-Policies: [none]
      X-Request-Id: [41cf6cd0-060a-4f1e-a0b6-ea55d2d4cb7c]
      X-Runtime: ['0.042726']
      X-XSS-Protection: [1; mode=block]
      content-length: ['570']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_3]
      Connection: [keep-alive]
      Content-Length: ['0']
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/follow_requests/1/reject
  response:
    body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"blocked_by":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false,"endorsed":false}'}
    headers:
      Cache-Control: ['no-cache, no-store']
      Content-Type: [application/json; charset=utf-8]
      Referrer-Policy: [strict-origin-when-cross-origin]
      Transfer-Encoding: [chunked]
      Vary: ['Accept-Encoding, Origin']
      X-Content-Type-Options: [nosniff]
      X-Download-Options: [noopen]
      X-Frame-Options: [SAMEORIGIN]
      X-Permitted-Cross-Domain-Policies: [none]
      X-Request-Id: [22a0b3bc-92d1-4126-8915-3abe2d3aa9e0]
      X-Runtime: ['0.031439']
      X-XSS-Protection: [1; mode=block]
      content-length: ['211']
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)