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

[Sharing NG] Make @UI.hidden property editable through API #8654

Closed
JammingBen opened this issue Mar 14, 2024 · 2 comments · Fixed by #8750
Closed

[Sharing NG] Make @UI.hidden property editable through API #8654

JammingBen opened this issue Mar 14, 2024 · 2 comments · Fixed by #8750
Assignees

Comments

@JammingBen
Copy link
Contributor

The @UI.hidden property on a DriveItem is currently not editable via API, hence the Web client needs to use the old OCS endpoint for this. It would be nice to have this implemented in Sharing NG in the future.

cc @rhafer

@fschade
Copy link
Contributor

fschade commented Mar 26, 2024

question, what is your preferred way to change the ui.hidden state?

PATCH /v1beta1/drives/{drive-id}/items/{item-id}/uiHidden and then toggle the bool?

fine?

@rhafer
Copy link
Contributor

rhafer commented Apr 3, 2024

question, what is your preferred way to change the ui.hidden state?

PATCH /v1beta1/drives/{drive-id}/items/{item-id}/uiHidden and then toggle the bool?

Just for completeness, since we discussed this in a different channel: It should actually be a PATCH /v1beta1/drives/{drive-id}/items/{item-id} with the new @UI.Hidden value in the body

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants