-
-
Notifications
You must be signed in to change notification settings - Fork 83
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 Contributor via API #1440
Comments
Hello Simon,
If you have more the one Contributor, you can add more objects to the array. But with this method the existing episode contributions will be delete before we add the new ones. If you use the endpoint
|
Hi Dirk, I have tried to add this contributor
by posting to But if I try to control this, I only get this result from
from a get request. On the webpage is shown an empty contributor: Do you have any other ideas what I am doing wrong? Simon |
Could you please check if the contributor_id 44 is existing. The route wp-json/podlove/v2/contributors deliver a list of the existing contributors. If you aren't authenticate you will get only public contributors. May I should improve the API. If the contributor_id not exist i should return with an error. |
That would be great. And thank You. Now it is working when I post to |
Hey there,
I have a question. I am using the podlove-api (podlove version 4.0.13) to edit an episode on wordpress. But I do not understand how to add a contributor to the episode.
I have tried the endpoints
/wp-json/podlove/v2/episodes/72/contributions
and/wp-json/podlove/v2/episodes/contributions/72
with{ "contributor_id": 1, "role_id": 1, "group_id": 1, "position": 0, "comment": "Host of the episode." }
as body, but no contributors were added.
Can somebody tell me, how this is done correctly?
Simon
The text was updated successfully, but these errors were encountered: