Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.81 KB

KeysExcludeParameters.md

File metadata and controls

23 lines (16 loc) · 1.81 KB

Phrase::KeysExcludeParameters

Properties

Name Type Description Notes
branch String specify the branch to use [optional]
q String Specify a query to do broad search for keys by name (including wildcards).<br><br> The following qualifiers are also supported in the search term:<br> <ul> <li><code>ids:key_id,...</code> for queries on a comma-separated list of ids</li> <li><code>name:key_name</code> for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes</li> <li><code>tags:tag_name</code> to filter for keys with certain tags</li> <li><code>translated:{true false}</code> for translation status (also requires <code>locale_id</code> to be specified)</li> <li><code>updated_at:{>=
target_locale_id String Locale used to exlcude or include keys. [optional]
tags String Tag or comma-separated list of tags to add to the matching collection of keys [optional]

Code Sample

require 'Phrase'

instance = Phrase::KeysExcludeParameters.new(branch: my-feature-branch,
                                 q: mykey* translated:true,
                                 target_locale_id: abcd1234abcd1234abcd1234abcd1234,
                                 tags: landing-page,release-1.2)