Get Movement
The get-movement API returns metadata about where and for how long users spent time in a space.
URL
https://us-central1-ohyay-prod-d7acf.cloudfunctions.net/ohyayapi/get-movement
Request Format
interface GetMovementRequest {
userId: string;
wsid: string; // The workspace to get movement
startTime: number; // epoch milliseconds
endTime: number; // epoch milliseconds
}
Response Format
interface Movement {
userId: string;
roomId: string;
enterTime: number; // epoch milliseconds
duration: number; // milliseconds
}
interface GetMovementResponse {
movement: Movement[];
}
Updated almost 3 years ago