Hello all together,
we installed the WPDM-Rest-API to automate some of our processes. We followed along the instructions given in the documentation over at https://imsas.github.io/wpdm-rest-api-docs/#introduction.
The “authentication” step seemed to work with the bearer token we got from the wpdm-Settings page. But as soon as we want to access any package information we are hit with
{
"code": "rest_forbidden",
"message": "You cannot view the post.",
"data": {
"status": 401
}
}
So we tested around and noticed, that you don’t need any authentication to view the api-index, other than stated in the documentation.
We are running WordPress Version 6.1 and PHP 7.4.32.
The Version of the Download Manager is 3.2.59 and the version of the WPDM – REST API is 1.3.2.
Thank you for your assistance!