Skip to content

Latest commit

 

History

History
56 lines (31 loc) · 1.73 KB

SearchApi.md

File metadata and controls

56 lines (31 loc) · 1.73 KB

\SearchApi

All URIs are relative to https://api.phrase.com/v2

Method HTTP request Description
SearchInAccount Post /accounts/{account_id}/search Search across projects

SearchInAccount

AccountSearchResult SearchInAccount(ctx, accountId, searchInAccountParameters, optional)

Search across projects

Search for keys and translations in all account projects

Note: Search is limited to 10000 results and may not include recently updated data depending on the project sizes.

Required Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
accountId string Account ID
searchInAccountParameters SearchInAccountParameters
optional *SearchInAccountOpts optional parameters nil if no parameters

Optional Parameters

Optional parameters are passed through a pointer to a SearchInAccountOpts struct

Name Type Description Notes

xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |

Return type

AccountSearchResult

Authorization

Basic, Token

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]