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

GET /api/subscribers/lists/{list_id} not work #1658

Closed
javipj opened this issue Jan 9, 2024 · 1 comment
Closed

GET /api/subscribers/lists/{list_id} not work #1658

javipj opened this issue Jan 9, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@javipj
Copy link

javipj commented Jan 9, 2024

Version:

  • listmonk: 2.5 and v3-rc-3
  • OS: docker

Description of the bug and steps to reproduce:
If get /api/subscribers/lists/{list_id} not work

with /api/subscribers/lists/1 ---> {
"message": "404 unknown endpoint"
}

with api/subscribers/lists --->

{
"message": "Invalid ID(s)"
}

tried with postman and curl

@knadh knadh self-assigned this Jan 9, 2024
@knadh knadh added the documentation Improvements or additions to documentation label Jan 9, 2024
@knadh
Copy link
Owner

knadh commented Jan 9, 2024

Just realised that the documentation is incorrect for this API. Will fix. The list IDs should be passed as query params.

eg: /api/subscribers?list_id=1&query=&page=1&order_by=id&order=desc

@knadh knadh closed this as completed in 9109097 Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants