All URIs are relative to https://api.bitbucket.org/2.0
Method | HTTP request | Description |
---|---|---|
SearchAccount | Get /teams/{username}/search/code | Search for code in the repositories of the specified team |
SearchAccount_0 | Get /users/{username}/search/code | Search for code in the repositories of the specified user |
SearchResultPage SearchAccount(ctx, username, searchQuery, optional) Search for code in the repositories of the specified team
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
username | string | The account to search in; either the username or the UUID in curly braces | |
searchQuery | string | The search query | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
username | string | The account to search in; either the username or the UUID in curly braces | |
searchQuery | string | The search query | |
page | int32 | Which page of the search results to retrieve | [default to 1] |
pagelen | int32 | How many search results to retrieve per page | [default to 10] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SearchResultPage SearchAccount_0(ctx, username, searchQuery, optional) Search for code in the repositories of the specified user
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for logging, tracing, authentication, etc. | |
username | string | The account to search in; either the username or the UUID in curly braces | |
searchQuery | string | The search query | |
optional | map[string]interface{} | optional parameters | nil if no parameters |
Optional parameters are passed through a map[string]interface{}.
Name | Type | Description | Notes |
---|---|---|---|
username | string | The account to search in; either the username or the UUID in curly braces | |
searchQuery | string | The search query | |
page | int32 | Which page of the search results to retrieve | [default to 1] |
pagelen | int32 | How many search results to retrieve per page | [default to 10] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]