Skip to content

Federated curl example not work #25

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

Open
CorrectRoadH opened this issue Dec 5, 2024 · 2 comments
Open

Federated curl example not work #25

CorrectRoadH opened this issue Dec 5, 2024 · 2 comments
Assignees

Comments

@CorrectRoadH
Copy link

https://docs.rss3.io/guide/developer/api/federated/get-federated-account-activities

curl -X GET "https://gi.rss3.io/federated/string?limit=100&action_limit=50&cursor=string&since_timestamp=0&until_timestamp=0&success=true&direction=out&network=%5B%0A++%22mastodon%22%0A%5D&tag=%5B%0A++%22social%22%0A%5D&type=%5B%0A++%22post%22%0A%5D&platform=%5B%0A++%22Mastodon%22%0A%5D"

{"error":"Invalid request. Please check your input and try again.","error_code":"bad_request","details":"[\n  \"social\"\n] does not belong to Tag values"}

CleanShot 2024-12-05 at 21 45 55@2x

@CorrectRoadH
Copy link
Author

@pseudoyu might you help me?

@HenryQW
Copy link
Member

HenryQW commented Dec 5, 2024

@pseudoyu might you help me?

image

I think the doc framework has some bugs, in the curl example, string should be the account, which in the above screenshot I used @[email protected]

@brucexc brucexc self-assigned this Mar 17, 2025
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

No branches or pull requests

3 participants