Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ITranslations

Hierarchy

  • ITranslations

Implemented by

Index

Methods

Methods

get

  • get(projectId: string, translationId: number): Promise<object>
  • description

    Retrieves a Translation object.

    memberof

    ITranslations

    Parameters

    • projectId: string
    • translationId: number

    Returns Promise<object>

    }

list

  • list(projectId: string, query?: IPage): Promise<object>
  • description

    Retrieves a list of project translation items, ungrouped. You may want to request Keys resource in order to get the structured key/translation pairs for all languages.

    memberof

    ITranslations

    Parameters

    • projectId: string
    • Optional query: IPage

    Returns Promise<object>

    }

update

  • update(projectId: string, translationId: number, body: object): Promise<object>
  • description

    Updates a translation. Alternatively, use Bulk key update endpoint to update translations.

    memberof

    ITranslations

    Parameters

    • projectId: string
    • translationId: number
    • body: object

    Returns Promise<object>

    }

Generated using TypeDoc