Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

document requested_by in relationship model #1380

Closed
tsmethurst opened this issue Jan 4, 2024 · 3 comments · Fixed by #1381
Closed

document requested_by in relationship model #1380

tsmethurst opened this issue Jan 4, 2024 · 3 comments · Fixed by #1381

Comments

@tsmethurst
Copy link

Pitch

Looks like the requested_by field was added here: https://github.com/mastodon/mastodon/blob/679aca46da56228a3219d1c6f0c942adcfb8fdb1/app/serializers/rest/relationship_serializer.rb#LL6C19-L6C19

But this is not reflected in the API documentation here: https://docs.joinmastodon.org/entities/Relationship/

Motivation

This would be handy for, well, everyone working with the API.

@ClearlyClaire ClearlyClaire transferred this issue from mastodon/mastodon Jan 4, 2024
@tsmethurst
Copy link
Author

Ah thanks, didn't realize you had a separate repo for this.

@ClearlyClaire
Copy link
Contributor

When an account relationship has requested_by: true it means that account has requested to follow you. See #1381

@tsmethurst
Copy link
Author

Thanks Claire! You're the best :)

andypiper pushed a commit that referenced this issue Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants