Update tests for 3.0.1 and fix regressions

This commit is contained in:
Lorenz Diener 2019-10-11 23:59:24 +02:00
parent 2c2f55fd63
commit 437f68c29a
111 changed files with 5735 additions and 5391 deletions

View File

@ -1812,7 +1812,7 @@ class Mastodon:
if self.verify_minimum_version("2.9.2"):
url = '/api/v1/notifications/{0}/dismiss'.format(str(id))
return self.__api_request('POST', '/api/v1/notifications/dismiss', params)
self.__api_request('POST', url)
else:
params = self.__generate_params(locals())
self.__api_request('POST', '/api/v1/notifications/dismiss', params)
@ -2307,7 +2307,10 @@ class Mastodon:
if mention_events != None:
params['data[alerts][mention]'] = mention_events
# Canonicalize booleans
params = self.__generate_params(params)
return self.__api_request('POST', '/api/v1/push/subscription', params)
@api_version("2.4.0", "2.4.0", __DICT_VERSION_PUSH)
@ -2333,6 +2336,9 @@ class Mastodon:
if mention_events != None:
params['data[alerts][mention]'] = mention_events
# Canonicalize booleans
params = self.__generate_params(params)
return self.__api_request('PUT', '/api/v1/push/subscription', params)
@api_version("2.4.0", "2.4.0", "2.4.0")
@ -2862,9 +2868,9 @@ class Mastodon:
"""
for key in ('follow', 'favourite', 'reblog', 'mention'):
if (key in json_object and isinstance(json_object[key], six.text_type)):
if json_object[key] == 'True':
if json_object[key].lower() == 'true':
json_object[key] = True
if json_object[key] == 'False':
if json_object[key].lower() == 'False':
json_object[key] = False
return json_object
@ -3270,7 +3276,9 @@ class Mastodon:
"""
params = collections.OrderedDict(params)
del params['self']
if 'self' in params:
del params['self']
param_keys = list(params.keys())
for key in param_keys:
if isinstance(params[key], bool) and params[key] == False:

View File

@ -10,7 +10,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/1
response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}'}
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","emojis":[],"fields":[]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -21,9 +21,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [6fd4c377-8f04-4a43-8dcb-222cd96dbb75]
X-Runtime: ['0.027859']
X-Request-Id: [efcd900c-c4d1-4768-ad05-c6bc47ec0647]
X-Runtime: ['0.018850']
X-XSS-Protection: [1; mode=block]
content-length: ['524']
content-length: ['568']
status: {code: 200, message: OK}
version: 1

View File

@ -22,8 +22,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [4e61424d-5564-4b95-b4aa-e21670aca75a]
X-Runtime: ['0.069362']
X-Request-Id: [99fa9df4-31f6-4906-a6a2-6aea9050968d]
X-Runtime: ['0.085019']
X-XSS-Protection: [1; mode=block]
content-length: ['210']
status: {code: 200, message: OK}
@ -50,8 +50,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [7111f6c0-9bae-48ce-b65e-a927436912ec]
X-Runtime: ['0.040180']
X-Request-Id: [a0effc31-773c-4c28-bfae-d2ec70487f07]
X-Runtime: ['0.072323']
X-XSS-Protection: [1; mode=block]
content-length: ['211']
status: {code: 200, message: OK}

View File

@ -23,8 +23,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [218d2de0-8c55-4a03-b9b9-4aac3b4c6b97]
X-Runtime: ['0.072297']
X-Request-Id: [31743a1d-a1e9-47ca-aefd-5b022c0de4c9]
X-Runtime: ['0.075420']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -51,8 +51,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [a5859c38-2a32-4e43-a45d-ea52b2c23a67]
X-Runtime: ['0.124354']
X-Request-Id: [b24c0dc7-bcc7-4135-97f1-b4d14ff53ea9]
X-Runtime: ['0.108028']
X-XSS-Protection: [1; mode=block]
content-length: ['211']
status: {code: 200, message: OK}

View File

@ -21,8 +21,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [40dfa876-7948-45bb-a75e-169959129fa6]
X-Runtime: ['0.035090']
X-Request-Id: [508f378e-8f6c-4737-9979-d579e31c6cc6]
X-Runtime: ['0.034634']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}

View File

@ -21,8 +21,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [4d6d3585-537d-4aca-822d-45a1ae0f88be]
X-Runtime: ['0.065005']
X-Request-Id: [0faadb2c-b652-4920-afbd-a517bf035491]
X-Runtime: ['0.025544']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}

View File

