111 líneas
7,3 KiB
YAML
111 líneas
7,3 KiB
YAML
|
interactions:
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v1/search?q=mastodonpy_test
|
||
|
response:
|
||
|
body: {string: '{"hashtags":[],"accounts":[{"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":[]},{"id":"1234567890123457","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.445Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test_2","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":[]}],"statuses":[]}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [ac4caed7-ee8f-4afa-bf01-ea8e76febf2c]
|
||
|
X-Runtime: ['0.074508']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['1185']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v2/search?resolve=1&q=mastodonpy_test
|
||
|
response:
|
||
|
body: {string: '{"accounts":[{"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":[]},{"id":"1234567890123457","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.445Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test_2","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":[]}],"statuses":[],"hashtags":[]}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [e68a99bb-37a6-4f63-a4bd-ca8d42e05f34]
|
||
|
X-Runtime: ['0.062043']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['1185']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v2/search?resolve=1&q=mastodonpy_test
|
||
|
response:
|
||
|
body: {string: '{"accounts":[{"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":[]},{"id":"1234567890123457","username":"mastodonpy_test_2","acct":"mastodonpy_test_2","display_name":"","locked":true,"bot":false,"created_at":"2019-06-22T23:11:52.445Z","note":"\u003cp\u003e\u003c/p\u003e","url":"http://localhost/@mastodonpy_test_2","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":[]}],"statuses":[],"hashtags":[]}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [1efaffda-bc4f-4a40-9a1c-1dbd6e609238]
|
||
|
X-Runtime: ['0.027617']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['1185']
|
||
|
status: {code: 200, message: OK}
|
||
|
- request:
|
||
|
body: null
|
||
|
headers:
|
||
|
Accept: ['*/*']
|
||
|
Accept-Encoding: ['gzip, deflate']
|
||
|
Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
|
||
|
Connection: [keep-alive]
|
||
|
User-Agent: [python-requests/2.18.4]
|
||
|
method: GET
|
||
|
uri: http://localhost:3000/api/v2/search?resolve=1&q=mastodonpy_test&type=statuses
|
||
|
response:
|
||
|
body: {string: '{"accounts":[],"statuses":[],"hashtags":[]}'}
|
||
|
headers:
|
||
|
Cache-Control: ['no-cache, no-store']
|
||
|
Content-Type: [application/json; charset=utf-8]
|
||
|
Referrer-Policy: [strict-origin-when-cross-origin]
|
||
|
Transfer-Encoding: [chunked]
|
||
|
Vary: ['Accept-Encoding, Origin']
|
||
|
X-Content-Type-Options: [nosniff]
|
||
|
X-Download-Options: [noopen]
|
||
|
X-Frame-Options: [SAMEORIGIN]
|
||
|
X-Permitted-Cross-Domain-Policies: [none]
|
||
|
X-Request-Id: [f8f002d4-e3ea-4146-8af0-e2164bf82700]
|
||
|
X-Runtime: ['0.016728']
|
||
|
X-XSS-Protection: [1; mode=block]
|
||
|
content-length: ['43']
|
||
|
status: {code: 200, message: OK}
|
||
|
version: 1
|