Field | Type | Label | Description |
userId | string | required | User ID to register as an alias of the currently logged-in user |
Field | Type | Label | Description |
userId | string | required | Upsource user ID |
login | string | required | Upsource login |
name | string | required | Visible name |
isServerAdmin | bool | required | The user is a server admin |
isGuestUser | bool | required | The user is a guest user |
isTestUser | bool | required | The user is a test user |
canCreateProjects | bool | required | The user has the right to create projects |
emailStatus | EmailStatusEnum | required | See EmailStatusEnum parameters |
adminPermissionsInProjects | string | repeated | The list of projects where the user has admin permissions |
reviewEditPermissionsInProjects | string | repeated | The list of projects where the user has permission to edit reviews |
reviewViewPermissionsInProjects | string | repeated | The list of projects where the user has permission to view reviews |
codeContributePermissionsInProjects | string | repeated | The list of projects where the user has permission to create/merge pull requests |
isEULAAccepted | bool | optional | Checks if EULA is accepted by the current user. Returns 'null' if EULA is not set up in Hub |
Field | Type | Label | Description |
projectId | string | optional | Project ID in Upsource |
pattern | string | required | Search query, e.g. part of the name |
limit | int32 | required | Number of results to return |
Field | Type | Label | Description |
userId | string | required | Upsource user ID |
name | string | required | Upsource user name |
isResolved | bool | required | Whether the user has an account in Hub |
isMe | bool | required | Flags the currently logged-in user |
isOnline | bool | optional | Whether the user is online |
avatarUrl | string | optional | URL of the userpic |
profileUrl | string | optional | URL of the Hub user profile |
string | optional | Email address |
|
login | string | optional | Login |
absentUntil | int64 | optional | Absence end date, if the user is currently on leave |
Field | Type | Label | Description |
projectId | string | required | Project ID in Upsource |
query | string | optional | Search query, i.e. starting part of the name |
limit | int32 | required | Maximum number of results to return |
Field | Type | Label | Description |
absentUntil | int64 | optional | Absence end date |
userId | string | optional | User ID in Upsource ("null" denotes current user) |
Field | Type | Label | Description |
id | string | required | Group ID |
name | string | required | Group name |
usersCount | int32 | required | Number of users participating in this group |
Field | Type | Label | Description |
ids | string | repeated | IDs of user groups |
Field | Type | Label | Description |
groups | UserGroupDTO | repeated | List of user groups |
hasMore | bool | required | Whether there are more groups by the request beyond the limit specified |
Field | Type | Label | Description |
ids | string | repeated | A list of user IDs to request the full user info for |
Field | Type | Label | Description |
infos | FullUserInfoDTO | repeated | See FullUserInfoDTO parameters |
Field | Type | Label | Description |
userId | string | required | Upsource user ID |
isOnline | bool | required | Whether the user is online |
absentUntil | int64 | optional | Absence end date, if the user is currently on leave |
Field | Type | Label | Description |
projectId | string | required | Project ID in Upsource |
lastCommitTime | int64 | required | Unix timestamp of the last commit |
Field | Type | Label | Description |
userId | string | required | Upsource user ID |
commitTimestampFilter | int64 | required | Project update timestamp to limit the returned projects by |
Field | Type | Label | Description |
projects | UserProjectInfoDTO | repeated | See UserProjectInfoDTO parameters |
Field | Type | Label | Description |
projectId | string | required | Project ID in Upsource |
reviewId | string | optional | ID of the Upsource review |
revisionId | string | optional | ID of the revision |
fileName | string | optional | A full path to the file starting with a slash (e.g. /directory/file.txt) |
query | string | optional | Search query, e.g. part of the name |
limit | int32 | required | Number of results to return |
Field | Type | Label | Description |
result | UsersListDTO | required | Suggested reviewers for a given review |
relevantUser | string | repeated | All relevant users |
userRelevance | int32 | repeated | Users' relevance [0..100] |
Field | Type | Label | Description |
reviewId | ReviewIdDTO | required | See ReviewIdDTO parameters |
role | RoleInReviewEnum | required | See RoleInReviewEnum parameters |
query | string | optional | Search query, e.g. part of the name |
limit | int32 | required | Number of results to return |
timeout | int64 | optional | Timeout(ms) to calculate smart users suggestion, by default - 1 minute |
Field | Type | Label | Description |
me | string | optional | User ID of the logged-in user |
suggestedUsers | string | repeated | User IDs of suggested users |
suggestedUserRelevance | int32 | repeated | Users' relevance [0..100] as a reviewer |
suggestedUserOpenedReviews | int32 | repeated | The number of open reviews the user has |
committers | string | repeated | User IDs of suggested committers |
others | string | repeated | User IDs of other suggested participants |
hasMore | bool | required | Whether all available items have been returned or more can be requested by passing the corresponding 'limit' value in the subsequent request |
Field | Type | Label | Description |
presences | UserPresenceInfoDTO | repeated | See UserPresenceInfoDTO parameters |
Name | Number | Description |
OK | 1 | |
NotVerified | 2 | |
NotSpecified | 3 | |
HardBounce | 4 |