Mastodonplus.py/tests/cassettes/test_instance_activity.yaml
2019-06-22 15:28:27 +02:00

31 líneas
1,9 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/instance/activity
response:
body: {string: '[{"week":"1560722400","statuses":"18","logins":"2","registrations":"0"},{"week":"1560117600","statuses":"0","logins":"0","registrations":"0"},{"week":"1559512800","statuses":"0","logins":"0","registrations":"0"},{"week":"1558908000","statuses":"0","logins":"0","registrations":"0"},{"week":"1558303200","statuses":"0","logins":"0","registrations":"0"},{"week":"1557698400","statuses":"0","logins":"0","registrations":"0"},{"week":"1557093600","statuses":"0","logins":"0","registrations":"0"},{"week":"1556488800","statuses":"0","logins":"0","registrations":"0"},{"week":"1555884000","statuses":"461","logins":"2","registrations":"0"},{"week":"1555279200","statuses":"0","logins":"0","registrations":"0"},{"week":"1554674400","statuses":"0","logins":"0","registrations":"0"},{"week":"1554069600","statuses":"0","logins":"0","registrations":"0"}]'}
headers:
Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8]
Date: ['Sat, 22 Jun 2019 13:03:09 GMT']
ETag: [W/"a248c34afce410c3334ff84cbac22552"]
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: [1e0e4c2a-3fc2-4872-983c-67c1e962aa08]
X-Runtime: ['0.034326']
X-XSS-Protection: [1; mode=block]
content-length: ['844']
status: {code: 200, message: OK}
version: 1