All URIs are relative to https://api.phrase.com/v2
Method | HTTP request | Description |
---|---|---|
GlossaryTermTranslationCreate | Post /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations | Create a translation for a term |
GlossaryTermTranslationDelete | Delete /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Delete a translation for a term |
GlossaryTermTranslationUpdate | Patch /accounts/{account_id}/glossaries/{glossary_id}/terms/{term_id}/translations/{id} | Update a translation for a term |
GlossaryTermTranslation GlossaryTermTranslationCreate(ctx, accountId, glossaryId, termId, glossaryTermTranslationCreateParameters, optional)
Create a translation for a term
Create a new translation for a term in a term base (previously: glossary).
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Account ID | |
glossaryId | string | Glossary ID | |
termId | string | Term ID | |
glossaryTermTranslationCreateParameters | GlossaryTermTranslationCreateParameters | ||
optional | *GlossaryTermTranslationCreateOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GlossaryTermTranslationCreateOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GlossaryTermTranslationDelete(ctx, accountId, glossaryId, termId, id, optional)
Delete a translation for a term
Delete an existing translation of a term in a term base (previously: glossary).
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Account ID | |
glossaryId | string | Glossary ID | |
termId | string | Term ID | |
id | string | ID | |
optional | *GlossaryTermTranslationDeleteOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GlossaryTermTranslationDeleteOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GlossaryTermTranslation GlossaryTermTranslationUpdate(ctx, accountId, glossaryId, termId, id, glossaryTermTranslationUpdateParameters, optional)
Update a translation for a term
Update an existing translation for a term in a term base (previously: glossary).
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
accountId | string | Account ID | |
glossaryId | string | Glossary ID | |
termId | string | Term ID | |
id | string | ID | |
glossaryTermTranslationUpdateParameters | GlossaryTermTranslationUpdateParameters | ||
optional | *GlossaryTermTranslationUpdateOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a GlossaryTermTranslationUpdateOpts struct
Name | Type | Description | Notes |
---|
xPhraseAppOTP | optional.String| Two-Factor-Authentication token (optional) |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]