Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.66 KB

File metadata and controls

23 lines (16 loc) · 1.66 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). The following qualifiers are also supported in the search term: * `ids:key_id,...` for queries on a comma-separated list of ids * `name:key_name` for text queries on exact key names - spaces, commas, and colons need to be escaped with double backslashes * `tags:tag_name` to filter for keys with certain tags * `translated:{true false}` for translation status (also requires `locale_id` to be specified) * `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')