2018-05-06 15:42:38 +02:00
|
|
|
interactions:
|
|
|
|
- request:
|
|
|
|
body: title=ham+burglars
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['18']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/lists
|
|
|
|
response:
|
2018-06-05 22:10:31 +02:00
|
|
|
body: {string: '{"id":"4","title":"ham burglars"}'}
|
2018-05-06 15:42:38 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"5652f4548eeb240240c472bb1a3af562"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [95408511-16b5-444c-99d2-b14fad498a64]
|
|
|
|
X-Runtime: ['0.082001']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2018-05-07 00:53:13 +02:00
|
|
|
content-length: ['33']
|
2018-05-06 15:42:38 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN_2]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/accounts/verify_credentials
|
|
|
|
response:
|
2018-06-05 22:10:31 +02:00
|
|
|
body: {string: '{"id":"1","username":"admin","acct":"admin","display_name":"","locked":false,"bot":false,"created_at":"2018-06-05T19:58:37.960Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost:3000/@admin","avatar":"http://localhost:3000/avatars/original/missing.png","avatar_static":"http://localhost:3000/avatars/original/missing.png","header":"http://localhost:3000/headers/original/missing.png","header_static":"http://localhost:3000/headers/original/missing.png","followers_count":0,"following_count":0,"statuses_count":0,"source":{"privacy":"public","sensitive":false,"note":"","fields":[]},"emojis":[],"fields":[]}'}
|
2018-05-06 15:42:38 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"c017bdb938eefa8a8034894054975d66"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [9b7fe285-a1a9-4beb-acb8-324c2eac89ef]
|
|
|
|
X-Runtime: ['0.139649']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2018-06-05 22:10:31 +02:00
|
|
|
content-length: ['618']
|
2018-05-06 15:42:38 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['0']
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/accounts/1/follow
|
|
|
|
response:
|
|
|
|
body: {string: '{"id":"1","following":true,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"bcbf0a54a300dfa406a3bb2e03c0dc7a"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [f4455a91-8459-4894-a6f0-7df573ab97a3]
|
|
|
|
X-Runtime: ['0.418318']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['174']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: account_ids%5B%5D=1
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['19']
|
|
|
|
Content-Type: [application/x-www-form-urlencoded]
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: POST
|
2018-06-05 22:10:31 +02:00
|
|
|
uri: http://localhost:3000/api/v1/lists/4/accounts
|
2018-05-06 15:42:38 +02:00
|
|
|
response:
|
|
|
|
body: {string: '{}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [2b43424f-8d7a-4cc3-a3d1-dc3bfd9bcea4]
|
|
|
|
X-Runtime: ['0.129306']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: GET
|
|
|
|
uri: http://localhost:3000/api/v1/accounts/1/lists
|
|
|
|
response:
|
2018-06-05 22:10:31 +02:00
|
|
|
body: {string: '[{"id":"4","title":"ham burglars"}]'}
|
2018-05-06 15:42:38 +02:00
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"bf9fc860ee5a24974e252d7ae389fadc"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [ad34b645-6caf-4a20-98dd-c1f24d87f9c5]
|
|
|
|
X-Runtime: ['0.062866']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
2018-05-07 00:53:13 +02:00
|
|
|
content-length: ['35']
|
2018-05-06 15:42:38 +02:00
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['0']
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: POST
|
|
|
|
uri: http://localhost:3000/api/v1/accounts/1/unfollow
|
|
|
|
response:
|
|
|
|
body: {string: '{"id":"1","following":false,"showing_reblogs":false,"followed_by":false,"blocking":false,"muting":false,"muting_notifications":false,"requested":false,"domain_blocking":false}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"9047f6dec9bb4896993e3fc15c6b4bef"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [2adbd14c-fa4d-4606-bf56-9dbf61767f8f]
|
|
|
|
X-Runtime: ['0.118645']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['175']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
- request:
|
|
|
|
body: null
|
|
|
|
headers:
|
|
|
|
Accept: ['*/*']
|
|
|
|
Accept-Encoding: ['gzip, deflate']
|
|
|
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
|
|
|
Connection: [keep-alive]
|
|
|
|
Content-Length: ['0']
|
|
|
|
User-Agent: [python-requests/2.9.1]
|
|
|
|
method: DELETE
|
2018-06-05 22:10:31 +02:00
|
|
|
uri: http://localhost:3000/api/v1/lists/4
|
2018-05-06 15:42:38 +02:00
|
|
|
response:
|
|
|
|
body: {string: '{}'}
|
|
|
|
headers:
|
|
|
|
Cache-Control: ['max-age=0, private, must-revalidate']
|
|
|
|
Content-Type: [application/json; charset=utf-8]
|
2018-06-05 22:10:31 +02:00
|
|
|
ETag: [W/"88bda25f452d0221c0a5cf9ba90fd81a"]
|
|
|
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
2018-05-06 15:42:38 +02:00
|
|
|
Transfer-Encoding: [chunked]
|
|
|
|
Vary: ['Accept-Encoding, Origin']
|
|
|
|
X-Content-Type-Options: [nosniff]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Download-Options: [noopen]
|
2018-05-06 15:42:38 +02:00
|
|
|
X-Frame-Options: [SAMEORIGIN]
|
2018-06-05 22:10:31 +02:00
|
|
|
X-Permitted-Cross-Domain-Policies: [none]
|
|
|
|
X-Request-Id: [2eb0df1b-4ae3-4456-92c5-ec1b77c72b7f]
|
|
|
|
X-Runtime: ['0.062035']
|
2018-05-06 15:42:38 +02:00
|
|
|
X-XSS-Protection: [1; mode=block]
|
|
|
|
content-length: ['2']
|
|
|
|
status: {code: 200, message: OK}
|
|
|
|
version: 1
|