e393664974
Pagination backwards is broken presently.
31 líneas
1,9 KiB
YAML
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":"1555884000","statuses":"221","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"},{"week":"1553468400","statuses":"0","logins":"0","registrations":"0"},{"week":"1552863600","statuses":"0","logins":"0","registrations":"0"},{"week":"1552258800","statuses":"0","logins":"0","registrations":"0"},{"week":"1551654000","statuses":"0","logins":"0","registrations":"0"},{"week":"1551049200","statuses":"0","logins":"0","registrations":"0"},{"week":"1550444400","statuses":"0","logins":"0","registrations":"0"},{"week":"1549839600","statuses":"0","logins":"0","registrations":"0"},{"week":"1549234800","statuses":"0","logins":"0","registrations":"0"}]'}
|
|
headers:
|
|
Cache-Control: ['max-age=86400, public']
|
|
Content-Type: [application/json; charset=utf-8]
|
|
Date: ['Sat, 27 Apr 2019 18:18:07 GMT']
|
|
ETag: [W/"d211794e3d36c2c7718ff12708b419f7"]
|
|
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: [810483a4-40bc-4f4a-9834-c407d59bab6b]
|
|
X-Runtime: ['0.027486']
|
|
X-XSS-Protection: [1; mode=block]
|
|
content-length: ['843']
|
|
status: {code: 200, message: OK}
|
|
version: 1
|