···11111212 <p>It is very much a <strong>work in progress</strong>. The database has not been backfilled, so any interactions occurring before its last reset will be missing.</p>
13131414- <p><small>µcosm ("microcosm") is a project by <a href="https://bsky.app/profile/bad-example.com">@bad-example.com</a>, making building apps on atproto easier.</small></p>
15141615 <h2>Endpoints</h2>
1716···2221 <h4>Query parameters:</h4>
23222423 <ul>
2525- <li><code>target</code>: required, must url-encode. Example: <code>did:plc:vc7f4oafdgxsihk4cry2xpze</code></li>
2626- <li><code>collection</code>: required. Example: <code>app.bsky.feed.follow</code></li>
2727- <li><code>path</code>: required, must url-encode. Example: <code>.subject</code></li>
2424+ <li><code>target</code>: required, must url-encode. Example: <code>at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r</code></li>
2525+ <li><code>collection</code>: required. Example: <code>app.bsky.feed.like</code></li>
2626+ <li><code>path</code>: required, must url-encode. Example: <code>.subject.uri</code></li>
2827 </ul>
29283030- <p><strong>Live example:</strong> <code><a href="/links?target=at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r&collection=app.bsky.feed.like&path=.subject.uri">/links?target=at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r&collection=app.bsky.feed.like&path=.subject.uri</a></code></p>
2929+ <p><strong>Live example:</strong> <code><a href="/links?target=at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r&collection=app.bsky.feed.like&path=.subject.uri">/links?target=at://did:plc:cjfcz3t36f6nrprarkhkycxo/app.bsky.feed.post/3lgyagnrqnc2t&collection=app.bsky.feed.like&path=.subject.uri</a></code></p>
313032313332 <h3><code>GET /links/count</code></h3>
···38373938 <ul>
4039 <li><code>target</code>: required, must url-encode. Example: <code>did:plc:vc7f4oafdgxsihk4cry2xpze</code></li>
4141- <li><code>collection</code>: required. Example: <code>app.bsky.feed.follow</code></li>
4040+ <li><code>collection</code>: required. Example: <code>app.bsky.graph.block</code></li>
4241 <li><code>path</code>: required, must url-encode. Example: <code>.subject</code></li>
4342 <li><code>cursor</code>: optional, see Definitions.</li>
4443 </ul>
45444646- <p><strong>Live example:</strong> <code><a href="/links/count?target=at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r&collection=app.bsky.feed.like&path=.subject.uri">/links/count?target=at://did:plc:vc7f4oafdgxsihk4cry2xpze/app.bsky.feed.post/3lgwdn7vd722r&collection=app.bsky.feed.like&path=.subject.uri</a></code></p>
4545+ <p><strong>Live example:</strong> <code><a href="/links/count?target=did:plc:vc7f4oafdgxsihk4cry2xpze&collection=app.bsky.graph.block&path=.subject">/links/count?target=did:plc:vc7f4oafdgxsihk4cry2xpze&collection=app.bsky.graph.block&path=.subject</a></code></p>
474648474948 <h3><code>GET /links/all/count</code></h3>
50495151- <p>The total number of links pointing at a given target from any collection and path.</p>
5050+ <p>The total counts of all links pointing at a given target, by collection and path.</p>
52515352 <h4>Query parameters:</h4>
54535554 <ul>
5656- <li><code>target</code>: required, must url-encode. Example: <code>did:plc:vc7f4oafdgxsihk4cry2xpze</code></li>
5555+ <li><code>target</code>: required, must url-encode. Example: <code>did:plc:oky5czdrnfjpqslsw2a5iclo</code></li>
5756 </ul>
58575959- <p><strong>Live example:</strong> <code><a href="/links/all/count?target=did:plc:vc7f4oafdgxsihk4cry2xpze">/links/all/count?target=did:plc:vc7f4oafdgxsihk4cry2xpze</a></code></p>
5858+ <p><strong>Live example:</strong> <code><a href="/links/all/count?target=did:plc:oky5czdrnfjpqslsw2a5iclo">/links/all/count?target=did:plc:oky5czdrnfjpqslsw2a5iclo</a></code></p>
605961606261 <h2>Definitions</h2>