this post was submitted on 19 Jul 2023
5 points (100.0% liked)

Lemmy App Development

711 readers
59 users here now

A place for Lemmy builders to chat about building apps, clients, tools and bots for the Lemmy platform.

On-Topic:

Off-Topic:

founded 1 year ago
MODERATORS
 

Is there anywhere that lemmy's various types of internal links are documented? like !community links @user links, links of the form https://lemmy.com/c/[email protected]. i have also seen links that just have "/c/[email protected]"... at the moment i'm only developing rendering code for them as i happen upon them, which is ad-hoc

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

yeah, the relative ones are always on another instance it seems. if you strip the '/c/' you can hit the '/community' endpoint with the '[email protected]' part as the name parameter and it returns the community_view for it. works fine.