@ -23,8 +23,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [bcb9ed2d-43d8-44f0-a968-790343d1e979]
X-Runtime: ['0.048298']
X-Request-Id: [643c175d-fca8-4e07-be78-7bd95ac8a5e1]
X-Runtime: ['0.047060']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -51,8 +51,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [72a64a1c-acc3-4846-a81a-0ae04de2504a]
X-Runtime: ['0.037972']
X-Request-Id: [41df321e-cc42-440a-b68a-ee5dc529a051]
X-Runtime: ['0.038552']
X-XSS-Protection: [1; mode=block]
content-length: ['211']
status: {code: 200, message: OK}

View File

@ -10,7 +10,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/verify_credentials
response:
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":16,"source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[]},"emojis":[],"fields":[]}'}
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"","fields":[],"follow_requests_count":0},"emojis":[],"fields":[]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -21,10 +21,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [02acee62-4be9-44c6-9358-053a5fefd051]
X-Runtime: ['0.037721']
X-Request-Id: [950fad2e-720f-4f0f-aa83-98bcd6aeb45d]
X-Runtime: ['0.030823']
X-XSS-Protection: [1; mode=block]
content-length: ['610']
content-length: ['680']
status: {code: 200, message: OK}
- request:
body: reblogs=1&id=1
@ -50,8 +50,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [48078e43-3b8d-4bae-9151-c988d7e4cc3b]
X-Runtime: ['0.076653']
X-Request-Id: [9bca315e-f074-4fdc-8f17-cd31dfc0b42e]
X-Runtime: ['0.080563']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -78,8 +78,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [1417a149-882b-4757-ae0c-5cb0809546bc]
X-Runtime: ['0.075845']
X-Request-Id: [548fa7b7-a6ec-43bd-b225-877463c38cb6]
X-Runtime: ['0.095486']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -106,8 +106,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [53711991-dc2c-4e2a-899c-4c125499904b]
X-Runtime: ['0.059953']
X-Request-Id: [a88bda5c-63bf-4bcf-a17c-668b68dd537b]
X-Runtime: ['0.063345']
X-XSS-Protection: [1; mode=block]
content-length: ['208']
status: {code: 200, message: OK}
@ -122,7 +122,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/endorsements
response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}]'}
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","emojis":[],"fields":[]}]'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -134,10 +134,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [1c7a0fb2-9f54-452c-a7db-79994a435851]
X-Runtime: ['0.024199']
X-Request-Id: [84c1395a-c349-4b3c-b094-fe64f7f2240f]
X-Runtime: ['0.052792']
X-XSS-Protection: [1; mode=block]
content-length: ['526']
content-length: ['570']
status: {code: 200, message: OK}
- request:
body: null
@ -162,8 +162,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [e89fb4fb-c8d7-4ba8-965a-7ff2eabe00f8]
X-Runtime: ['0.028116']
X-Request-Id: [fa585732-6193-4cf1-a64b-dbfeacae4c29]
X-Runtime: ['0.034455']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -189,8 +189,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [a175ff2d-a748-4b55-aa4e-6fe756492349]
X-Runtime: ['0.018454']
X-Request-Id: [50a6c4aa-d887-4b42-9cc6-9e0d07ac6e64]
X-Runtime: ['0.031412']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -217,8 +217,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [0a682eb2-f663-4bf5-b637-cf50ef9424a0]
X-Runtime: ['0.077660']
X-Request-Id: [8ea51729-d6f1-4dbd-a9ad-3003d92c8df9]
X-Runtime: ['0.078636']
X-XSS-Protection: [1; mode=block]
content-length: ['211']
status: {code: 200, message: OK}

View File

@ -12,10 +12,10 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body: {string: '{"id":"102317288589990828","created_at":"2019-06-22T21:12:04.046Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288589990828","url":"http://localhost/@mastodonpy_test/102317288589990828","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
body: {string: '{"id":"102945947518978151","created_at":"2019-10-11T21:48:18.036Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947518978151","url":"http://localhost/@mastodonpy_test/102945947518978151","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.044Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -26,10 +26,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [f6ea2ced-fac7-4205-9b09-5d536ec78a22]
X-Runtime: ['0.155427']
X-Request-Id: [e0125eda-9808-44bd-b4b1-0aa1ac1e4326]
X-Runtime: ['0.132032']
X-XSS-Protection: [1; mode=block]
content-length: ['1597']
content-length: ['1642']
status: {code: 200, message: OK}
- request:
body: status=Toot%2C+too%21
@ -44,11 +44,11 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/statuses
response:
body: {string: '{"id":"102317288602668344","created_at":"2019-06-22T21:12:04.252Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288602668344","url":"http://localhost/@mastodonpy_test/102317288602668344","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot,
body: {string: '{"id":"102945947531050087","created_at":"2019-10-11T21:48:18.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947531050087","url":"http://localhost/@mastodonpy_test/102945947531050087","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot,
too!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py test
suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -59,10 +59,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [6660cf38-7f03-4733-86a8-91e2d8c52984]
X-Runtime: ['0.171196']
X-Request-Id: [0eb22caa-5429-4485-a292-914ff105af63]
X-Runtime: ['0.197459']
X-XSS-Protection: [1; mode=block]
content-length: ['1602']
content-length: ['1647']
status: {code: 200, message: OK}
- request:
body: null
@ -74,12 +74,12 @@ interactions:
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: POST
uri: http://localhost:3000/api/v1/statuses/102317288589990828/pin
uri: http://localhost:3000/api/v1/statuses/102945947518978151/pin
response:
body: {string: '{"id":"102317288589990828","created_at":"2019-06-22T21:12:04.046Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288589990828","url":"http://localhost/@mastodonpy_test/102317288589990828","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
body: {string: '{"id":"102945947518978151","created_at":"2019-10-11T21:48:18.036Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947518978151","url":"http://localhost/@mastodonpy_test/102945947518978151","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -90,10 +90,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [2e4d552e-0ff1-47be-9472-9fba64f220e6]
X-Runtime: ['0.126153']
X-Request-Id: [df426d3c-fca8-4309-baa8-57d8948afd6a]
X-Runtime: ['0.121995']
X-XSS-Protection: [1; mode=block]
content-length: ['1596']
content-length: ['1641']
status: {code: 200, message: OK}
- request:
body: null
@ -107,9 +107,9 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -120,10 +120,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [964246be-7df9-4a4d-9cf8-4f3843214fdb]
X-Runtime: ['0.022111']
X-Request-Id: [de0f4636-762d-45fa-a555-ac1d670a0efb]
X-Runtime: ['0.022828']
X-XSS-Protection: [1; mode=block]
content-length: ['1134']
content-length: ['1205']
status: {code: 200, message: OK}
- request:
body: null
@ -136,15 +136,13 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/1234567890123456/statuses?pinned=1
response:
body: {string: '[{"id":"102317288589990828","created_at":"2019-06-22T21:12:04.046Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288589990828","url":"http://localhost/@mastodonpy_test/102317288589990828","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
body: {string: '[{"id":"102945947518978151","created_at":"2019-10-11T21:48:18.036Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947518978151","url":"http://localhost/@mastodonpy_test/102945947518978151","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":true,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}]'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
Link: ['<http://localhost:3000/api/v1/accounts/1234567890123456/statuses?min_id=102317288589990828>;
rel="prev"']
Referrer-Policy: [strict-origin-when-cross-origin]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
@ -152,10 +150,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [1895e7d5-ac71-4344-961d-8b97ed6f5822]
X-Runtime: ['0.045807']
X-Request-Id: [7374ed44-9f5f-4ff4-9e22-c8c66c775748]
X-Runtime: ['0.050220']
X-XSS-Protection: [1; mode=block]
content-length: ['1598']
content-length: ['1643']
status: {code: 200, message: OK}
- request:
body: null
@ -167,12 +165,12 @@ interactions:
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: POST
uri: http://localhost:3000/api/v1/statuses/102317288589990828/unpin
uri: http://localhost:3000/api/v1/statuses/102945947518978151/unpin
response:
body: {string: '{"id":"102317288589990828","created_at":"2019-06-22T21:12:04.046Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288589990828","url":"http://localhost/@mastodonpy_test/102317288589990828","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
body: {string: '{"id":"102945947518978151","created_at":"2019-10-11T21:48:18.036Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947518978151","url":"http://localhost/@mastodonpy_test/102945947518978151","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"content":"\u003cp\u003eToot!\u003c/p\u003e","reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -183,10 +181,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [4c867dbe-a20d-4c38-859c-69d061a648c4]
X-Runtime: ['0.063733']
X-Request-Id: [75bd4d30-791e-4ed6-ae00-615318d8baf2]
X-Runtime: ['0.082091']
X-XSS-Protection: [1; mode=block]
content-length: ['1597']
content-length: ['1642']
status: {code: 200, message: OK}
- request:
body: null
@ -198,12 +196,12 @@ interactions:
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: DELETE
uri: http://localhost:3000/api/v1/statuses/102317288602668344
uri: http://localhost:3000/api/v1/statuses/102945947531050087
response:
body: {string: '{"id":"102317288602668344","created_at":"2019-06-22T21:12:04.252Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288602668344","url":"http://localhost/@mastodonpy_test/102317288602668344","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot,
body: {string: '{"id":"102945947531050087","created_at":"2019-10-11T21:48:18.234Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947531050087","url":"http://localhost/@mastodonpy_test/102945947531050087","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot,
too!","reblog":null,"application":{"name":"Mastodon.py test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":2,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":4,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -214,10 +212,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [7b5c01cd-2e01-4914-94a1-1087a8c6b093]
X-Runtime: ['0.080009']
X-Request-Id: [9324e232-d822-4536-a2de-2fb77246941c]
X-Runtime: ['0.095231']
X-XSS-Protection: [1; mode=block]
content-length: ['1572']
content-length: ['1617']
status: {code: 200, message: OK}
- request:
body: null
@ -229,12 +227,12 @@ interactions:
Content-Length: ['0']
User-Agent: [python-requests/2.18.4]
method: DELETE
uri: http://localhost:3000/api/v1/statuses/102317288589990828
uri: http://localhost:3000/api/v1/statuses/102945947518978151
response:
body: {string: '{"id":"102317288589990828","created_at":"2019-06-22T21:12:04.046Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102317288589990828","url":"http://localhost/@mastodonpy_test/102317288589990828","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
body: {string: '{"id":"102945947518978151","created_at":"2019-10-11T21:48:18.036Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":false,"spoiler_text":"","visibility":"public","language":"ja","uri":"http://localhost/users/mastodonpy_test/statuses/102945947518978151","url":"http://localhost/@mastodonpy_test/102945947518978151","replies_count":0,"reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"text":"Toot!","reblog":null,"application":{"name":"Mastodon.py
test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":1,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":3,"last_status_at":"2019-10-11T21:48:18.253Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[],"card":null,"poll":null}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -245,9 +243,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [8effd787-8d57-4bd7-9382-52ea744eb269]
X-Runtime: ['0.114967']
X-Request-Id: [ad92e4ee-1254-41f6-883b-833765d1eef8]
X-Runtime: ['0.106643']
X-XSS-Protection: [1; mode=block]
content-length: ['1567']
content-length: ['1612']
status: {code: 200, message: OK}
version: 1

View File

@ -21,8 +21,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [044d63ea-5974-4641-8870-674a5a607447]
X-Runtime: ['0.032037']
X-Request-Id: [5823279b-07cd-4bbb-9912-d91c4c06e9ee]
X-Runtime: ['0.029708']
X-XSS-Protection: [1; mode=block]
content-length: ['213']
status: {code: 200, message: OK}

View File

@ -10,7 +10,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin
response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}]'}
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","emojis":[],"fields":[]}]'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -21,10 +21,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [ae374a2f-c96f-4ffa-9fdc-3c8172bf25e4]
X-Runtime: ['0.033138']
X-Request-Id: [b0f3b4b0-e38d-4416-8db6-f3195bfd1bcc]
X-Runtime: ['0.046279']
X-XSS-Protection: [1; mode=block]
content-length: ['526']
content-length: ['570']
status: {code: 200, message: OK}
- request:
body: reblogs=1&id=1
@ -50,8 +50,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [4ccc58a5-6970-4612-8fda-54e70ca69a55]
X-Runtime: ['0.070791']
X-Request-Id: [d976eb2a-632d-4054-a284-71271356ef1b]
X-Runtime: ['0.079966']
X-XSS-Protection: [1; mode=block]
content-length: ['209']
status: {code: 200, message: OK}
@ -66,7 +66,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/search?following=1&q=admin
response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}]'}
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":3,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","emojis":[],"fields":[]}]'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -77,10 +77,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [80d79827-b4b6-482b-a23c-487940a93406]
X-Runtime: ['0.071954']
X-Request-Id: [31490209-bd1c-4a9a-b1a2-67e043df288f]
X-Runtime: ['0.067264']
X-XSS-Protection: [1; mode=block]
content-length: ['526']
content-length: ['570']
status: {code: 200, message: OK}
- request:
body: null
@ -105,8 +105,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [e858f67a-64e5-4ae3-9cf4-ce4e9d3c221a]
X-Runtime: ['0.076338']
X-Request-Id: [caa79310-993d-4643-99ca-61410ce2b8c6]
X-Runtime: ['0.088188']
X-XSS-Protection: [1; mode=block]
content-length: ['211']
status: {code: 200, message: OK}
@ -132,8 +132,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [bff631d4-1372-435f-8fa3-144740fb439a]
X-Runtime: ['0.027464']
X-Request-Id: [27cab79a-771b-4d4b-85df-23c4d0f93562]
X-Runtime: ['0.032218']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -148,7 +148,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/accounts/search?following=0&q=admin
response:
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":16,"emojis":[],"fields":[]}]'}
body: {string: '[{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T12:42:50.096Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@admin","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":2,"following_count":1,"statuses_count":27,"last_status_at":"2019-10-11T21:45:48.648Z","emojis":[],"fields":[]}]'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -159,9 +159,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [b630bac1-07f0-4343-bec4-175f19b14b92]
X-Runtime: ['0.021990']
X-Request-Id: [2d19323b-098c-4228-b6f6-44950eed4eb2]
X-Runtime: ['0.020431']
X-XSS-Protection: [1; mode=block]
content-length: ['526']
content-length: ['570']
status: {code: 200, message: OK}
version: 1

View File

@ -1,19 +1,19 @@
interactions:
- request:
body: !!binary |
LS1hNzU5NWI0NDY2N2Y0ZDZlOTE3MGRkZmMxMGRkNDVjZQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tYTc1OTViNDQ2NjdmNGQ2
ZTkxNzBkZGZjMTBkZDQ1Y2UNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1hNzU5NWI0NDY2N2Y0ZDZlOTE3MGRkZmMx
MGRkNDVjZQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0
cmlidXRlc1swXVtuYW1lXSINCg0KYnJlYWQNCi0tYTc1OTViNDQ2NjdmNGQ2ZTkxNzBkZGZjMTBk
ZDQ1Y2UNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmllbGRzX2F0dHJp
YnV0ZXNbMF1bdmFsdWVdIg0KDQp0b2FzdHkuDQotLWE3NTk1YjQ0NjY3ZjRkNmU5MTcwZGRmYzEw
ZGQ0NWNlDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
aWJ1dGVzWzFdW25hbWVdIg0KDQpsYXNhZ25hDQotLWE3NTk1YjQ0NjY3ZjRkNmU5MTcwZGRmYzEw
ZGQ0NWNlDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
aWJ1dGVzWzFdW3ZhbHVlXSINCg0Kbm8hISENCi0tYTc1OTViNDQ2NjdmNGQ2ZTkxNzBkZGZjMTBk
ZDQ1Y2UNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXZhdGFyIjsgZmls
LS1kZDI3YzAxNWM3ODA0YWY4YjUwMmJmYTE4MDQ4OTYwYg0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tZGQyN2MwMTVjNzgwNGFm
OGI1MDJiZmExODA0ODk2MGINCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1kZDI3YzAxNWM3ODA0YWY4YjUwMmJmYTE4
MDQ4OTYwYg0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWVsZHNfYXR0
cmlidXRlc1swXVtuYW1lXSINCg0KYnJlYWQNCi0tZGQyN2MwMTVjNzgwNGFmOGI1MDJiZmExODA0
ODk2MGINCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iZmllbGRzX2F0dHJp
YnV0ZXNbMF1bdmFsdWVdIg0KDQp0b2FzdHkuDQotLWRkMjdjMDE1Yzc4MDRhZjhiNTAyYmZhMTgw
NDg5NjBiDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
aWJ1dGVzWzFdW25hbWVdIg0KDQpsYXNhZ25hDQotLWRkMjdjMDE1Yzc4MDRhZjhiNTAyYmZhMTgw
NDg5NjBiDQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpZWxkc19hdHRy
aWJ1dGVzWzFdW3ZhbHVlXSINCg0Kbm8hISENCi0tZGQyN2MwMTVjNzgwNGFmOGI1MDJiZmExODA0
ODk2MGINCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iYXZhdGFyIjsgZmls
ZW5hbWU9Im1hc3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0K
DQr/2P/gABBKRklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJS
R0IgWFlaIAfcAAEAGQADACkAOWFjc3BBUFBMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD21gAB
@ -950,7 +950,7 @@ interactions:
oX5EQbZIDAphpUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWb
bHaEokDtzf5qMy4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBT
tsYnLjJ4xUrWDGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/Wl
SoGNPcbo46Oebs70qVKg/9kNCi0tYTc1OTViNDQ2NjdmNGQ2ZTkxNzBkZGZjMTBkZDQ1Y2UNCkNv
SoGNPcbo46Oebs70qVKg/9kNCi0tZGQyN2MwMTVjNzgwNGFmOGI1MDJiZmExODA0ODk2MGINCkNv
bnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0iaGVhZGVyIjsgZmlsZW5hbWU9Im1h
c3RvZG9ucHl1cGxvYWRfLmpwZSINCkNvbnRlbnQtVHlwZTogaW1hZ2UvanBlZw0KDQr/2P/gABBK
RklGAAEBAQBIAEgAAP/iAhxJQ0NfUFJPRklMRQABAQAAAgxsY21zAhAAAG1udHJSR0IgWFlaIAfc
@ -1888,22 +1888,22 @@ interactions:
pUqKI6mINwj9YYOV2oMLkmWXo9TfelSoHhykWUoovQTO33qdoivLumOvT8UqVFWbbHaEokDtzf5q
My4XCMTEjfPbPilSoFOFzByxzhRey1WUSaxVdtqVKgaCiiCrnK5pkwMTGX4pUqBTtsYnLjJ4xUrW
DGZB1d1z+KVKguWW3ctzMCb7u1NAIwEky3zsvWlSoIzwuWI/YpgkyI8qxk4wZ/WlSoGNPcbo46Oe
bs70qVKg/9kNCi0tYTc1OTViNDQ2NjdmNGQ2ZTkxNzBkZGZjMTBkZDQ1Y2UtLQ0K
bs70qVKg/9kNCi0tZGQyN2MwMTVjNzgwNGFmOGI1MDJiZmExODA0ODk2MGItLQ0K
headers:
Accept: ['*/*']
Accept-Encoding: ['gzip, deflate']
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['107607']
Content-Type: [multipart/form-data; boundary=a7595b44667f4d6e9170ddfc10dd45ce]
Content-Type: [multipart/form-data; boundary=dd27c015c7804af8b502bfa18048960b]
User-Agent: [python-requests/2.18.4]
method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:46:51.405Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -1914,9 +1914,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [e936c6c1-c6d5-4e7f-81e8-a736f5f7807e]
X-Runtime: ['0.145442']
X-Request-Id: [4940bbdd-4266-42cc-aef0-9b72c927a982]
X-Runtime: ['0.136734']
X-XSS-Protection: [1; mode=block]
content-length: ['1134']
content-length: ['1205']
status: {code: 200, message: OK}
version: 1

View File

@ -1,11 +1,11 @@
interactions:
- request:
body: !!binary |
LS1lMzVlOGY5ZDEwNjI0NjJmYWI2MWM5YjBiNjA2NTc4Yw0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tZTM1ZThmOWQxMDYyNDYy
ZmFiNjFjOWIwYjYwNjU3OGMNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1lMzVlOGY5ZDEwNjI0NjJmYWI2MWM5YjBi
NjA2NTc4Yw0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJoZWFkZXIiOyBm
LS0xYWJmY2M2NTFmNjc0Njk5YWM2ZDc2MWZiZWZmZjhhYQ0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tMWFiZmNjNjUxZjY3NDY5
OWFjNmQ3NjFmYmVmZmY4YWENCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS0xYWJmY2M2NTFmNjc0Njk5YWM2ZDc2MWZi
ZWZmZjhhYQ0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJoZWFkZXIiOyBm
aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBlIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn
DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50
clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW
@ -942,7 +942,7 @@ interactions:
elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU
VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS
oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn
9aVKgY09xujjo55uzvSpUqD/2Q0KLS1lMzVlOGY5ZDEwNjI0NjJmYWI2MWM5YjBiNjA2NTc4Yy0t
9aVKgY09xujjo55uzvSpUqD/2Q0KLS0xYWJmY2M2NTFmNjc0Njk5YWM2ZDc2MWZiZWZmZjhhYS0t
DQo=
headers:
Accept: ['*/*']
@ -950,15 +950,15 @@ interactions:
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['53696']
Content-Type: [multipart/form-data; boundary=e35e8f9d1062462fab61c9b0b606578c]
Content-Type: [multipart/form-data; boundary=1abfcc651f674699ac6d761fbefff8aa]
User-Agent: [python-requests/2.18.4]
method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:46:51.405Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -969,9 +969,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [898b3011-805b-4ff5-b3b5-df714c0baede]
X-Runtime: ['0.081063']
X-Request-Id: [dbc8938e-cc0a-40ca-b089-6ec84df0afdf]
X-Runtime: ['0.112184']
X-XSS-Protection: [1; mode=block]
content-length: ['1134']
content-length: ['1205']
status: {code: 200, message: OK}
version: 1

View File

@ -1,11 +1,11 @@
interactions:
- request:
body: !!binary |
LS1hZDZlZTU2NzkxNDI0YWNhYWE1OGMzMTgzZTBkNmUyMA0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tYWQ2ZWU1Njc5MTQyNGFj
YWFhNThjMzE4M2UwZDZlMjANCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS1hZDZlZTU2NzkxNDI0YWNhYWE1OGMzMTgz
ZTBkNmUyMA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm
LS05ZDFkMjU4ZGJjNDg0OTVlODNkYjNjZTJlY2RlNjk5Mg0KQ29udGVudC1EaXNwb3NpdGlvbjog
Zm9ybS1kYXRhOyBuYW1lPSJub3RlIg0KDQpJIHdhbGsgZnVubnkNCi0tOWQxZDI1OGRiYzQ4NDk1
ZTgzZGIzY2UyZWNkZTY5OTINCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0i
ZGlzcGxheV9uYW1lIg0KDQpKb2huIExlbm5vbg0KLS05ZDFkMjU4ZGJjNDg0OTVlODNkYjNjZTJl
Y2RlNjk5Mg0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJhdmF0YXIiOyBm
aWxlbmFtZT0ibWFzdG9kb25weXVwbG9hZF8uanBlIg0KQ29udGVudC1UeXBlOiBpbWFnZS9qcGVn
DQoNCv/Y/+AAEEpGSUYAAQEBAEgASAAA/+ICHElDQ19QUk9GSUxFAAEBAAACDGxjbXMCEAAAbW50
clJHQiBYWVogB9wAAQAZAAMAKQA5YWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbW
@ -942,7 +942,7 @@ interactions:
elShfkRBtkgMCmGlSoojqYg3CP1hg5XagwuSZZej1N96VKgeHKRZSii9BM7fep2iK8u6Y69PxSpU
VZtsdoSiQO3N/mozLhcIxMSN89s+KVKgU4XMHLHOFF7LVZRJrFV22pUqBoKKIKucrmmTAxMZfilS
oFO2xicuMnjFStYMZkHV3XP4pUqC5Zbdy3MwJvu7U0AjASTLfOy9aVKgjPC5Yj9imCTIjyrGTjBn
9aVKgY09xujjo55uzvSpUqD/2Q0KLS1hZDZlZTU2NzkxNDI0YWNhYWE1OGMzMTgzZTBkNmUyMC0t
9aVKgY09xujjo55uzvSpUqD/2Q0KLS05ZDFkMjU4ZGJjNDg0OTVlODNkYjNjZTJlY2RlNjk5Mi0t
DQo=
headers:
Accept: ['*/*']
@ -950,15 +950,15 @@ interactions:
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
Connection: [keep-alive]
Content-Length: ['53696']
Content-Type: [multipart/form-data; boundary=ad6ee56791424acaaa58c3183e0d6e20]
Content-Type: [multipart/form-data; boundary=9d1d258dbc48495e83db3ce2ecde6992]
User-Agent: [python-requests/2.18.4]
method: PATCH
uri: http://localhost:3000/api/v1/accounts/update_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:46:51.405Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -969,9 +969,9 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [9079cc4e-4dc8-409b-9f5a-c99c2a4a5259]
X-Runtime: ['0.099252']
X-Request-Id: [59f6f223-a882-4971-aec8-58b33a48e842]
X-Runtime: ['0.111508']
X-XSS-Protection: [1; mode=block]
content-length: ['1134']
content-length: ['1205']
status: {code: 200, message: OK}
version: 1

File diff suppressed because one or more lines are too long

View File

@ -11,9 +11,9 @@ interactions:
uri: http://localhost:3000/api/v1/accounts/verify_credentials
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":2,"last_status_at":"2019-10-11T21:48:18.940Z","source":{"privacy":"public","sensitive":false,"language":null,"note":"I
walk funny","fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}],"follow_requests_count":0},"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -24,10 +24,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [dc3c2377-b30d-46d2-8ed7-a700d448f7a1]
X-Runtime: ['0.042809']
X-Request-Id: [d2cd8dbd-7f1d-4dcc-b8e7-d5006e8fcc56]
X-Runtime: ['0.031129']
X-XSS-Protection: [1; mode=block]
content-length: ['1134']
content-length: ['1205']
status: {code: 200, message: OK}
- request:
body: send_email_notification=1&type=disable
@ -53,8 +53,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [84ac4744-972d-4a65-8fd7-fa316a26c895]
X-Runtime: ['0.042256']
X-Request-Id: [4286a3a1-5d26-489f-8d88-d0e89fa4c3b0]
X-Runtime: ['0.296136']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -70,8 +70,8 @@ interactions:
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -82,10 +82,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [60f4dd78-2549-46a4-9b84-7811906d8ea4]
X-Runtime: ['0.044526']
X-Request-Id: [d5998ce8-ba8c-4c4f-8d73-3f8aa014c3e6]
X-Runtime: ['0.114949']
X-XSS-Protection: [1; mode=block]
content-length: ['1240']
content-length: ['1285']
status: {code: 200, message: OK}
- request:
body: null
@ -100,8 +100,8 @@ interactions:
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -112,10 +112,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [adc120cb-11ea-407a-8ea2-b8a803c6a4a6]
X-Runtime: ['0.054101']
X-Request-Id: [c307fbcd-6202-482c-994e-a5b219e7445e]
X-Runtime: ['0.056646']
X-XSS-Protection: [1; mode=block]
content-length: ['1241']
content-length: ['1286']
status: {code: 200, message: OK}
- request:
body: send_email_notification=1&type=silence
@ -141,8 +141,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [b17976da-7a71-4bdd-9bfd-24f6747c6ac0]
X-Runtime: ['0.060963']
X-Request-Id: [f851cf61-2a25-459b-abd6-3de32295907d]
X-Runtime: ['0.312285']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -158,8 +158,8 @@ interactions:
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":true,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -170,10 +170,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [e7093407-e41e-4567-bd6f-c7f291ac6a5c]
X-Runtime: ['0.045798']
X-Request-Id: [574af91f-6a85-4bb7-9d31-68d54e1f95db]
X-Runtime: ['0.056449']
X-XSS-Protection: [1; mode=block]
content-length: ['1240']
content-length: ['1285']
status: {code: 200, message: OK}
- request:
body: null
@ -188,8 +188,8 @@ interactions:
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
Lennon","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1570830497","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -200,10 +200,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [0c0d663d-1629-44f0-b8d7-033e3fe95b64]
X-Runtime: ['0.080628']
X-Request-Id: [ac909996-4104-4007-ade3-d48822ed5a8e]
X-Runtime: ['0.095728']
X-XSS-Protection: [1; mode=block]
content-length: ['1241']
content-length: ['1286']
status: {code: 200, message: OK}
- request:
body: send_email_notification=1&type=suspend
@ -229,8 +229,8 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [36d3806b-bdd1-40fa-afa9-cc0a48f37dd4]
X-Runtime: ['0.099746']
X-Request-Id: [35246d9b-c231-4af5-aad0-606d10ca8ccd]
X-Runtime: ['0.487967']
X-XSS-Protection: [1; mode=block]
content-length: ['2']
status: {code: 200, message: OK}
@ -245,9 +245,7 @@ interactions:
method: GET
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":true,"silenced":false,"disabled":true,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -258,10 +256,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [216d28a8-6ae0-4371-8019-4d0400fb8565]
X-Runtime: ['0.067961']
X-Request-Id: [acc18754-dc0e-4732-8587-d94acbf11d8d]
X-Runtime: ['0.268835']
X-XSS-Protection: [1; mode=block]
content-length: ['1239']
content-length: ['922']
status: {code: 200, message: OK}
- request:
body: null
@ -275,9 +273,7 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
Lennon","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003eI
walk funny\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","avatar_static":"http://localhost/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","header_static":"http://localhost/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg?1561237923","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[{"name":"bread","value":"toasty.","verified_at":null},{"name":"lasagna","value":"no!!!","verified_at":null}]}}'}
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -288,10 +284,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [3bfc3c57-3dac-4fb1-99d2-ca7361dcdda4]
X-Runtime: ['0.223399']
X-Request-Id: [04ae0634-9518-46f3-8062-ddab3b255f2c]
X-Runtime: ['0.118852']
X-XSS-Protection: [1; mode=block]
content-length: ['1241']
content-length: ['924']
status: {code: 200, message: OK}
- request:
body: null
@ -305,7 +301,7 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsuspend
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -316,10 +312,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [832698fb-5ee9-4137-ac31-811f64945226]
X-Runtime: ['0.141727']
X-Request-Id: [f9283459-8ba4-451d-9e91-1326ae1dc69c]
X-Runtime: ['0.072644']
X-XSS-Protection: [1; mode=block]
content-length: ['880']
content-length: ['924']
status: {code: 200, message: OK}
- request:
body: null
@ -333,7 +329,7 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/enable
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
headers:
Cache-Control: ['no-cache, no-store']
Content-Type: [application/json; charset=utf-8]
@ -344,10 +340,10 @@ interactions:
X-Download-Options: [noopen]
X-Frame-Options: [SAMEORIGIN]
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [6d583ce9-4a8d-4fea-aa6d-23c31663a3c3]
X-Runtime: ['0.109701']
X-Request-Id: [319328bd-3285-4771-8362-f683fb8fdeea]
X-Runtime: ['0.071660']
X-XSS-Protection: [1; mode=block]
content-length: ['880']
content-length: ['924']
status: {code: 200, message: OK}
- request:
body: null
@ -361,7 +357,7 @@ interactions:
method: POST
uri: http://localhost:3000/api/v1/admin/accounts/1234567890123456/unsilence
response:
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"emojis":[],"fields":[]}}'}
body: {string: '{"id":"1234567890123456","username":"mastodonpy_test","domain":null,"created_at":"2019-06-22T23:11:52.441Z","email":"mastodonpy_test@localhost:3000","ip":"127.0.0.1","role":"user","confirmed":true,"suspended":false,"silenced":false,"disabled":false,"approved":true,"locale":"ja","invite_request":null,"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"","locked":false,"bot":false,"created_at":"2019-06-22T23:11:52.441Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test","avatar":"http://localhost/avatars/original/missing.png","avatar_static":"http://localhost/avatars/original/missing.png","header":"http://localhost/headers/original/missing.png","header_static":"http://localhost/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"last_status_at":"2019-10-11T21:48:18.940Z","emojis":[],"fields":[]}}'}
headers: