···2727 {% for did in linking_dids %}
2828 <pre style="display: block; margin: 1em 2em" class="code"><strong>DID</strong>: {{ did.0 }}
2929 -> see <a href="/links/all?target={{ did.0|urlencode }}">links to this DID</a>
3030- -> browse <a href="https://pdsls.dev/at://{{ did.0|urlencode }}">this DID record</a></pre>
3030+ -> browse <a href="https://pdsls.dev/at://{{ did.0 }}">this DID record</a></pre>
3131 {% endfor %}
32323333 {% if let Some(c) = cursor %}
+2
spacedust/src/error.rs
···3030 TooManySourcesWanted,
3131 #[error("more wantedSubjectDids were requested than allowed (max 10,000)")]
3232 TooManyDidsWanted,
3333+ #[error("more wantedSubjectPrefixes were requested than allowed (max 100)")]
3434+ TooManySubjectPrefixesWanted,
3335 #[error("more wantedSubjects were requested than allowed (max 50,000)")]
3436 TooManySubjectsWanted,
3537}
+11-2
spacedust/src/server.rs
···227227 #[serde(default)]
228228 pub wanted_subjects: HashSet<String>,
229229 #[serde(default)]
230230+ pub wanted_subject_prefixes: HashSet<String>,
231231+ #[serde(default)]
230232 pub wanted_subject_dids: HashSet<String>,
231233 #[serde(default)]
232234 pub wanted_sources: HashSet<String>,
···241243 ///
242244 /// The at-uri must be url-encoded
243245 ///
244244- /// Pass this parameter multiple times to specify multiple collections, like
246246+ /// Pass this parameter multiple times to specify multiple subjects, like
245247 /// `wantedSubjects=[...]&wantedSubjects=[...]`
246248 pub wanted_subjects: String,
249249+ /// One or more at-uri, URI, or DID prefixes to receive links about
250250+ ///
251251+ /// The uri must be url-encoded
252252+ ///
253253+ /// Pass this parameter multiple times to specify multiple prefixes, like
254254+ /// `wantedSubjectPrefixes=[...]&wantedSubjectPrefixes=[...]`
255255+ pub wanted_subject_prefixes: String,
247256 /// One or more DIDs to receive links about
248257 ///
249249- /// Pass this parameter multiple times to specify multiple collections
258258+ /// Pass this parameter multiple times to specify multiple subjects
250259 pub wanted_subject_dids: String,
251260 /// One or more link sources to receive links about
252261 ///