List All User Stats
ListAllUserStats returns statistics for all users.
Query Parameters
Optional. The state of memos to include. Defaults to NORMAL.
enumValue in
- "STATE_UNSPECIFIED"
- "NORMAL"
- "ARCHIVED"
Optional. Filter to apply to memo stats. Uses the same filter syntax as ListMemos.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/v1/users:stats"{ "stats": [ { "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, "attachmentStorageBytes": "string" } ]}Import Memos
ImportMemos uploads a Memos export file in bounded chunks and imports it into the user's memos. The first call carries the spec and returns an upload_id; later calls carry that upload_id. A finishing call with validate_only returns the plan and keeps the archive staged; a finishing call without it imports and returns the report. Uploads are bound to the authenticated user, expire after 30 minutes of inactivity, and do not survive a server restart.
List Linked Identities
ListLinkedIdentities returns a list of linked SSO identities for a user.