All URIs are relative to https://api.bitbucket.org/2.0
Method | HTTP request | Description |
---|---|---|
UserEmailsEmailGet | Get /user/emails/{email} | Get an email address for current user |
UserEmailsGet | Get /user/emails | List email addresses for current user |
UserGet | Get /user | Get current user |
UsersSelectedUserGet | Get /users/{selected_user} | Get a user |
ModelError UserEmailsEmailGet(ctx, email) Get an email address for current user
Returns details about a specific one of the authenticated user's email addresses. Details describe whether the address has been confirmed by the user and whether it is the user's primary address or not.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
string | Email address of the user. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ModelError UserEmailsGet(ctx, ) List email addresses for current user
Returns all the authenticated user's email addresses. Both confirmed and unconfirmed.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Account UserGet(ctx, ) Get current user
Returns the currently logged in user.
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Account UsersSelectedUserGet(ctx, selectedUser) Get a user
Gets the public information associated with a user account. If the user's profile is private, location
, website
and created_on
elements are omitted. Note that the user object returned by this operation is changing significantly, due to privacy changes. See the announcement for details.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
selectedUser | string | This can either be the UUID of the account, surrounded by curly-braces, for example: `{account UUID}`, OR an Atlassian Account ID. |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]