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

Documentation Layout Broken #1585

Closed
NicoHood opened this issue Nov 9, 2023 · 6 comments
Closed

Documentation Layout Broken #1585

NicoHood opened this issue Nov 9, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@NicoHood
Copy link
Contributor

NicoHood commented Nov 9, 2023

Check this, the table is broken:
https://listmonk.app/docs/apis/campaigns/#get-apicampaigns

image

Should be quite easy to fix I guess.

@NicoHood NicoHood added the bug Something isn't working label Nov 9, 2023
@knadh knadh closed this as completed in b29f565 Nov 9, 2023
@NicoHood
Copy link
Contributor Author

Thanks! Is there a sample query to filter campaigns by an exact name match? I query my campaigns by a unique name instead of using the id (we use the date as unique name)

@knadh
Copy link
Owner

knadh commented Nov 21, 2023

There isn't currently. The right way to achieve this would be to attach specific tags to campaigns and then query by tags. Will add querying campaigns by tags in the upcoming release. I've added this to my to-do.

@NicoHood
Copy link
Contributor Author

Can we track this in a specific issue please, so I can subscribe and be notified if it completes?

@knadh
Copy link
Owner

knadh commented Dec 18, 2023

#1631

@NicoHood
Copy link
Contributor Author

Thanks. But my request was about querying by the name of the campaign, not the tags. So this would be another request I guess

@knadh
Copy link
Owner

knadh commented Dec 30, 2023

Ah, I think I misunderstood your earlier question. listmonk already supports querying a campaign by name. /api/campaigns/?query=YOUR_QUERY.

Assuming your campaign is named My campaign on 2023-12-30, you can find it with /api/campaigns?query=2023-12-30.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants