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









                                                             
                                          


                                           
                                                        
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                            







                                                               
                                          


                                                                 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             

                                    
                        




                                                             
                            
                                                       
                                          


                                                       
                                                                                                                                                                                                                                       
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             









                                                             
                                          
                
                                                       


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          









                                                             
                                          
               
                                                       
           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
            
                                           
                                                     
                                                                                       
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             








                                                             
                                          


                                                         
                                                                                                                                                                                                                                         
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             







                                                             
                                          
               
                                                       


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          



                                       
                        




                                                             
                            
                                                       
                                          


                                                       
                                                                                                                                                                                                                                       
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             









                                                             
                                          
                
                                                       


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          









                                                             
                                          
               
                                                       
           
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
            
                                           
                                                     
                                                                                       
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             









                                                             
                                          
                  
                                                       


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          









                                                             
                                          
               
                                                       


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          










                                                             
                                          


                                                         
                                                                                                                                                                                                                                         
            
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          
                                       
                             








                                                             
                                          
                  
                                              


                        
                                           
                                                     
                                                        


                                       
                                  
                                   
                                               

                                                          



                                       
interactions:
- request:
    body: title=ham+burglars
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['18']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/lists
  response:
    body: {string: '{"id":"43","title":"ham burglars"}'}
    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: [fe576154-b879-482a-a62d-da7e366d6721]
      X-Runtime: ['0.028738']
      X-XSS-Protection: [1; mode=block]
      content-length: ['34']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/accounts/verify_credentials
  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":27,"last_status_at":"2019-10-11T21:48:42.003Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'}
    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: [f0caa592-56a1-4ef4-be70-60b41f2fc2d6]
      X-Runtime: ['0.030191']
      X-XSS-Protection: [1; mode=block]
      content-length: ['680']
    status: {code: 200, message: OK}
- request:
    body: reblogs=1&id=1
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['14']
      Content-Type: [application/x-www-form-urlencoded]
      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,"showing_reblogs":true,"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: [7bd6941b-e3df-4519-83df-435eb5c322ca]
      X-Runtime: ['0.056128']
      X-XSS-Protection: [1; mode=block]
      content-length: ['209']
    status: {code: 200, message: OK}
- request:
    body: account_ids%5B%5D=1
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['19']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/lists/43/accounts
  response:
    body: {string: '{}'}
    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: [2c7c620c-03c5-4414-9731-c704e64b9353]
      X-Runtime: ['0.048851']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/lists/43/accounts
  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":27,"last_status_at":"2019-10-11T21:48:42.003Z","emojis":[],"fields":[]}]'}
    headers:
      Cache-Control: ['no-cache, no-store']
      Content-Type: [application/json; charset=utf-8]
      Link: ['<http://localhost:3000/api/v1/lists/43/accounts?since_id=1>; 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: [5f11ecfa-0a01-40ce-b492-e45614f62bc4]
      X-Runtime: ['0.034811']
      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]
      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,"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: [7bcfcf3c-b635-474d-9ddf-f895f7dcc7a8]
      X-Runtime: ['0.082880']
      X-XSS-Protection: [1; mode=block]
      content-length: ['211']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/lists/43/accounts
  response:
    body: {string: '[]'}
    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: [0861bab8-799e-4ddd-adc4-67a79e1508fb]
      X-Runtime: ['0.018946']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
- request:
    body: reblogs=1&id=1
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['14']
      Content-Type: [application/x-www-form-urlencoded]
      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,"showing_reblogs":true,"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: [425f2499-1911-4499-87f4-8e4d5dad18f7]
      X-Runtime: ['0.097413']
      X-XSS-Protection: [1; mode=block]
      content-length: ['209']
    status: {code: 200, message: OK}
- request:
    body: account_ids%5B%5D=1
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['19']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/lists/43/accounts
  response:
    body: {string: '{}'}
    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: [a36688a8-8816-41d4-a104-5f0380e943f3]
      X-Runtime: ['0.102944']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/lists/43/accounts
  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":27,"last_status_at":"2019-10-11T21:48:42.003Z","emojis":[],"fields":[]}]'}
    headers:
      Cache-Control: ['no-cache, no-store']
      Content-Type: [application/json; charset=utf-8]
      Link: ['<http://localhost:3000/api/v1/lists/43/accounts?since_id=1>; 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: [4ab8767a-021b-45de-a8f6-b7bf4572bc24]
      X-Runtime: ['0.057221']
      X-XSS-Protection: [1; mode=block]
      content-length: ['570']
    status: {code: 200, message: OK}
- request:
    body: account_ids%5B%5D=1
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['19']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: DELETE
    uri: http://localhost:3000/api/v1/lists/43/accounts
  response:
    body: {string: '{}'}
    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: [120e304e-7092-499c-a8ee-b13cc26b1c3b]
      X-Runtime: ['0.054979']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    status: {code: 200, message: OK}
- request:
    body: null
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      User-Agent: [python-requests/2.18.4]
    method: GET
    uri: http://localhost:3000/api/v1/lists/43/accounts
  response:
    body: {string: '[]'}
    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: [8d5e3bce-1221-4d66-85d3-fe957d0142dc]
      X-Runtime: ['0.047257']
      X-XSS-Protection: [1; mode=block]
      content-length: ['2']
    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,"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: [944b3299-7257-49c0-bc05-2bc09c5e19b8]
      X-Runtime: ['0.112388']
      X-XSS-Protection: [1; mode=block]
      content-length: ['211']
    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: DELETE
    uri: http://localhost:3000/api/v1/lists/43
  response:
    body: {string: '{}'}
    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: [60d8628b-b112-4228-a45d-f281cf6b16af]
      X-Runtime: ['0.069627']
      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)