curl -X GET "https://api-integration.ollang.com/integration/memories" \
-H "X-Api-Key: <your-api-key>"
const response = await fetch(
"https://api-integration.ollang.com/integration/memories",
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
},
);
const memories = await response.json();
import requests
headers = {"X-Api-Key": "<your-api-key>"}
response = requests.get(
"https://api-integration.ollang.com/integration/memories",
headers=headers,
)
memories = response.json()
[
{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2023-10-05T12:34:56.789Z"
}
]
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
Memories and instructions
List Memories
Retrieve all translation memories on your account
GET
/
integration
/
memories
curl -X GET "https://api-integration.ollang.com/integration/memories" \
-H "X-Api-Key: <your-api-key>"
const response = await fetch(
"https://api-integration.ollang.com/integration/memories",
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
},
);
const memories = await response.json();
import requests
headers = {"X-Api-Key": "<your-api-key>"}
response = requests.get(
"https://api-integration.ollang.com/integration/memories",
headers=headers,
)
memories = response.json()
[
{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2023-10-05T12:34:56.789Z"
}
]
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
Retrieve every translation memory owned by your API key’s account. Ids from this list can be passed as
selectedMemories when creating an order, or used with the memory management endpoints for updates, deletes, and imports.
curl -X GET "https://api-integration.ollang.com/integration/memories" \
-H "X-Api-Key: <your-api-key>"
const response = await fetch(
"https://api-integration.ollang.com/integration/memories",
{
method: "GET",
headers: {
"X-Api-Key": "<your-api-key>",
},
},
);
const memories = await response.json();
import requests
headers = {"X-Api-Key": "<your-api-key>"}
response = requests.get(
"https://api-integration.ollang.com/integration/memories",
headers=headers,
)
memories = response.json()
Authorizations
This endpoint requires API key authentication.- Header name:
X-Api-Key - Header value: Your API key from the Ollang dashboard
Response
Returns an array of translation memory objects.Number of translation units stored in the memory. A memory can hold several
language pairs; matches are resolved per target language at translation time.
[
{
"id": "507f1f77bcf86cd799439011",
"title": "Product documentation EN→FR",
"memoryItemsCount": 12480,
"createdAt": "2023-10-05T12:34:56.789Z",
"updatedAt": "2023-10-05T12:34:56.789Z"
}
]
{
"code": -4,
"error": "UnauthorizedException",
"message": "API Key is missing",
"errorData": "UnauthorizedException"
}
Was this page helpful?