Mastod...onship(3pm)
π Mastodon::Entity::Relationship β a Mastodon relationship, bestie π
okay so this is a page from the User Contributed Perl Documentation section of the manual, it's Mastod...onship(3pm) if you're squinting at the header, and it's all about one lil object: a relationship. yes. the follow/block/mute kind. we love a situationship with your mutuals π
β¨ NAME β¨
Mastodon::Entity::Relationship β A Mastodon relationship π«Ά
πΈ DESCRIPTION πΈ
okay so real talk: do not build this object yourself. like, hands off. π it's meant to be generated from the data a Mastodon server sends you, using the coercions in Mastodon::Types. that's the whole pipeline, that's the vibe, that's the assignment.
if you want the current tea β the up-to-date info, not my paraphrasing β go look at the Mastodon API documentation:
<https://github.com/tootsuite/documentation/blob/master/Using-the-API/API.md#relationship>
(that URL is doing the most with the line-wrapping in the original, but it's one link, i promise. copy it whole.)
π¦ ATTRIBUTES π¦
these are the fields. the little personality traits. the whole vibery of the relationship. β¨
idβ the target account id. like, which account are we even talking about. the main character of this data point. πfollowingβ whether the user is currently following the account. true = you're in their replies, false = you're lurking. πfollowed_byβ whether the user is currently being followed by the account. yes bestie, they followed back. πblockingβ whether the user is currently blocking the account. the nuclear option. no further comment. πmutingβ whether the user is currently muting the account. still following, justβ¦ quietly. the "i still love you but i can't see your posts" era. πrequestedβ whether the user has requested to follow the account. the little knock on the door. pending. waiting. so suspense. β³
π AUTHOR π
- JosΓ© JoaquΓn Atria
<jjatria@cpan.org>β an icon, frankly. π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2017 by JosΓ© JoaquΓn Atria. periodt.
it's free software β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay.
and that's the whole page, bestie. π this one's from perl v5.36.0, dated 2022-11-03, and it lives at Mastod...onship(3pm) in the manual. go forth and check your relationship data responsibly π«Άβ¨π
π¦ where this page comes from
- debian bookworm: libmastodon-client-perl 0.017-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmastodon-client-perl 0.017-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmastodon-client-perl 0.017-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmastodon-client-perl 0.017-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmastodon-client-perl 0.017-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms