v2

latestOpenAPI 3.0.02026-08-07103189636.5 KB
Content Search

Search strings

Search for strings in your project using GraphQL.

Example Query:

  query Search($searchStringsFilter: SearchStringsFilter!) {
    searchStrings(searchStringsFilter: $searchStringsFilter) {
      content {
        source {
          hashcode
        }
        translations {
          translationForms {
            translationText
            pluralForm
          }
        }
      }
      totalCount
      totalWordCount
      __typename
    }
  }
post/strings-view-service-graphql-api/v2/projects/{projectId}/graphql

Path parameters

projectIdstring uuid required

Response

OK

Example response

{
  "data": {
    "searchStrings": {
      "content": [
        {
          "source": {
            "hashcode": "0214054db2146bef256852cd0d27f936"
          },
          "translations": [
            {
              "translationForms": [
                {
                  "translationText": "El rápido zorro marrón salta sobre el perro perezoso.",
                  "pluralForm": "ONE"
                }
              ]
            }
          ]
        }
      ],
      "totalCount": 198,
      "totalWordCount": 644,
      "__typename": "StringGroup"
    }
  }
}