Set or retrieve avatar via HTTP

Is it possible to set or retrieve a user’s avatar via some HTTP call? The user provisioning API doesn’t seem to do this, and the manual doesn’t suggest anything else would.