1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
|
interactions:
- request:
body: client_name=mastodon.py+generated+test+app&scopes=read+write+follow+push&redirect_uris=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
Content-Length:
- '122'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- mastodonpy
method: POST
uri: http://localhost:3000/api/v1/apps
response:
body:
string: '{"id":"3","name":"mastodon.py generated test app","website":null,"scopes":["read","write","follow","push"],"redirect_uris":["urn:ietf:wg:oauth:2.0:oob"],"vapid_key":"BKGsRlMhRk26SiksmAVnO0Qme01ZMxazuh5Bt_2bd0NIAZDly-N8oqDGuiRpfZyvTdhGLedFV5Y5nkIAX0KIeZI=","redirect_uri":"urn:ietf:wg:oauth:2.0:oob","client_id":"Ba7BzqSElufJJ3EiafEEncw7fWJZpMa4rnjx0WAJOf0","client_secret":"upQtzIKJrI6wIgX83Gx-TQtksF_RHudJWReSHQzGDys","client_secret_expires_at":0}'
headers:
Content-Length:
- '448'
cache-control:
- private, no-store
content-security-policy:
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
content-type:
- application/json; charset=utf-8
etag:
- W/"515941054b9c3318159e8df600cb9718"
referrer-policy:
- strict-origin-when-cross-origin
server-timing:
- cache_read.active_support;dur=0.03, sql.active_record;dur=5.41, cache_generate.active_support;dur=0.95,
cache_write.active_support;dur=0.07, start_processing.action_controller;dur=0.00,
start_transaction.active_record;dur=0.00, transaction.active_record;dur=6.44,
render.active_model_serializers;dur=0.19, process_action.action_controller;dur=31.87
vary:
- Authorization, Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-ratelimit-limit:
- '5'
x-ratelimit-remaining:
- '4'
x-ratelimit-reset:
- '2025-08-17T18:50:00.997519Z'
x-request-id:
- 6ba28127-85ff-4849-9574-5a2e766b285e
x-runtime:
- '0.049601'
x-xss-protection:
- '0'
status:
code: 200
message: OK
- request:
body: scope=read+write+follow+push&client_id=Ba7BzqSElufJJ3EiafEEncw7fWJZpMa4rnjx0WAJOf0&client_secret=upQtzIKJrI6wIgX83Gx-TQtksF_RHudJWReSHQzGDys&grant_type=client_credentials
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Connection:
- keep-alive
Content-Length:
- '170'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- mastodonpy
method: POST
uri: http://localhost:3000/oauth/token
response:
body:
string: '{"access_token":"8KgIY-7zOsA2KyHMCnjSHrT5WYv-kPBChmrL5ocRcF0","token_type":"Bearer","scope":"read
write follow push","created_at":1755456124}'
headers:
Content-Length:
- '141'
cache-control:
- no-store
content-security-policy:
- 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
''self'' http://localhost:3000; img-src ''self'' data: blob: http://localhost:3000;
media-src ''self'' data: http://localhost:3000; manifest-src ''self'' http://localhost:3000;
form-action ''self''; child-src ''self'' blob: http://localhost:3000; worker-src
''self'' blob: http://localhost:3000; connect-src ''self'' data: blob: http://localhost:3000
ws://localhost:4000 ws://localhost:3036 http://localhost:3036; script-src
''self'' ''unsafe-inline'' ''unsafe-eval'' http://localhost:3000; frame-src
''self'' https: http:; style-src ''self'' http://localhost:3000 ''unsafe-inline''
''nonce-c5o1ucD7Dee4TkciPGBNgQ=='''
content-type:
- application/json; charset=utf-8
etag:
- W/"75ab945513d76675f8fa717be5ac72a0"
pragma:
- no-cache
referrer-policy:
- strict-origin-when-cross-origin
server-timing:
- cache_read.active_support;dur=0.03, sql.active_record;dur=5.44, cache_generate.active_support;dur=1.07,
cache_write.active_support;dur=0.06, start_processing.action_controller;dur=0.01,
instantiation.active_record;dur=0.05, start_transaction.active_record;dur=0.00,
transaction.active_record;dur=5.77, render.active_model_serializers;dur=0.03,
process_action.action_controller;dur=17.08
vary:
- Accept, Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-request-id:
- 5c4a928b-6e5c-44e5-b3b0-c1c21348d7cd
x-runtime:
- '0.039771'
x-xss-protection:
- '0'
status:
code: 200
message: OK
- request:
body: username=coolguy50598&password=&email=email%40localhost50598&locale=en&return_detailed_error=1&client_id=Ba7BzqSElufJJ3EiafEEncw7fWJZpMa4rnjx0WAJOf0&client_secret=upQtzIKJrI6wIgX83Gx-TQtksF_RHudJWReSHQzGDys
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate, br
Authorization:
- Bearer 8KgIY-7zOsA2KyHMCnjSHrT5WYv-kPBChmrL5ocRcF0
Connection:
- keep-alive
Content-Length:
- '206'
Content-Type:
- application/x-www-form-urlencoded
User-Agent:
- mastodonpy
method: POST
uri: http://localhost:3000/api/v1/accounts
response:
body:
string: '{"error":"Validation failed: Password can''t be blank, Service agreement
must be accepted","details":{"password":[{"error":"ERR_BLANK","description":"can''t
be blank"}],"agreement":[{"error":"ERR_ACCEPTED","description":"must be accepted"}]}}'
headers:
Content-Length:
- '240'
cache-control:
- private, no-store
content-security-policy:
- default-src 'none'; frame-ancestors 'none'; form-action 'none'
content-type:
- application/json; charset=utf-8
referrer-policy:
- strict-origin-when-cross-origin
server-timing:
- cache_read.active_support;dur=0.17, sql.active_record;dur=6.91, cache_generate.active_support;dur=3.58,
cache_write.active_support;dur=0.23, instantiation.active_record;dur=0.21,
start_processing.action_controller;dur=0.00, start_transaction.active_record;dur=0.01,
transaction.active_record;dur=13.09, unpermitted_parameters.action_controller;dur=0.00,
cache_fetch_hit.active_support;dur=0.01, render.active_model_serializers;dur=0.04,
process_action.action_controller;dur=45.79
vary:
- Authorization, Origin
x-content-type-options:
- nosniff
x-frame-options:
- SAMEORIGIN
x-permitted-cross-domain-policies:
- none
x-ratelimit-limit:
- '5'
x-ratelimit-remaining:
- '4'
x-ratelimit-reset:
- '2025-08-17T19:00:00.100261Z'
x-request-id:
- 6208d0f6-9f9d-4b1f-8ef4-040ddb0df855
x-runtime:
- '0.062712'
x-xss-protection:
- '0'
status:
code: 422
message: Unprocessable Content
version: 1
|