aboutsummaryrefslogblamecommitdiff
blob: 4e0d5e6b7bfe1796772b0d3a2b296ccbd5ac25e6 (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]
      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":0,"following_count":0,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"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: [1fca6cd2-444a-4918-a374-6fcc3f6cbf6d]
      X-Runtime: ['0.057864']
      X-XSS-Protection: [1; mode=block]
      content-length: ['609']
    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]
      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: [76cbc535-db11-451c-990b-ad974b1e2701]
      X-Runtime: ['0.088849']
      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/instance/
  response:
    body: {string: '{"uri":"localhost","title":"Mastodon","description":"","email":"","version":"2.9.1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":1,"domain_count":0},"thumbnail":"http://localhost/packs/media/images/preview-9a17d32fc48369e8ccd910a75260e67d.jpg","languages":["en"],"registrations":true,"contact_account":null}'}
    headers:
      Cache-Control: ['max-age=300, public']
      Content-Type: [application/json; charset=utf-8]
      Date: ['Sat, 22 Jun 2019 13:03:56 GMT']
      ETag: [W/"ee7808ee1b13d469fd4f8951cd3f9f8a"]
      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: [cfb4c102-f7f1-48df-8209-2c0fea3dbf0c]
      X-Runtime: ['0.043274']
      X-XSS-Protection: [1; mode=block]
      content-length: ['348']
    status: {code: 200, message: OK}
- request:
    body: status=only+real+cars+respond.
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
      Connection: [keep-alive]
      Content-Length: ['30']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/statuses
  response:
    body: {string: '{"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eonly
        real cars respond.\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
        test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
        Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
        walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
    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: [4b875c60-55fe-4455-adcc-0dda8683da0a]
      X-Runtime: ['0.148230']
      X-XSS-Protection: [1; mode=block]
      content-length: ['1615']
    status: {code: 200, message: OK}
- request:
    body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
      Connection: [keep-alive]
      Content-Length: ['48']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/statuses
  response:
    body: {string: '{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315369523202198","url":"http://localhost/@admin/102315369523202198","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003e\u003cspan
        class=\"h-card\"\u003e\u003ca href=\"http://localhost/@mastodonpy_test\" class=\"u-url
        mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
        beep beep I\u0026apos;m a jeep\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
        test suite","website":null},"account":{"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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}'}
    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: [ea5b4ce1-da66-4937-b029-a61639667174]
      X-Runtime: ['0.260557']
      X-XSS-Protection: [1; mode=block]
      content-length: ['1511']
    status: {code: 200, message: OK}
- request:
    body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane
    headers:
      Accept: ['*/*']
      Accept-Encoding: ['gzip, deflate']
      Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
      Connection: [keep-alive]
      Content-Length: ['55']
      Content-Type: [application/x-www-form-urlencoded]
      User-Agent: [python-requests/2.18.4]
    method: POST
    uri: http://localhost:3000/api/v1/statuses
  response:
    body: {string: '{"id":"102315369541189753","created_at":"2019-06-22T13:04:01.698Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315369541189753","url":"http://localhost/@admin/102315369541189753","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eon
        the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
        test suite","website":null},"account":{"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":0,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
    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: [51ec6fe5-86a0-4a15-bc7f-07350127cf57]
      X-Runtime: ['0.185403']
      X-XSS-Protection: [1; mode=block]
      content-length: ['1220']
    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/statuses/102315369511109147
  response:
    body: {string: '{"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"only
        real cars respond.","reblog":null,"application":{"name":"Mastodon.py test
        suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
        Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"\u003cp\u003eI
        walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
    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: [b7b8739b-bf64-4bf8-88b8-81a4507406dd]
      X-Runtime: ['0.103892']
      X-XSS-Protection: [1; mode=block]
      content-length: ['1585']
    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:4000/api/v1/streaming/user
  response:
    body: {string: 'event: update

        data: {"id":"102315369511109147","created_at":"2019-06-22T13:04:01.231Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/mastodonpy_test/statuses/102315369511109147","url":"http://localhost/@mastodonpy_test/102315369511109147","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"<p>only
        real cars respond.</p>","reblog":null,"application":{"name":"Mastodon.py test
        suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
        Lennon","locked":true,"bot":false,"created_at":"2019-06-22T14:46:28.567Z","note":"<p>I
        walk funny</p>","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561208564","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}


        event: notification

        data: {"id":"13","type":"mention","created_at":"2019-06-22T13:04:01.554Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"status":{"id":"102315369523202198","created_at":"2019-06-22T13:04:01.445Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost/users/admin/statuses/102315369523202198","url":"http://localhost/@admin/102315369523202198","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"content":"<p><span
        class=\"h-card\"><a href=\"http://localhost/@mastodonpy_test\" class=\"u-url
        mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","reblog":null,"application":{"name":"Mastodon.py
        test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"<p></p>","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":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[],"card":null,"poll":null}}


        event: delete

        data: 102315369511109147


        :'}
    headers:
      Access-Control-Allow-Headers: ['Authorization, Accept, Cache-Control']
      Access-Control-Allow-Methods: ['GET, OPTIONS']
      Access-Control-Allow-Origin: ['*']
      Connection: [keep-alive]
      Content-Type: [text/event-stream]
      Date: ['Sat, 22 Jun 2019 13:04:01 GMT']
      Transfer-Encoding: [chunked]
      X-Powered-By: [Express]
      X-Request-Id: [c4f3c36c-06d0-48d1-b740-e9e5dd5e701a]
    status: {code: 200, message: OK}
version: 1
Powered by cgit v1.2.3 (git 2.41.0)