Mastodonplus.py/tests/cassettes/test_instance_activity.yaml
2019-10-11 23:59:24 +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":"1570399200","statuses":"351","logins":"3","registrations":"0"},{"week":"1569794400","statuses":"0","logins":"0","registrations":"0"},{"week":"1569189600","statuses":"0","logins":"0","registrations":"0"},{"week":"1568584800","statuses":"0","logins":"0","registrations":"0"},{"week":"1567980000","statuses":"0","logins":"0","registrations":"0"},{"week":"1567375200","statuses":"0","logins":"0","registrations":"0"},{"week":"1566770400","statuses":"0","logins":"0","registrations":"0"},{"week":"1566165600","statuses":"0","logins":"0","registrations":"0"},{"week":"1565560800","statuses":"0","logins":"0","registrations":"0"},{"week":"1564956000","statuses":"0","logins":"0","registrations":"0"},{"week":"1564351200","statuses":"0","logins":"0","registrations":"0"},{"week":"1563746400","statuses":"0","logins":"0","registrations":"0"}]'}
headers:
Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8]
Date: ['Fri, 11 Oct 2019 21:48:50 GMT']
ETag: [W/"e2b1c32562995b57efadfbc5b0cff06e"]
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: [a31141e6-7538-42a9-9e8f-b740e7ce058f]
X-Runtime: ['0.075275']
X-XSS-Protection: [1; mode=block]
content-length: ['843']
status: {code: 200, message: OK}
version: 1