Implementing OwnCloud API v1: Get user status #31

Closed
opened 7 years ago by dustinwilson · 1 comments
Owner

Get user status

  • Method: GET
  • Route: /user
  • Parameters: none
  • Returns:
{
  "userId": "john",
  "displayName": "John Doe",
  "lastLoginTimestamp": 1241231233,  // unix timestamp
  "avatar": { // if no avatar exists, this is null
    "data": "asdiufadfasdfjlkjlkjljdfdf",  // base64 encoded image
    "mime": "image/jpeg"
  }
}
## Get user status * **Method**: GET * **Route**: /user * **Parameters**: none * **Returns**: ```js { "userId": "john", "displayName": "John Doe", "lastLoginTimestamp": 1241231233, // unix timestamp "avatar": { // if no avatar exists, this is null "data": "asdiufadfasdfjlkjlkjljdfdf", // base64 encoded image "mime": "image/jpeg" } } ```
Owner

Version 0.1.0 will not support avatars. Resolution of issue #52 should also bring full support for avatars.

Version 0.1.0 will not support avatars. Resolution of issue #52 should also bring full support for avatars.
jking closed this issue 7 years ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

0000-12-31

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.