Mastodonplus.py/tests/cassettes/test_instance_activity.yaml

32 líneas
1,9 KiB
YAML
Original Vista normal Històric

2018-05-06 02:26:19 +02:00
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:
2018-06-05 22:10:31 +02:00
body: {string: '[{"week":"1528063200","statuses":"1448","logins":"2","registrations":"0"},{"week":"1527458400","statuses":"0","logins":"0","registrations":"0"},{"week":"1526853600","statuses":"0","logins":"0","registrations":"0"},{"week":"1526248800","statuses":"0","logins":"0","registrations":"0"},{"week":"1525644000","statuses":"0","logins":"0","registrations":"0"},{"week":"1525039200","statuses":"1924","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"}]'}
2018-05-06 02:26:19 +02:00
headers:
Cache-Control: ['max-age=86400, public']
Content-Type: [application/json; charset=utf-8]
2018-06-05 22:10:31 +02:00
Date: ['Tue, 05 Jun 2018 20:00:45 GMT']
ETag: [W/"70c7b05b319b94a3f5b04292a74a7e7e"]
Referrer-Policy: [strict-origin-when-cross-origin]
2018-05-06 02:26:19 +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 02:26:19 +02:00
X-Frame-Options: [SAMEORIGIN]
2018-06-05 22:10:31 +02:00
X-Permitted-Cross-Domain-Policies: [none]
X-Request-Id: [a89f2afb-81ea-4977-8722-bc4f2bc5bf51]
X-Runtime: ['0.120355']
2018-05-06 02:26:19 +02:00
X-XSS-Protection: [1; mode=block]
2018-06-05 22:10:31 +02:00
content-length: ['850']
2018-05-06 02:26:19 +02:00
status: {code: 200, message: OK}
version: 1