aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhalcy <halcy@ARARAGI-KUN>2022-11-24 22:56:49 +0200
committerhalcy <halcy@ARARAGI-KUN>2022-11-24 22:56:49 +0200
commit00a96c5e9584bcd768d51372fbc4ccd866432771 (patch)
treef979bcc269b3f4a65d6bc56bfff14a3f91f39866 /tests/cassettes/test_trending_links.yaml
parentc3cfb197a6afaf441d452fa57cb1bbee211ca4b4 (diff)
downloadmastodon.py-00a96c5e9584bcd768d51372fbc4ccd866432771.tar.gz
Add trending APIs
Diffstat (limited to 'tests/cassettes/test_trending_links.yaml')
-rw-r--r--tests/cassettes/test_trending_links.yaml60
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/cassettes/test_trending_links.yaml b/tests/cassettes/test_trending_links.yaml
new file mode 100644
index 0000000..3d54b25
--- /dev/null
+++ b/tests/cassettes/test_trending_links.yaml
@@ -0,0 +1,60 @@
1interactions:
2- request:
3 body: null
4 headers:
5 Accept:
6 - '*/*'
7 Accept-Encoding:
8 - gzip, deflate
9 Authorization:
10 - Bearer __MASTODON_PY_TEST_ACCESS_TOKEN
11 Connection:
12 - keep-alive
13 User-Agent:
14 - tests/v311
15 method: GET
16 uri: http://localhost:3000/api/v1/trends/links
17 response:
18 body:
19 string: '[]'
20 headers:
21 Cache-Control:
22 - no-store
23 Content-Security-Policy:
24 - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
25 ''self'' http://localhost:3000; img-src ''self'' https: data: blob: http://localhost:3000;
26 style-src ''self'' http://localhost:3000 ''nonce-7UiLUEyJEVY9JgarYKBdCg=='';
27 media-src ''self'' https: data: http://localhost:3000; frame-src ''self''
28 https:; manifest-src ''self'' http://localhost:3000; connect-src ''self''
29 data: blob: http://localhost:3000 http://localhost:3000 ws://localhost:4000
30 ws://localhost:3035 http://localhost:3035; script-src ''self'' ''unsafe-inline''
31 ''unsafe-eval'' http://localhost:3000; child-src ''self'' blob: http://localhost:3000;
32 worker-src ''self'' blob: http://localhost:3000'
33 Content-Type:
34 - application/json; charset=utf-8
35 ETag:
36 - W/"4f53cda18c2baa0c0354bb5f9a3ecbe5"
37 Referrer-Policy:
38 - strict-origin-when-cross-origin
39 Transfer-Encoding:
40 - chunked
41 Vary:
42 - Accept, Origin
43 X-Content-Type-Options:
44 - nosniff
45 X-Download-Options:
46 - noopen
47 X-Frame-Options:
48 - SAMEORIGIN
49 X-Permitted-Cross-Domain-Policies:
50 - none
51 X-Request-Id:
52 - 623f9c94-2540-4c4f-b0ae-1c3db0b9ca35
53 X-Runtime:
54 - '0.016081'
55 X-XSS-Protection:
56 - 1; mode=block
57 status:
58 code: 200
59 message: OK
60version: 1
Powered by cgit v1.2.3 (git 2.41.0)