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

Add slug to campaign API #782

Closed
NicoHood opened this issue Apr 18, 2022 · 2 comments
Closed

Add slug to campaign API #782

NicoHood opened this issue Apr 18, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@NicoHood
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I am writing and updating listmonk newsletters through the api. What is currently hard for me is to identify existing campaigns. I'd need to either note the id when I first uploaded them or I need to check the name/subject, which is a human but not so good machine readable name.

Describe the solution you'd like
I'd like to have an id by name, maybe a slug. This special-campaign-name can be translated from the Human readable name (or better Special Campaign Name).

Maybe this slug could also be used for the public archive page feature:
#540

What do you think?

@NicoHood NicoHood added the enhancement New feature or request label Apr 18, 2022
@knadh
Copy link
Owner

knadh commented Apr 22, 2022

The campaign name can be used as a slug as the subject line is what's shown to the outside world. There are also campaign tags (which cannot be queried via the API right now, but could be added).

@knadh knadh closed this as completed May 8, 2022
@NicoHood
Copy link
Contributor Author

NicoHood commented May 8, 2022

Yeah, I also found my solution not fully thought out. Having tags in the API would be nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants