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

Shared space not found when getting nodes with REST API #293

Open
markarasev opened this issue Oct 22, 2023 · 0 comments
Open

Shared space not found when getting nodes with REST API #293

markarasev opened this issue Oct 22, 2023 · 0 comments

Comments

@markarasev
Copy link

Hello,

I'm trying to use the public web application's REST API and I have a single shared space I created with a few documents inside it.

I can retrieve my shared space's UUID using GET https://web.linshare.app/linshare/webservice/rest/user/v5/shared_spaces with correct authentication.

Then, retrieving the shared space's metadata using GET https://web.linshare.app/linshare/webservice/rest/user/v5/shared_spaces/<my_UUID> gives me a 200 response with the expected info.

But, when I try to list the shared space documents using GET https://web.linshare.app/linshare/webservice/rest/user/v5/shared_spaces/<my_UUID>/nodes returns me a 404 not found error with the following message: "Can not find shared space with uuid : <my_UUID>".

I use the exact same HTTP parameters for all these requests expect for the URI path.

I can see with GET https://web.linshare.app/linshare/webservice/rest/user/v5/shared_spaces/<my_UUID>/members that the credentials I use have the WORK_SPACE_ADMIN role for this work space.

Maybe it is somehow related to #285?

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

1 participant