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]
2018-07-14 01:07:26 +02:00
User-Agent: [python-requests/2.18.4]
2018-05-06 02:26:19 +02:00
method: GET
uri: http://localhost:3000/api/v1/instance/activity
response:
2020-02-22 20:31:33 +01:00
body: {string: '[{"week":"1581894000","statuses":"20","logins":"3","registrations":"0"},{"week":"1581289200","statuses":"0","logins":"0","registrations":"0"},{"week":"1580684400","statuses":"0","logins":"0","registrations":"0"},{"week":"1580079600","statuses":"0","logins":"0","registrations":"0"},{"week":"1579474800","statuses":"0","logins":"0","registrations":"0"},{"week":"1578870000","statuses":"0","logins":"0","registrations":"0"},{"week":"1578265200","statuses":"0","logins":"0","registrations":"0"},{"week":"1577660400","statuses":"0","logins":"0","registrations":"0"},{"week":"1577055600","statuses":"0","logins":"0","registrations":"0"},{"week":"1576450800","statuses":"0","logins":"0","registrations":"0"},{"week":"1575846000","statuses":"0","logins":"0","registrations":"0"},{"week":"1575241200","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]
2020-02-22 20:31:33 +01:00
Date: ['Sat, 22 Feb 2020 19:28:40 GMT']
ETag: [W/"3d65f5fdb4bc47a048eac57e8a3ae6cf"]
2018-06-05 22:10:31 +02:00
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]
2020-02-22 20:31:33 +01:00
X-Request-Id: [45ff991a-d5f9-4511-acd9-0993a851304a]
X-Runtime: ['0.082331']
2018-05-06 02:26:19 +02:00
X-XSS-Protection: [1; mode=block]
2020-02-22 20:31:33 +01:00
content-length: ['842']
2018-05-06 02:26:19 +02:00
status: {code: 200, message: OK}
version: 1