File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ type AccountDetailInfo struct {
126
126
RegisteredOn Timestamp `json:"registered_on"`
127
127
}
128
128
129
- // AccountExternalIdInfo contains informations to link to external ID providers
129
+ // AccountExternalIdInfo entity contains information for an external id of an account.
130
130
type AccountExternalIdInfo struct {
131
131
Identity string `json:"identity"`
132
132
EmailAddress string `json:"email_address,omitempty"`
@@ -325,7 +325,10 @@ func (s *AccountsService) GetAccountDetails(accountID string) (*AccountDetailInf
325
325
return v , resp , err
326
326
}
327
327
328
- // GetAccountExternalIDs returns AccountExternalIdInfo for the account
328
+ // GetAccountExternalIDs retrieves the external ids of a user account.
329
+ //
330
+ // Only external ids belonging to the caller may be requested.
331
+ // Users that have Modify Account can request external ids that belong to other accounts.
329
332
//
330
333
// Gerrit API docs: https://gerrit-review.googlesource.com/Documentation/rest-api-accounts.html#get-account-external-ids
331
334
func (s * AccountsService ) GetAccountExternalIDs (accountID string ) (* []AccountExternalIdInfo , * Response , error ) {
You can’t perform that action at this time.
0 commit comments