Skip to content

Conversation

michaelwiles
Copy link
Contributor

Quite staggering that this is still present.

The endpoint for fetching media for a post is incorrect.

it was

public static final String POST_MEDIAS = "/media?parent={postId}?context={context}";

And is now:

public static final String POST_MEDIAS = "/media?parent={postId}&context={context}";

second ? changed to &

Chaiavi added a commit to Chaiavi/wp-api-v2-client-java-upgraded that referenced this pull request Feb 21, 2025
following this pull request:
Afrozaar@9e4ae39

Fix/Fixed bug in media fetch - was not separating postId and context params correctly Afrozaar#75
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

Successfully merging this pull request may close these issues.

1 participant