Compartilhar via


Focusmate (Independent Publisher) (Preview)

Get data on your Focusmate user, sessions and partners.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Phil Cole
URL https://philcole.org
Email filcole@gmail.com
Connector Metadata
Publisher Phil Cole
Website https://www.focusmate.com/
Privacy policy https://blog.focusmate.com/privacy/
Categories Productivity;Collaboration

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Get My Profile

Get profile data for the calling user

Get Partner Profile

Get profile data for the given userId. Only publicly available data is returned

Get Sessions

Returns a list of sessions for the calling user.

Get My Profile

Get profile data for the calling user

Returns

Name Path Type Description
User Id
user.userId uuid

Unique identifier for the current user

Name
user.name string

Name of the current user

Total Session Count
user.totalSessionCount integer

Total number of session for the current user

Time zone
user.timeZone string

Time zone of the current user

Photo URL
user.photoUrl uri

Photo URL of the current user

Get Partner Profile

Get profile data for the given userId. Only publicly available data is returned

Parameters

Name Key Required Type Description
User ID
userId True string

User Id of the user who's profile will be retrieved.

Returns

Name Path Type Description
User Id
user.userId uuid

The unique identifier of the specified user

Name
user.name string

Name of the specified user

Total Session Count
user.totalSessionCount integer

Total number of session for the specified user

Time zone
user.timeZone string

Time zone of the specified user

Photo URL
user.photoUrl uri

Photo URL of the specified user

Get Sessions

Returns a list of sessions for the calling user.

Parameters

Name Key Required Type Description
Start Date
start True date

The start date and time from which sessions will be retrieved

End Date
end True date

The end date and time up to which sessions will be retrieved

Returns

Name Path Type Description
sessions
sessions array of object

List of sessions within time range

Session Id
sessions.sessionId uuid

Unique identifier for a session

Duration
sessions.duration integer

Duration of the session (milliseconds)

Start Time
sessions.startTime date-time

Start time of the session (UTC)

users
sessions.users array of object

List of users in a session

User Id
sessions.users.userId uuid

The user id of a user within the session

Requested At
sessions.users.requestedAt date-time

Date and time the session was requested (UTC)

Joined At
sessions.users.joinedAt date-time

Date and time the user joined the session (UTC)

Completed
sessions.users.completed boolean

Indicates the session was completed

Session Title
sessions.users.sessionTitle string

Session Title