File: test_entity_nodeinfometadata.yaml

package info (click to toggle)
python-mastodon 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,836 kB
  • sloc: python: 9,438; makefile: 206; sql: 98; sh: 27
file content (167 lines) | stat: -rw-r--r-- 5,401 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate, br
      Authorization:
      - DUMMY
      Connection:
      - keep-alive
      User-Agent:
      - mastodonpy
    method: GET
    uri: https://mastodon.social/.well-known/nodeinfo
  response:
    body:
      string: '{"links": [{"rel": "http://nodeinfo.diaspora.software/ns/schema/2.0",
        "href": "https://mastodon.social/nodeinfo/2.0"}]}'
    headers:
      Accept-Ranges:
      - bytes
      Age:
      - '46499'
      Connection:
      - keep-alive
      Date:
      - Fri, 15 Aug 2025 20:19:10 GMT
      Strict-Transport-Security:
      - max-age=31557600
      Vary:
      - Origin, Accept-Encoding
      X-Cache:
      - MISS, HIT, HIT
      X-Cache-Hits:
      - 0, 4765, 34
      X-Served-By:
      - cache-fra-eddf8230137-FRA, cache-fra-eddf8230137-FRA, cache-hel1410032-HEL
      X-Timer:
      - S1755289150.358140,VS0,VE0
      alt-svc:
      - h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
      cache-control:
      - max-age=259200, public
      content-length:
      - '115'
      content-security-policy:
      - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
        ''self'' https://mastodon.social; img-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social; style-src ''self'' https://mastodon.social
        ''nonce-MCwDaYVgBVJnqqoUCQTJ9Q==''; media-src ''self'' data: https://mastodon.social
        https://files.mastodon.social; manifest-src ''self'' https://mastodon.social;
        form-action ''self''; child-src ''self'' blob: https://mastodon.social; worker-src
        ''self'' blob: https://mastodon.social; connect-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social wss://streaming.mastodon.social; script-src
        ''self'' https://mastodon.social ''wasm-unsafe-eval''; frame-src ''self''
        https:'
      content-type:
      - application/json; charset=utf-8
      etag:
      - W/"2e5c6a3d0480ec4e1aca2c01d42f0238"
      referrer-policy:
      - same-origin
      via:
      - 1.1 varnish, 1.1 varnish, 1.1 varnish
      x-content-type-options:
      - nosniff
      x-frame-options:
      - DENY
      x-request-id:
      - d282decd9159225170f61031b22883b5
      x-runtime:
      - '0.006331'
      x-sigsci-agentresponse:
      - '200'
      x-sigsci-decision-ms:
      - '12'
      x-sigsci-tags:
      - SUSPECTED-BOT,site.test
      x-xss-protection:
      - '0'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate, br
      Authorization:
      - DUMMY
      Connection:
      - keep-alive
      User-Agent:
      - mastodonpy
    method: GET
    uri: https://mastodon.social/nodeinfo/2.0
  response:
    body:
      string: '{"version": "2.0", "software": {"name": "mastodon", "version": "4.5.0-nightly.2025-08-06-security"},
        "protocols": ["activitypub"], "services": {"outbound": [], "inbound": []},
        "usage": {"users": {"total": 2846379, "activeMonth": 272779, "activeHalfyear":
        763426}, "localPosts": 142308335}, "openRegistrations": true, "metadata":
        {"nodeName": "Mastodon", "nodeDescription": "The original server operated
        by the Mastodon gGmbH non-profit"}}'
    headers:
      Accept-Ranges:
      - bytes
      Age:
      - '1617'
      Connection:
      - keep-alive
      Date:
      - Fri, 15 Aug 2025 20:19:10 GMT
      Strict-Transport-Security:
      - max-age=31557600
      Vary:
      - Origin, Accept-Encoding
      X-Cache:
      - MISS, HIT, HIT
      X-Cache-Hits:
      - 0, 2, 4
      X-Served-By:
      - cache-fra-etou8220147-FRA, cache-fra-etou8220147-FRA, cache-hel1410025-HEL
      X-Timer:
      - S1755289150.412260,VS0,VE0
      alt-svc:
      - h3=":443";ma=86400,h3-29=":443";ma=86400,h3-27=":443";ma=86400
      cache-control:
      - max-age=1800, public
      content-length:
      - '408'
      content-security-policy:
      - 'base-uri ''none''; default-src ''none''; frame-ancestors ''none''; font-src
        ''self'' https://mastodon.social; img-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social; media-src ''self'' data: https://mastodon.social
        https://files.mastodon.social; manifest-src ''self'' https://mastodon.social;
        form-action ''self''; child-src ''self'' blob: https://mastodon.social; worker-src
        ''self'' blob: https://mastodon.social; connect-src ''self'' data: blob: https://mastodon.social
        https://files.mastodon.social wss://streaming.mastodon.social; script-src
        ''self'' https://mastodon.social ''wasm-unsafe-eval''; frame-src ''self''
        https:; style-src ''self'' https://mastodon.social ''nonce-g82rVrPQRYMNX5TNddP01w=='''
      content-type:
      - application/json; charset=utf-8
      etag:
      - W/"b2f5848e27d86fe93cf6599c9eadfa62"
      referrer-policy:
      - same-origin
      via:
      - 1.1 varnish, 1.1 varnish, 1.1 varnish
      x-content-type-options:
      - nosniff
      x-frame-options:
      - DENY
      x-request-id:
      - d7cb84af2c6d412918c78a9c8bc01b0c
      x-runtime:
      - '0.052226'
      x-xss-protection:
      - '0'
    status:
      code: 200
      message: OK
version: 1