Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 43 additions & 43 deletions doc/compiled.json

Large diffs are not rendered by default.

68 changes: 68 additions & 0 deletions parameters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,74 @@ q:
in: query
schema:
type: string
translations_q:
in: query
name: q
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of translation ids
* `key.id:key_id,...` for queries on a comma-separated list of translation key ids
* `key.name:key_name,...` for queries on a comma-separated list of translation key names
* `locale.id:locale_id,...` for queries on a comma-separated list of locale ids
* `locale.name:locale_name,...` for queries on a comma-separated list of locale names
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries
* `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
schema:
type: string
translations_locale_q:
in: query
name: q
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of translation ids
* `key.id:key_id,...` for queries on a comma-separated list of translation key ids
* `key.name:key_name,...` for queries on a comma-separated list of translation key names
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries
* `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
schema:
type: string
translations_key_q:
in: query
name: q
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of translation ids
* `locale.id:locale_id,...` for queries on a comma-separated list of locale ids
* `locale.name:locale_name,...` for queries on a comma-separated list of locale names
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries
* `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
schema:
type: string
job_owner:
description: filter by user owning job
example: abcd1234cdef1234abcd1234cdef1234
Expand Down
17 changes: 1 addition & 16 deletions paths/translations/batch_exclude.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,7 @@ requestBody:
type: string
example: my-feature-branch
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:

* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%20verified:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
sort:
description: 'Sort criteria. Can be one of: key_name, created_at, updated_at.'
type: string
Expand Down
16 changes: 1 addition & 15 deletions paths/translations/batch_include.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,7 @@ requestBody:
type: string
example: my-feature-branch
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
- `id:translation_id,...` for queries on a comma-separated list of ids
- `tags:XYZ` for tags on the translation
- `unverified:{true|false}` for verification status
- `excluded:{true|false}` for exclusion status
- `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%20verified:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
sort:
description: 'Sort criteria. Can be one of: key_name, created_at, updated_at.'
type: string
Expand Down
17 changes: 1 addition & 16 deletions paths/translations/batch_review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,5 @@ requestBody:
type: string
example: my-feature-branch
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:

* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%reviewed:false%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
x-cli-version: '2.5'
16 changes: 1 addition & 15 deletions paths/translations/batch_unreview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,5 @@ requestBody:
type: string
example: my-feature-branch
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%reviewed:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
x-cli-version: '2.41'
21 changes: 5 additions & 16 deletions paths/translations/batch_unverify.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
summary: Unverify translations by query
description: Mark translations matching query as unverified.
description: |
Mark translations matching query as unverified.

To unverify the translations of specific keys, filter by key id (and optionally locale) directly, for example `key.id:KEY_ID_1,KEY_ID_2 locale.id:LOCALE_ID`. There is no need to look up translation ids first.
operationId: translations/unverify-collection
tags:
- Translations
Expand Down Expand Up @@ -61,21 +64,7 @@ requestBody:
type: string
example: my-feature-branch
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%20verified:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
sort:
description: 'Sort criteria. Can be one of: key_name, created_at, updated_at.'
type: string
Expand Down
16 changes: 1 addition & 15 deletions paths/translations/batch_verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,5 @@ requestBody:
type: string
example: fc2f11dd6a658fa9652f6f0a9ebee688
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%20unverified:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
x-cli-version: '2.5'
21 changes: 1 addition & 20 deletions paths/translations/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,26 +44,7 @@ parameters:
in: query
schema:
type: string
- description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:

* `id:translation_id,...` for queries on a comma-separated list of ids
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries
* `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
name: q
in: query
schema:
type: string
- "$ref": "../../parameters.yaml#/translations_q"
responses:
'200':
description: OK
Expand Down
18 changes: 1 addition & 17 deletions paths/translations/index_keys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,7 @@ parameters:
in: query
schema:
type: string
- description: |
Specify a query to find translations by content (including wildcards).

The following qualifiers are supported in the query:

* `id:translation_id,...` for queries on a comma-separated list of ids
* `unverified:{true|false}` for verification status
* `tags:XYZ` for tags on the translation
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
name: q
in: query
schema:
type: string
- "$ref": "../../parameters.yaml#/translations_key_q"
responses:
'200':
description: OK
Expand Down
19 changes: 1 addition & 18 deletions paths/translations/index_locale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ parameters:
in: query
schema:
type: string
- description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
- `id:translation_id,...` for queries on a comma-separated list of ids
- `unverified:{true|false}` for verification status
- `tags:XYZ` for tags on the translation
- `excluded:{true|false}` for exclusion status
- `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
name: q
in: query
schema:
type: string
- "$ref": "../../parameters.yaml#/translations_locale_q"
responses:
'200':
description: OK
Expand Down
17 changes: 1 addition & 16 deletions paths/translations/search.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,5 @@ requestBody:
type: string
example: desc
q:
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:

- `id:translation_id,...` for queries on a comma-separated list of ids
- `tags:XYZ` for tags on the translation
- `unverified:{true|false}` for verification status
- `excluded:{true|false}` for exclusion status
- `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries

Find more examples [here](/en/api/strings/usage-examples).
type: string
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center
"$ref": "../../schemas/translation_query.yaml#/translation_query"
x-cli-version: '2.5'
2 changes: 2 additions & 0 deletions schemas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ schemas:
"$ref": schemas/translation_order.yaml#/translation_order
pre_translation:
"$ref": schemas/pre_translation.yaml#/pre_translation
translation_query:
"$ref": schemas/translation_query.yaml#/translation_query
translation_version:
"$ref": schemas/translation_version.yaml#/translation_version
translation_version_with_user:
Expand Down
22 changes: 22 additions & 0 deletions schemas/translation_query.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
translation_query:
type: string
description: |
Specify a query to find translations by content (including wildcards).

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

The following qualifiers are supported in the query:
* `id:translation_id,...` for queries on a comma-separated list of translation ids
* `key.id:key_id,...` for queries on a comma-separated list of translation key ids
* `key.name:key_name,...` for queries on a comma-separated list of translation key names
* `locale.id:locale_id,...` for queries on a comma-separated list of locale ids
* `locale.name:locale_name,...` for queries on a comma-separated list of locale names
* `tags:XYZ` for tags on the translation
* `unverified:{true|false}` for verification status
* `excluded:{true|false}` for exclusion status
* `updated_at:{>=|<=}2013-02-21T00:00:00Z` for date range queries
* `reviewed_after:2013-02-21T00:00:00Z` for fetching translations that were reviewed after the given timestamp

Find more examples [here](/en/api/strings/usage-examples).
example: PhraseApp*%20unverified:true%20excluded:true%20tags:feature,center

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jablan I think this is valid, adjust the example so its "valid" for each of the usages

Loading