docs: reorder & testing
This commit is contained in:
@@ -76,4 +76,41 @@ table ErrorResponse {
|
||||
error:ErrorBody;
|
||||
}
|
||||
|
||||
table DeviceSessionView {
|
||||
device_session_id:string;
|
||||
user_id:string;
|
||||
status:string;
|
||||
client_public_key:string;
|
||||
created_at_ms:int64;
|
||||
revoked_at_ms:int64;
|
||||
last_seen_at_ms:int64;
|
||||
}
|
||||
|
||||
table ListMySessionsRequest {
|
||||
}
|
||||
|
||||
table ListMySessionsResponse {
|
||||
items:[DeviceSessionView];
|
||||
}
|
||||
|
||||
table RevokeMySessionRequest {
|
||||
device_session_id:string;
|
||||
}
|
||||
|
||||
table RevokeMySessionResponse {
|
||||
session:DeviceSessionView;
|
||||
}
|
||||
|
||||
table RevokeAllMySessionsRequest {
|
||||
}
|
||||
|
||||
table DeviceSessionRevocationSummaryView {
|
||||
user_id:string;
|
||||
revoked_count:int32;
|
||||
}
|
||||
|
||||
table RevokeAllMySessionsResponse {
|
||||
summary:DeviceSessionRevocationSummaryView;
|
||||
}
|
||||
|
||||
root_type AccountResponse;
|
||||
|
||||
Reference in New Issue
Block a user