ゲストを取得
リクエスト
GET <REST API URL>/users/guest
レスポンス
レスポンスコード | 意味 |
---|---|
200 OK | リクエストが成功しました。 |
400 不正な要求 | リクエストパラメーターの少なくとも 1 つが無効です。例: 渡された JSON オブジェクトの必須フィールドがありません。詳細については、応答のエラーメッセージを確認してください。 |
403 禁止します | 要求元は、要求されたリソースにアクセスできません。 |
404 お探しのページが見つかりませんでした | 要求されたリソースが見つかりませんでした。 |
500 内部サーバーエラー | サーバーエラーのため、リクエストの処理に失敗しました。詳細については、応答のエラーメッセージを確認してください。 |
レスポンスボディ
{
"login": string,
"banned": boolean,
"banReason": string,
"banBadge": string,
"guest": boolean,
"avatar": avatar,
"profile": profile,
"groups": [userGroup, ...],
"organizations": [organization, ...],
"transitiveOrganizations": [organization, ...],
"transitiveGroups": [userGroup, ...],
"teams": [projectTeam, ...],
"transitiveTeams": [projectTeam, ...],
"details": [details, ...],
"VCSUserNames": [vcsUserName, ...],
"sshPublicKeys": [sshPublicKey, ...],
"helpdeskProjectSettings": [projectHelpdeskSettings, ...],
"creationTime": calendar,
"lastAccessTime": calendar,
"refreshTokens": [refreshToken, ...],
"permanentTokens": [permanentToken, ...],
"approvedScopes": [approvedScope, ...],
"applicationPasswords": [applicationPassword, ...],
"favoriteProjects": [project, ...],
"endUserAgreementConsent": endUserAgreementConsent,
"eraseTimestamp": calendar,
"twoFactorAuthentication": twoFactorAuthentication,
"requiredTwoFactorAuthentication": boolean,
"pendingTwoFactorAuthentication": twoFactorAuthenticationSecret,
"webauthnDevice": webauthnDevice,
"userType": userType,
"permissions": [string, ...],
"id": string /* from authorityHolder */,
"aliases": [alias, ...] /* from authorityHolder */,
"name": string /* from authorityHolder */,
"projectRoles": [projectRole, ...] /* from authorityHolder */,
"transitiveProjectRoles": [projectRole, ...] /* from authorityHolder */,
"sourcedProjectRoles": [sourcedProjectRole, ...] /* from authorityHolder */,
"organizationRoles": [organizationRole, ...] /* from authorityHolder */,
"transitiveOrganizationRoles": [organizationRole, ...] /* from authorityHolder */,
"sourcedOrganizationRoles": [sourcedOrganizationRole, ...] /* from authorityHolder */
}