Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.86 KB

KeysTagParameters.md

File metadata and controls

23 lines (16 loc) · 1.86 KB

Phrase::KeysTagParameters

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:{>=
locale_id String Locale used to determine the translation state of a key when filtering for untranslated or translated 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::KeysTagParameters.new(branch: my-feature-branch,
                                 q: mykey* translated:true,
                                 locale_id: abcd1234abcd1234abcd1234abcd1234,
                                 tags: landing-page,release-1.2)