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

[feature request] Extend the User Provisioning API to handle avatar #20973

Closed
cedriccarbone opened this issue Dec 6, 2015 · 10 comments
Closed

Comments

@cedriccarbone
Copy link

cedriccarbone commented Dec 6, 2015

Right now, User Provisioning API [1] doesn't allow to set or get the avatar of a user. It should be great if the API can handle avatar to be able to manage Users externally.
Thanks!
-cedric

[1] https://doc.owncloud.org/server/8.0/admin_manual/configuration_user/user_provisioning_api.html#users-edituser

@tomneedham
Copy link
Contributor

@PVince81 @MTRichards

@MTRichards MTRichards added this to the backlog milestone Dec 6, 2015
@DeepDiver1975
Copy link
Member

There was the plan to have a DAV resource to handle avatars.

@rullzer
Copy link
Contributor

rullzer commented Dec 8, 2015

Even more we kind of need to use a different endpoint since OCS does not allow us to return binary data. But maybe we could (once the DAV endpoint is in place) put the link into the provisioning API responses.

@tomneedham
Copy link
Contributor

But maybe we could (once the DAV endpoint is in place) put the link into the provisioning API responses.

I like this idea :)

@SergioBertolinSG
Copy link
Contributor

@PVince81 @DeepDiver1975 I think a personal API / DAV endpoint for all personal changeable options is required. Clients needs this to give more options to the users. For example I've seen recently that android app is getting the avatars from the url directly /index.php/avatar/admin/256#256 .

@DeepDiver1975
Copy link
Member

Absolutely

@DeepDiver1975
Copy link
Member

we can use the system addressbook like this:
http://localhost:8080/remote.php/dav/addressbooks/system/system/system/Database:admin.vcf?photo

this will return the users avatar - but only in 96x96 pixels. not perfect

@DeepDiver1975 DeepDiver1975 self-assigned this Oct 14, 2016
@DeepDiver1975 DeepDiver1975 modified the milestones: 9.2, backlog Oct 14, 2016
@PVince81
Copy link
Contributor

PVince81 commented Apr 6, 2017

@DeepDiver1975 backlog, or do you have time for this ?

@PVince81 PVince81 modified the milestones: backlog, 10.0 Apr 11, 2017
@SamuAlfageme
Copy link

Linking #26872 - regarding the avatar DAV resource. Original request was to use the provisioning API to operate on the avatar, not sure if this will suffice or there's additional actions required.

@stale
Copy link

stale bot commented Sep 21, 2021

This issue has been automatically closed.

@stale stale bot closed this as completed Sep 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants