Mastodonplus.py/tests/cassettes/test_instance_activity.yaml
2018-05-06 03:02:19 +02:00

28 líneas
1,7 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.9.1]
method: GET
uri: http://localhost:3000/api/v1/instance/activity
response:
body: {string: '[{"week":"1525039200","statuses":"426","logins":"2","registrations":"0"},{"week":"1524434400","statuses":"0","logins":"0","registrations":"0"},{"week":"1523829600","statuses":"1514","logins":"2","registrations":"0"},{"week":"1523224800","statuses":"0","logins":"0","registrations":"0"},{"week":"1522620000","statuses":"0","logins":"0","registrations":"0"},{"week":"1522015200","statuses":"0","logins":"0","registrations":"0"},{"week":"1521414000","statuses":"0","logins":"0","registrations":"0"},{"week":"1520809200","statuses":"0","logins":"0","registrations":"0"},{"week":"1520204400","statuses":"0","logins":"0","registrations":"0"},{"week":"1519599600","statuses":"0","logins":"0","registrations":"0"},{"week":"1518994800","statuses":"0","logins":"0","registrations":"0"},{"week":"1518390000","statuses":"0","logins":"0","registrations":"0"}]'}
headers:
Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8]
Date: ['Sun, 06 May 2018 00:59:42 GMT']
ETag: [W/"037fcb5c82b3f22ea92222f40217b60e"]
Transfer-Encoding: [chunked]
Vary: ['Accept-Encoding, Origin']
X-Content-Type-Options: [nosniff]
X-Frame-Options: [SAMEORIGIN]
X-Request-Id: [6fcdfbb3-f123-4d5d-80ee-f6e3edd0843f]
X-Runtime: ['0.044204']
X-XSS-Protection: [1; mode=block]
content-length: ['846']
status: {code: 200, message: OK}
version: 1