Search terms in text
curl --request POST \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"reverse": true,
"zeroLengthSeparator": "<string>"
}
'{
"searchResults": [
{
"concept": {
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"definition": "<string>",
"domain": "<string>",
"id": "<string>",
"note": "<string>",
"subDomains": [
"<string>"
],
"url": "<string>"
},
"matches": [
{
"beginIndex": 123,
"text": "<string>"
}
],
"sourceTerm": {
"text": "<string>",
"caseSensitive": true,
"conceptId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"exactMatch": true,
"forbidden": true,
"id": "<string>",
"lang": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"note": "<string>",
"preferred": true,
"rtl": true,
"shortTranslation": "<string>",
"usage": "<string>",
"writable": true
},
"subTerm": true,
"termBase": {
"id": 123,
"name": "<string>",
"readonly": true,
"sourceUrl": "<string>",
"uid": "<string>"
},
"translationTerms": [
{
"text": "<string>",
"caseSensitive": true,
"conceptId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"exactMatch": true,
"forbidden": true,
"id": "<string>",
"lang": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"note": "<string>",
"preferred": true,
"rtl": true,
"shortTranslation": "<string>",
"usage": "<string>",
"writable": true
}
]
}
]
}Term Base
Search terms in text
Search in text in all read term bases assigned to the job
POST
/
api2
/
v2
/
projects
/
{projectUid}
/
jobs
/
{jobUid}
/
termBases
/
searchInTextByJob
Search terms in text
curl --request POST \
--url https://cloud.memsource.com/web/api2/v2/projects/{projectUid}/jobs/{jobUid}/termBases/searchInTextByJob \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"reverse": true,
"zeroLengthSeparator": "<string>"
}
'{
"searchResults": [
{
"concept": {
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"definition": "<string>",
"domain": "<string>",
"id": "<string>",
"note": "<string>",
"subDomains": [
"<string>"
],
"url": "<string>"
},
"matches": [
{
"beginIndex": 123,
"text": "<string>"
}
],
"sourceTerm": {
"text": "<string>",
"caseSensitive": true,
"conceptId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"exactMatch": true,
"forbidden": true,
"id": "<string>",
"lang": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"note": "<string>",
"preferred": true,
"rtl": true,
"shortTranslation": "<string>",
"usage": "<string>",
"writable": true
},
"subTerm": true,
"termBase": {
"id": 123,
"name": "<string>",
"readonly": true,
"sourceUrl": "<string>",
"uid": "<string>"
},
"translationTerms": [
{
"text": "<string>",
"caseSensitive": true,
"conceptId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"customFields": [
{
"fieldName": "<string>",
"value": {}
}
],
"exactMatch": true,
"forbidden": true,
"id": "<string>",
"lang": "<string>",
"modifiedAt": "2023-11-07T05:31:56Z",
"modifiedBy": {
"email": "<string>",
"firstName": "<string>",
"id": "<string>",
"lastName": "<string>",
"uid": "<string>",
"userName": "<string>"
},
"note": "<string>",
"preferred": true,
"rtl": true,
"shortTranslation": "<string>",
"usage": "<string>",
"writable": true
}
]
}
]
}Documentation Index
Fetch the complete documentation index at: https://developers.phrase.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
ApiTokenOAuth2
Get a token from auth/login endpoint and then pass it in the Authorization HTTP header in every subsequent API call. For more information visit our help center.
Response
successful operation
Show child attributes
Show child attributes
Was this page helpful?
⌘I