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

Changing notification settings through the WordPress REST API #290

Closed
nicucalcea opened this issue Mar 10, 2022 · 1 comment
Closed

Changing notification settings through the WordPress REST API #290

nicucalcea opened this issue Mar 10, 2022 · 1 comment

Comments

@nicucalcea
Copy link

nicucalcea commented Mar 10, 2022

Description:

I'm publishing content through the WordPress REST API. I would like to toggle the "Send notification on post publish" checkmark on a per-post basis, but I can't see a way to do that through the API.

Steps to Reproduce Issue:

  1. Upload content through the API (POST to example.com/wp-json/wp/v2/posts). I'm personally doing it in R.
  2. I'm setting the title, description, post status, featured image, etc. in the body of the POST.
  3. However, I don't know how to customise any of the onesignal settings in the body of the POST or in any other programmable way.
@rgomezp
Copy link
Contributor

rgomezp commented Mar 10, 2022

Duplicate of #267

@rgomezp rgomezp marked this as a duplicate of #267 Mar 10, 2022
@rgomezp rgomezp closed this as completed Mar 10, 2022
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

2 participants