New casettes, small fixes

This commit is contained in:
Lorenz Diener 2018-06-05 22:10:31 +02:00
pare 36194fd60c
commit 18c6b3b90f
S'han modificat 86 arxius amb 3993 adicions i 3224 eliminacions

Veure arxiu

@ -104,10 +104,8 @@ The responses returned by paginated endpoints contain a "link" header that speci
which parameters to use to get the next and previous pages. Mastodon.py parses these which parameters to use to get the next and previous pages. Mastodon.py parses these
and stores them (if present) in the first (for the previous page) and last (for the and stores them (if present) in the first (for the previous page) and last (for the
next page) item of the returned list as _pagination_prev and _pagination_next. They next page) item of the returned list as _pagination_prev and _pagination_next. They
are accessible only via attribute-style access, and are not considered in determining are accessible only via attribute-style access. Note that this means that if you
dict equality (meaning their presence will not affect any tests of wheter two dicts want to persist pagination info with your data, you'll have to take care of that
are the same, or whether a specific dict is in a list). Note that this also means that
if you want to persist pagination info with your data, you'll have to take care of that
manually (or persist objects, not just dicts). manually (or persist objects, not just dicts).
There are convenience functions available for fetching the previous and next page of There are convenience functions available for fetching the previous and next page of

Veure arxiu

@ -1611,7 +1611,6 @@ class Mastodon:
return priv_dict, pub_dict return priv_dict, pub_dict
@api_version("2.4.0", "2.4.0", __DICT_VERSION_PUSH_NOTIF)
def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header): def push_subscription_decrypt_push(self, data, decrypt_params, encryption_header, crypto_key_header):
""" """
Decrypts `data` received in a webpush request. Requires the private key dict Decrypts `data` received in a webpush request. Requires the private key dict
@ -2109,7 +2108,7 @@ class Mastodon:
(or at least the locals() call) should generally be the first thing (or at least the locals() call) should generally be the first thing
in your function. in your function.
""" """
params = dict(params) params = collections.OrderedDict(params)
del params['self'] del params['self']
param_keys = list(params.keys()) param_keys = list(params.keys())

Veure arxiu

@ -10,18 +10,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1 uri: http://localhost:3000/api/v1/accounts/1
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"46a13fd2ca4876e2ae3f16be4af80a94"] ETag: [W/"e2b63c0bfd061f419fb3bead166f55ac"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [21704ac0-e51d-40e8-a9e4-315a80c460cf] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.017436'] X-Request-Id: [01dee8a7-3c70-4cbd-ae9e-af7a137f0b5a]
X-Runtime: ['0.720053']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['512'] content-length: ['548']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6b51492dfcee796ceace9d26d2d55060"] ETag: [W/"8f163ba0cd0b49c269200290d4c51517"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3959f11c-c706-4e02-8b25-85902bb6bea8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.091559'] X-Request-Id: [ce3c3431-d3cb-4e5c-8b0f-d6b216fbdda3]
X-Runtime: ['0.235778']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -41,13 +44,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"8382f47619ac30055ef26cf1d911cc72"] ETag: [W/"14be8cf013e361ea8c4dca8b2c124127"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3b73836e-2c8a-47d4-9704-4bc967f0ad9e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.066538'] X-Request-Id: [41a7ca98-c99e-4e85-9d5e-7ec0a1a99ad9]
X-Runtime: ['0.132304']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"c1a00b4b787a9daf3a769bfc721b3022"] ETag: [W/"971084270464f354b9f4d0727a243783"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [637e91a7-bc87-4ba4-b45c-31d50aa85657] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.079808'] X-Request-Id: [6e8f9e32-567e-4db4-ae71-60983683fed6]
X-Runtime: ['0.463091']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -41,13 +44,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"8382f47619ac30055ef26cf1d911cc72"] ETag: [W/"94c6d3eb3f16bad47bdb7ed7374be4f5"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [e27b3f1f-788f-4ac8-b48f-2b5fe19fb432] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.065842'] X-Request-Id: [94536b64-b1c1-41ef-abb9-5e04072102fa]
X-Runtime: ['0.123212']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -10,21 +10,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1/followers uri: http://localhost:3000/api/v1/accounts/1/followers
response: response:
body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '[]'}
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":1}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"38d22d88a801dd4cb986a0ddc6db518c"] ETag: [W/"f81432fd8a70b8759403cae44fbff87f"]
Link: ['<http://localhost:3000/api/v1/accounts/1/followers?since_id=6>; rel="prev"'] Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [85399a83-1d02-43d1-9dbd-610526c72a30] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.056902'] X-Request-Id: [d5babb0e-3f18-4c48-8f62-0dc114dbc864]
X-Runtime: ['0.200362']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['769'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5706e177d055738ebc6f95069177cf4d"] ETag: [W/"f81432fd8a70b8759403cae44fbff87f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c5709606-2778-447d-b2ae-0dfc9e1f74db] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.042781'] X-Request-Id: [c6e73f7a-795e-4e75-bcac-effb9dd468cc]
X-Runtime: ['0.185730']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"008d44d4b73a8e22e6ba3e845f04765f"] ETag: [W/"0d2e9a6b8fc851a6ef29c7f9f3448612"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [66831b90-3c4c-46fc-bbe2-b65e940362c1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.043762'] X-Request-Id: [9193e09a-e9a4-47b2-ae4a-3fcf782be7a6]
X-Runtime: ['0.252476']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['173'] content-length: ['173']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -41,13 +44,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"8382f47619ac30055ef26cf1d911cc72"] ETag: [W/"14be8cf013e361ea8c4dca8b2c124127"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1cefdf68-3b71-495c-8c7c-26d67f6e2de4] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.037821'] X-Request-Id: [69698b0a-a1d9-4c9d-b662-828e21486a09]
X-Runtime: ['0.123841']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"100148083981231904","created_at":"2018-06-04T18:54:48.491Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148083981231904","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148083981231904","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"27b169f2c3a47c34c96e80742d4d4f53"] ETag: [W/"7316bc82f1a73a12113f2ee83aed746a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [94dacd68-7f37-4329-a801-3f598e70d14a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.210785'] X-Request-Id: [2044d3e3-4d20-4826-8349-e6f504be9e31]
X-Runtime: ['6.388939']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot%2C+too%21 body: status=Toot%2C+too%21
@ -42,23 +45,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"100148083999835817","created_at":"2018-06-04T18:54:48.795Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148083999835817","content":"\u003cp\u003eToot, body: {string: '{"id":"100154003979439257","created_at":"2018-06-05T20:00:20.589Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003979439257","content":"\u003cp\u003eToot,
too!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148083999835817","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py too!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003979439257","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f8eb615a2b076b4d31bb7c96fd907bd7"] ETag: [W/"29a1a5e887ba4a0a74aab0c3b3b7d543"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5d5d8954-754c-4410-a964-75ad0c2ca3f1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.296913'] X-Request-Id: [9aabad72-2635-4bbb-8a47-0c4189c76c0d]
X-Runtime: ['0.716780']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1404'] content-length: ['1509']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -70,24 +76,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/100148083981231904/pin uri: http://localhost:3000/api/v1/statuses/100154003559888698/pin
response: response:
body: {string: '{"id":"100148083981231904","created_at":"2018-06-04T18:54:48.491Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148083981231904","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148083981231904","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3069d241974170b0fdf5638f101c1d14"] ETag: [W/"f17356c501904f4347c6313fb6d43711"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [91f5a2ce-5896-4879-80c6-a5fc318d8957] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.128018'] X-Request-Id: [1ddb62ef-ea4d-4381-98f7-2d86a41347df]
X-Runtime: ['0.858412']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1398'] content-length: ['1503']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -101,21 +110,24 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":6,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny"}}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0426e9ed5782090a9f08f3fe041e73e5"] ETag: [W/"99b059fb73a292f0e35b78e194eff942"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [19835760-298b-4cda-8b00-321025061f97] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.028631'] X-Request-Id: [c1285531-92f7-4306-9a3d-35e0371145ad]
X-Runtime: ['0.142102']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['833'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -128,24 +140,27 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=True uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=True
response: response:
body: {string: '[{"id":"100148083981231904","created_at":"2018-06-04T18:54:48.491Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148083981231904","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148083981231904","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py body: {string: '[{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"164c9bc09aa3b6f2851768a66047b329"] ETag: [W/"2edaf17d7736f458f92e3480959b0ffd"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?since_id=100148083981231904>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?since_id=100154003559888698>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [222b6664-b99e-48e0-8f20-5aad2764e032] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.055145'] X-Request-Id: [a4fedf85-2801-41fc-b12a-5d6e90ce6ef8]
X-Runtime: ['0.494962']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -157,24 +172,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/100148083981231904/unpin uri: http://localhost:3000/api/v1/statuses/100154003559888698/unpin
response: response:
body: {string: '{"id":"100148083981231904","created_at":"2018-06-04T18:54:48.491Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148083981231904","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148083981231904","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154003559888698","created_at":"2018-06-05T20:00:14.337Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154003559888698","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154003559888698","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"271e3f2fb752c467b8e7670a490f8c89"] ETag: [W/"3cfa771fd1c87e3f197a0592b2b49cdd"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d8e811f8-f682-4c21-a414-394f31b90886] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.074775'] X-Request-Id: [81396ff8-ab3e-42f2-b8c2-ceed65f69781]
X-Runtime: ['0.312059']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -186,19 +204,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/100148083999835817 uri: http://localhost:3000/api/v1/statuses/100154003979439257
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5448afda8ed9c69797f461b0b52bef34"] ETag: [W/"3e9e5c58cddfb1953818bed3b5a0416b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a950980c-ebcf-4b43-8f9d-489068a0b006] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.034879'] X-Request-Id: [81821474-b5d7-462a-8f81-9b666f41d5dc]
X-Runtime: ['0.241922']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -212,19 +233,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/100148083981231904 uri: http://localhost:3000/api/v1/statuses/100154003559888698
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5448afda8ed9c69797f461b0b52bef34"] ETag: [W/"3e9e5c58cddfb1953818bed3b5a0416b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b8a1de16-05df-4caa-8dd9-414d3d0a36d4] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.094459'] X-Request-Id: [9be22702-abdc-4ba8-8fdf-4162f1678052]
X-Runtime: ['0.202120']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -10,18 +10,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/relationships?id=1 uri: http://localhost:3000/api/v1/accounts/relationships?id=1
response: response:
body: {string: '[{"id":"1","following":true,"showing_reblogs":true,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}]'} body: {string: '[{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"565e770cf83ccb81e98e80fa5952a2dc"] ETag: [W/"1c12a483c9a9cf8e734a39cb7167773d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [161157ae-705b-4276-8119-88081b6f4b35] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.026326'] X-Request-Id: [2391ab89-b664-4fed-81ce-68e8b9dd9be2]
X-Runtime: ['0.222951']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['177']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -10,18 +10,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=False uri: http://localhost:3000/api/v1/accounts/search?q=admin&following=False
response: response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3}]'} body: {string: '[]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"10e126b8c53895b42da05d306e3944de"] ETag: [W/"e79cf4b296234465ae50e0c0797c57ae"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d91a3bbc-5985-4800-a2f7-f6162b0bf746] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.048618'] X-Request-Id: [d551880e-9635-4861-a81a-1cf2eb6e10cf]
X-Runtime: ['0.202419']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['514'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -1,20 +1,20 @@
interactions: interactions:
- request: - request:
body: !!binary | body: !!binary |
LS1jZGI3MWU4MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjog LS1hYTYxOWRjNzc4Nzg0ZjI4OGM2NTcxOGE2YzQ0NTcyNQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1swXVt2YWx1ZV0iDQoNCnRvYXN0eS4N Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLWFhNjE5ZGM3
Ci0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2EwMzhjNWQNCkNvbnRlbnQtRGlzcG9zaXRpb246 Nzg3ODRmMjg4YzY1NzE4YTZjNDQ1NzI1DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
IGZvcm0tZGF0YTsgbmFtZT0iZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1jZGI3MWU4 IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS1hYTYxOWRjNzc4Nzg0ZjI4OGM2NTcxOGE2
MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh YzQ0NTcyNQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0
OyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1sxXVtuYW1lXSINCg0KbGFzYWduYQ0KLS1jZGI3MWU4 cmlidXRlc1swXVtuYW1lXSINCg0KYnJlYWQNCi0tYWE2MTlkYzc3ODc4NGYyODhjNjU3MThhNmM0
MTI1ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRh NDU3MjUNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmllbGRzX2F0dHJp
OyBuYW1lPSJmaWVsZHNfYXR0cmlidXRlc1sxXVt2YWx1ZV0iDQoNCm5vISEhDQotLWNkYjcxZTgx YnV0ZXNbMF1bdmFsdWVdIg0KDQp0b2FzdHkuDQotLWFhNjE5ZGM3Nzg3ODRmMjg4YzY1NzE4YTZj
MjVlODRiMzU4OWQzMmZkYzdhMDM4YzVkDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 NDQ1NzI1DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
IG5hbWU9ImZpZWxkc19hdHRyaWJ1dGVzWzBdW25hbWVdIg0KDQpicmVhZA0KLS1jZGI3MWU4MTI1 aWJ1dGVzWzFdW25hbWVdIg0KDQpsYXNhZ25hDQotLWFhNjE5ZGM3Nzg3ODRmMjg4YzY1NzE4YTZj
ZTg0YjM1ODlkMzJmZGM3YTAzOGM1ZA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBu NDQ1NzI1DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
YW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2Ew aWJ1dGVzWzFdW3ZhbHVlXSINCg0Kbm8hISENCi0tYWE2MTlkYzc3ODc4NGYyODhjNjU3MThhNmM0
MzhjNWQNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iaGVhZGVyIjsgZmls NDU3MjUNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iaGVhZGVyIjsgZmls
ZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0K ZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfLmpwZyINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0K
DQr/2P/gABBKRklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJS DQr/2P/gABBKRklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJS
R0IgWFlaIAfcAAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB R0IgWFlaIAfcAAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB
AAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAAAANMtbGNtcwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@ -950,9 +950,9 @@ interactions:
oX5EQbZIDAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWb oX5EQbZIDAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWb
bHaEokDtzf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBT bHaEokDtzf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBT
tsYnLjJ4xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/Wl tsYnLjJ4xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/Wl
SoGNPcbo46Oebs70qVKg/9kNCi0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2EwMzhjNWQNCkNv SoGNPcbo46Oebs70qVKg/9kNCi0tYWE2MTlkYzc3ODc4NGYyODhjNjU3MThhNmM0NDU3MjUNCkNv
bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXZhdGFyIjsgZmlsZW5hbWU9Im1h bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXZhdGFyIjsgZmlsZW5hbWU9Im1h
c3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK c3RvZG9ucHl1cGxvYWRfLmpwZyINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK
RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc
AAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtbGNt AAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gABAAAAANMtbGNt
cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8 cwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACmRlc2MAAAD8
@ -1888,26 +1888,26 @@ interactions:
pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q
My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW
DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe
bs70qVKg/9kNCi0tY2RiNzFlODEyNWU4NGIzNTg5ZDMyZmRjN2EwMzhjNWQtLQ0K bs70qVKg/9kNCi0tYWE2MTlkYzc3ODc4NGYyODhjNjU3MThhNmM0NDU3MjUtLQ0K
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['107607'] Content-Length: ['107607']
Content-Type: [multipart/form-data; boundary=cdb71e8125e84b3589d32fdc7a038c5d] Content-Type: [multipart/form-data; boundary=aa619dc778784f288c65718a6c445725]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: PATCH method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials uri: http://localhost:3000/api/v1/accounts/update_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":4,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"88fa68354142994962076b3df86272b7"] ETag: [W/"5669121fefd96ee550d48eccf174ca59"]
Referrer-Policy: [strict-origin-when-cross-origin] Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
@ -1915,8 +1915,8 @@ interactions:
X-Download-Options: [noopen] X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none] X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [f04d61c0-beca-488f-a36c-b59e56e94079] X-Request-Id: [2ca3748f-b5d4-42c5-a6d9-6d4bbff1e535]
X-Runtime: ['0.182837'] X-Runtime: ['0.668652']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1019'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,12 +1,12 @@
interactions: interactions:
- request: - request:
body: !!binary | body: !!binary |
LS0wMzE1MDYzZmI0OWE0Yzg1YWVmZmRlN2RmZTExNmFlMA0KQ29udGVudC1EaXNwb3NpdGlvbjog LS0xZDk3N2Y3N2U1MzQ0ZjQyYWQxNjRkM2ZlZTc4NTk4NA0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTAzMTUwNjNm Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTFkOTc3Zjc3
YjQ5YTRjODVhZWZmZGU3ZGZlMTE2YWUwDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 ZTUzNDRmNDJhZDE2NGQzZmVlNzg1OTg0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS0wMzE1MDYzZmI0OWE0Yzg1YWVmZmRlN2Rm IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS0xZDk3N2Y3N2U1MzQ0ZjQyYWQxNjRkM2Zl
ZTExNmFlMA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJoZWFkZXIiOyBm ZTc4NTk4NA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJoZWFkZXIiOyBm
aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBlIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBnIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn
DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50 DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50
clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW
AAEAAAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAEAAAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@ -942,7 +942,7 @@ interactions:
elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU
VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS
oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn
9aVKgY09xujjo55uzvSpUqD/2Q0KLS0wMzE1MDYzZmI0OWE0Yzg1YWVmZmRlN2RmZTExNmFlMC0t 9aVKgY09xujjo55uzvSpUqD/2Q0KLS0xZDk3N2Y3N2U1MzQ0ZjQyYWQxNjRkM2ZlZTc4NTk4NC0t
DQo= DQo=
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
@ -950,19 +950,19 @@ interactions:
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['53696'] Content-Length: ['53696']
Content-Type: [multipart/form-data; boundary=0315063fb49a4c85aeffde7dfe116ae0] Content-Type: [multipart/form-data; boundary=1d977f77e5344f42ad164d3fee785984]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: PATCH method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials uri: http://localhost:3000/api/v1/accounts/update_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":4,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e4a5fa3ea7d32b002975509cbf12d30e"] ETag: [W/"3ac6fc0a79e77981db7553ad9a8e65eb"]
Referrer-Policy: [strict-origin-when-cross-origin] Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
@ -970,8 +970,8 @@ interactions:
X-Download-Options: [noopen] X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none] X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [e74cf7c0-def0-4007-931e-bf08d48a92d5] X-Request-Id: [1e6c5bf8-60b7-4563-8aaf-445efab4688d]
X-Runtime: ['0.209705'] X-Runtime: ['0.374729']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1019'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,12 +1,12 @@
interactions: interactions:
- request: - request:
body: !!binary | body: !!binary |
LS00NTk4Yjg5MzQ1Njg0ZWEyYmNlZjFlNDg0YmU5MzBlMw0KQ29udGVudC1EaXNwb3NpdGlvbjog LS04NTIxMzU3OWE3Yzg0NzUwYTI3MWY0Njg0OWYxMmMwNQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTQ1OThiODkz Zm9ybS1kYXRhOyBuYW1lPSJkaXNwbGF5X25hbWUiDQoNCkpvaG4gTGVubm9uDQotLTg1MjEzNTc5
NDU2ODRlYTJiY2VmMWU0ODRiZTkzMGUzDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7 YTdjODQ3NTBhMjcxZjQ2ODQ5ZjEyYzA1DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS00NTk4Yjg5MzQ1Njg0ZWEyYmNlZjFlNDg0 IG5hbWU9Im5vdGUiDQoNCkkgd2FsayBmdW5ueQ0KLS04NTIxMzU3OWE3Yzg0NzUwYTI3MWY0Njg0
YmU5MzBlMw0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm OWYxMmMwNQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm
aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBlIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBnIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn
DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50 DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50
clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW
AAEAAAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA AAEAAAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
@ -942,7 +942,7 @@ interactions:
elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU
VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS
oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn
9aVKgY09xujjo55uzvSpUqD/2Q0KLS00NTk4Yjg5MzQ1Njg0ZWEyYmNlZjFlNDg0YmU5MzBlMy0t 9aVKgY09xujjo55uzvSpUqD/2Q0KLS04NTIxMzU3OWE3Yzg0NzUwYTI3MWY0Njg0OWYxMmMwNS0t
DQo= DQo=
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
@ -950,19 +950,19 @@ interactions:
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['53696'] Content-Length: ['53696']
Content-Type: [multipart/form-data; boundary=4598b89345684ea2bcef1e484be930e3] Content-Type: [multipart/form-data; boundary=85213579a7c84750a271f46849f12c05]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: PATCH method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials uri: http://localhost:3000/api/v1/accounts/update_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":4,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"88fa68354142994962076b3df86272b7"] ETag: [W/"3ac6fc0a79e77981db7553ad9a8e65eb"]
Referrer-Policy: [strict-origin-when-cross-origin] Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
@ -970,8 +970,8 @@ interactions:
X-Download-Options: [noopen] X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none] X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [97881214-41a9-4e53-ac2d-0bd3dff79e7b] X-Request-Id: [307ed837-e9e9-4abe-a6b3-aa497b76107f]
X-Runtime: ['0.209024'] X-Runtime: ['0.310192']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1019'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770753668256","created_at":"2018-05-06T22:42:06.419Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770753668256","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770753668256","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154005513718060","created_at":"2018-06-05T20:00:43.948Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005513718060","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005513718060","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2094aa065b9273dfd848247e987bf0e3"] ETag: [W/"afc964ffb98eed8b416c61f14ca63878"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [28f96fc1-e223-4792-97b3-9e906abc955d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.363920'] X-Request-Id: [8588ebd7-098e-4298-acdf-b6ecb10394bb]
X-Runtime: ['0.523800']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770753668256 uri: http://localhost:3000/api/v1/statuses/100154005513718060
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1c92c2fc861afa27c4a0632f8f8d82a"] ETag: [W/"3c501201602c549f58ded9973c9652f0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [82959881-7dd4-4c16-b2e7-82f8ac1e0333] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.141019'] X-Request-Id: [a257e4dc-993c-4122-9d13-3883dae803ee]
X-Runtime: ['0.240555']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e793f4efbb88963eed5351b6f2b3c66f"] ETag: [W/"fd416ce330bb122e6e08c214b5938a97"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [52e15c47-8956-4384-9638-f2304c749653] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.032640'] X-Request-Id: [b4ad759f-2df7-4d6c-83a4-cbbbcb3ebb24]
X-Runtime: ['0.046610']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770718891690","created_at":"2018-05-06T22:42:05.898Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770718891690","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770718891690","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154005454434727","created_at":"2018-06-05T20:00:43.074Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005454434727","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005454434727","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"8357bad44c92d7f1418806930e3e791e"] ETag: [W/"12f1d291653775aafd8d723959ef7a8e"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [25f33d99-755a-473a-901b-b5cb620ec58e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.306326'] X-Request-Id: [8ebe6867-df04-4093-8fa6-b4a00ea25876]
X-Runtime: ['0.637609']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770718891690 uri: http://localhost:3000/api/v1/statuses/100154005454434727
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1c92c2fc861afa27c4a0632f8f8d82a"] ETag: [W/"8a435d756e241f300828052caa87956c"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5d346ef5-1610-4bda-a883-98c063232427] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.132158'] X-Request-Id: [48f1bb2a-ba17-4ba0-9e0f-b28be213d6f0]
X-Runtime: ['0.236937']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -16,13 +16,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1a8a0a7a84ff9152d240dd050a7f6b1"] ETag: [W/"09c055ece3ad0362c2ea3906610b5832"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7a6d279b-625f-468e-84e7-b85894784098] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.044767'] X-Request-Id: [b37d75db-6c1f-4cee-a44b-bc6e2d61b1b9]
X-Runtime: ['0.341110']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -43,13 +46,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1a8a0a7a84ff9152d240dd050a7f6b1"] ETag: [W/"09c055ece3ad0362c2ea3906610b5832"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a641134d-4ff5-4355-9036-b951b1999095] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.044367'] X-Request-Id: [ed937bcf-7734-4be8-a1e1-57aca94998d1]
X-Runtime: ['0.169136']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9cef30119ad0d3a71210557f8261c67d"] ETag: [W/"10e9b31613611d1a8061340297cd1438"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6a68f6e7-b4b2-443c-8a88-8287d932caa9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.039401'] X-Request-Id: [a652c834-db70-4b58-a2ae-03186289969a]
X-Runtime: ['0.117906']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"018d0c2914244a9c755e02ccd1689bca"] ETag: [W/"be0bc926c1d17d59236e56c2b37fb243"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6cfe9b26-b920-42e8-9df2-2f747d403970] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.033159'] X-Request-Id: [2e9f331f-a3c5-43bc-a610-2a6fdb5476c1]
X-Runtime: ['0.068758']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"c195edc28806d4c8956f8d10ade46dd4"] ETag: [W/"4dd50662367a112fc841f176b651f0f4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0cadf265-a469-4a9a-90ac-9d6dfc460d59] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.091964'] X-Request-Id: [97a9fe86-4787-45a3-80d4-c5ae5e80b07c]
X-Runtime: ['0.184127']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -11,21 +11,24 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":1,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny"}}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"315a656d6f113ed39e945ccedcce3c33"] ETag: [W/"af985fc5521bdf6e4c08f443f25ab926"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [96203c31-a449-43a5-8e89-cfcbe28602db] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.051048'] X-Request-Id: [b476a75c-4428-4da2-8a5c-64d56f59fe34]
X-Runtime: ['0.110832']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['837'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+0%21 body: status=Toot+number+0%21
@ -40,23 +43,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771254970344","created_at":"2018-05-06T22:42:14.048Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771254970344","content":"\u003cp\u003eToot body: {string: '{"id":"100154006270001808","created_at":"2018-06-05T20:00:55.451Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006270001808","content":"\u003cp\u003eToot
number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771254970344","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006270001808","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":4,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"08957941af94009c2dae7f42329611d6"] ETag: [W/"cc57f507a53dc4ef67e1c5ada87b98fe"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6bf3a104-3906-41c1-b363-3c621c6b0a63] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.174335'] X-Request-Id: [43806f7d-7970-47ce-b627-da46ec4a1d52]
X-Runtime: ['0.179488']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+1%21 body: status=Toot+number+1%21
@ -71,23 +77,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771274347961","created_at":"2018-05-06T22:42:14.351Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771274347961","content":"\u003cp\u003eToot body: {string: '{"id":"100154006288848273","created_at":"2018-06-05T20:00:55.756Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006288848273","content":"\u003cp\u003eToot
number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771274347961","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006288848273","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":5,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"744940c300cb03098c5290b7560bdead"] ETag: [W/"e54a440ef2e912801d9abab59cc7e75f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [659bc725-83aa-4298-8547-53add1cd85c1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.379615'] X-Request-Id: [a3d73d40-8c5c-4ef0-b92d-b075d450e079]
X-Runtime: ['0.387775']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+2%21 body: status=Toot+number+2%21
@ -102,23 +111,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771299392882","created_at":"2018-05-06T22:42:14.737Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771299392882","content":"\u003cp\u003eToot body: {string: '{"id":"100154006316267155","created_at":"2018-06-05T20:00:56.172Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006316267155","content":"\u003cp\u003eToot
number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771299392882","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006316267155","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":6,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e8da1c24ab37f310e46faee713b734ba"] ETag: [W/"76bed8668eb31aab72b50e5b6ae3e928"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ec805fa4-1140-4c11-97de-54972d515543] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.369307'] X-Request-Id: [19d8a77b-389d-46bb-aee5-dce4c8c89b56]
X-Runtime: ['0.440349']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+3%21 body: status=Toot+number+3%21
@ -133,23 +145,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771326521245","created_at":"2018-05-06T22:42:15.146Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771326521245","content":"\u003cp\u003eToot body: {string: '{"id":"100154006346499324","created_at":"2018-06-05T20:00:56.634Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006346499324","content":"\u003cp\u003eToot
number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771326521245","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006346499324","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":7,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d43da6eb68fec1548168626c3b29d6ed"] ETag: [W/"fb970574663ab76399662ef51d328bc4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c904468a-3259-48ba-b88f-0d86ee809c1b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.504716'] X-Request-Id: [da39476c-e70a-464d-8e62-46f2128f57bf]
X-Runtime: ['0.365411']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+4%21 body: status=Toot+number+4%21
@ -164,23 +179,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771358790260","created_at":"2018-05-06T22:42:15.647Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771358790260","content":"\u003cp\u003eToot body: {string: '{"id":"100154006370856283","created_at":"2018-06-05T20:00:57.039Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006370856283","content":"\u003cp\u003eToot
number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771358790260","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006370856283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":8,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6a1efc19d8a70105bec6a93ac85824bb"] ETag: [W/"172c73446c54e187a4009bc213d8fcd2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [72a6c850-6da2-4f1e-a859-f33fe98d75dd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.378732'] X-Request-Id: [49e05e27-a7ee-4253-a9bd-6132ea80f2f7]
X-Runtime: ['0.408171']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+5%21 body: status=Toot+number+5%21
@ -195,23 +213,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771385854364","created_at":"2018-05-06T22:42:16.064Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771385854364","content":"\u003cp\u003eToot body: {string: '{"id":"100154006401121358","created_at":"2018-06-05T20:00:57.468Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006401121358","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771385854364","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006401121358","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":9,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3d4f942f9641bb13421f5a588f943584"] ETag: [W/"a4100dd014cfbbc93a0846ffdf0142d6"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [e1079967-31c5-4b09-b612-a47ed6eec747] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.505449'] X-Request-Id: [925cfee9-ae94-4d0f-9aae-05104abc7896]
X-Runtime: ['0.377134']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+6%21 body: status=Toot+number+6%21
@ -226,23 +247,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771415948499","created_at":"2018-05-06T22:42:16.516Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771415948499","content":"\u003cp\u003eToot body: {string: '{"id":"100154006427388211","created_at":"2018-06-05T20:00:57.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006427388211","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771415948499","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006427388211","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":8},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":10,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"02f3dec6df25cf8983192bc6e6f13c8e"] ETag: [W/"71bac8c445fd7b0e243f01950606c243"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2f52f9c7-b63c-4e32-8a08-c86d8ad5d64f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.258031'] X-Request-Id: [9ab7b719-6009-4332-bcac-5f4421a876c9]
X-Runtime: ['0.378223']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+7%21 body: status=Toot+number+7%21
@ -257,23 +281,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771440604251","created_at":"2018-05-06T22:42:16.903Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771440604251","content":"\u003cp\u003eToot body: {string: '{"id":"100154006458710114","created_at":"2018-06-05T20:00:58.353Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006458710114","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771440604251","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006458710114","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":9},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":11,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"643d64c63fc4ba91afc2fc3b2cd742ae"] ETag: [W/"fff382bbd85ea888d20effc94aa3cf29"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [344f0612-6e91-447c-b6fc-8ce1dd85dcb9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.384426'] X-Request-Id: [e76154d6-96eb-4e16-bf5a-1d96939b1490]
X-Runtime: ['0.460176']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+8%21 body: status=Toot+number+8%21
@ -288,23 +315,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771472140139","created_at":"2018-05-06T22:42:17.371Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771472140139","content":"\u003cp\u003eToot body: {string: '{"id":"100154006489880965","created_at":"2018-06-05T20:00:58.828Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006489880965","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771472140139","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006489880965","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":10},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":12,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"aa4ac44cad352516ef382e1d04ddb636"] ETag: [W/"781f15be3826320fd4b656c336e4bee9"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ded04209-fd24-4cae-9918-0b67b9a7d4a9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.429825'] X-Request-Id: [768b4143-7da4-42c4-9730-9df144bd0cb2]
X-Runtime: ['0.423584']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1410'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+9%21 body: status=Toot+number+9%21
@ -319,23 +349,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771495394037","created_at":"2018-05-06T22:42:17.723Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771495394037","content":"\u003cp\u003eToot body: {string: '{"id":"100154006521339675","created_at":"2018-06-05T20:00:59.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006521339675","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771495394037","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006521339675","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fb361604235c588a18ae5ac5cd6b8673"] ETag: [W/"7a33f92e20315aa9dbf6ab7077fdd1be"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a462c559-8fcd-407b-a3d3-13af8306ce92] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.345497'] X-Request-Id: [8dad2ddc-06f6-4c25-9b7a-d6deeae4905e]
X-Runtime: ['0.486538']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1410'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -348,42 +381,45 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5
response: response:
body: {string: '[{"id":"99984771495394037","created_at":"2018-05-06T22:42:17.723Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771495394037","content":"\u003cp\u003eToot body: {string: '[{"id":"100154006521339675","created_at":"2018-06-05T20:00:59.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006521339675","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771495394037","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006521339675","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771472140139","created_at":"2018-05-06T22:42:17.371Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771472140139","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006489880965","created_at":"2018-06-05T20:00:58.828Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006489880965","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771472140139","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006489880965","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771440604251","created_at":"2018-05-06T22:42:16.903Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771440604251","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006458710114","created_at":"2018-06-05T20:00:58.353Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006458710114","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771440604251","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006458710114","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771415948499","created_at":"2018-05-06T22:42:16.516Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771415948499","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006427388211","created_at":"2018-06-05T20:00:57.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006427388211","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771415948499","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006427388211","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771385854364","created_at":"2018-05-06T22:42:16.064Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771385854364","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006401121358","created_at":"2018-06-05T20:00:57.468Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006401121358","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771385854364","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006401121358","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f8a6e0b8680470633ffe123049a577f7"] ETag: [W/"c1fa78bd1e5b538548b8029c355de4fd"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771385854364>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006401121358>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771495394037>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006521339675>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a5d2ca52-f291-4f65-af10-fed28e1158e2] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.305860'] X-Request-Id: [92da2864-5adf-4494-a10c-4d2526307fa5]
X-Runtime: ['0.529889']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -394,44 +430,47 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771385854364 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006401121358
response: response:
body: {string: '[{"id":"99984771358790260","created_at":"2018-05-06T22:42:15.647Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771358790260","content":"\u003cp\u003eToot body: {string: '[{"id":"100154006370856283","created_at":"2018-06-05T20:00:57.039Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006370856283","content":"\u003cp\u003eToot
number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771358790260","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006370856283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771326521245","created_at":"2018-05-06T22:42:15.146Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771326521245","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006346499324","created_at":"2018-06-05T20:00:56.634Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006346499324","content":"\u003cp\u003eToot
number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771326521245","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006346499324","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771299392882","created_at":"2018-05-06T22:42:14.737Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771299392882","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006316267155","created_at":"2018-06-05T20:00:56.172Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006316267155","content":"\u003cp\u003eToot
number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771299392882","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006316267155","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771274347961","created_at":"2018-05-06T22:42:14.351Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771274347961","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006288848273","created_at":"2018-06-05T20:00:55.756Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006288848273","content":"\u003cp\u003eToot
number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771274347961","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006288848273","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771254970344","created_at":"2018-05-06T22:42:14.048Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771254970344","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006270001808","created_at":"2018-06-05T20:00:55.451Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006270001808","content":"\u003cp\u003eToot
number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771254970344","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006270001808","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a948ad8548d8b5ae11ed5e45d266d1ea"] ETag: [W/"e45073aa98635d444f100292218424a5"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771254970344>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006270001808>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771358790260>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006370856283>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [aedcb500-bd3f-4588-b503-87e32e560cfd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.115739'] X-Request-Id: [6d8e698e-ccf8-4563-a961-8e79f5735e43]
X-Runtime: ['0.191251']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -442,44 +481,47 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771358790260 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006370856283
response: response:
body: {string: '[{"id":"99984771495394037","created_at":"2018-05-06T22:42:17.723Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771495394037","content":"\u003cp\u003eToot body: {string: '[{"id":"100154006521339675","created_at":"2018-06-05T20:00:59.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006521339675","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771495394037","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006521339675","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771472140139","created_at":"2018-05-06T22:42:17.371Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771472140139","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006489880965","created_at":"2018-06-05T20:00:58.828Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006489880965","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771472140139","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006489880965","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771440604251","created_at":"2018-05-06T22:42:16.903Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771440604251","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006458710114","created_at":"2018-06-05T20:00:58.353Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006458710114","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771440604251","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006458710114","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771415948499","created_at":"2018-05-06T22:42:16.516Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771415948499","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006427388211","created_at":"2018-06-05T20:00:57.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006427388211","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771415948499","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006427388211","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771385854364","created_at":"2018-05-06T22:42:16.064Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771385854364","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006401121358","created_at":"2018-06-05T20:00:57.468Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006401121358","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771385854364","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006401121358","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f8a6e0b8680470633ffe123049a577f7"] ETag: [W/"c1fa78bd1e5b538548b8029c355de4fd"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771385854364>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006401121358>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771495394037>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006521339675>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c41f9c6a-7d73-4771-8109-b35a93071375] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.064059'] X-Request-Id: [7143dbda-23b6-4954-9288-f718679f02b8]
X-Runtime: ['0.134419']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -491,19 +533,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771254970344 uri: http://localhost:3000/api/v1/statuses/100154006270001808
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2a1b2bdab093fd524b62cca0457320ee"] ETag: [W/"7f4ff90f50f96f0b5f4a97438c0cbff1"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2e3aad3b-f3ef-4fbc-9862-667e6059efa1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.035880'] X-Request-Id: [43381c92-8252-4018-b76c-86f67ebf90f0]
X-Runtime: ['0.056923']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -517,19 +562,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771274347961 uri: http://localhost:3000/api/v1/statuses/100154006288848273
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2a1b2bdab093fd524b62cca0457320ee"] ETag: [W/"7f4ff90f50f96f0b5f4a97438c0cbff1"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9f0d597a-abc7-4ee3-9966-952962441f28] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.071775'] X-Request-Id: [70563d53-e56e-464a-ae9d-d13c5cab3c62]
X-Runtime: ['0.101893']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -543,19 +591,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771299392882 uri: http://localhost:3000/api/v1/statuses/100154006316267155
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2a1b2bdab093fd524b62cca0457320ee"] ETag: [W/"7f4ff90f50f96f0b5f4a97438c0cbff1"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a6eefbdc-8e58-4421-8194-6e5c6a27218d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.117049'] X-Request-Id: [32b85cd5-2dad-4472-a9c8-2edea1c5c708]
X-Runtime: ['0.119320']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -569,19 +620,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771326521245 uri: http://localhost:3000/api/v1/statuses/100154006346499324
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2a1b2bdab093fd524b62cca0457320ee"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6486a771-ac14-460d-bdb7-391982d243fc] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.074670'] X-Request-Id: [0e87fe3f-1049-4ab3-a1bf-0ffcce662f8a]
X-Runtime: ['0.154305']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -595,19 +649,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771358790260 uri: http://localhost:3000/api/v1/statuses/100154006370856283
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2a1b2bdab093fd524b62cca0457320ee"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1d2c47db-4090-4183-94ac-79387a79d772] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.105981'] X-Request-Id: [91492b8c-8780-4e1e-a8f5-1a4016bd74e1]
X-Runtime: ['0.123181']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -621,19 +678,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771385854364 uri: http://localhost:3000/api/v1/statuses/100154006401121358
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e88ef333b475b6f43b6cd37fb46a0b5b"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ffbeb6cd-39a8-4a5e-9ebd-f7c52cb2ad26] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.096069'] X-Request-Id: [f8c0497b-7f3e-40d3-be3a-91a6803048d9]
X-Runtime: ['0.125428']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -647,19 +707,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771415948499 uri: http://localhost:3000/api/v1/statuses/100154006427388211
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e88ef333b475b6f43b6cd37fb46a0b5b"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7731e335-40a9-48f7-8ba4-eb568edfb2dc] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.099838'] X-Request-Id: [65f6ae6a-b558-429d-9520-edf268c0a05e]
X-Runtime: ['0.131243']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -673,19 +736,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771440604251 uri: http://localhost:3000/api/v1/statuses/100154006458710114
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e88ef333b475b6f43b6cd37fb46a0b5b"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9acbeadb-1247-487d-a8c3-138ecd604f0f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.082742'] X-Request-Id: [ad3847d0-99f2-471f-b7f3-cbcb0b75e1c7]
X-Runtime: ['0.122837']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -699,19 +765,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771472140139 uri: http://localhost:3000/api/v1/statuses/100154006489880965
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e88ef333b475b6f43b6cd37fb46a0b5b"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [908c9d55-54fe-44c4-9d90-d95f2890c63b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.102052'] X-Request-Id: [8d67d2de-9df1-4458-970a-18a06425fb8a]
X-Runtime: ['0.109272']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -725,19 +794,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771495394037 uri: http://localhost:3000/api/v1/statuses/100154006521339675
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e88ef333b475b6f43b6cd37fb46a0b5b"] ETag: [W/"aad00f7d699d58265bc662f89d140e94"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d6ee12c2-f8ca-4e84-ac1d-50466ae95eec] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.089771'] X-Request-Id: [9431f5ce-d047-4f97-9e1e-00f43b9f6653]
X-Runtime: ['0.120781']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -11,21 +11,24 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":6,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny"}}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"1ca13d9c036455da0b263b89bb3be89c"] ETag: [W/"d6b11bcf47d8a5b74be010a194e364da"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d4a1a1b9-4102-4819-ac01-75567b2cd951] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.097665'] X-Request-Id: [3cb099c9-c338-4bfb-b8eb-1a80e0d51725]
X-Runtime: ['0.135303']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['837'] content-length: ['1019']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+0%21 body: status=Toot+number+0%21
@ -40,23 +43,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771636171407","created_at":"2018-05-06T22:42:19.866Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771636171407","content":"\u003cp\u003eToot body: {string: '{"id":"100154006718285816","created_at":"2018-06-05T20:01:02.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006718285816","content":"\u003cp\u003eToot
number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771636171407","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006718285816","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":6,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5180549842b38c60d6f0f9577d4cba4d"] ETag: [W/"3daac80502f71ccf03c9d8196a831cbd"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [405c6d17-e6e4-40f3-bb61-0653ba393934] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.192385'] X-Request-Id: [3e29f719-7a62-4db0-93dc-166651c22a46]
X-Runtime: ['0.366215']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+1%21 body: status=Toot+number+1%21
@ -71,23 +77,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771655770730","created_at":"2018-05-06T22:42:20.197Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771655770730","content":"\u003cp\u003eToot body: {string: '{"id":"100154006747741441","created_at":"2018-06-05T20:01:02.766Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006747741441","content":"\u003cp\u003eToot
number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771655770730","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006747741441","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":7,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b7b3a055b59d5394a4d0dd90d6cbfb63"] ETag: [W/"bc76ffb534bf5a0eb0a8382730bb6fdf"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [29dbfac2-029b-4f72-83b6-2ce172c3a0a7] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.371248'] X-Request-Id: [5e168ae3-369e-4add-90fc-b92c04cd39ee]
X-Runtime: ['0.437697']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+2%21 body: status=Toot+number+2%21
@ -102,23 +111,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771679898589","created_at":"2018-05-06T22:42:20.539Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771679898589","content":"\u003cp\u003eToot body: {string: '{"id":"100154006782035318","created_at":"2018-06-05T20:01:03.296Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006782035318","content":"\u003cp\u003eToot
number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771679898589","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006782035318","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":8,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9e9b65e442b93c9d2b5d6debacd45600"] ETag: [W/"8249e5f00c66abce825190b80a538977"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [accc1830-6062-45d5-882f-241955371600] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.285976'] X-Request-Id: [c3601b0f-6269-4896-bfc2-dea8052b0465]
X-Runtime: ['0.476476']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+3%21 body: status=Toot+number+3%21
@ -133,23 +145,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771704039647","created_at":"2018-05-06T22:42:20.923Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771704039647","content":"\u003cp\u003eToot body: {string: '{"id":"100154006817168807","created_at":"2018-06-05T20:01:03.810Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006817168807","content":"\u003cp\u003eToot
number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771704039647","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006817168807","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":9,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fa34ff3dbe41bdb2332eed3a567ef1c6"] ETag: [W/"de82bac2450824a899f5b6680f0befff"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [209024a4-05de-493b-a55a-877a427c2875] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.412412'] X-Request-Id: [b068f477-46c6-403f-b06f-1de023812c93]
X-Runtime: ['0.491548']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1513']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+4%21 body: status=Toot+number+4%21
@ -164,23 +179,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771730250109","created_at":"2018-05-06T22:42:21.318Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771730250109","content":"\u003cp\u003eToot body: {string: '{"id":"100154006848264998","created_at":"2018-06-05T20:01:04.297Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006848264998","content":"\u003cp\u003eToot
number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771730250109","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006848264998","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":10,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"972a67902aca7e35e9e8ee1678edd062"] ETag: [W/"8b7f7663ca3725d266743d0c1ae00879"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1103d6ac-566f-4c0c-a46d-7cbf6384814a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.347755'] X-Request-Id: [36c9ef23-69b4-4089-b5c8-b30ee3eae963]
X-Runtime: ['0.484750']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+5%21 body: status=Toot+number+5%21
@ -195,23 +213,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771749319985","created_at":"2018-05-06T22:42:21.657Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771749319985","content":"\u003cp\u003eToot body: {string: '{"id":"100154006883666442","created_at":"2018-06-05T20:01:04.833Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006883666442","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771749319985","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006883666442","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":11,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"331e1e18c57ab636b3250cb01176585b"] ETag: [W/"2b6c0695da5c3469dd4dd7c1d5b02063"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [aea7324d-2564-4277-9f33-1b8e3c121b56] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.373782'] X-Request-Id: [812e08f1-ba4b-40e5-8161-5f9b618d4eda]
X-Runtime: ['0.482485']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+6%21 body: status=Toot+number+6%21
@ -226,23 +247,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771780012127","created_at":"2018-05-06T22:42:22.069Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771780012127","content":"\u003cp\u003eToot body: {string: '{"id":"100154006915319193","created_at":"2018-06-05T20:01:05.317Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006915319193","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771780012127","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006915319193","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":8},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":12,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"877147cfc0977f7b081817c7c8b2065a"] ETag: [W/"acba6651cb8dbae1633d85d8bef3ef34"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2f3c3dcb-1922-4d6c-b159-d52ffaf906d6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.339197'] X-Request-Id: [9419b427-44c0-4832-88f5-076bbd3065f7]
X-Runtime: ['0.465299']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+7%21 body: status=Toot+number+7%21
@ -257,23 +281,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771803206544","created_at":"2018-05-06T22:42:22.421Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771803206544","content":"\u003cp\u003eToot body: {string: '{"id":"100154006951510732","created_at":"2018-06-05T20:01:05.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006951510732","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771803206544","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006951510732","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":9},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":13,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d772d8cd15ee13a4763b53eb45a6e8eb"] ETag: [W/"373471b88e137a29281fc96a3a80fbbb"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3d629be8-cc8c-43ee-8e7c-e587ec590e10] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.325586'] X-Request-Id: [62178405-63f0-46b9-a22b-23e4c52067b5]
X-Runtime: ['0.494474']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1409'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+8%21 body: status=Toot+number+8%21
@ -288,23 +315,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771826415680","created_at":"2018-05-06T22:42:22.785Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771826415680","content":"\u003cp\u003eToot body: {string: '{"id":"100154006986263558","created_at":"2018-06-05T20:01:06.410Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006986263558","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771826415680","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006986263558","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":10},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":14,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f8ac387456a75acc927e302fb9509298"] ETag: [W/"c3fb8814509d16c2a4fa370ad6391151"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d2b984de-3b40-4a02-9374-10caf60b307a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.367170'] X-Request-Id: [cc9c3836-b55f-4dba-8847-ce18cb606755]
X-Runtime: ['0.428682']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1410'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Toot+number+9%21 body: status=Toot+number+9%21
@ -319,23 +349,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771851516614","created_at":"2018-05-06T22:42:23.195Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771851516614","content":"\u003cp\u003eToot body: {string: '{"id":"100154007022603295","created_at":"2018-06-05T20:01:06.957Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154007022603295","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771851516614","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154007022603295","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"afb25e3b0ce162c4641d8ab5b58d0554"] ETag: [W/"09af0b6904684be12f8e3e645b468885"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [53c4a2a7-9a8d-4ee4-a5cd-2508009bad5a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.360089'] X-Request-Id: [d3c11f5b-4b4d-4bb5-b14e-d443d9e5ca03]
X-Runtime: ['0.595542']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1410'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -348,42 +381,45 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5
response: response:
body: {string: '[{"id":"99984771851516614","created_at":"2018-05-06T22:42:23.195Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771851516614","content":"\u003cp\u003eToot body: {string: '[{"id":"100154007022603295","created_at":"2018-06-05T20:01:06.957Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154007022603295","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771851516614","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154007022603295","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771826415680","created_at":"2018-05-06T22:42:22.785Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771826415680","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006986263558","created_at":"2018-06-05T20:01:06.410Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006986263558","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771826415680","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006986263558","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771803206544","created_at":"2018-05-06T22:42:22.421Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771803206544","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006951510732","created_at":"2018-06-05T20:01:05.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006951510732","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771803206544","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006951510732","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771780012127","created_at":"2018-05-06T22:42:22.069Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771780012127","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006915319193","created_at":"2018-06-05T20:01:05.317Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006915319193","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771780012127","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006915319193","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771749319985","created_at":"2018-05-06T22:42:21.657Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771749319985","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006883666442","created_at":"2018-06-05T20:01:04.833Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006883666442","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771749319985","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006883666442","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ea652a5f874eecb644647ca00c7ebde1"] ETag: [W/"ac7eb44369465b60e08ce0e1da5d9db8"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771749319985>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006883666442>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771851516614>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154007022603295>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c2ec9bba-8a97-43b0-9712-f97304829353] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.272362'] X-Request-Id: [11081f4b-01c0-4246-a2b5-31600f49c484]
X-Runtime: ['0.260878']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -394,44 +430,47 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771749319985 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006883666442
response: response:
body: {string: '[{"id":"99984771730250109","created_at":"2018-05-06T22:42:21.318Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771730250109","content":"\u003cp\u003eToot body: {string: '[{"id":"100154006848264998","created_at":"2018-06-05T20:01:04.297Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006848264998","content":"\u003cp\u003eToot
number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771730250109","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 4!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006848264998","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771704039647","created_at":"2018-05-06T22:42:20.923Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771704039647","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006817168807","created_at":"2018-06-05T20:01:03.810Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006817168807","content":"\u003cp\u003eToot
number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771704039647","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 3!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006817168807","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771679898589","created_at":"2018-05-06T22:42:20.539Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771679898589","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006782035318","created_at":"2018-06-05T20:01:03.296Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006782035318","content":"\u003cp\u003eToot
number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771679898589","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 2!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006782035318","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771655770730","created_at":"2018-05-06T22:42:20.197Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771655770730","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006747741441","created_at":"2018-06-05T20:01:02.766Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006747741441","content":"\u003cp\u003eToot
number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771655770730","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 1!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006747741441","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771636171407","created_at":"2018-05-06T22:42:19.866Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771636171407","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006718285816","created_at":"2018-06-05T20:01:02.300Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006718285816","content":"\u003cp\u003eToot
number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771636171407","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 0!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006718285816","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9d175525312447b1d1c86bf126dee4fa"] ETag: [W/"57dfe60dc2af499a38c8f52fe4193297"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771636171407>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006718285816>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771730250109>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006848264998>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f97ce042-9dd7-4911-9a9d-f0e77ae4cc92] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.103300'] X-Request-Id: [e86a5f88-447b-4f8e-bd11-0ea1b8fd1cc4]
X-Runtime: ['0.231397']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -442,44 +481,47 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771730250109 uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154006848264998
response: response:
body: {string: '[{"id":"99984771851516614","created_at":"2018-05-06T22:42:23.195Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771851516614","content":"\u003cp\u003eToot body: {string: '[{"id":"100154007022603295","created_at":"2018-06-05T20:01:06.957Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154007022603295","content":"\u003cp\u003eToot
number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771851516614","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 9!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154007022603295","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771826415680","created_at":"2018-05-06T22:42:22.785Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771826415680","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006986263558","created_at":"2018-06-05T20:01:06.410Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006986263558","content":"\u003cp\u003eToot
number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771826415680","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 8!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006986263558","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771803206544","created_at":"2018-05-06T22:42:22.421Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771803206544","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006951510732","created_at":"2018-06-05T20:01:05.882Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006951510732","content":"\u003cp\u003eToot
number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771803206544","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 7!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006951510732","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771780012127","created_at":"2018-05-06T22:42:22.069Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771780012127","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006915319193","created_at":"2018-06-05T20:01:05.317Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006915319193","content":"\u003cp\u003eToot
number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771780012127","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 6!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006915319193","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984771749319985","created_at":"2018-05-06T22:42:21.657Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984771749319985","content":"\u003cp\u003eToot walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154006883666442","created_at":"2018-06-05T20:01:04.833Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154006883666442","content":"\u003cp\u003eToot
number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984771749319985","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py number 5!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154006883666442","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":11},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":15,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ea652a5f874eecb644647ca00c7ebde1"] ETag: [W/"6a3c1b93f9b8850e62e9bfddb8085cac"]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=99984771749319985>; Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&max_id=100154006883666442>;
rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=99984771851516614>; rel="next", <http://localhost:3000/api/v1/accounts/1234567890123456/statuses?limit=5&since_id=100154007022603295>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2638775b-5800-4697-a72f-2e0eb0e3a047] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.113101'] X-Request-Id: [248bef53-42b3-48ac-94dd-d1492f5a087f]
X-Runtime: ['0.279041']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['7056'] content-length: ['7576']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -491,19 +533,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771636171407 uri: http://localhost:3000/api/v1/statuses/100154006718285816
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b0562823c2de7bc25c00d847d360f804"] ETag: [W/"d8cf14f239e76de9b5a730619e9f7897"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [97d97fca-3ac4-4119-9329-61ea202408a7] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.040464'] X-Request-Id: [b406a660-efb2-469c-ba3e-35502afcf214]
X-Runtime: ['0.081253']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -517,19 +562,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771655770730 uri: http://localhost:3000/api/v1/statuses/100154006747741441
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"d8cf14f239e76de9b5a730619e9f7897"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [bf403828-39c7-4673-9fd8-95c8846d7876] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.112814'] X-Request-Id: [541d3e5d-3b44-4aa1-8385-1a2106414337]
X-Runtime: ['0.149694']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -543,19 +591,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771679898589 uri: http://localhost:3000/api/v1/statuses/100154006782035318
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"d8cf14f239e76de9b5a730619e9f7897"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f120ed9d-4e14-43db-834d-f8015aa60953] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.125120'] X-Request-Id: [d1cc5b3f-a428-49ad-9746-8f3cf70d6fb4]
X-Runtime: ['0.272065']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -569,19 +620,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771704039647 uri: http://localhost:3000/api/v1/statuses/100154006817168807
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"df04139795d2204d8c75262c522c8b20"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [56560e5a-f6b6-4f39-827d-8c28398c5c49] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.070113'] X-Request-Id: [35017e2c-3aad-439e-98e7-2d4e125893e8]
X-Runtime: ['0.212686']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -595,19 +649,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771730250109 uri: http://localhost:3000/api/v1/statuses/100154006848264998
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"df04139795d2204d8c75262c522c8b20"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [88f15ed2-9664-4e6e-af6d-90a48692db35] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.100116'] X-Request-Id: [87d2b132-c4f4-45ca-9d80-810676630aa1]
X-Runtime: ['0.252299']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -621,19 +678,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771749319985 uri: http://localhost:3000/api/v1/statuses/100154006883666442
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"df04139795d2204d8c75262c522c8b20"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1e20eb6a-2d62-4575-8c89-8815d874adf1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.108951'] X-Request-Id: [3c92698f-0d86-4c00-b0a6-950bc5606ec9]
X-Runtime: ['0.199162']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -647,19 +707,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771780012127 uri: http://localhost:3000/api/v1/statuses/100154006915319193
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"df04139795d2204d8c75262c522c8b20"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [31af2e76-e224-4122-8a1e-4b61e9f4105d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.100515'] X-Request-Id: [4b0d4df3-22f5-4211-8964-98965ef2cb3b]
X-Runtime: ['0.211912']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -673,19 +736,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771803206544 uri: http://localhost:3000/api/v1/statuses/100154006951510732
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"512d48509716f27fafd328df82ca0422"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f51c2e49-3d35-4474-a8bc-413003ecb1d0] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.089986'] X-Request-Id: [f25f9462-c0b5-44bd-9f76-9d18ab5d2c21]
X-Runtime: ['0.269321']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -699,19 +765,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771826415680 uri: http://localhost:3000/api/v1/statuses/100154006986263558
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a7ef93571edaad106af5b78831028b02"] ETag: [W/"512d48509716f27fafd328df82ca0422"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [84b2ed35-7465-4286-941a-1f360bc414aa] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.109299'] X-Request-Id: [115eb84c-07cd-453b-ac48-75a853aac21d]
X-Runtime: ['0.194110']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -725,19 +794,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771851516614 uri: http://localhost:3000/api/v1/statuses/100154007022603295
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4cdce29b7ecdfeb7dba2b889bf6a2b58"] ETag: [W/"512d48509716f27fafd328df82ca0422"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d98f638a-b94d-4862-aa73-da5c37c2bc68] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.084212'] X-Request-Id: [5663d0fb-fee7-402a-a027-54b0f16369cb]
X-Runtime: ['0.228354']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

La diferencia del archivo ha sido suprimido porque es demasiado grande Cargar Diff

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"44811d0b33a4d6053c93618d2b59d445"] ETag: [W/"a927e3895f505eecd8130d5ad9a4a300"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5fe14464-c17e-4828-bcad-d4dca9f4f445] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.074663'] X-Request-Id: [be53f844-7e2f-478e-be7c-fe75d82c45e0]
X-Runtime: ['0.588503']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['188'] content-length: ['188']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -41,13 +44,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1a8a0a7a84ff9152d240dd050a7f6b1"] ETag: [W/"1874f0e100868407236d31bf87a0d1b4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [27083ab4-4b3e-4eff-b62b-656aa500dab1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.046084'] X-Request-Id: [4019dc06-d381-48cc-b42b-24dadbdd2ddf]
X-Runtime: ['0.333942']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -67,13 +73,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9439b0cdcd5be19a6007341e7a2558ba"] ETag: [W/"69992d817261cfdeaf94765a62bfa656"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [092a582c-7a91-43f5-8b82-263fd27ca266] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.046100'] X-Request-Id: [0f79175a-3393-4045-93a0-17a9cfd9b129]
X-Runtime: ['0.208013']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['190'] content-length: ['190']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6737a3e9598d3423f6aab6d803f28cb0"] ETag: [W/"7d7691257de0f8c88d3b02e890673438"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a78739d1-f048-4dd6-85c2-66c0e17c77db] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.089222'] X-Request-Id: [0dc59796-d0ac-482b-a456-4289cf03f673]
X-Runtime: ['0.291153']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['188'] content-length: ['188']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -41,13 +44,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"70ad1d3b65be5c4cb1e00585ab9235f5"] ETag: [W/"637fc9f784897d3613a58bc66885a0f2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [491ec338-00a1-4b31-a56f-db6903db97b2] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.046716'] X-Request-Id: [b1d5fe68-2a06-4657-bfd1-13f66f77a0f2]
X-Runtime: ['0.144223']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9cef30119ad0d3a71210557f8261c67d"] ETag: [W/"b7c2ea92e97bd166f3eed0f30f08f019"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [cfa0453b-024a-4aab-bc8c-d9c90662a57c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.030243'] X-Request-Id: [d34c6925-8062-4269-ba74-9852cb2077a3]
X-Runtime: ['0.194554']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,24 +12,27 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984778638004574","created_at":"2018-05-06T22:44:06.717Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778638004574","content":"\u003cp\u003e\u003ca body: {string: '{"id":"100154014370078484","created_at":"2018-06-05T20:02:59.097Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014370078484","content":"\u003cp\u003e\u003ca
href=\"http://localhost:3000/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e href=\"http://localhost:3000/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e
(hashtag toot)\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778638004574","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py (hashtag toot)\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014370078484","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"41aa647065e060639414105be6675078"] ETag: [W/"3023906505d7fdffde5b090d4e0b49f1"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ef7bb90b-a743-4f18-a305-8897cea1cc37] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.253945'] X-Request-Id: [ee113ad3-3923-4d8b-8b43-8d1f629cfe01]
X-Runtime: ['0.527216']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1609'] content-length: ['1714']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -42,27 +45,30 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/tag/hoot uri: http://localhost:3000/api/v1/timelines/tag/hoot
response: response:
body: {string: '[{"id":"99984778638004574","created_at":"2018-05-06T22:44:06.717Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778638004574","content":"\u003cp\u003e\u003ca body: {string: '[{"id":"100154014370078484","created_at":"2018-06-05T20:02:59.097Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"mi","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014370078484","content":"\u003cp\u003e\u003ca
href=\"http://localhost:3000/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e href=\"http://localhost:3000/tags/hoot\" class=\"mention hashtag\" rel=\"tag\"\u003e#\u003cspan\u003ehoot\u003c/span\u003e\u003c/a\u003e
(hashtag toot)\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778638004574","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py (hashtag toot)\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014370078484","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[{"name":"hoot","url":"http://localhost:3000/tags/hoot"}],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f40ea29de2fe891d1c711353cd70512c"] ETag: [W/"ba73b5a1de5901ce26d3fb0eaa2506e8"]
Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=99984778638004574>; Link: ['<http://localhost:3000/api/v1/timelines/tag/hoot?max_id=100154014370078484>;
rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?since_id=99984778638004574>; rel="next", <http://localhost:3000/api/v1/timelines/tag/hoot?since_id=100154014370078484>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d13ec982-00bb-4b43-9cb9-19ca790c25e6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.110062'] X-Request-Id: [91697e81-8138-4759-b9f6-fda684c0559f]
X-Runtime: ['0.269413']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1611'] content-length: ['1716']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -74,19 +80,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984778638004574 uri: http://localhost:3000/api/v1/statuses/100154014370078484
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4b5442b7fa4044f9308f2b0a39ef83de"] ETag: [W/"d21870355d03c02341aa99681e6ebba3"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [cb0e5a0e-286b-411f-b441-acda14626862] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.032963'] X-Request-Id: [0c24cd66-7160-4211-af4d-eefe79ea0eb4]
X-Runtime: ['0.068876']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984778601932619","created_at":"2018-05-06T22:44:06.158Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778601932619","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778601932619","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154014315914745","created_at":"2018-06-05T20:02:58.227Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014315914745","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014315914745","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"df180cf74e87ef7c284aacf8bd1bee98"] ETag: [W/"2d89db3faa638d200a561e69c0539e21"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [adc0d0f6-f554-4127-afa3-570af6a1acae] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.207945'] X-Request-Id: [2b5a1bf3-08ae-477c-9ae8-8b636d6ec0c1]
X-Runtime: ['0.401217']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,49 +43,40 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/home uri: http://localhost:3000/api/v1/timelines/home
response: response:
body: {string: '[{"id":"99984778601932619","created_at":"2018-05-06T22:44:06.158Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778601932619","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778601932619","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '[{"id":"100154014315914745","created_at":"2018-06-05T20:02:58.227Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014315914745","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014315914745","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984776969550296","created_at":"2018-05-06T22:43:41.246Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984776969550296","content":"\u003cp\u003eit\u0026apos;s walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984776969550296","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775163460044","created_at":"2018-05-06T22:43:13.698Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984775163460044","content":"\u003cp\u003eon walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010820520796","created_at":"2018-06-05T20:02:05.049Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154010820520796","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984775163460044","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010820520796","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775138913573","created_at":"2018-05-06T22:43:13.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984775138913573","content":"\u003cp\u003e\u003cspan test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 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","url":"http://localhost:3000/@admin/99984775138913573","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984770961971239","created_at":"2018-05-06T22:42:09.581Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984770961971239","content":"\u003cp\u003eI test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"100154005928083272","created_at":"2018-06-05T20:00:50.239Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154005928083272","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984770961971239","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154005928083272","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984766537036674","created_at":"2018-05-06T22:41:02.059Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984766537036674","content":"\u003cp\u003eit\u0026apos;s test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984766537036674","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984765056578696","created_at":"2018-05-06T22:40:39.678Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984765056578696","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984765056578696","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984764894651903","created_at":"2018-05-06T22:40:37.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984764894651903","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/99984764894651903","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984762957312145","created_at":"2018-05-06T22:40:07.441Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984762957312145","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984762957312145","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"58e19fc77446e35f9160e599cfc8b01f"] ETag: [W/"056b3f5eed9e8f7a9aef5b5223c966fd"]
Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=99984762957312145>; Link: ['<http://localhost:3000/api/v1/timelines/home?max_id=100154005928083272>;
rel="next", <http://localhost:3000/api/v1/timelines/home?since_id=99984778601932619>; rel="next", <http://localhost:3000/api/v1/timelines/home?since_id=100154014315914745>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6b7cbd5f-a271-4d1a-bca5-061faa6af7dd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.218888'] X-Request-Id: [1220e828-c521-40a7-a4f1-cdf52491de08]
X-Runtime: ['0.253641']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['11768'] content-length: ['6912']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -94,19 +88,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984778601932619 uri: http://localhost:3000/api/v1/statuses/100154014315914745
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"53a062e88d3acc7ae9b77ae8054449e5"] ETag: [W/"0a31a8707802443eb973a070845657b8"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d1eb21ba-a6e2-4fde-869b-447225832fa9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.031409'] X-Request-Id: [00b9ccb5-c004-45d9-b97e-0b0833b0fa1a]
X-Runtime: ['0.089035']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -11,17 +11,20 @@ interactions:
response: response:
body: {string: '{"error":"The access token is invalid"}'} body: {string: '{"error":"The access token is invalid"}'}
headers: headers:
Cache-Control: [no-store] Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache] Pragma: [no-cache]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The
access token is invalid"'] access token is invalid"']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ac5a9247-938f-425b-bbe6-e01de6b2a4ea] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.066247'] X-Request-Id: [1550ae6f-bd19-472a-93ce-a625c388adeb]
X-Runtime: ['0.098159']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['39'] content-length: ['39']
status: {code: 401, message: Unauthorized} status: {code: 401, message: Unauthorized}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770540913826","created_at":"2018-05-06T22:42:03.153Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770540913826","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770540913826","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154004914942364","created_at":"2018-06-05T20:00:35.401Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154004914942364","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154004914942364","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"675ad40dfe1c8b2bf6d05d8352db3ccf"] ETag: [W/"680e87e82e2b6d4e70c6918d64540a0f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3ffa5ee7-9392-4c65-a446-6998bfbacd15] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.154034'] X-Request-Id: [90183c47-eb1d-4122-84b8-c171a5b9d499]
X-Runtime: ['1.675382']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770540913826 uri: http://localhost:3000/api/v1/statuses/100154004914942364
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"70ad1d3b65be5c4cb1e00585ab9235f5"] ETag: [W/"3753328ee19d34c566ca7aee10ac62f5"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1bbcab4e-4c1c-42c2-a7fd-7a83c464b9ff] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.132994'] X-Request-Id: [9080fd21-b989-43f3-bf40-a9194e195f64]
X-Runtime: ['0.123362']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,52 +12,58 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770571080110","created_at":"2018-05-06T22:42:03.626Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770571080110","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770571080110","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154005043647299","created_at":"2018-06-05T20:00:36.812Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005043647299","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005043647299","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3381df07e2c2fd4496641032a7059df4"] ETag: [W/"4b2ed835f8a6807bd881934298f025b8"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [65ebb470-d9b4-44b7-8848-453da7931247] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.371388'] X-Request-Id: [3449f1d3-e040-4003-8b51-630fbc121611]
X-Runtime: ['0.664248']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=Reply%21&in_reply_to_id=99984770571080110 body: status=Reply%21&in_reply_to_id=100154005043647299
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['48'] Content-Length: ['49']
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770599740284","created_at":"2018-05-06T22:42:04.050Z","in_reply_to_id":"99984770571080110","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770599740284","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770599740284","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154005096704419","created_at":"2018-06-05T20:00:37.585Z","in_reply_to_id":"100154005043647299","in_reply_to_account_id":"1234567890123456","sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005096704419","content":"\u003cp\u003eReply!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005096704419","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":3,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b75638d6371f7dff9244a5904f1fb696"] ETag: [W/"064619df5c2309821511deed386adba7"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [728dfa8b-0ffb-4c4f-a1b5-28560eba4de1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.352035'] X-Request-Id: [0dcc255f-c628-4753-932a-837a67fb6c77]
X-Runtime: ['1.483628']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1430'] content-length: ['1535']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -69,19 +75,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770599740284 uri: http://localhost:3000/api/v1/statuses/100154005096704419
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0c1a6f73b62143b70de48849d6c61a43"] ETag: [W/"3e9213ff658dfd16d6544d0e26f1361d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0a0d1c75-4183-49dc-ac60-ab0c4c2e846a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.283850'] X-Request-Id: [84215267-ed1c-43d5-b43f-b5b946614be3]
X-Runtime: ['0.350299']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -95,19 +104,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770571080110 uri: http://localhost:3000/api/v1/statuses/100154005043647299
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0c1a6f73b62143b70de48849d6c61a43"] ETag: [W/"3e9213ff658dfd16d6544d0e26f1361d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d0e7f2af-19bb-4a26-b530-8280b1ebef77] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.110012'] X-Request-Id: [8f9822bf-120b-4284-b2f2-624a04f85c90]
X-Runtime: ['0.227419']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984770654967813","created_at":"2018-05-06T22:42:04.924Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770654967813","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770654967813","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154005247589100","created_at":"2018-06-05T20:00:39.930Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005247589100","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005247589100","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":3,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ae8b939416b3bfc3eb7d80544c4ee5b3"] ETag: [W/"76ad74dc906ecd227dc1e3a4058271f2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c9b147a9-7581-42bc-8cf3-aeaba0a112f6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.366915'] X-Request-Id: [0be7a8c7-23ad-4652-97e3-f4a765d316e6]
X-Runtime: ['1.015912']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,29 +42,32 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984770654967813/reblog uri: http://localhost:3000/api/v1/statuses/100154005247589100/reblog
response: response:
body: {string: '{"id":"99984770679789800","created_at":"2018-05-06T22:42:05.275Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770679789800/activity","content":"\u003cp\u003eRT body: {string: '{"id":"100154005331623271","created_at":"2018-06-05T20:00:41.205Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005331623271/activity","content":"\u003cp\u003eRT
\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770679789800","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99984770654967813","created_at":"2018-05-06T22:42:04.924Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984770654967813","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984770654967813","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005331623271","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100154005247589100","created_at":"2018-06-05T20:00:39.930Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005247589100","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005247589100","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":3,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"57a85bbfc5dda2abbc8eb53ad1b73cc2"] ETag: [W/"6f07dc5c830a3997e9546ab5de75de92"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c17b7626-43b7-4eaf-bc42-4f1aa686e331] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.348005'] X-Request-Id: [1d5e70fe-3dcd-4844-8674-0f98cd250431]
X-Runtime: ['1.860486']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2946'] content-length: ['3154']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -73,19 +79,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770679789800 uri: http://localhost:3000/api/v1/statuses/100154005331623271
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7b8d00a762c6e0092d96fc36a0abd17b"] ETag: [W/"cd764a25002fc5ba6bea64afd643dae2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [67da353c-84c6-4015-b385-fc643e4e0f06] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.058934'] X-Request-Id: [f6c44f73-c721-4422-b2ad-8f093bd4450b]
X-Runtime: ['0.086536']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -99,19 +108,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984770654967813 uri: http://localhost:3000/api/v1/statuses/100154005247589100
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7b8d00a762c6e0092d96fc36a0abd17b"] ETag: [W/"cd764a25002fc5ba6bea64afd643dae2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8f93210b-8346-4fd0-b4ef-ad17db6f82f7] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.117785'] X-Request-Id: [c70a05ec-2ccb-442d-a9dc-2bef1c56b526]
X-Runtime: ['0.150304']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -10,18 +10,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"47e2a8b14a14ea78dfad2a632ec2eb61"] ETag: [W/"9de1747b5f9c0c58613d04d89d1a54e9"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c661420a-a4e3-4c07-aedf-8a1039db1d5d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.126597'] X-Request-Id: [8759a5e0-23f7-43e7-8e82-259ac80b3a57]
X-Runtime: ['0.228224']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['291'] content-length: ['294']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -10,19 +10,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/activity uri: http://localhost:3000/api/v1/instance/activity
response: response:
body: {string: '[{"week":"1525039200","statuses":"1742","logins":"2","registrations":"0"},{"week":"1524434400","statuses":"0","logins":"0","registrations":"0"},{"week":"1523829600","statuses":"1514","logins":"2","registrations":"0"},{"week":"1523224800","statuses":"0","logins":"0","registrations":"0"},{"week":"1522620000","statuses":"0","logins":"0","registrations":"0"},{"week":"1522015200","statuses":"0","logins":"0","registrations":"0"},{"week":"1521414000","statuses":"0","logins":"0","registrations":"0"},{"week":"1520809200","statuses":"0","logins":"0","registrations":"0"},{"week":"1520204400","statuses":"0","logins":"0","registrations":"0"},{"week":"1519599600","statuses":"0","logins":"0","registrations":"0"},{"week":"1518994800","statuses":"0","logins":"0","registrations":"0"},{"week":"1518390000","statuses":"0","logins":"0","registrations":"0"}]'} body: {string: '[{"week":"1528063200","statuses":"1448","logins":"2","registrations":"0"},{"week":"1527458400","statuses":"0","logins":"0","registrations":"0"},{"week":"1526853600","statuses":"0","logins":"0","registrations":"0"},{"week":"1526248800","statuses":"0","logins":"0","registrations":"0"},{"week":"1525644000","statuses":"0","logins":"0","registrations":"0"},{"week":"1525039200","statuses":"1924","logins":"2","registrations":"0"},{"week":"1524434400","statuses":"0","logins":"0","registrations":"0"},{"week":"1523829600","statuses":"1514","logins":"2","registrations":"0"},{"week":"1523224800","statuses":"0","logins":"0","registrations":"0"},{"week":"1522620000","statuses":"0","logins":"0","registrations":"0"},{"week":"1522015200","statuses":"0","logins":"0","registrations":"0"},{"week":"1521414000","statuses":"0","logins":"0","registrations":"0"}]'}
headers: headers:
Cache-Control: ['max-age=86400, public'] Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Date: ['Sun, 06 May 2018 22:42:07 GMT'] Date: ['Tue, 05 Jun 2018 20:00:45 GMT']
ETag: [W/"76a2484e96c48d0ae5af28423fd23b92"] ETag: [W/"70c7b05b319b94a3f5b04292a74a7e7e"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5cd8928d-3419-43a3-b7e1-ec34b40b3f30] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.052399'] X-Request-Id: [a89f2afb-81ea-4977-8722-bc4f2bc5bf51]
X-Runtime: ['0.120355']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['847'] content-length: ['850']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -14,14 +14,17 @@ interactions:
headers: headers:
Cache-Control: ['max-age=86400, public'] Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Date: ['Sun, 06 May 2018 22:42:07 GMT'] Date: ['Tue, 05 Jun 2018 20:00:45 GMT']
ETag: [W/"018d0c2914244a9c755e02ccd1689bca"] ETag: [W/"be0bc926c1d17d59236e56c2b37fb243"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [50d2cd19-8dac-44e2-ad88-d47c05f97575] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.040797'] X-Request-Id: [a77acc1c-9bf8-4363-b861-616a102ffa35]
X-Runtime: ['0.070578']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,17 +12,20 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '{"id":"8","title":"ham burglars"}'} body: {string: '{"id":"3","title":"ham burglars"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"328b76c12db09f0145d7614b4e91e6e7"] ETag: [W/"bde5505077888aca5d296491d8b152f2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [63bf3d48-10c2-4783-81bb-1155a9d061be] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.081142'] X-Request-Id: [95613d6c-bbca-4d8b-9e63-7eda5c9b287d]
X-Runtime: ['0.078837']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['33'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -37,19 +40,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"51219e03abcdd2d127bb724fe0a838d6"] ETag: [W/"13e690525c13a9baa91204f3d37766d3"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ae0a8daf-439e-41a0-8dc0-a1c09d6ba23d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.030964'] X-Request-Id: [e87830c8-e61c-4976-9558-a3ec27349b1c]
X-Runtime: ['0.057113']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['570'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -67,13 +73,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"59cea16408d19a2c8e297a2d876641e2"] ETag: [W/"594ca73cca2f5b3858f980d2876be423"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3e8acee9-a698-429c-8961-e34ede94fd3c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.090359'] X-Request-Id: [193fe503-6915-4717-add4-355f4985c7fa]
X-Runtime: ['0.234446']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -88,19 +97,22 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6bb4ddcbb13629baf8bc211517f0439b"] ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [13e80769-a2d4-457d-a00a-147b8cad42a6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.042176'] X-Request-Id: [0ff8ad28-45bc-47f9-9ce7-28e255b6381d]
X-Runtime: ['0.195713']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -113,22 +125,25 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3}]'} body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"cc3727947221dba281a057c2b702bc8d"] ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"]
Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [64a33c58-870d-48c3-b39e-e5dda36b83be] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.022297'] X-Request-Id: [42f84919-12f9-4e03-8d35-ec6eb725034a]
X-Runtime: ['0.078360']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['514'] content-length: ['550']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -146,13 +161,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"154a16f1bddeede929a23e7fcee2a4dc"] ETag: [W/"ecba6a18a8cb8442f0079a10ff3fbbf0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6afceb5e-79b2-4241-8cca-c5eebd49155c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.042518'] X-Request-Id: [5bd3f41f-72f1-4528-87fb-c1a84d488d3a]
X-Runtime: ['0.140527']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -165,19 +183,22 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '[]'} body: {string: '[]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"63ae851c512de5986836516ffcb2575a"] ETag: [W/"066c06a3289a5697d51f5e8a39d6c906"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b991d96f-ad03-4377-ae07-7cc2ee81b88f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.025365'] X-Request-Id: [a973e6dd-fa10-4d3e-b204-0f474621472e]
X-Runtime: ['0.055322']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -197,13 +218,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"59cea16408d19a2c8e297a2d876641e2"] ETag: [W/"5b25f6a87748efb778aab093f8a05626"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [545d42a3-73f4-4e9d-b015-1b49347a494c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.096240'] X-Request-Id: [a06e8b28-8724-451e-8378-715eb7d98d72]
X-Runtime: ['0.210418']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -218,19 +242,22 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6bb4ddcbb13629baf8bc211517f0439b"] ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2e7487a6-95e4-4d42-9494-ff7d1ac07af4] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.048526'] X-Request-Id: [6a6fe4f4-f15b-4d37-849c-e28cf491e81f]
X-Runtime: ['0.090445']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -243,22 +270,25 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3}]'} body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"cc3727947221dba281a057c2b702bc8d"] ETag: [W/"07551ac8055da6dd5d355f8aad21fc4c"]
Link: ['<http://localhost:3000/api/v1/lists/8/accounts?since_id=1>; rel="prev"'] Link: ['<http://localhost:3000/api/v1/lists/3/accounts?since_id=1>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5f326dcc-b014-477e-8f08-078d29165781] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.024821'] X-Request-Id: [798c8097-973a-4131-bf67-d5c9eaead3ce]
X-Runtime: ['0.097808']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['514'] content-length: ['550']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: account_ids%5B%5D=1 body: account_ids%5B%5D=1
@ -271,19 +301,22 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6bb4ddcbb13629baf8bc211517f0439b"] ETag: [W/"be789cced1cf6f3b9b169fcd8f78983a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6878937f-0332-4712-8231-9df81780f4cc] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.023186'] X-Request-Id: [c5da21cf-6663-4ab7-bb1a-6682696fecaf]
X-Runtime: ['0.116511']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -296,19 +329,22 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/lists/8/accounts uri: http://localhost:3000/api/v1/lists/3/accounts
response: response:
body: {string: '[]'} body: {string: '[]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"63ae851c512de5986836516ffcb2575a"] ETag: [W/"ec7d48a48a179065469d220bf9c93b19"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d8cf47a2-eca7-4b83-a7eb-c5d04f0cbb53] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.033156'] X-Request-Id: [329c21b7-d696-4be7-9b01-444ef0a4218e]
X-Runtime: ['0.090281']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -328,13 +364,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"154a16f1bddeede929a23e7fcee2a4dc"] ETag: [W/"a568ec71044d7f152116322ab4a1a571"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ad5ec800-caff-4768-bff8-7fc90dd880f8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.049595'] X-Request-Id: [6ad7fefb-a2d7-4c30-991c-a158a714cbe9]
X-Runtime: ['0.146337']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -348,19 +387,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/8 uri: http://localhost:3000/api/v1/lists/3
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"6bb4ddcbb13629baf8bc211517f0439b"] ETag: [W/"1bcae3c8085c32f992827719e2ff0cdf"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [42fc2f7d-ca92-4825-bcbb-22e995174844] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.028578'] X-Request-Id: [1f5cc011-fa34-48a5-a8dd-598575d1d012]
X-Runtime: ['0.083378']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,17 +12,20 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '{"id":"9","title":"ham burglars"}'} body: {string: '{"id":"4","title":"ham burglars"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"640f48d875075b3e649f85c290d31fd1"] ETag: [W/"5652f4548eeb240240c472bb1a3af562"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1d9ac5dc-12bb-4912-a97f-1d6af93e9ff2] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.049308'] X-Request-Id: [95408511-16b5-444c-99d2-b14fad498a64]
X-Runtime: ['0.082001']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['33'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -37,19 +40,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"51219e03abcdd2d127bb724fe0a838d6"] ETag: [W/"c017bdb938eefa8a8034894054975d66"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3e80d124-aae6-435b-8a1b-e0a0cad63ccd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.036737'] X-Request-Id: [9b7fe285-a1a9-4beb-acb8-324c2eac89ef]
X-Runtime: ['0.139649']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['570'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -67,13 +73,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a68e62a364c40a8a5da2e2143dcfaecd"] ETag: [W/"bcbf0a54a300dfa406a3bb2e03c0dc7a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7c8099fa-0867-4cce-8319-a83c9cd99bc6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.134127'] X-Request-Id: [f4455a91-8459-4894-a6f0-7df573ab97a3]
X-Runtime: ['0.418318']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -88,19 +97,22 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/lists/9/accounts uri: http://localhost:3000/api/v1/lists/4/accounts
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9f1be5e69062532601176acaaa81e8db"] ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6b6e6e37-0bbd-4532-99a3-dfa746739733] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.040029'] X-Request-Id: [2b43424f-8d7a-4cc3-a3d1-dc3bfd9bcea4]
X-Runtime: ['0.129306']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -115,17 +127,20 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/1/lists uri: http://localhost:3000/api/v1/accounts/1/lists
response: response:
body: {string: '[{"id":"9","title":"ham burglars"}]'} body: {string: '[{"id":"4","title":"ham burglars"}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5f364b9443a59ad23cb424bc96d9f5e8"] ETag: [W/"bf9fc860ee5a24974e252d7ae389fadc"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5b3c9ed2-e3e1-4fb2-9d48-6f119f413354] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.018570'] X-Request-Id: [ad34b645-6caf-4a20-98dd-c1f24d87f9c5]
X-Runtime: ['0.062866']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['35'] content-length: ['35']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -145,13 +160,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fc1dc246eca7eb18d44186a403f34e4d"] ETag: [W/"9047f6dec9bb4896993e3fc15c6b4bef"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [81376983-689a-42f6-beeb-fdcfebaf8079] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.044272'] X-Request-Id: [2adbd14c-fa4d-4606-bf56-9dbf61767f8f]
X-Runtime: ['0.118645']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -165,19 +183,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/9 uri: http://localhost:3000/api/v1/lists/4
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9f1be5e69062532601176acaaa81e8db"] ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d1348013-9f40-490a-bf57-b47811b9a5b5] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.031188'] X-Request-Id: [2eb0df1b-4ae3-4456-92c5-ec1b77c72b7f]
X-Runtime: ['0.062035']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,17 +12,20 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '{"id":"6","title":"ham burglars"}'} body: {string: '{"id":"1","title":"ham burglars"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fae29f42dd15db5ff04ec5cb07d1afbf"] ETag: [W/"b093013643e1af867b436d94b0c065bd"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [20ed0853-bc7e-4951-b7eb-b007d1c32237] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.049969'] X-Request-Id: [848fd278-43bb-4ae0-bfa1-d3f19a495dd1]
X-Runtime: ['0.120524']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['33'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -37,17 +40,20 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '[{"id":"6","title":"ham burglars"}]'} body: {string: '[{"id":"1","title":"ham burglars"}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ce5423a2fd0bcec59f9e4d00cdd762a8"] ETag: [W/"4202d2d402cccb9c1a474ff019409f31"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9fc27d93-1953-4987-a34e-6c518eda6925] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.044163'] X-Request-Id: [ac6bd667-b455-4f59-bac3-b0bd98e41d43]
X-Runtime: ['0.048856']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['35'] content-length: ['35']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -61,19 +67,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/6 uri: http://localhost:3000/api/v1/lists/1
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a77455733b41870263bbeac3de0e0dac"] ETag: [W/"2b02c934b1af765ecceea6196ce0e0b1"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3f749997-5fae-4b1d-9563-ea45cbfb6a87] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.028318'] X-Request-Id: [54146be9-e772-4f96-b1fc-63034c4bf7ce]
X-Runtime: ['0.099028']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,19 +12,22 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '{"id":"11","title":"ham burglars"}'} body: {string: '{"id":"6","title":"ham burglars"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"959fa100ca1cadc8d076d53173c65d3f"] ETag: [W/"0c2717f6c1c5d08386e10b6562765e85"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [603e1265-8813-42b0-9840-e0ef3ad51458] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.029091'] X-Request-Id: [6721d2c1-4840-400d-9e45-27e997edce3d]
X-Runtime: ['0.033269']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['34'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -37,19 +40,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"48dec04b47acf91c95d921354636a6a7"] ETag: [W/"87c03ce4263ff02da2e95eca7d943bc2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1d7b5b7d-5dd0-4c34-9af9-f544d2aa2331] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.020716'] X-Request-Id: [83a6c552-7144-4ac6-86f9-53f1fe1b1749]
X-Runtime: ['0.071956']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['570'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -67,13 +73,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"cef1a083cbdd840a03cca72b95ea653b"] ETag: [W/"8e7abca73c946d9bbd2a464713e20ff0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [10929688-c231-44ab-aee7-bdcda5699197] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.035432'] X-Request-Id: [4fda44f4-a609-489c-8311-ad88c48abfed]
X-Runtime: ['0.069386']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['174'] content-length: ['174']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -88,24 +97,27 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/lists/11/accounts uri: http://localhost:3000/api/v1/lists/6/accounts
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"dfebc5bdd5f9edfea8c743decc046958"] ETag: [W/"e9860857695aa0d9d73a4ecdbab94309"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [05d5732f-89cf-49a1-91fc-fb92ab2394fd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.043590'] X-Request-Id: [e2d623a9-689a-4c61-b652-e8e578d7b51d]
X-Runtime: ['0.051432']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=I+have+never+stolen+a+ham+in+my+life.&visibility=public body: visibility=public&status=I+have+never+stolen+a+ham+in+my+life.
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -117,21 +129,24 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984786118987758","content":"\u003cp\u003eI body: {string: '{"id":"100154030964539690","created_at":"2018-06-05T20:07:12.265Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154030964539690","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154030964539690","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fa4c60b4f9f1c900fdc55f8c5c21cea2"] ETag: [W/"870d9260cd62e77eddec33601f1e2eec"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [42009640-e1ef-4ecb-ab79-211096f164fb] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.226850'] X-Request-Id: [caf68b5c-8274-4ffa-b9e5-ae6138bd7c93]
X-Runtime: ['0.174434']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1157'] content-length: ['1196']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -142,26 +157,29 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/list/11 uri: http://localhost:3000/api/v1/timelines/list/6
response: response:
body: {string: '[{"id":"99984786118987758","created_at":"2018-05-06T22:46:00.862Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984786118987758","content":"\u003cp\u003eI body: {string: '[{"id":"100154030964539690","created_at":"2018-06-05T20:07:12.265Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154030964539690","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984786118987758","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154030964539690","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":7},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"edf8767f9d8e63a3102bbcdac58ce620"] ETag: [W/"4b26424a4de0ff441f366b4f2097a0f8"]
Link: ['<http://localhost:3000/api/v1/timelines/list/11?max_id=99984786118987758>; Link: ['<http://localhost:3000/api/v1/timelines/list/6?max_id=100154030964539690>;
rel="next", <http://localhost:3000/api/v1/timelines/list/11?since_id=99984786118987758>; rel="next", <http://localhost:3000/api/v1/timelines/list/6?since_id=100154030964539690>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [64a57a6c-8f1a-487c-b809-5b4e578755cc] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.144037'] X-Request-Id: [c81b9b47-5ca0-4aa8-85f0-7b5ba43b93f9]
X-Runtime: ['0.056506']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1144'] content-length: ['1183']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -173,19 +191,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984786118987758 uri: http://localhost:3000/api/v1/statuses/100154030964539690
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"1e9183cf3bfe2134fd39b219636ffa8b"] ETag: [W/"15a29e4a21d7872677d426d09d5cba28"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9010a178-3602-4b4e-b4e9-673ecc1ca274] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.042932'] X-Request-Id: [38c61809-1dc9-4d62-ba3a-3df026ccaf00]
X-Runtime: ['0.032685']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -205,13 +226,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"418dfb344e516f102d3d12f34f0e8c93"] ETag: [W/"3ef967632dec28ea9dc2761a494a191d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ebc45a88-c907-4fad-8441-14e31891b1fb] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.094351'] X-Request-Id: [233ae870-8653-40b5-9555-d344369b0d11]
X-Runtime: ['0.126611']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -225,19 +249,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/11 uri: http://localhost:3000/api/v1/lists/6
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"1e9183cf3bfe2134fd39b219636ffa8b"] ETag: [W/"15a29e4a21d7872677d426d09d5cba28"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [018f88c7-3e3a-46e5-9145-937c9d1eceaa] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.030450'] X-Request-Id: [c7b1bf59-7c43-42d6-9384-b25851731c75]
X-Runtime: ['0.052907']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,17 +12,20 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '{"id":"7","title":"ham burglars"}'} body: {string: '{"id":"2","title":"ham burglars"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"870043ec1a2c20d1ba7c19d5ab384317"] ETag: [W/"a343ce83bc8b84abab7154a56f14035b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [290ac0a3-c65f-44ed-9f5d-7fd62a015cd2] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.069685'] X-Request-Id: [d0fc2794-2874-4462-b074-eb27b23359a7]
X-Runtime: ['0.086417']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['33'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -37,19 +40,22 @@ interactions:
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: PUT method: PUT
uri: http://localhost:3000/api/v1/lists/7 uri: http://localhost:3000/api/v1/lists/2
response: response:
body: {string: '{"id":"7","title":"fry kids"}'} body: {string: '{"id":"2","title":"fry kids"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] ETag: [W/"5f9702eb6e8d3917f3239c3bfe770fe7"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8cb403af-8a2d-46b9-b6d4-69d8b3b58e47] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.101008'] X-Request-Id: [0c1814d9-2366-479a-a8a1-13e0d851a2a1]
X-Runtime: ['0.068542']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['29'] content-length: ['29']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -64,17 +70,20 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '[{"id":"7","title":"fry kids"}]'} body: {string: '[{"id":"2","title":"fry kids"}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7a8af457-f11e-4728-8875-9dff908183c7] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.034727'] X-Request-Id: [7b524c3a-7e56-4c7d-9cf4-9a101d71c648]
X-Runtime: ['0.044809']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['31'] content-length: ['31']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -89,17 +98,20 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/lists uri: http://localhost:3000/api/v1/lists
response: response:
body: {string: '[{"id":"7","title":"fry kids"}]'} body: {string: '[{"id":"2","title":"fry kids"}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4a6d54cb4d48e4f703bc70876a952331"] ETag: [W/"926988ef492808df5c81bd5b1f4c1f8a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [beca1ad4-72b5-4915-a4ae-19e8ef10e845] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.025595'] X-Request-Id: [9516d7b7-9e38-43ae-986c-82adbc09293f]
X-Runtime: ['0.052375']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['31'] content-length: ['31']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -112,19 +124,22 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/lists/7 uri: http://localhost:3000/api/v1/lists/2
response: response:
body: {string: '{"id":"7","title":"fry kids"}'} body: {string: '{"id":"2","title":"fry kids"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"48f0fc792f3314e044a4865b2d749e7c"] ETag: [W/"33f2691122c3ffa600411f33cf8a4110"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b4219f18-504e-4d22-ba8f-3f50019e3451] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.026199'] X-Request-Id: [26ccb57d-bd7b-4747-b1e9-fd7c6ac2ff98]
X-Runtime: ['0.057897']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['29'] content-length: ['29']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -138,19 +153,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/lists/7 uri: http://localhost:3000/api/v1/lists/2
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a77455733b41870263bbeac3de0e0dac"] ETag: [W/"1478c124a8edf360aee59b9e6bfe3a4d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9c1553cd-8748-46a1-aaad-3dc009fb165b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.041789'] X-Request-Id: [fc251a74-2c4a-4b0a-9bab-fd68166664cc]
X-Runtime: ['0.079122']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,27 +1,27 @@
interactions: interactions:
- request: - request:
body: client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=read+write+follow&username=admin%40localhost%3A3000&client_id=__MASTODON_PY_TEST_CLIENT_ID&password=mastodonadmin body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost%3A3000&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['235'] Content-Length: ['240']
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/oauth/token uri: http://localhost:3000/oauth/token
response: response:
body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read
write follow","created_at":1525653485}'} write follow push","created_at":1528235923}'}
headers: headers:
Cache-Control: [no-store] Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"74b597433e71f7e983dd939789c5c4d2"] ETag: [W/"34b979f076c4f5481a7c3f8539e51503"]
Pragma: [no-cache] Pragma: [no-cache]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Request-Id: [6cc06c4d-ba9f-4b3e-b436-1315f2182e3b] X-Request-Id: [f9d8a52a-4ca2-4c89-84db-e8fb8bd0c8ce]
X-Runtime: ['0.137891'] X-Runtime: ['1.566837']
content-length: ['126'] content-length: ['131']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -1,26 +1,31 @@
interactions: interactions:
- request: - request:
body: client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=read+write+follow&username=admin%40localhost%3A3000&client_id=__MASTODON_PY_TEST_CLIENT_ID&password=hunter2 body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=hunter2&username=admin%40localhost%3A3000&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['229'] Content-Length: ['234']
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/oauth/token uri: http://localhost:3000/oauth/token
response: response:
body: {string: "{\"error\":\"invalid_grant\",\"error_description\":\"\u6307\u5B9A\u3055\u308C\u305F\u8A8D\u8A3C\u8A31\u53EF\u306F\u7121\u52B9\u3067\u3042\u308B\u304B\u3001\u671F\u9650\u5207\u308C\u3001\u53D6\u308A\u6D88\u3055\u308C\u3066\u3044\u308B\u3001\u30EA\u30C0\u30A4\u30EC\u30AF\u30C8URI\u306E\u4E0D\u4E00\u81F4\u3001\u307E\u305F\u306F\u5225\u306E\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306B\u767A\u884C\u3055\u308C\u3066\u3044\u307E\u3059\u3002\"}"} body: {string: '{"error":"invalid_grant","error_description":"The provided authorization
grant is invalid, expired, revoked, does not match the redirection URI used
in the authorization request, or was issued to another client."}'}
headers: headers:
Cache-Control: [no-store] Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache] Pragma: [no-cache]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
WWW-Authenticate: ["Bearer realm=\"Doorkeeper\", error=\"invalid_grant\", error_description=\"\xE6\x8C\x87\xE5\xAE\x9A\xE3\x81\x95\xE3\x82\x8C\xE3\x81\x9F\xE8\xAA\x8D\xE8\xA8\xBC\xE8\xA8\xB1\xE5\x8F\xAF\xE3\x81\xAF\xE7\x84\xA1\xE5\x8A\xB9\xE3\x81\xA7\xE3\x81\x82\xE3\x82\x8B\xE3\x81\x8B\xE3\x80\x81\xE6\x9C\x9F\xE9\x99\x90\xE5\x88\x87\xE3\x82\x8C\xE3\x80\x81\xE5\x8F\x96\xE3\x82\x8A\xE6\xB6\x88\xE3\x81\x95\xE3\x82\x8C\xE3\x81\xA6\xE3\x81\x84\xE3\x82\x8B\xE3\x80\x81\xE3\x83\xAA\xE3\x83\x80\xE3\x82\xA4\xE3\x83\xAC\xE3\x82\xAF\xE3\x83\x88URI\xE3\x81\xAE\xE4\xB8\x8D\xE4\xB8\x80\xE8\x87\xB4\xE3\x80\x81\xE3\x81\xBE\xE3\x81\x9F\xE3\x81\xAF\xE5\x88\xA5\xE3\x81\xAE\xE3\x82\xAF\xE3\x83\xA9\xE3\x82\xA4\xE3\x82\xA2\xE3\x83\xB3\xE3\x83\x88\xE3\x81\xAB\xE7\x99\xBA\xE8\xA1\x8C\xE3\x81\x95\xE3\x82\x8C\xE3\x81\xA6\xE3\x81\x84\xE3\x81\xBE\xE3\x81\x99\xE3\x80\x82\""] WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_grant", error_description="The
X-Request-Id: [3a777fd5-4fb4-44b8-a55f-80e9d5173e1c] provided authorization grant is invalid, expired, revoked, does not match
X-Runtime: ['0.079963'] the redirection URI used in the authorization request, or was issued to
content-length: ['240'] another client."']
X-Request-Id: [eac706c9-bd51-4abe-a566-004b544646ad]
X-Runtime: ['3.291634']
content-length: ['213']
status: {code: 401, message: Unauthorized} status: {code: 401, message: Unauthorized}
version: 1 version: 1

Veure arxiu

@ -1,28 +1,28 @@
interactions: interactions:
- request: - request:
body: client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&grant_type=password&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=read+write+follow&username=admin%40localhost%3A3000&client_id=__MASTODON_PY_TEST_CLIENT_ID&password=mastodonadmin body: redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&password=mastodonadmin&username=admin%40localhost%3A3000&grant_type=password&client_id=__MASTODON_PY_TEST_CLIENT_ID&client_secret=__MASTODON_PY_TEST_CLIENT_SECRET&scope=read+write+follow+push
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['235'] Content-Length: ['240']
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/oauth/token uri: http://localhost:3000/oauth/token
response: response:
body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read body: {string: '{"access_token":"__MASTODON_PY_TEST_ACCESS_TOKEN_2","token_type":"bearer","scope":"read
write follow","created_at":1525653485}'} write follow push","created_at":1528235923}'}
headers: headers:
Cache-Control: [no-store] Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"32f4a6b8b26b13b28edeff5779505c2e"] ETag: [W/"cc25e2976ca697cb47cef30679fcfb2b"]
Pragma: [no-cache] Pragma: [no-cache]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Request-Id: [2cfc4921-d63f-4ae2-a7dd-98dc474907f7] X-Request-Id: [9046b6b9-335b-4a90-a6ae-f2c7e7156517]
X-Runtime: ['0.150050'] X-Runtime: ['0.360631']
content-length: ['126'] content-length: ['131']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -35,18 +35,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f216c12699963668923ef74e24ae86de"] ETag: [W/"0ee436ed2b0f9849d919bf852fd3cdaa"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [75e8e55a-a80f-4ad6-a0c8-356e8a6daa5c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.038158'] X-Request-Id: [a6ea51ee-07d5-4f6d-a1de-9e983c9ec98f]
X-Runtime: ['0.996245']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['570'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -1,13 +1,13 @@
interactions: interactions:
- request: - request:
body: !!binary | body: !!binary |
LS0xNzkwOTFhNzAyMGI0MzBiYWEzYTgyOTkwMzE3YjMzNw0KQ29udGVudC1EaXNwb3NpdGlvbjog LS04ZGY2ZGVlNjYyYWE0MTAyOTQ5MTI5NDI2ODI4YjlmNQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJkZXNjcmlwdGlvbiINCg0KSm9obiBMZW5ub24gZG9pbmcgYSBmdW5u Zm9ybS1kYXRhOyBuYW1lPSJkZXNjcmlwdGlvbiINCg0KSm9obiBMZW5ub24gZG9pbmcgYSBmdW5u
eSB3YWxrDQotLTE3OTA5MWE3MDIwYjQzMGJhYTNhODI5OTAzMTdiMzM3DQpDb250ZW50LURpc3Bv eSB3YWxrDQotLThkZjZkZWU2NjJhYTQxMDI5NDkxMjk0MjY4MjhiOWY1DQpDb250ZW50LURpc3Bv
c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZvY3VzIg0KDQotMC41LDAuMw0KLS0xNzkwOTFhNzAy c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZvY3VzIg0KDQotMC41LDAuMw0KLS04ZGY2ZGVlNjYy
MGI0MzBiYWEzYTgyOTkwMzE3YjMzNw0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBu YWE0MTAyOTQ5MTI5NDI2ODI4YjlmNQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBu
YW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTUyODEzOTM2OS4wMzQ2NThf YW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTUyODIyODg1MC43NTQ5NjNf
UTNQNlhUQ0JMUS5qcGciDQpDb250ZW50LVR5cGU6IGltYWdlL2pwZWcNCg0K/9j/4AAQSkZJRgAB TVRQOFg1VTFROS5qcGciDQpDb250ZW50LVR5cGU6IGltYWdlL2pwZWcNCg0K/9j/4AAQSkZJRgAB
AQEASABIAAD/4gIcSUNDX1BST0ZJTEUAAQEAAAIMbGNtcwIQAABtbnRyUkdCIFhZWiAH3AABABkA AQEASABIAAD/4gIcSUNDX1BST0ZJTEUAAQEAAAIMbGNtcwIQAABtbnRyUkdCIFhZWiAH3AABABkA
AwApADlhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAA AwApADlhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAF5j AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAApkZXNjAAAA/AAAAF5j
@ -943,35 +943,38 @@ interactions:
iDcI/WGDldqDC5Jll6PU33pUqB4cpFlKKL0Ezt96naIry7pjr0/FKlRVm2x2hKJA7c3+ajMuFwjE iDcI/WGDldqDC5Jll6PU33pUqB4cpFlKKL0Ezt96naIry7pjr0/FKlRVm2x2hKJA7c3+ajMuFwjE
xI3z2z4pUqBThcwcsc4UXstVlEmsVXbalSoGgoogq5yuaZMDExl+KVKgU7bGJy4yeMVK1gxmQdXd xI3z2z4pUqBThcwcsc4UXstVlEmsVXbalSoGgoogq5yuaZMDExl+KVKgU7bGJy4yeMVK1gxmQdXd
c/ilSoLllt3LczAm+7tTQCMBJMt87L1pUqCM8LliP2KYJMiPKsZOMGf1pUqBjT3G6OOjnm7O9KlS c/ilSoLllt3LczAm+7tTQCMBJMt87L1pUqCM8LliP2KYJMiPKsZOMGf1pUqBjT3G6OOjnm7O9KlS
oP/ZDQotLTE3OTA5MWE3MDIwYjQzMGJhYTNhODI5OTAzMTdiMzM3LS0NCg== oP/ZDQotLThkZjZkZWU2NjJhYTQxMDI5NDkxMjk0MjY4MjhiOWY1LS0NCg==
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['53737'] Content-Length: ['53737']
Content-Type: [multipart/form-data; boundary=179091a7020b430baa3a82990317b337] Content-Type: [multipart/form-data; boundary=8df6dee662aa4102949129426828b9f5]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/media uri: http://localhost:3000/api/v1/media
response: response:
body: {string: '{"id":"7","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/007/original/4f318b2dc17e1461.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/007/small/4f318b2dc17e1461.jpg","remote_url":null,"text_url":"http://localhost:3000/media/SBO9Dhz6hRCaQlWs_GM","meta":{"focus":{"x":-0.5,"y":0.3},"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"John body: {string: '{"id":"1","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/001/original/c923cf765b95a124.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/001/small/c923cf765b95a124.jpg","remote_url":null,"text_url":"http://localhost:3000/media/DDRqgK_SZdYk1r3DQTY","meta":{"focus":{"x":-0.5,"y":0.3},"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"John
Lennon doing a funny walk"}'} Lennon doing a funny walk"}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"750402715b38372ee6ed27b668b963a7"] ETag: [W/"55a350f8f26b873e48b3fdec66523539"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2b75a349-a0b5-4c54-9e88-8cf74152add8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.202964'] X-Request-Id: [04ceaf77-f282-4b0a-a216-2b64adb20946]
X-Runtime: ['0.365650']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['531'] content-length: ['531']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=LOL+check+this+out&media_ids%5B%5D=7 body: status=LOL+check+this+out&media_ids%5B%5D=1
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -983,24 +986,27 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"100148141706833235","created_at":"2018-06-04T19:09:29.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148141706833235","content":"\u003cp\u003eLOL body: {string: '{"id":"100154005996802338","created_at":"2018-06-05T20:00:51.297Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154005996802338","content":"\u003cp\u003eLOL
check this out\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148141706833235","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py check this out\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154005996802338","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":5},"media_attachments":[{"id":"7","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/007/original/4f318b2dc17e1461.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/007/small/4f318b2dc17e1461.jpg","remote_url":null,"text_url":"http://localhost:3000/media/SBO9Dhz6hRCaQlWs_GM","meta":{"focus":{"x":-0.5,"y":0.3},"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"John walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":4,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[{"id":"1","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/001/original/c923cf765b95a124.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/001/small/c923cf765b95a124.jpg","remote_url":null,"text_url":"http://localhost:3000/media/DDRqgK_SZdYk1r3DQTY","meta":{"focus":{"x":-0.5,"y":0.3},"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":"John
Lennon doing a funny walk"}],"mentions":[],"tags":[],"emojis":[]}'} Lennon doing a funny walk"}],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"31f0f74c798259668c7e618a59d2e173"] ETag: [W/"b05bbe75c4858de3a957b018dc1e7352"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [95eec8bf-7f3c-4033-9f22-3c2b5569e7e8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.158133'] X-Request-Id: [6b1bd13f-5144-420e-843d-2ca3bba62c67]
X-Runtime: ['0.247377']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1943'] content-length: ['2048']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -1012,19 +1018,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/100148141706833235 uri: http://localhost:3000/api/v1/statuses/100154005996802338
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"429eff60f5fbc63f081728d6d4ede583"] ETag: [W/"337ad053f22ed5fa6d193de7acc0be33"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8b8ed494-b1e1-4d60-82ee-e158be508584] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.066280'] X-Request-Id: [5b82ee37-54e9-4044-b205-02763dc056e8]
X-Runtime: ['0.100350']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

La diferencia del archivo ha sido suprimido porque es demasiado grande Cargar Diff

Veure arxiu

@ -1,9 +1,9 @@
interactions: interactions:
- request: - request:
body: !!binary | body: !!binary |
LS1jYzNlOTJlM2RjNDE0ZjQwYmNmYjE3ODZlY2NlODNlNw0KQ29udGVudC1EaXNwb3NpdGlvbjog LS01ZmI2NDk0NTBiNmU0YzNkYjk5MjkwYTAwZDdhNjkzOQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTUyODEz Zm9ybS1kYXRhOyBuYW1lPSJmaWxlIjsgZmlsZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfMTUyODIy
OTM3MC4yODc4MTU2X04wVEJQTzNSRUEuanBnIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVnDQoN ODg1Mi41OTQ2NDEyXzY1V041UFZTNzEuanBnIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVnDQoN
Cv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50clJH Cv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50clJH
QiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEA QiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEA
AAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK AAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAK
@ -939,29 +939,32 @@ interactions:
fkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpUVZts fkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpUVZts
doSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilSoFO2 doSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilSoFO2
xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn9aVK xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn9aVK
gY09xujjo55uzvSpUqD/2Q0KLS1jYzNlOTJlM2RjNDE0ZjQwYmNmYjE3ODZlY2NlODNlNy0tDQo= gY09xujjo55uzvSpUqD/2Q0KLS01ZmI2NDk0NTBiNmU0YzNkYjk5MjkwYTAwZDdhNjkzOS0tDQo=
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['53522'] Content-Length: ['53522']
Content-Type: [multipart/form-data; boundary=cc3e92e3dc414f40bcfb1786ecce83e7] Content-Type: [multipart/form-data; boundary=5fb649450b6e4c3db99290a00d7a6939]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/media uri: http://localhost:3000/api/v1/media
response: response:
body: {string: '{"id":"9","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/009/original/fe4463126acea679.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/009/small/fe4463126acea679.jpg","remote_url":null,"text_url":"http://localhost:3000/media/aWmZ_MY0-HolrDbBqZs","meta":{"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":null}'} body: {string: '{"id":"3","type":"image","url":"http://localhost:3000/system/media_attachments/files/000/000/003/original/77f967659c926f72.jpg","preview_url":"http://localhost:3000/system/media_attachments/files/000/000/003/small/77f967659c926f72.jpg","remote_url":null,"text_url":"http://localhost:3000/media/KpKtqVyxbN0x4lvTk5I","meta":{"original":{"width":600,"height":600,"size":"600x600","aspect":1.0},"small":{"width":400,"height":400,"size":"400x400","aspect":1.0}},"description":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"dcbf7666a68cdd94f7d98c827a983585"] ETag: [W/"e39da69cef973c070f0e76f0cc50d4b7"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a9d457df-f382-445e-a61e-c11522b8a190] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.341164'] X-Request-Id: [cbfed9cc-66c2-473b-aa87-d0d5f85bc6ac]
X-Runtime: ['0.437982']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['476'] content-length: ['476']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,13 +14,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e793f4efbb88963eed5351b6f2b3c66f"] ETag: [W/"7d6fc1f1cf682feb69586e6851b7e014"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b1a0450a-07cb-491b-8756-fc84b7be2222] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.036815'] X-Request-Id: [392206a2-6acc-4a90-bc09-67f7f627e340]
X-Runtime: ['0.135760']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771133704247","created_at":"2018-05-06T22:42:12.221Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771133704247","content":"\u003cp\u003e\u003cspan body: {string: '{"id":"100154024286093780","created_at":"2018-06-05T20:05:30.359Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/100154024286093780","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771133704247","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/100154024286093780","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3204544fbd6ce823914912288ccbe4d3"] ETag: [W/"7cbc08ae64152782719a098ceefea715"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f083b615-6b3f-4f8e-99ce-45ad4dbbafc8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.289173'] X-Request-Id: [afad45f8-5d84-4b00-8332-94d9cc4d2a06]
X-Runtime: ['0.216052']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1451'] content-length: ['1490']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -41,25 +44,32 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/notifications uri: http://localhost:3000/api/v1/notifications
response: response:
body: {string: '[{"id":"17","type":"mention","created_at":"2018-05-06T22:42:12.303Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"status":{"id":"99984771133704247","created_at":"2018-05-06T22:42:12.221Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771133704247","content":"\u003cp\u003e\u003cspan body: {string: '[{"id":"11","type":"mention","created_at":"2018-06-05T20:05:30.670Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"status":{"id":"100154024286093780","created_at":"2018-06-05T20:05:30.359Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/100154024286093780","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771133704247","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/100154024286093780","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}]'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}},{"id":"10","type":"mention","created_at":"2018-06-05T20:02:04.821Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"status":{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"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":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b74f5ba6dfb6a3a93619a9b76465ba15"] ETag: [W/"0a5d6989f28befad69e3884117c4feb7"]
Link: ['<http://localhost:3000/api/v1/notifications?max_id=17>; rel="next", Link: ['<http://localhost:3000/api/v1/notifications?max_id=10>; rel="next",
<http://localhost:3000/api/v1/notifications?since_id=17>; rel="prev"'] <http://localhost:3000/api/v1/notifications?since_id=11>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [41877f88-ef2a-4506-9567-e45ca609dba6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.274714'] X-Request-Id: [ba34947c-1e96-45ef-a863-0888f44e7a80]
X-Runtime: ['0.440518']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2039'] content-length: ['4251']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -70,25 +80,28 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/notifications/17 uri: http://localhost:3000/api/v1/notifications/11
response: response:
body: {string: '{"id":"17","type":"mention","created_at":"2018-05-06T22:42:12.303Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"status":{"id":"99984771133704247","created_at":"2018-05-06T22:42:12.221Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771133704247","content":"\u003cp\u003e\u003cspan body: {string: '{"id":"11","type":"mention","created_at":"2018-06-05T20:05:30.670Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"status":{"id":"100154024286093780","created_at":"2018-06-05T20:05:30.359Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/100154024286093780","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771133704247","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/100154024286093780","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":3,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f64b1a47ae888c6f8a1b57bb3bfbab78"] ETag: [W/"94e54968e4e8206ebf8e6f471bb8ee74"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6c4a9311-f940-46c7-8378-b9999508d7a3] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.108129'] X-Request-Id: [5b221653-e0b7-4409-8cfa-e8ec6ac8aace]
X-Runtime: ['0.093984']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2037'] content-length: ['2112']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -100,19 +113,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771133704247 uri: http://localhost:3000/api/v1/statuses/100154024286093780
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d47d701466906a3c69490c16b59928aa"] ETag: [W/"383c3f1cbf7fc7be0d8ed2dd76157829"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [49ae3869-8277-495e-bf1e-5c3c016963e3] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.038824'] X-Request-Id: [9ad1e8dd-6d40-4a59-908b-c0ac0dbb8126]
X-Runtime: ['0.043752']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -15,13 +15,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1485e56daf0fcfe010cb4684a2b1ced"] ETag: [W/"dfdc6f7561951f9b9f040ed7ee6af290"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [cc1d941b-da75-4759-9d50-9b2d19015d9f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.096564'] X-Request-Id: [0c271554-0680-4dd5-acda-3fb4901dedee]
X-Runtime: ['0.124845']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984771189168164","created_at":"2018-05-06T22:42:13.099Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771189168164","content":"\u003cp\u003e\u003cspan body: {string: '{"id":"100154024352446869","created_at":"2018-06-05T20:05:31.445Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/100154024352446869","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771189168164","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/100154024352446869","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"59d412b11784743848e931d6d46bb2f2"] ETag: [W/"16fd6d9c04083616109d7baa24f884ba"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [103aca56-6f68-465d-a2e9-364cbafa4080] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.345908'] X-Request-Id: [abf518ee-68ff-4891-94df-45335061f365]
X-Runtime: ['0.489799']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1451'] content-length: ['1490']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -41,28 +44,35 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/notifications uri: http://localhost:3000/api/v1/notifications
response: response:
body: {string: '[{"id":"18","type":"mention","created_at":"2018-05-06T22:42:13.193Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"status":{"id":"99984771189168164","created_at":"2018-05-06T22:42:13.099Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/99984771189168164","content":"\u003cp\u003e\u003cspan body: {string: '[{"id":"12","type":"mention","created_at":"2018-06-05T20:05:31.734Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"status":{"id":"100154024352446869","created_at":"2018-06-05T20:05:31.445Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"sr","uri":"http://localhost:3000/users/admin/statuses/100154024352446869","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/99984771189168164","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py hello!\u003c/p\u003e","url":"http://localhost:3000/@admin/100154024352446869","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}]'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}},{"id":"10","type":"mention","created_at":"2018-06-05T20:02:04.821Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"status":{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"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":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"50302a98f877fec5db13cff1203a99f0"] ETag: [W/"21071fc2ff29eb4e3c9a39b45b2309d8"]
Link: ['<http://localhost:3000/api/v1/notifications?max_id=18>; rel="next", Link: ['<http://localhost:3000/api/v1/notifications?max_id=10>; rel="next",
<http://localhost:3000/api/v1/notifications?since_id=18>; rel="prev"'] <http://localhost:3000/api/v1/notifications?since_id=12>; rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a2fcd75a-9310-4648-b56f-4e81be18ee08] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.253898'] X-Request-Id: [4cce54cd-b20d-4587-a5ae-9e123b846be7]
X-Runtime: ['0.272219']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2039'] content-length: ['4251']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: id=18 body: id=12
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -78,13 +88,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1485e56daf0fcfe010cb4684a2b1ced"] ETag: [W/"dfdc6f7561951f9b9f040ed7ee6af290"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [2b4bbda5-a098-4420-9600-8dfb63133af6] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.052754'] X-Request-Id: [349ead59-db7f-4ad5-b99d-e927d9c5acb1]
X-Runtime: ['0.073870']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -98,19 +111,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984771189168164 uri: http://localhost:3000/api/v1/statuses/100154024352446869
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e1485e56daf0fcfe010cb4684a2b1ced"] ETag: [W/"dfdc6f7561951f9b9f040ed7ee6af290"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3c771449-40e0-4f0a-b683-a153e43ba11e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.052795'] X-Request-Id: [70e6f2b0-42c6-4988-b83e-e16d74344681]
X-Runtime: ['0.034001']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984778530271124","created_at":"2018-05-06T22:44:05.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778530271124","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778530271124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154014206278593","created_at":"2018-06-05T20:02:56.565Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014206278593","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014206278593","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fed3b0b52e6500f6620f2451088fa1a9"] ETag: [W/"dddab498ab776614b35cf4cf32a1e81e"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ef0fbc19-59e3-4aa5-9214-17947230aad4] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.283077'] X-Request-Id: [fb9fb476-8391-4b05-be2c-e5dfd515ff36]
X-Runtime: ['0.341651']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,49 +43,40 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/public uri: http://localhost:3000/api/v1/timelines/public
response: response:
body: {string: '[{"id":"99984778530271124","created_at":"2018-05-06T22:44:05.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778530271124","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778530271124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '[{"id":"100154014206278593","created_at":"2018-06-05T20:02:56.565Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014206278593","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014206278593","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984776969550296","created_at":"2018-05-06T22:43:41.246Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984776969550296","content":"\u003cp\u003eit\u0026apos;s walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984776969550296","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775163460044","created_at":"2018-05-06T22:43:13.698Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984775163460044","content":"\u003cp\u003eon walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010820520796","created_at":"2018-06-05T20:02:05.049Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154010820520796","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984775163460044","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010820520796","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775138913573","created_at":"2018-05-06T22:43:13.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984775138913573","content":"\u003cp\u003e\u003cspan test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 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","url":"http://localhost:3000/@admin/99984775138913573","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984770961971239","created_at":"2018-05-06T22:42:09.581Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984770961971239","content":"\u003cp\u003eI test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"100154005928083272","created_at":"2018-06-05T20:00:50.239Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154005928083272","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984770961971239","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154005928083272","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984766537036674","created_at":"2018-05-06T22:41:02.059Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984766537036674","content":"\u003cp\u003eit\u0026apos;s test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984766537036674","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984765056578696","created_at":"2018-05-06T22:40:39.678Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984765056578696","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984765056578696","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984764894651903","created_at":"2018-05-06T22:40:37.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984764894651903","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/99984764894651903","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984762957312145","created_at":"2018-05-06T22:40:07.441Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984762957312145","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984762957312145","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"56042ef469613d30f7a250c758211b14"] ETag: [W/"0f7cbe85b34f3cb4ab9e29ff118c2350"]
Link: ['<http://localhost:3000/api/v1/timelines/public?max_id=99984762957312145>; Link: ['<http://localhost:3000/api/v1/timelines/public?max_id=100154005928083272>;
rel="next", <http://localhost:3000/api/v1/timelines/public?since_id=99984778530271124>; rel="next", <http://localhost:3000/api/v1/timelines/public?since_id=100154014206278593>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1243dfb1-3a67-4ca0-bc12-fa9773a94024] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.151062'] X-Request-Id: [7957efca-7fae-49b1-b8db-9d4cda806fe7]
X-Runtime: ['0.248349']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['11768'] content-length: ['6912']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -95,49 +89,40 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/public?local=True uri: http://localhost:3000/api/v1/timelines/public?local=True
response: response:
body: {string: '[{"id":"99984778530271124","created_at":"2018-05-06T22:44:05.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778530271124","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778530271124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '[{"id":"100154014206278593","created_at":"2018-06-05T20:02:56.565Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014206278593","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014206278593","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984776969550296","created_at":"2018-05-06T22:43:41.246Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984776969550296","content":"\u003cp\u003eit\u0026apos;s walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984776969550296","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775163460044","created_at":"2018-05-06T22:43:13.698Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984775163460044","content":"\u003cp\u003eon walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010820520796","created_at":"2018-06-05T20:02:05.049Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154010820520796","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984775163460044","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010820520796","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775138913573","created_at":"2018-05-06T22:43:13.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984775138913573","content":"\u003cp\u003e\u003cspan test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 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","url":"http://localhost:3000/@admin/99984775138913573","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984770961971239","created_at":"2018-05-06T22:42:09.581Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984770961971239","content":"\u003cp\u003eI test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"100154005928083272","created_at":"2018-06-05T20:00:50.239Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154005928083272","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984770961971239","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154005928083272","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984766537036674","created_at":"2018-05-06T22:41:02.059Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984766537036674","content":"\u003cp\u003eit\u0026apos;s test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984766537036674","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984765056578696","created_at":"2018-05-06T22:40:39.678Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984765056578696","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984765056578696","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984764894651903","created_at":"2018-05-06T22:40:37.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984764894651903","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/99984764894651903","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984762957312145","created_at":"2018-05-06T22:40:07.441Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984762957312145","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984762957312145","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"56042ef469613d30f7a250c758211b14"] ETag: [W/"0f7cbe85b34f3cb4ab9e29ff118c2350"]
Link: ['<http://localhost:3000/api/v1/timelines/public?local=True&max_id=99984762957312145>; Link: ['<http://localhost:3000/api/v1/timelines/public?local=True&max_id=100154005928083272>;
rel="next", <http://localhost:3000/api/v1/timelines/public?local=True&since_id=99984778530271124>; rel="next", <http://localhost:3000/api/v1/timelines/public?local=True&since_id=100154014206278593>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [52edb7d8-403c-456e-9fb8-be5095ffe239] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.098106'] X-Request-Id: [cc56f69b-ed4d-4652-8e7b-68a28ab024f4]
X-Runtime: ['0.173273']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['11768'] content-length: ['6912']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -149,19 +134,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984778530271124 uri: http://localhost:3000/api/v1/statuses/100154014206278593
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7afafd2d11419f13c5e9f73b222e2254"] ETag: [W/"e2f69ff1fb19e5c6a4b1b02f0930c139"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b2b3961c-8117-4511-98c5-704a5314c067] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.029256'] X-Request-Id: [00b47c27-b520-4bac-8e34-fd8f4b8dc288]
X-Runtime: ['0.033568']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984778491460474","created_at":"2018-05-06T22:44:04.471Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778491460474","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778491460474","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154014140456203","created_at":"2018-06-05T20:02:55.561Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014140456203","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014140456203","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7c8ea68987d1aefda881b609916b3f7f"] ETag: [W/"5813be86e61039782eac00c3513b4d95"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [de873e3f-d5ee-464b-a56d-59ed301ae3ac] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.219646'] X-Request-Id: [bd138e3e-1d7a-4e74-9993-3ad9fa6b3be5]
X-Runtime: ['0.375238']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,49 +42,40 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/timelines/public uri: http://localhost:3000/api/v1/timelines/public
response: response:
body: {string: '[{"id":"99984778491460474","created_at":"2018-05-06T22:44:04.471Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778491460474","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778491460474","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py body: {string: '[{"id":"100154014140456203","created_at":"2018-06-05T20:02:55.561Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014140456203","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014140456203","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984776969550296","created_at":"2018-05-06T22:43:41.246Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984776969550296","content":"\u003cp\u003eit\u0026apos;s walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984776969550296","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775163460044","created_at":"2018-05-06T22:43:13.698Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984775163460044","content":"\u003cp\u003eon walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010820520796","created_at":"2018-06-05T20:02:05.049Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154010820520796","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984775163460044","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010820520796","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984775138913573","created_at":"2018-05-06T22:43:13.319Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984775138913573","content":"\u003cp\u003e\u003cspan test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"100154010786466665","created_at":"2018-06-05T20:02:04.431Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154010786466665","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 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","url":"http://localhost:3000/@admin/99984775138913573","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154010786466665","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984770961971239","created_at":"2018-05-06T22:42:09.581Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984770961971239","content":"\u003cp\u003eI test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"100154005928083272","created_at":"2018-06-05T20:00:50.239Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154005928083272","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984770961971239","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/100154005928083272","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984766537036674","created_at":"2018-05-06T22:41:02.059Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984766537036674","content":"\u003cp\u003eit\u0026apos;s test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984766537036674","reblogs_count":0,"favourites_count":0,"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,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984765056578696","created_at":"2018-05-06T22:40:39.678Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984765056578696","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984765056578696","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},{"id":"99984764894651903","created_at":"2018-05-06T22:40:37.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984764894651903","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@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","url":"http://localhost:3000/@admin/99984764894651903","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]},{"id":"99984762957312145","created_at":"2018-05-06T22:40:07.441Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984762957312145","content":"\u003cp\u003eI
have never stolen a ham in my life.\u003c/p\u003e","url":"http://localhost:3000/@admin/99984762957312145","reblogs_count":0,"favourites_count":0,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":6},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"11913dadcb1d9d6cc940ab6bed3fdefa"] ETag: [W/"edff33e192df83dc88b2f1b9098dd389"]
Link: ['<http://localhost:3000/api/v1/timelines/public?max_id=99984762957312145>; Link: ['<http://localhost:3000/api/v1/timelines/public?max_id=100154005928083272>;
rel="next", <http://localhost:3000/api/v1/timelines/public?since_id=99984778491460474>; rel="next", <http://localhost:3000/api/v1/timelines/public?since_id=100154014140456203>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [258e84c6-4aea-4053-92d8-b38e4a4f9b10] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.153144'] X-Request-Id: [57ddfad7-b045-449f-91cd-347133e19fe4]
X-Runtime: ['0.406293']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['11264'] content-length: ['6627']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -93,19 +87,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984778491460474 uri: http://localhost:3000/api/v1/statuses/100154014140456203
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"026cd986597308d038fe6a57b8f7efc7"] ETag: [W/"3f61a27da94b201f8c267e9d92744bba"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [932b422d-d7c8-4d35-8226-f575006b3f2f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.026972'] X-Request-Id: [cfff5edf-b03d-414b-9b31-2e33c2f79a1a]
X-Runtime: ['0.042936']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773304649269","created_at":"2018-05-06T22:42:45.331Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773304649269","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773304649269","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154008844631744","created_at":"2018-06-05T20:01:34.731Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154008844631744","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154008844631744","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"9ca8c965aa4adfa26e08ee92c9898748"] ETag: [W/"04975c0df1ea21949dd040e2152795e4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [259156dd-522e-4e07-82dc-91c44e973a17] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.319546'] X-Request-Id: [0593b9b0-1d81-413b-96ea-fafba9ba10b9]
X-Runtime: ['0.180147']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -41,46 +44,52 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"note":"I walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"source":{"privacy":"public","sensitive":false,"note":"I
walk funny"}}'} walk funny","fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3df9a077ea17ad1ee2106f28cf995829"] ETag: [W/"3a7cf3269c7488ce636d7d69b74888cc"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5a140ae4-180b-4c95-992e-9098521a6aeb] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.229240'] X-Request-Id: [de49a73f-b30c-49dd-b695-7fd76fc79f78]
X-Runtime: ['0.151819']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['837'] content-length: ['1020']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=99984773304649269 body: comment=makes+the+bad+post&account_id=1234567890123456&status_ids%5B%5D=100154008844631744
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive] Connection: [keep-alive]
Content-Length: ['89'] Content-Length: ['90']
Content-Type: [application/x-www-form-urlencoded] Content-Type: [application/x-www-form-urlencoded]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/reports/ uri: http://localhost:3000/api/v1/reports/
response: response:
body: {string: '{"id":"2","action_taken":false}'} body: {string: '{"id":"1","action_taken":false}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"dc6cff294ed2a38b24556ef5c38179ff"] ETag: [W/"e38c734f5b6cb6fa9de4ce87227c9697"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [46de98f6-9ae2-4872-bc2f-a6dfd5b97d13] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.108569'] X-Request-Id: [18c8def8-c3c7-4814-8c95-0aaf412d43b0]
X-Runtime: ['0.173015']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['31'] content-length: ['31']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -95,19 +104,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/reports uri: http://localhost:3000/api/v1/reports
response: response:
body: {string: '[{"id":"1","action_taken":false},{"id":"2","action_taken":false}]'} body: {string: '[{"id":"1","action_taken":false}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"75da18070f66e62dc22eeb75707259fd"] ETag: [W/"4dcf81e1a955c4d5994366fa5c42d0e4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b7a16cdf-acb7-48c4-92e2-22d3c7489b3e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.089705'] X-Request-Id: [47197939-8f8a-4554-ac85-d2691a1afd7d]
X-Runtime: ['0.064369']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['65'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -119,19 +131,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773304649269 uri: http://localhost:3000/api/v1/statuses/100154008844631744
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4330459d0c31404d4fd3fe609f7750d1"] ETag: [W/"1dde9ec83c282a707c30a3c15019da0e"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d1fab4a6-75c9-4da7-9739-f5f6f0a43633] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.148746'] X-Request-Id: [eb30c0c0-1c07-43e6-bba8-7490aa221304]
X-Runtime: ['0.069527']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -11,19 +11,22 @@ interactions:
uri: http://localhost:3000/api/v1/search?resolve=False&q=mastodonpy_test uri: http://localhost:3000/api/v1/search?resolve=False&q=mastodonpy_test
response: response:
body: {string: '{"hashtags":[],"accounts":[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '{"hashtags":[],"accounts":[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2}],"statuses":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}],"statuses":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"47c4a03263630b8ee3f97461ec8822bb"] ETag: [W/"77a1595c60b16ac5a44c9c51ff0d791c"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9b4a20b8-5b89-4ce3-99b2-de398d1539ec] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.115078'] X-Request-Id: [edaef480-49ef-487b-ae87-3f0110d7defa]
X-Runtime: ['0.277224']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['810'] content-length: ['912']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773399568942","created_at":"2018-05-06T22:42:46.817Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773399568942","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773399568942","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154008926830141","created_at":"2018-06-05T20:01:36.013Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154008926830141","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154008926830141","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ef910e282f98bebb6b5b006f3ab7ef34"] ETag: [W/"3b2a2c21e46f36461f2c94b3e217055b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a1f1786c-118a-454a-86d8-a9c4b297226b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.596953'] X-Request-Id: [44b569e9-e460-45c0-a8f0-2f1453edb833]
X-Runtime: ['0.409288']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -38,24 +41,27 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/statuses/99984773399568942 uri: http://localhost:3000/api/v1/statuses/100154008926830141
response: response:
body: {string: '{"id":"99984773399568942","created_at":"2018-05-06T22:42:46.817Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773399568942","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773399568942","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154008926830141","created_at":"2018-06-05T20:01:36.013Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154008926830141","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154008926830141","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ef910e282f98bebb6b5b006f3ab7ef34"] ETag: [W/"3b2a2c21e46f36461f2c94b3e217055b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [d52448e4-1e24-42f8-86eb-bc1ab2965a89] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.272150'] X-Request-Id: [242167de-9f13-4d01-99ad-8b16e88e8d02]
X-Runtime: ['0.362901']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -67,19 +73,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773399568942 uri: http://localhost:3000/api/v1/statuses/100154008926830141
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"02aed2776b0d168efda7c76b9aacf30a"] ETag: [W/"b1187d78530da79f4d285a8e3240111d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [39c03802-b6fe-473e-aac1-6c0fedf86c12] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.094313'] X-Request-Id: [c7a7c06e-c60e-4b47-8530-7b3b7ef4c700]
X-Runtime: ['0.100035']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,25 +12,28 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773496239669","created_at":"2018-05-06T22:42:48.307Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773496239669","content":"\u003cp\u003e\u003ca body: {string: '{"id":"100154009030743123","created_at":"2018-06-05T20:01:37.645Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009030743123","content":"\u003cp\u003e\u003ca
href=\"http://example.org/\" rel=\"nofollow noopener\" target=\"_blank\"\u003e\u003cspan href=\"http://example.org/\" rel=\"nofollow noopener\" target=\"_blank\"\u003e\u003cspan
class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan class=\"invisible\"\u003ehttp://\u003c/span\u003e\u003cspan class=\"\"\u003eexample.org/\u003c/span\u003e\u003cspan
class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773496239669","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py class=\"invisible\"\u003e\u003c/span\u003e\u003c/a\u003e\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009030743123","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":16,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"91f59c0c7bdb77fe5db9d8e7afbfe863"] ETag: [W/"17e539a2d956d8a5b4867430ef0e9346"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ee847aeb-4d03-4776-99a7-5c96b13740d8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.432999'] X-Request-Id: [cd6e32bf-531d-4f51-9fc8-cb46af6e7049]
X-Runtime: ['0.364621']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1664'] content-length: ['1769']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -41,19 +44,22 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/statuses/99984773496239669/card uri: http://localhost:3000/api/v1/statuses/100154009030743123/card
response: response:
body: {string: '{"url":"http://example.org/","title":"Example Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""}'} body: {string: '{"url":"http://example.org/","title":"Example Domain","description":"","type":"link","author_name":"","author_url":"","provider_name":"","provider_url":"","html":"","width":0,"height":0,"image":null,"embed_url":""}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"94c31c523f9321f3bd153b941123f0e0"] ETag: [W/"fcf9181a40ff3a8e1f158a6da35f808e"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [eedbf6a3-9e5b-46c6-a76c-c8fe78069c33] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.062066'] X-Request-Id: [3b339781-0fcb-41d2-b6f9-410e1a3269ee]
X-Runtime: ['0.055533']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['214'] content-length: ['214']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -67,19 +73,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773496239669 uri: http://localhost:3000/api/v1/statuses/100154009030743123
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0e4dea5bf4f42ac0f306000e8aeeb8a6"] ETag: [W/"a71e9ed1525a2d05ebbc695180e492d5"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a647f62a-0114-473f-99dd-b8d257f3d9c8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.069538'] X-Request-Id: [ec2dc34a-d7db-45c6-b0fe-3c774379244b]
X-Runtime: ['0.049468']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773866583077","created_at":"2018-05-06T22:42:53.941Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773866583077","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773866583077","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009398671983","created_at":"2018-06-05T20:01:43.258Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009398671983","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009398671983","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":17,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e9b36c86292bf388df11535114958c98"] ETag: [W/"c658f959b5060ad06da7436921f5026f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [983b6635-3b9c-4caa-b422-6eb7475f1e7d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.382732'] X-Request-Id: [a2bcb00c-9aaa-4b7d-9b74-8b9f9bee24d2]
X-Runtime: ['0.468721']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -38,19 +41,22 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/statuses/99984773866583077/context uri: http://localhost:3000/api/v1/statuses/100154009398671983/context
response: response:
body: {string: '{"ancestors":[],"descendants":[]}'} body: {string: '{"ancestors":[],"descendants":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0693524a8238592e49e94bda94bba8a5"] ETag: [W/"8ef60a0480e8b111a8f3ee590ef96bc0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [32e2b0c1-0f1c-4810-a600-cc81b1d6d868] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.228665'] X-Request-Id: [b3f45c07-5c0b-48fc-bf90-26e8666af75d]
X-Runtime: ['0.208617']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['33'] content-length: ['33']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -64,19 +70,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773866583077 uri: http://localhost:3000/api/v1/statuses/100154009398671983
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"137e92eaeae411776cb8945f739d8cd6"] ETag: [W/"8518004e040eccfbe8a82aa114c9157b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3abe3871-ce82-44f2-af43-58e174e10b4b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.082150'] X-Request-Id: [12950b92-502a-463e-88e9-534f864e5726]
X-Runtime: ['0.108872']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,89 +12,21 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: "NoMethodError at /api/v1/statuses\n=================================\n\n> body: {string: "{\"error\":\"\u30D0\u30EA\u30C7\u30FC\u30B7\u30E7\u30F3\u306B\u5931\u6557\u3057\u307E\u3057\u305F:
undefined method `empty?' for nil:NilClass\n\napp/services/post_status_service.rb, Text\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\"}"}
line 25\n--------------------------------------------\n\n``` ruby\n 20 end\n
\ 21 \n 22 media = validate_media!(options[:media_ids])\n 23
\ status = nil\n 24 text = options.delete(:spoiler_text) if
text.blank? && options[:spoiler_text].present?\n> 25 text = '.' if
text.blank? && !media.empty?\n 26 \n 27 ApplicationRecord.transaction
do\n 28 status = account.statuses.create!(text: text,\n 29 media_attachments:
media || [],\n 30 thread: in_reply_to,\n```\n\nApp
backtrace\n-------------\n\n - app/services/post_status_service.rb:25:in `call'\n
- app/controllers/api/v1/statuses_controller.rb:42:in `create'\n\nFull backtrace\n--------------\n\n
- app/services/post_status_service.rb:25:in `call'\n - app/controllers/api/v1/statuses_controller.rb:42:in
`create'\n - actionpack (5.1.4) lib/action_controller/metal/basic_implicit_render.rb:4:in
`send_action'\n - actionpack (5.1.4) lib/abstract_controller/base.rb:186:in
`process_action'\n - actionpack (5.1.4) lib/action_controller/metal/rendering.rb:30:in
`process_action'\n - actionpack (5.1.4) lib/abstract_controller/callbacks.rb:20:in
`block in process_action'\n - activesupport (5.1.4) lib/active_support/callbacks.rb:131:in
`run_callbacks'\n - actionpack (5.1.4) lib/abstract_controller/callbacks.rb:19:in
`process_action'\n - actionpack (5.1.4) lib/action_controller/metal/rescue.rb:20:in
`process_action'\n - actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:32:in
`block in process_action'\n - activesupport (5.1.4) lib/active_support/notifications.rb:166:in
`block in instrument'\n - activesupport (5.1.4) lib/active_support/notifications/instrumenter.rb:21:in
`instrument'\n - activesupport (5.1.4) lib/active_support/notifications.rb:166:in
`instrument'\n - actionpack (5.1.4) lib/action_controller/metal/instrumentation.rb:30:in
`process_action'\n - actionpack (5.1.4) lib/action_controller/metal/params_wrapper.rb:252:in
`process_action'\n - activerecord (5.1.4) lib/active_record/railties/controller_runtime.rb:22:in
`process_action'\n - actionpack (5.1.4) lib/abstract_controller/base.rb:124:in
`process'\n - actionview (5.1.4) lib/action_view/rendering.rb:30:in `process'\n
- actionpack (5.1.4) lib/action_controller/metal.rb:189:in `dispatch'\n -
actionpack (5.1.4) lib/action_controller/metal.rb:253:in `dispatch'\n - actionpack
(5.1.4) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'\n - actionpack
(5.1.4) lib/action_dispatch/routing/route_set.rb:31:in `serve'\n - actionpack
(5.1.4) lib/action_dispatch/journey/router.rb:50:in `block in serve'\n - actionpack
(5.1.4) lib/action_dispatch/journey/router.rb:33:in `serve'\n - actionpack
(5.1.4) lib/action_dispatch/routing/route_set.rb:834:in `call'\n - omniauth
(1.8.1) lib/omniauth/builder.rb:63:in `call'\n - bullet (5.6.1) lib/bullet/rack.rb:12:in
`call'\n - http_accept_language (2.1.1) lib/http_accept_language/middleware.rb:14:in
`call'\n - rack (2.0.3) lib/rack/deflater.rb:34:in `call'\n - rack-attack
(5.0.1) lib/rack/attack.rb:140:in `call'\n - warden (1.2.7) lib/warden/manager.rb:36:in
`block in call'\n - warden (1.2.7) lib/warden/manager.rb:35:in `call'\n -
rack (2.0.3) lib/rack/etag.rb:25:in `call'\n - rack (2.0.3) lib/rack/conditional_get.rb:38:in
`call'\n - rack (2.0.3) lib/rack/head.rb:12:in `call'\n - rack (2.0.3) lib/rack/session/abstract/id.rb:232:in
`context'\n - rack (2.0.3) lib/rack/session/abstract/id.rb:226:in `call'\n
- actionpack (5.1.4) lib/action_dispatch/middleware/cookies.rb:613:in `call'\n
- activerecord (5.1.4) lib/active_record/migration.rb:556:in `call'\n - actionpack
(5.1.4) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'\n
- activesupport (5.1.4) lib/active_support/callbacks.rb:97:in `run_callbacks'\n
- actionpack (5.1.4) lib/action_dispatch/middleware/callbacks.rb:24:in `call'\n
- actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in `call'\n
- better_errors (2.4.0) lib/better_errors/middleware.rb:84:in `protected_app_call'\n
- better_errors (2.4.0) lib/better_errors/middleware.rb:79:in `better_errors_call'\n
- better_errors (2.4.0) lib/better_errors/middleware.rb:57:in `call'\n - actionpack
(5.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'\n
- actionpack (5.1.4) lib/action_dispatch/middleware/show_exceptions.rb:31:in
`call'\n - chewy (5.0.0) lib/chewy/railtie.rb:19:in `block in call'\n - chewy
(5.0.0) lib/chewy/strategy.rb:70:in `wrap'\n - chewy (5.0.0) lib/chewy.rb:201:in
`strategy'\n - chewy (5.0.0) lib/chewy/railtie.rb:19:in `call'\n - railties
(5.1.4) lib/rails/rack/logger.rb:36:in `call_app'\n - railties (5.1.4) lib/rails/rack/logger.rb:24:in
`block in call'\n - activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in
`block in tagged'\n - activesupport (5.1.4) lib/active_support/tagged_logging.rb:26:in
`tagged'\n - activesupport (5.1.4) lib/active_support/tagged_logging.rb:69:in
`tagged'\n - railties (5.1.4) lib/rails/rack/logger.rb:24:in `call'\n - sprockets-rails
(3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'\n - actionpack (5.1.4)
lib/action_dispatch/middleware/remote_ip.rb:79:in `call'\n - actionpack (5.1.4)
lib/action_dispatch/middleware/request_id.rb:25:in `call'\n - rack (2.0.3)
lib/rack/method_override.rb:22:in `call'\n - rack (2.0.3) lib/rack/runtime.rb:22:in
`call'\n - rack-timeout (0.4.2) lib/rack/timeout/core.rb:100:in `call'\n -
activesupport (5.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in
`call'\n - actionpack (5.1.4) lib/action_dispatch/middleware/executor.rb:12:in
`call'\n - actionpack (5.1.4) lib/action_dispatch/middleware/static.rb:125:in
`call'\n - rack (2.0.3) lib/rack/sendfile.rb:111:in `call'\n - rack-cors (0.4.1)
lib/rack/cors.rb:81:in `call'\n - webpacker (3.0.2) lib/webpacker/dev_server_proxy.rb:17:in
`perform_request'\n - rack-proxy (0.6.2) lib/rack/proxy.rb:57:in `call'\n
- railties (5.1.4) lib/rails/engine.rb:522:in `call'\n - puma (3.11.0) lib/puma/configuration.rb:225:in
`call'\n - puma (3.11.0) lib/puma/server.rb:624:in `handle_request'\n - puma
(3.11.0) lib/puma/server.rb:438:in `process_client'\n - puma (3.11.0) lib/puma/server.rb:302:in
`block in run'\n - puma (3.11.0) lib/puma/thread_pool.rb:120:in `block in
spawn_thread'\n\n"}
headers: headers:
Content-Type: [text/plain; charset=utf-8] Cache-Control: [no-cache]
Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: [Origin] Vary: ['Accept-Encoding, Origin']
X-Request-Id: [e54a8d8f-e4d0-4925-b9b8-4a1e35332e3f] X-Content-Type-Options: [nosniff]
X-Runtime: ['0.164644'] X-Download-Options: [noopen]
status: {code: 500, message: Internal Server Error} X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [ce63de8a-5ce7-40a0-badd-27b4664a1d92]
X-Runtime: ['0.261607']
X-XSS-Protection: [1; mode=block]
content-length: ['87']
status: {code: 422, message: Unprocessable Entity}
version: 1 version: 1

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774641283679","created_at":"2018-05-06T22:43:05.742Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774641283679","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774641283679","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010204753357","created_at":"2018-06-05T20:01:55.542Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010204753357","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010204753357","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"71d179edeca76b93b83d72cb746e0c7e"] ETag: [W/"dca610e0c109a7d588108544c87d928b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [61524c1a-b938-4372-b45c-b7432a7f8ed4] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.333268'] X-Request-Id: [cf2b148c-1ffc-4819-bb2c-3e911386c3f4]
X-Runtime: ['0.402495']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,24 +42,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774641283679/favourite uri: http://localhost:3000/api/v1/statuses/100154010204753357/favourite
response: response:
body: {string: '{"id":"99984774641283679","created_at":"2018-05-06T22:43:05.742Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774641283679","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774641283679","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010204753357","created_at":"2018-06-05T20:01:55.542Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010204753357","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010204753357","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"85e301ead8cede5ae7c04b26ec744032"] ETag: [W/"86982379aecc5d37916f0301174d5cd4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [296f1d24-267d-4c7d-aa11-78bf958ed4c3] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.237692'] X-Request-Id: [6caac181-9afc-46b0-a4f8-2a075d8e5047]
X-Runtime: ['0.235114']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -68,24 +74,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774641283679/unfavourite uri: http://localhost:3000/api/v1/statuses/100154010204753357/unfavourite
response: response:
body: {string: '{"id":"99984774641283679","created_at":"2018-05-06T22:43:05.742Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774641283679","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774641283679","reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010204753357","created_at":"2018-06-05T20:01:55.542Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010204753357","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010204753357","reblogs_count":0,"favourites_count":1,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d12797b6654ef1b6bcc8aa18b86b2325"] ETag: [W/"d8fb442de991c370d97e67f1f0504719"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a55241a7-b4dd-4aab-a6bf-c9cc49f0c4a1] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.102733'] X-Request-Id: [624b4222-1bf9-4a97-ace2-00dc164bd877]
X-Runtime: ['0.157968']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -97,19 +106,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774641283679 uri: http://localhost:3000/api/v1/statuses/100154010204753357
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3e0d972f4165ee97f5f467a7311c2756"] ETag: [W/"e13f383a8a78a0794da22a2b7d156977"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b6812f84-51df-4982-b726-c1e304240e3d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.047594'] X-Request-Id: [9f4d1e0e-8c96-4e12-9558-a077101550f6]
X-Runtime: ['0.042519']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773986025951","created_at":"2018-05-06T22:42:55.776Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773986025951","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773986025951","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009537195294","created_at":"2018-06-05T20:01:45.344Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009537195294","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009537195294","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":19,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d1410e40cbf75156e20d56eebc52d2da"] ETag: [W/"a1c53d144529d7f1fba9cd5b97d0e308"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [bd2aa821-8731-4e1a-827d-b5d408617edb] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.478196'] X-Request-Id: [ca4be35c-4b40-4ae1-872b-967674f62f0f]
X-Runtime: ['0.641281']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,24 +42,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984773986025951/favourite uri: http://localhost:3000/api/v1/statuses/100154009537195294/favourite
response: response:
body: {string: '{"id":"99984773986025951","created_at":"2018-05-06T22:42:55.776Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773986025951","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773986025951","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009537195294","created_at":"2018-06-05T20:01:45.344Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009537195294","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009537195294","reblogs_count":0,"favourites_count":1,"favourited":true,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":19,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"36cb02fc80da6b0c3b1801ea49fd24fd"] ETag: [W/"b6317bbcaba3540f602bb250bd036bad"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [62432ecf-ed33-4be9-95f4-50115075bb7e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.248565'] X-Request-Id: [28999f49-a5b4-4b79-a8f6-b565c01170ea]
X-Runtime: ['0.203147']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -67,25 +73,28 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/statuses/99984773986025951/favourited_by uri: http://localhost:3000/api/v1/statuses/100154009537195294/favourited_by
response: response:
body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":19,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"23c1286b5dbb438462887140d78ed486"] ETag: [W/"f15198d69f0d7ef666d91ca44c7e287a"]
Link: ['<http://localhost:3000/api/v1/statuses/99984773986025951/favourited_by?since_id=3>; Link: ['<http://localhost:3000/api/v1/statuses/100154009537195294/favourited_by?since_id=1>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [e8c19ec4-0130-4eb9-9332-c75fb0729421] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.082037'] X-Request-Id: [973f362b-dba5-4b57-b52a-26fb3dfaf600]
X-Runtime: ['0.102367']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['769'] content-length: ['871']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -97,19 +106,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773986025951 uri: http://localhost:3000/api/v1/statuses/100154009537195294
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"242dfe908bbfe60abc783598603515ec"] ETag: [W/"4dd5f021cb53841df8f1a0e9da356980"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [09838059-848f-431a-a9fc-a1fa584b5f45] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.049722'] X-Request-Id: [e8317962-058b-4d9d-84cd-bacb5ec79947]
X-Runtime: ['0.108461']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -14,12 +14,15 @@ interactions:
headers: headers:
Cache-Control: [no-cache] Cache-Control: [no-cache]
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7ae4aaa2-59db-41c7-af05-d6de63407ae9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.107712'] X-Request-Id: [eb5385c1-149a-4fc9-a8b8-72473e1fe2c5]
X-Runtime: ['0.137141']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['28'] content-length: ['28']
status: {code: 404, message: Not Found} status: {code: 404, message: Not Found}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774703076275","created_at":"2018-05-06T22:43:06.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774703076275","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774703076275","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010277854781","created_at":"2018-06-05T20:01:56.605Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010277854781","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010277854781","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"873065d26b34d6a320f114e4a1f291dd"] ETag: [W/"3fa3c3d46ec381821d647a41f9ce61c8"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0bc270ef-a15f-42b8-a967-26eee677d5df] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.329423'] X-Request-Id: [80786946-1310-4389-800f-1d936b58b016]
X-Runtime: ['0.193568']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,24 +42,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774703076275/mute uri: http://localhost:3000/api/v1/statuses/100154010277854781/mute
response: response:
body: {string: '{"id":"99984774703076275","created_at":"2018-05-06T22:43:06.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774703076275","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774703076275","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":true,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010277854781","created_at":"2018-06-05T20:01:56.605Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010277854781","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010277854781","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":true,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ba49dfc55a1080c217e53f1b01254b82"] ETag: [W/"21e9bb90c101390d6dd1fc67e65a6e16"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b9bf1df8-57f5-4104-b55a-3cd7c8da7382] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.252331'] X-Request-Id: [bf8d35bd-16f5-4b00-9aef-c61cccb24c73]
X-Runtime: ['0.200765']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -68,24 +74,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774703076275/unmute uri: http://localhost:3000/api/v1/statuses/100154010277854781/unmute
response: response:
body: {string: '{"id":"99984774703076275","created_at":"2018-05-06T22:43:06.668Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774703076275","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774703076275","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010277854781","created_at":"2018-06-05T20:01:56.605Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010277854781","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010277854781","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b52d32cdf0a1567f67f234887d90c35a"] ETag: [W/"0433e8fe62466f5ecca2d67069ac99f8"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [fc126f68-870e-42c4-b2d3-602b7fe0718a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.083912'] X-Request-Id: [4bf9b013-4be1-4866-a016-31d0f9925770]
X-Runtime: ['0.128710']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -97,19 +106,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774703076275 uri: http://localhost:3000/api/v1/statuses/100154010277854781
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a90e0530861cc44cce570fe7becbb575"] ETag: [W/"6f8468200480e75ccb317c664480d867"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f6c827eb-a5c5-4c5f-ac31-5acbf179ab13] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.060850'] X-Request-Id: [48129f2f-93bb-4648-b665-250a354f8e3e]
X-Runtime: ['0.049052']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"100148044136641620","created_at":"2018-06-04T18:44:40.693Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148044136641620","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148044136641620","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010328094438","created_at":"2018-06-05T20:01:57.427Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010328094438","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010328094438","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"de530492b63d03f8014765dfefb58aec"] ETag: [W/"89a4cd4f81c3f09fd309677e47c4245a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [fb394353-7fd5-4df4-9325-cd8b848b1d41] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.644297'] X-Request-Id: [71dc366f-6610-4ce8-98cb-42661c010ea3]
X-Runtime: ['0.360620']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,24 +42,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/100148044136641620/pin uri: http://localhost:3000/api/v1/statuses/100154010328094438/pin
response: response:
body: {string: '{"id":"100148044136641620","created_at":"2018-06-04T18:44:40.693Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148044136641620","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148044136641620","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010328094438","created_at":"2018-06-05T20:01:57.427Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010328094438","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010328094438","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5fd67eeb141fb09e42623a6165d262d4"] ETag: [W/"266c77eb4dbaca1ac710d0ec04ba9e86"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b022a70b-3902-4b7a-aa46-6536cda62141] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.523419'] X-Request-Id: [f4a7af3f-12d3-4bc8-b146-3e8a91d68a96]
X-Runtime: ['0.251709']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1398'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -68,24 +74,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/100148044136641620/unpin uri: http://localhost:3000/api/v1/statuses/100154010328094438/unpin
response: response:
body: {string: '{"id":"100148044136641620","created_at":"2018-06-04T18:44:40.693Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100148044136641620","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100148044136641620","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010328094438","created_at":"2018-06-05T20:01:57.427Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010328094438","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010328094438","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":5},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"de530492b63d03f8014765dfefb58aec"] ETag: [W/"8d40e00f7ff81cf504ad65ec75ec884a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [e25b5197-5dbc-4081-af76-613189ee5ce2] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.197095'] X-Request-Id: [9bccf145-5822-4af7-a97a-61e8cab56be1]
X-Runtime: ['0.123528']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -97,19 +106,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/100148044136641620 uri: http://localhost:3000/api/v1/statuses/100154010328094438
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"8a3f21770b7f7baf86839a319201f71c"] ETag: [W/"61a020db4f9a98b4895eb4319b41277f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [829c8268-0b7f-4495-a9bc-6326c73399b3] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.134719'] X-Request-Id: [20d5275f-8a67-4167-92b5-c32f2a0ba39a]
X-Runtime: ['0.034625']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774365334064","created_at":"2018-05-06T22:43:01.520Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content body: {string: '{"id":"100154009894477783","created_at":"2018-06-05T20:01:50.787Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774365334064","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774365334064","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009894477783","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009894477783","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"64a1c37806ed06518a5619fb3f3834e2"] ETag: [W/"702e9349c523a6d4d31d60275c63d52c"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [af1a0419-9aef-45cd-865f-025c51ba5d9b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.278178'] X-Request-Id: [4f0231a9-471c-4235-8b75-66ae6f2fb046]
X-Runtime: ['0.272430']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1414'] content-length: ['1519']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,19 +43,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774365334064 uri: http://localhost:3000/api/v1/statuses/100154009894477783
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d3228d6dc30c85b680ec38afe342e6ed"] ETag: [W/"2dc601887a7af6895f07502bd631e6ff"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [45f522d9-2398-4a1d-a2af-0e121188b860] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.208675'] X-Request-Id: [0bf00796-8633-4b4d-98af-e668bc2437c2]
X-Runtime: ['0.233787']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,6 +1,6 @@
interactions: interactions:
- request: - request:
body: spoiler_text=Content+warning&visibility=direct&status=Toot%21 body: visibility=direct&spoiler_text=Content+warning&status=Toot%21
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774407383422","created_at":"2018-05-06T22:43:02.166Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content body: {string: '{"id":"100154009940250510","created_at":"2018-06-05T20:01:51.519Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774407383422","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774407383422","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009940250510","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009940250510","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"0b27a1036f7b1fb5cb55af6dbd699ff8"] ETag: [W/"3e841ba189cf958678417653e66ab171"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3d8fb37f-a622-4a32-a0ad-412da5a75b76] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.363082'] X-Request-Id: [b814ac92-31ab-4de4-b8e0-f1ee9bccd371]
X-Runtime: ['0.378613']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1399'] content-length: ['1504']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,19 +43,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774407383422 uri: http://localhost:3000/api/v1/statuses/100154009940250510
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a8e7de785eabdea8318aff7396118759"] ETag: [W/"2dc601887a7af6895f07502bd631e6ff"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0d72170f-2cba-48f2-94cf-f762b3ec404f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.142893'] X-Request-Id: [5ec31f8e-cb36-4dec-a057-d8dc8042381c]
X-Runtime: ['0.114186']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,6 +1,6 @@
interactions: interactions:
- request: - request:
body: spoiler_text=Content+warning&visibility=private&status=Toot%21 body: visibility=private&spoiler_text=Content+warning&status=Toot%21
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774448144358","created_at":"2018-05-06T22:43:02.800Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content body: {string: '{"id":"100154009986515447","created_at":"2018-06-05T20:01:52.176Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774448144358","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774448144358","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py warning","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009986515447","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009986515447","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"adcb96e4cc9fd88c2a56717ae79a5e48"] ETag: [W/"5f8dd51433d921bc47beea482da5c0cf"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5cef493b-33a6-494c-8ba0-3533a8b6ea88] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.357977'] X-Request-Id: [5b26ce55-da1b-4d02-b480-3c508f031ff6]
X-Runtime: ['0.296039']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,19 +43,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774448144358 uri: http://localhost:3000/api/v1/statuses/100154009986515447
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4cfaf9746edaf6fccfcacf0130dd7883"] ETag: [W/"06df5aeea2e29f75afd49cbe3b4e233d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [dc097c08-ae34-4fe2-bc66-f390e192662e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.142269'] X-Request-Id: [819c611f-805a-4075-a865-1908adeba722]
X-Runtime: ['0.077032']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,6 +1,6 @@
interactions: interactions:
- request: - request:
body: spoiler_text=Content+warning&visibility=public&status=Toot%21 body: visibility=public&spoiler_text=Content+warning&status=Toot%21
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774522933034","created_at":"2018-05-06T22:43:03.947Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content body: {string: '{"id":"100154010052169277","created_at":"2018-06-05T20:01:53.183Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774522933034","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774522933034","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py warning","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010052169277","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010052169277","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"04c58441abfa3566ebb90a991f76aa52"] ETag: [W/"bd5ced7bb9478e3e0b8b6250368efd02"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b9549964-93b9-4414-b7cd-f85165355618] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.318732'] X-Request-Id: [6ede2059-de70-4457-adaa-22f088defb4b]
X-Runtime: ['0.314782']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1414'] content-length: ['1519']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,19 +43,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774522933034 uri: http://localhost:3000/api/v1/statuses/100154010052169277
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"3b6a2b031e1340d6fc01efac3e514faf"] ETag: [W/"ee22df187d6edee971bf4403c830f317"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8b16c4ef-8f76-4585-94a2-a58ddd9b27cd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.189260'] X-Request-Id: [5efd2649-4ccd-4936-9c2c-8533fd4d2537]
X-Runtime: ['0.130592']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -1,6 +1,6 @@
interactions: interactions:
- request: - request:
body: spoiler_text=Content+warning&visibility=unlisted&status=Toot%21 body: visibility=unlisted&spoiler_text=Content+warning&status=Toot%21
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
@ -12,23 +12,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774486782292","created_at":"2018-05-06T22:43:03.379Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content body: {string: '{"id":"100154010017793191","created_at":"2018-06-05T20:01:52.655Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
warning","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774486782292","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774486782292","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py warning","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010017793191","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010017793191","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"2b5fe623bf1b25e99109e6ce17b76b60"] ETag: [W/"35b1fc05bc664de2c0d2180362d70e6f"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [df2336cf-c69a-4865-b6ee-c77f8fd2dacf] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.309635'] X-Request-Id: [3b4e365c-73d1-4d32-b608-fca1d60bd675]
X-Runtime: ['0.320393']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1416'] content-length: ['1521']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,19 +43,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774486782292 uri: http://localhost:3000/api/v1/statuses/100154010017793191
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"4cfaf9746edaf6fccfcacf0130dd7883"] ETag: [W/"06df5aeea2e29f75afd49cbe3b4e233d"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c7ca164d-b0f0-40bc-9c8e-c30711ca2868] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.153494'] X-Request-Id: [d2bd779d-7c04-4396-92a6-8c3904a29a86]
X-Runtime: ['0.082491']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774115438029","created_at":"2018-05-06T22:42:58.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774115438029","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774115438029","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009653963118","created_at":"2018-06-05T20:01:47.100Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009653963118","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009653963118","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":21,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"15ea3b2f6e3524a2391933bd17f2a220"] ETag: [W/"f34b6b9d5eee62ea14deaa3f3da65baa"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7bb9ad03-9d47-4847-9826-8d1fd9309644] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['1.444900'] X-Request-Id: [05fb657d-0bb5-4b4b-89f2-79f25bd5ca2f]
X-Runtime: ['0.440738']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774115438029 uri: http://localhost:3000/api/v1/statuses/100154009653963118
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"c2e2f8b89826d233815b5e9f30bfbc9c"] ETag: [W/"228de1dc7f0b4e8fdccb5f26d349fd51"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [71f828e6-a96a-48c9-abb8-f1ae223db5ff] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.166117'] X-Request-Id: [a5880420-44fb-4e66-9be8-a67700de4700]
X-Runtime: ['0.149110']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774198280325","created_at":"2018-05-06T22:42:58.963Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774198280325","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774198280325","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009703620706","created_at":"2018-06-05T20:01:47.854Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009703620706","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009703620706","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":20,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ebd00c014e21d42df6d85eb4f317037d"] ETag: [W/"2c5d411e85ecda3ba3495b278efc5e25"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7b5c2cb1-4f6b-4b96-accd-04473e5c0e51] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.241318'] X-Request-Id: [4ee46dc0-0958-4269-8a8c-920093512775]
X-Runtime: ['0.446732']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1385'] content-length: ['1490']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774198280325 uri: http://localhost:3000/api/v1/statuses/100154009703620706
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b57feed6bdadd98678ea38b428bb019d"] ETag: [W/"61c5afae6e2b05bd4021a68864d29d8a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [79983244-7ad6-43a9-8a5c-5cd8c7108604] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.137205'] X-Request-Id: [f557d6b4-6265-4f26-bf97-144b3c26f08f]
X-Runtime: ['0.072445']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774231867812","created_at":"2018-05-06T22:42:59.496Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774231867812","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774231867812","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009744488975","created_at":"2018-06-05T20:01:48.484Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"private","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009744488975","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009744488975","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":21,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"fc590d78537a24ee0f12e602e9346e98"] ETag: [W/"926d42aaaf67a7d0f396b41981901d3a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [c3fcf435-6b18-4088-b6a9-ff65c2350dd8] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.321112'] X-Request-Id: [21e15016-72ad-4066-a5ff-7ee60555aacc]
X-Runtime: ['0.309495']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1386'] content-length: ['1491']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774231867812 uri: http://localhost:3000/api/v1/statuses/100154009744488975
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b57feed6bdadd98678ea38b428bb019d"] ETag: [W/"61c5afae6e2b05bd4021a68864d29d8a"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3fa57160-0fef-423e-9b3e-8118261c6390] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.172930'] X-Request-Id: [a5c08dc8-3a4b-49d7-8c52-86c1a674f90d]
X-Runtime: ['0.113983']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774310657294","created_at":"2018-05-06T22:43:00.699Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774310657294","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774310657294","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009834713936","created_at":"2018-06-05T20:01:49.877Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009834713936","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009834713936","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"97662956fe59c71f2936cadcc1266352"] ETag: [W/"5bacb9238a62bf04b5e9c480762ee880"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [a3903e2d-6cda-42fe-9b0c-818ac3584a65] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.508262'] X-Request-Id: [7bed31bd-33a1-4ba3-b9a1-ad70498532d5]
X-Runtime: ['0.408309']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774310657294 uri: http://localhost:3000/api/v1/statuses/100154009834713936
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"d3228d6dc30c85b680ec38afe342e6ed"] ETag: [W/"ae8a96cf3e414788e5e92777df010185"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0f85821a-b518-4235-a9c4-ef2d6caae1b5] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.142043'] X-Request-Id: [23cac20a-f5b9-4f66-8bb7-4540de833380]
X-Runtime: ['0.150386']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774269998737","created_at":"2018-05-06T22:43:00.066Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774269998737","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774269998737","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009787332700","created_at":"2018-06-05T20:01:49.148Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009787332700","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009787332700","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":21,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"dfa41c8cb9b2e35d9b050118f7795e13"] ETag: [W/"19bf69eccc0bb60d3a156c6b98b337d3"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7c7a7068-59b3-4884-989e-a647f3d74b2a] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.301321'] X-Request-Id: [84baaa91-9c89-42fd-9328-f1bd85393c93]
X-Runtime: ['0.544564']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1402'] content-length: ['1507']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774269998737 uri: http://localhost:3000/api/v1/statuses/100154009787332700
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"25018d47f79f6be3ba08156cf73ff971"] ETag: [W/"5334bfca38adbd8c5225cd83c3581a5b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [dd17ff38-be60-4a8d-b171-f1593cfeb523] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.182072'] X-Request-Id: [ad56c142-56be-432b-bf77-03593fdb73fa]
X-Runtime: ['0.106326']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774570760254","created_at":"2018-05-06T22:43:04.648Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774570760254","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774570760254","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010099597779","created_at":"2018-06-05T20:01:53.899Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010099597779","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010099597779","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"ca8cbfbd0f23e4df23387d5364e86729"] ETag: [W/"b63967d846d4160912c9ac077b7a65c2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [cc490ef0-6e2b-41f5-81d9-4d91bb29582d] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.261054'] X-Request-Id: [a7dcb39f-6301-412e-b651-ac764bfcd26c]
X-Runtime: ['0.382098']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,29 +42,32 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774570760254/reblog uri: http://localhost:3000/api/v1/statuses/100154010099597779/reblog
response: response:
body: {string: '{"id":"99984774598831870","created_at":"2018-05-06T22:43:05.072Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774598831870/activity","content":"\u003cp\u003eRT body: {string: '{"id":"100154010139565589","created_at":"2018-06-05T20:01:54.498Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010139565589/activity","content":"\u003cp\u003eRT
\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774598831870","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99984774570760254","created_at":"2018-05-06T22:43:04.648Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774570760254","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774570760254","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010139565589","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100154010099597779","created_at":"2018-06-05T20:01:53.899Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010099597779","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010099597779","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"52dca228fbebc94bf2e25664cbf1374f"] ETag: [W/"113806f449daa6facc5474f0cb629d70"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1ceac8bf-61b7-4018-932a-f8fb3845b08f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.407328'] X-Request-Id: [a06805b0-3a94-4c75-a5f3-84ccffd46d3a]
X-Runtime: ['0.761109']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2946'] content-length: ['3156']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -73,24 +79,27 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984774570760254/unreblog uri: http://localhost:3000/api/v1/statuses/100154010099597779/unreblog
response: response:
body: {string: '{"id":"99984774570760254","created_at":"2018-05-06T22:43:04.648Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774570760254","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774570760254","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154010099597779","created_at":"2018-06-05T20:01:53.899Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010099597779","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010099597779","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"1ba6a7e82698f5aef0c0ec89f246287c"] ETag: [W/"83fae164b392972754d23e224fed43aa"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f3ed6edf-c376-4831-ba1a-0789aa3c6d89] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.111573'] X-Request-Id: [5f1fff8a-784d-452b-9b5d-d3176b24b207]
X-Runtime: ['0.142418']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -102,19 +111,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774570760254 uri: http://localhost:3000/api/v1/statuses/100154010099597779
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"5eead9ec6d843dfb3a8df164ffdb987b"] ETag: [W/"7fc7ddd3725cbe732cacf51f07faf97b"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3bf2e541-7f61-46d6-ae5d-84b90d7ca868] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.120718'] X-Request-Id: [d28e28d9-a4e8-43ed-91e1-5fe9454fb907]
X-Runtime: ['0.081965']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984773925165431","created_at":"2018-05-06T22:42:54.814Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773925165431","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773925165431","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009460072801","created_at":"2018-06-05T20:01:44.165Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009460072801","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009460072801","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":17,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"02d7a6a2bd3fc9e4b21d463c5daa299d"] ETag: [W/"5338f4a0a1e23ed0d06cd23112166088"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [55906063-f8e3-4ff8-a9e7-426bfc1d3647] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.309285'] X-Request-Id: [0ca501b7-8a03-4674-af14-21a35561eaef]
X-Runtime: ['0.432408']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,29 +42,32 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses/99984773925165431/reblog uri: http://localhost:3000/api/v1/statuses/100154009460072801/reblog
response: response:
body: {string: '{"id":"99984773944844069","created_at":"2018-05-06T22:42:55.132Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773944844069/activity","content":"\u003cp\u003eRT body: {string: '{"id":"100154009485081640","created_at":"2018-06-05T20:01:44.504Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009485081640/activity","content":"\u003cp\u003eRT
\u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" \u003cspan class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e
Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773944844069","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"99984773925165431","created_at":"2018-05-06T22:42:54.814Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984773925165431","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984773925165431","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py Toot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009485081640","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"reblog":{"id":"100154009460072801","created_at":"2018-06-05T20:01:44.165Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009460072801","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009460072801","reblogs_count":1,"favourites_count":0,"favourited":false,"reblogged":true,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":17,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]},"application":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":18,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7cc9ed4b1c3685b08d6cf16a263addd8"] ETag: [W/"75d1cd63dfea6ba626cdb747dc9fb5bd"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8b7f1a80-d2c1-4384-9e06-bc159e3f0152] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.389099'] X-Request-Id: [4015541b-a78e-41ba-b524-89d599bbd49e]
X-Runtime: ['0.502048']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2946'] content-length: ['3156']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -72,25 +78,28 @@ interactions:
Connection: [keep-alive] Connection: [keep-alive]
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: GET method: GET
uri: http://localhost:3000/api/v1/statuses/99984773925165431/reblogged_by uri: http://localhost:3000/api/v1/statuses/100154009460072801/reblogged_by
response: response:
body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John body: {string: '[{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":3}]'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":18,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]}]'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"b748014f6f5cb307062d13c815dd5388"] ETag: [W/"35e9a85fe07a66563787a296183574e0"]
Link: ['<http://localhost:3000/api/v1/statuses/99984773925165431/reblogged_by?since_id=99984773944844069>; Link: ['<http://localhost:3000/api/v1/statuses/100154009460072801/reblogged_by?since_id=100154009485081640>;
rel="prev"'] rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9673c2df-b9be-4f19-8628-9f93a3dc6083] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.038168'] X-Request-Id: [c255c74a-2e40-42ec-9b7a-bb88a42c6e85]
X-Runtime: ['0.040636']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['769'] content-length: ['871']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -102,19 +111,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984773925165431 uri: http://localhost:3000/api/v1/statuses/100154009460072801
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"576267f04b016d9fd93fae40660ff71a"] ETag: [W/"58c3662c5daffd3989176dd1d7114467"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [47282bec-b6c0-44f5-8455-2c114f2a72a9] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.088056'] X-Request-Id: [24d1244f-f249-46ba-9a42-f471e3666739]
X-Runtime: ['0.044312']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -10,19 +10,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":8,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":3,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"f698a47030f936e59ce4ae6abdad3b04"] ETag: [W/"204a2e8283fa1962886a66d475d220ff"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [8e060e2c-8c49-4ff0-b236-e1a4c9058fbd] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.290269'] X-Request-Id: [5c57d965-1012-4f7c-9103-5a9d8a6db137]
X-Runtime: ['0.023718']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['570'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,13 +43,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7a2432279afeffc068faf1c8a1fa70fc"] ETag: [W/"8440eacfb5d8b9404abc7b3da0a0f488"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b2e8a445-e6d0-45c7-97c4-b76be4388399] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.137886'] X-Request-Id: [f9a2269c-2a90-4cd7-b184-31d0cd5f6a4a]
X-Runtime: ['0.033259']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -61,19 +67,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":11,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":26,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"609c6fb5b974bd8ecc7ef8d714d3d080"] ETag: [W/"2b80bd264645d1ac7f4690d6fa2d9016"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [bc4cc782-dbdf-4910-b64d-6107b38f00ca] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.039287'] X-Request-Id: [eb0f5ef2-78de-43f5-96c1-1042d6d0dfff]
X-Runtime: ['0.035920']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['292'] content-length: ['295']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=only+real+cars+respond. body: status=only+real+cars+respond.
@ -88,23 +97,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984805396506288","created_at":"2018-05-06T22:50:55.130Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984805396506288","content":"\u003cp\u003eonly body: {string: '{"id":"100154037962221283","created_at":"2018-06-05T20:08:59.038Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154037962221283","content":"\u003cp\u003eonly
real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984805396506288","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py real cars respond.\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154037962221283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"bb5008ac0206d873c98d075a74a3af09"] ETag: [W/"b24521c31eb8306880a0d96c1d147bac"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [fadb1fbf-e364-4c98-a68c-cf0b3787136e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.393548'] X-Request-Id: [6efaccda-331a-4995-8949-f5eac9ea4d0f]
X-Runtime: ['0.180754']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1418'] content-length: ['1523']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep body: status=%40mastodonpy_test+beep+beep+I%27m+a+jeep
@ -119,23 +131,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984805422819791","created_at":"2018-05-06T22:50:55.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984805422819791","content":"\u003cp\u003e\u003cspan body: {string: '{"id":"100154037982457776","created_at":"2018-06-05T20:08:59.365Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154037982457776","content":"\u003cp\u003e\u003cspan
class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\" class=\"h-card\"\u003e\u003ca href=\"http://localhost:3000/@mastodonpy_test\"
class=\"u-url mention\"\u003e@\u003cspan\u003emastodonpy_test\u003c/span\u003e\u003c/a\u003e\u003c/span\u003e 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","url":"http://localhost:3000/@admin/99984805422819791","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py beep beep I\u0026apos;m a jeep\u003c/p\u003e","url":"http://localhost:3000/@admin/100154037982457776","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":9},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"35c04c8a4ad806b4dfd929fea6643cc1"] ETag: [W/"a0e75eadcd8a05f0f54dbaf7bcfe6bb4"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [7976366b-e234-4645-8e00-1813a909c0aa] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.580286'] X-Request-Id: [d46e5aa2-c82c-436b-bd44-0e4dbbbf3d5d]
X-Runtime: ['0.422407']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1475'] content-length: ['1514']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane body: status=on+the+internet%2C+nobody+knows+you%27re+a+plane
@ -150,21 +165,24 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984805462542109","created_at":"2018-05-06T22:50:56.077Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/99984805462542109","content":"\u003cp\u003eon body: {string: '{"id":"100154038009191408","created_at":"2018-06-05T20:08:59.804Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/admin/statuses/100154038009191408","content":"\u003cp\u003eon
the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/99984805462542109","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py the internet, nobody knows you\u0026apos;re a plane\u003c/p\u003e","url":"http://localhost:3000/@admin/100154038009191408","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":10},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":5,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a8ec462b4ffd4f44a43159db38cdb666"] ETag: [W/"de50c61097df4f6a4a303f0ab0244d26"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [1cf1dafc-0eba-4701-93f0-e3790ae29757] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.301767'] X-Request-Id: [c04b0d1f-2c2c-4355-9911-762e62ea0b2d]
X-Runtime: ['0.436143']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1175'] content-length: ['1213']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -176,19 +194,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984805396506288 uri: http://localhost:3000/api/v1/statuses/100154037962221283
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"e78c0870913d111fe0175faceb4085d5"] ETag: [W/"77e6df2ccf2481bf2fa04c13f32f7e55"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6d79a60d-282e-4484-936d-7300601a6756] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.091205'] X-Request-Id: [799aea18-beec-4be9-8bdb-f7c19c5efa4a]
X-Runtime: ['0.040215']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -203,26 +224,26 @@ interactions:
method: GET method: GET
uri: http://localhost:4000/api/v1/streaming/user uri: http://localhost:4000/api/v1/streaming/user
response: response:
body: {string: 'event: notification body: {string: 'event: update
data: {"id":"21","type":"mention","created_at":"2018-05-06T22:50:55.704Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":9},"status":{"id":"99984805422819791","created_at":"2018-05-06T22:50:55.426Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/99984805422819791","content":"<p><span data: {"id":"100154037962221283","created_at":"2018-06-05T20:08:59.038Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154037962221283","content":"<p>only
class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/100154037962221283","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","url":"http://localhost:3000/@admin/99984805422819791","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":9},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}
event: update
data: {"id":"99984805396506288","created_at":"2018-05-06T22:50:55.130Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"en","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984805396506288","content":"<p>only
real cars respond.</p>","url":"http://localhost:3000/@mastodonpy_test/99984805396506288","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"<p>I Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"<p>I
walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":0,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}
event: notification
data: {"id":"13","type":"mention","created_at":"2018-06-05T20:08:59.670Z","account":{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"status":{"id":"100154037982457776","created_at":"2018-06-05T20:08:59.365Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":null,"uri":"http://localhost:3000/users/admin/statuses/100154037982457776","content":"<p><span
class=\"h-card\"><a href=\"http://localhost:3000/@mastodonpy_test\" class=\"u-url
mention\">@<span>mastodonpy_test</span></a></span> beep beep I&apos;m a jeep</p>","url":"http://localhost:3000/@admin/100154037982457776","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"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":"2018-06-05T19:58:37.960Z","note":"<p></p>","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":4,"emojis":[],"fields":[]},"media_attachments":[],"mentions":[{"id":"1234567890123456","username":"mastodonpy_test","url":"http://localhost:3000/@mastodonpy_test","acct":"mastodonpy_test"}],"tags":[],"emojis":[]}}
event: delete event: delete
data: 99984805396506288 data: 100154037962221283
'} '}
@ -232,9 +253,9 @@ interactions:
Access-Control-Allow-Origin: ['*'] Access-Control-Allow-Origin: ['*']
Connection: [keep-alive] Connection: [keep-alive]
Content-Type: [text/event-stream] Content-Type: [text/event-stream]
Date: ['Sun, 06 May 2018 22:50:55 GMT'] Date: ['Tue, 05 Jun 2018 20:08:59 GMT']
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
X-Powered-By: [Express] X-Powered-By: [Express]
X-Request-Id: [4b9c5701-8bb3-41ac-b7b2-6a77867ba8b2] X-Request-Id: [f9749087-b3e8-4899-bfa4-12506467a510]
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -10,19 +10,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials uri: http://localhost:3000/api/v1/accounts/verify_credentials
response: response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"created_at":"2018-05-06T22:36:57.850Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":10,"source":{"privacy":"public","sensitive":false,"note":""}}'} body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":1,"following_count":0,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"15c11dfc23cf2cda445184d5e8460fcf"] ETag: [W/"5a3cb8cc710fe491799791995af5fa74"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [f82c5ff8-4dba-43bc-980e-07c37116b8e0] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.044216'] X-Request-Id: [ba8279eb-7ec6-490a-9844-7f163b3a0d8f]
X-Runtime: ['0.053921']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['571'] content-length: ['618']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -40,13 +43,16 @@ interactions:
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"c63a2050dda59236b6c2a15e05a92893"] ETag: [W/"a6d3db85e7e93705655b75b8c9346649"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9fd55e86-9eed-4329-a340-bc7ffe21a669] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.059000'] X-Request-Id: [94910581-23c6-44f9-9dd4-8dc3e0e6b8f0]
X-Runtime: ['0.093588']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['175'] content-length: ['175']
status: {code: 200, message: OK} status: {code: 200, message: OK}
@ -61,19 +67,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":13,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":24,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"421c4f340027980c909b39b22002b1f4"] ETag: [W/"330ef056bff1805f153cdd937a313f49"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [ffbc4aa1-8af6-4b46-b366-05aa2d3c0d6c] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.056935'] X-Request-Id: [4bb124c8-471a-4cf9-9455-a772d14e1d7b]
X-Runtime: ['0.069462']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['292'] content-length: ['295']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: status=it%27s+cool+guy body: status=it%27s+cool+guy
@ -88,23 +97,26 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984807248835180","created_at":"2018-05-06T22:51:23.283Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984807248835180","content":"\u003cp\u003eit\u0026apos;s body: {string: '{"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"\u003cp\u003eit\u0026apos;s
cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984807248835180","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py cool guy\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"214f5dbab17261b078dbd3e22cf8dd0a"] ETag: [W/"bccedf82eef77258d9135847e2049db6"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [721d894f-4f7b-428a-8da6-a8a010460196] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.209618'] X-Request-Id: [2422546a-b734-4372-a299-380416f5d1c9]
X-Runtime: ['0.208524']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1418'] content-length: ['1523']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -119,11 +131,11 @@ interactions:
response: response:
body: {string: 'event: update body: {string: 'event: update
data: {"id":"99984807248835180","created_at":"2018-05-06T22:51:23.283Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984807248835180","content":"<p>it&apos;s data: {"id":"100154012619100124","created_at":"2018-06-05T20:02:32.332Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"fy","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154012619100124","content":"<p>it&apos;s
cool guy</p>","url":"http://localhost:3000/@mastodonpy_test/99984807248835180","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py cool guy</p>","url":"http://localhost:3000/@mastodonpy_test/100154012619100124","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"<p>I Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"<p>I
walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]} walk funny</p>","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":23,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}
'} '}
@ -133,9 +145,9 @@ interactions:
Access-Control-Allow-Origin: ['*'] Access-Control-Allow-Origin: ['*']
Connection: [keep-alive] Connection: [keep-alive]
Content-Type: [text/event-stream] Content-Type: [text/event-stream]
Date: ['Sun, 06 May 2018 22:51:23 GMT'] Date: ['Tue, 05 Jun 2018 20:02:32 GMT']
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
X-Powered-By: [Express] X-Powered-By: [Express]
X-Request-Id: [84741f72-f229-42ff-832c-8f1c4f1425bb] X-Request-Id: [455f992e-1ac0-4f99-828b-829a09db2c87]
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984774047415020","created_at":"2018-05-06T22:42:56.686Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984774047415020","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984774047415020","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154009612003160","created_at":"2018-06-05T20:01:46.480Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154009612003160","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154009612003160","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":2},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":20,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"091a50d101ecbf46d7e5bafdd8f7e8e8"] ETag: [W/"aed6f354814082a568f431b9919dfbe3"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [eb541ed1-ccb8-493d-8999-49abf100d691] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.286791'] X-Request-Id: [50f4efda-47a1-4fe3-b22c-6245724e7f05]
X-Runtime: ['0.393464']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -39,19 +42,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984774047415020 uri: http://localhost:3000/api/v1/statuses/100154009612003160
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"af62e862c466db10f71916b3545af336"] ETag: [W/"4dd5f021cb53841df8f1a0e9da356980"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [3a287e48-66bf-4a81-b165-edaa0fd4d13f] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.237435'] X-Request-Id: [2d40b5fa-b9c7-46e6-9009-81734c1e5e96]
X-Runtime: ['0.162535']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -12,22 +12,25 @@ interactions:
method: POST method: POST
uri: http://localhost:3000/api/v1/statuses uri: http://localhost:3000/api/v1/statuses
response: response:
body: {string: '{"id":"99984778569376432","created_at":"2018-05-06T22:44:05.707Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99984778569376432","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99984778569376432","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py body: {string: '{"id":"100154014266622548","created_at":"2018-06-05T20:02:57.491Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154014266622548","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154014266622548","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"created_at":"2018-05-07T00:38:05.405Z","note":"\u003cp\u003eI Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":1,"statuses_count":4},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":24,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"a5cf2bfa60de4071e60aaf6b9e2eefad"] ETag: [W/"49ad53dc9cf7569e155f6cf5ada733f2"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [0bd1fffe-c8d6-4a4b-b751-e6d1ada6fc59] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.271367'] X-Request-Id: [15092df1-e3e3-4bd9-905a-baf66fe184b0]
X-Runtime: ['0.348031']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['1400'] content-length: ['1505']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -41,17 +44,20 @@ interactions:
response: response:
body: {string: '{"error":"The access token is invalid"}'} body: {string: '{"error":"The access token is invalid"}'}
headers: headers:
Cache-Control: [no-store] Cache-Control: ['private, no-store']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
Pragma: [no-cache] Pragma: [no-cache]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The WWW-Authenticate: ['Bearer realm="Doorkeeper", error="invalid_token", error_description="The
access token is invalid"'] access token is invalid"']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [da0c8bc2-d786-405d-ae19-43b4d961eb32] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.060663'] X-Request-Id: [a7f0d81e-0a78-4681-8595-ac479f4cdc1d]
X-Runtime: ['0.147048']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['39'] content-length: ['39']
status: {code: 401, message: Unauthorized} status: {code: 401, message: Unauthorized}
@ -65,19 +71,22 @@ interactions:
Content-Length: ['0'] Content-Length: ['0']
User-Agent: [python-requests/2.9.1] User-Agent: [python-requests/2.9.1]
method: DELETE method: DELETE
uri: http://localhost:3000/api/v1/statuses/99984778569376432 uri: http://localhost:3000/api/v1/statuses/100154014266622548
response: response:
body: {string: '{}'} body: {string: '{}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"7afafd2d11419f13c5e9f73b222e2254"] ETag: [W/"e2f69ff1fb19e5c6a4b1b02f0930c139"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [849e7862-d832-4a69-9aea-cb9a951a3e95] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.027138'] X-Request-Id: [ce6332a6-dfb2-4f05-bf90-b20e42341be4]
X-Runtime: ['0.069790']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['2'] content-length: ['2']
status: {code: 200, message: OK} status: {code: 200, message: OK}

Veure arxiu

@ -10,19 +10,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":0,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"85ab9477b991e112148d51cb38d2f845"] ETag: [W/"eefbeb2192c828102fc8d5a0fd11cf80"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [9fe5503c-1e07-4800-9c35-65f6ee4b2c2e] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.027346'] X-Request-Id: [b6696a2f-60e7-436e-aed1-be6047b89b65]
X-Runtime: ['0.255127']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['291'] content-length: ['294']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -35,19 +38,22 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":0,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"85ab9477b991e112148d51cb38d2f845"] ETag: [W/"b2df3ae3f893d9cf0e832d8b33772ec0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [5e0f46e6-23a1-4bbc-b3c8-faca51391f9b] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.030570'] X-Request-Id: [331d343f-0a57-40ae-a931-10f3c9d91dbf]
X-Runtime: ['0.205092']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['291'] content-length: ['294']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: null body: null
@ -60,68 +66,21 @@ interactions:
method: GET method: GET
uri: http://localhost:3000/api/v1/instance/ uri: http://localhost:3000/api/v1/instance/
response: response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'} body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.4.1rc1","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":0,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers: headers:
Cache-Control: ['max-age=0, private, must-revalidate'] Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8] Content-Type: [application/json; charset=utf-8]
ETag: [W/"85ab9477b991e112148d51cb38d2f845"] ETag: [W/"b2df3ae3f893d9cf0e832d8b33772ec0"]
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked] Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin'] Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN] X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [b388eb88-a89b-45d8-994c-f36e464c94b0] X-Permitted-Cross-Domain-Policies: [none]
X-Runtime: ['0.029787'] X-Request-Id: [8e38e7af-b113-4ad4-b816-1d15747c71df]
X-Runtime: ['0.155178']
X-XSS-Protection: [1; mode=block] X-XSS-Protection: [1; mode=block]
content-length: ['291'] content-length: ['294']
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [168f48ba-14e1-42db-8558-b133e1ac4897]
X-Runtime: ['0.026928']
X-XSS-Protection: [1; mode=block]
content-length: ['291']
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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/
response:
body: {string: '{"uri":"localhost:3000","title":"Mastodon","description":"","email":"","version":"2.3.3","urls":{"streaming_api":"ws://localhost:4000"},"stats":{"user_count":2,"status_count":4,"domain_count":0},"thumbnail":"http://localhost:3000/packs/preview.jpg","languages":["en"],"contact_account":null}'}
headers:
Cache-Control: ['max-age=0, private, must-revalidate']
Content-Type: [application/json; charset=utf-8]
ETag: [W/"85ab9477b991e112148d51cb38d2f845"]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6b4b1438-3035-4a1e-99c6-1eaf16d818ef]
X-Runtime: ['0.026624']
X-XSS-Protection: [1; mode=block]
content-length: ['291']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

Veure arxiu

@ -55,7 +55,7 @@ INSERT INTO oauth_applications (
'__MASTODON_PY_TEST_CLIENT_ID', '__MASTODON_PY_TEST_CLIENT_ID',
'__MASTODON_PY_TEST_CLIENT_SECRET', '__MASTODON_PY_TEST_CLIENT_SECRET',
'urn:ietf:wg:oauth:2.0:oob', 'urn:ietf:wg:oauth:2.0:oob',
'read write follow', 'read write follow push',
'User', 'User',
1234567890123456, 1234567890123456,
now(), now(),
@ -71,14 +71,14 @@ INSERT INTO oauth_access_tokens (
) VALUES ( ) VALUES (
1234567890123456, 1234567890123456,
'__MASTODON_PY_TEST_ACCESS_TOKEN', '__MASTODON_PY_TEST_ACCESS_TOKEN',
'read write follow', 'read write follow push',
1234567890123456, 1234567890123456,
1234567890123456, 1234567890123456,
now() now()
), ( ), (
6543210987654321, 6543210987654321,
'__MASTODON_PY_TEST_ACCESS_TOKEN_2', '__MASTODON_PY_TEST_ACCESS_TOKEN_2',
'read write follow', 'read write follow push',
1234567890123456, 1234567890123456,
1, 1,
now() now()

Veure arxiu

@ -34,9 +34,7 @@ def test_constructor_missing_client_secret():
@pytest.mark.vcr() @pytest.mark.vcr()
def test_verify_version(api): def test_verify_version(api):
assert api.verify_minimum_version("2.3.3") == True assert api.verify_minimum_version("2.3.3") == True
assert api.verify_minimum_version("2.3.4") == False assert api.verify_minimum_version("9999.9999.9999") == False
assert api.verify_minimum_version("2.4.3") == False
assert api.verify_minimum_version("3.3.3") == False
assert api.verify_minimum_version("1.0.0") == True assert api.verify_minimum_version("1.0.0") == True
def test_supported_version(api): def test_supported_version(api):

Veure arxiu

@ -1,4 +1,5 @@
import pytest import pytest
import time
@pytest.fixture() @pytest.fixture()
def mastodon_list(api): def mastodon_list(api):
@ -54,7 +55,9 @@ def test_list_timeline(api, api2, mastodon_list):
api.list_accounts_add(mastodon_list, user) api.list_accounts_add(mastodon_list, user)
status = api2.status_post("I have never stolen a ham in my life.", visibility="public") status = api2.status_post("I have never stolen a ham in my life.", visibility="public")
assert status.id in map(lambda x: x.id, api.timeline_list(mastodon_list)) time.sleep(2)
list_tl = list(map(lambda x: x.id, api.timeline_list(mastodon_list)))
assert status.id in list_tl
api2.status_delete(status) api2.status_delete(status)
api.account_unfollow(user) api.account_unfollow(user)

Veure arxiu

@ -277,6 +277,7 @@ def test_stream_user(api, api2):
# Make sure we are in the right state to not receive updates from api2 # Make sure we are in the right state to not receive updates from api2
user = api2.account_verify_credentials() user = api2.account_verify_credentials()
api2.account_unfollow(user) api2.account_unfollow(user)
time.sleep(2)
updates = [] updates = []
notifications = [] notifications = []

Veure arxiu

@ -7,10 +7,6 @@ from mastodon.Mastodon import MastodonAPIError,\
def test_public_tl_anonymous(api_anonymous, status): def test_public_tl_anonymous(api_anonymous, status):
tl = api_anonymous.timeline_public() tl = api_anonymous.timeline_public()
assert status['id'] in map(lambda st: st['id'], tl) assert status['id'] in map(lambda st: st['id'], tl)
# although tempting, we can't do
# assert status in tl
# because the statuses returned in the tl have additional
# pagination-related attributes
@pytest.mark.vcr() @pytest.mark.vcr()
def test_public_tl(api, status): def test_public_tl(api, status):