Memos
User Service

Get User Stats

GetUserStats returns statistics for a specific user.

GET
/api/v1/users/{user}:getStats

Path Parameters

user*string

The user id.

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/users/string:getStats"
{
  "name": "string",
  "memoTypeStats": {
    "linkCount": 0,
    "codeCount": 0,
    "todoCount": 0,
    "undoCount": 0
  },
  "tagCount": {
    "property1": 0,
    "property2": 0
  },
  "memoCreatedTimestamps": [
    "2019-08-24T14:15:22Z"
  ],
  "memoUpdatedTimestamps": [
    "2019-08-24T14:15:22Z"
  ],
  "pinnedMemos": [
    "string"
  ],
  "totalMemoCount": 0
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings