openapi: 3.2.0 info: title: Translation Audit History Tracking API version: v1 servers: - url: https://rls.congacloud.com security: - Bearer: [] tags: - name: Translation Audit History Tracking paths: /api/audit/v1/translations/locales/{locale}/modules/{module}/keys/{key}/audit-history: get: tags: - Translation Audit History Tracking summary: Retrieves the translation audit history for a specific locale, module, and key. description: Fetches the audit history of translations based on the provided locale, module, key, and translation type. This allows users to track changes made to translations over time for auditing purposes. parameters: - name: locale in: path description: The locale identifier for which to retrieve the translation audit history (e.g., "en-US"). required: true schema: type: string - name: module in: path description: The name of the translation module associated with the translation key. required: true schema: type: string - name: key in: path description: The specific translation key whose audit history is being requested. required: true schema: type: string - name: type in: query description: The translation type to filter the audit history by. This parameter is required and determines the category of translation (e.g., UI, Email, etc.). schema: $ref: '#/components/schemas/TranslationType' responses: '200': description: Success content: application/json: schema: $ref: '#/components/schemas/TranslationHistoryResponseListAPIResponse' '400': description: Bad Request '403': description: Forbidden '500': description: Internal Server Error content: application/json: schema: $ref: '#/components/schemas/StringAPIResponse' example: Success: false Errors: - Message: Internal server error occurred. Please contact admin. StatusCode: OK components: schemas: TranslationHistoryResponseListAPIResponse: type: object properties: Success: type: boolean RecordCount: type: - integer - 'null' format: int64 Data: type: - array - 'null' items: $ref: '#/components/schemas/TranslationHistoryResponse' Errors: type: - array - 'null' items: $ref: '#/components/schemas/ErrorDetail' Profile: type: - string - 'null' TotalTime: type: number format: float StatusCode: $ref: '#/components/schemas/HttpStatusCode' HasMoreRecords: type: - boolean - 'null' NextCursor: type: - string - 'null' Warnings: type: - array - 'null' items: $ref: '#/components/schemas/ErrorDetail' additionalProperties: false LookupObject: type: object properties: Id: type: - string - 'null' Name: type: - string - 'null' additionalProperties: false TranslationType: enum: - String - Schema type: string ErrorDetail: type: object properties: Message: type: - string - 'null' additionalProperties: false TranslationHistoryResponse: type: object properties: Id: type: - string - 'null' EventType: type: - string - 'null' TranslationType: type: - string - 'null' Module: type: - string - 'null' Locale: type: - string - 'null' Key: type: - string - 'null' CreatedBy: $ref: '#/components/schemas/LookupObject' TimeStamp: type: - string - 'null' OldValue: type: - string - 'null' NewValue: type: - string - 'null' ActionType: type: - string - 'null' AutoTranslatedFromLocale: type: - string - 'null' additionalProperties: false StringAPIResponse: type: object properties: Success: type: boolean RecordCount: type: - integer - 'null' format: int64 Data: type: - string - 'null' Errors: type: - array - 'null' items: $ref: '#/components/schemas/ErrorDetail' Profile: type: - string - 'null' TotalTime: type: number format: float StatusCode: $ref: '#/components/schemas/HttpStatusCode' HasMoreRecords: type: - boolean - 'null' NextCursor: type: - string - 'null' Warnings: type: - array - 'null' items: $ref: '#/components/schemas/ErrorDetail' additionalProperties: false HttpStatusCode: enum: - Continue - SwitchingProtocols - Processing - EarlyHints - OK - Created - Accepted - NonAuthoritativeInformation - NoContent - ResetContent - PartialContent - MultiStatus - AlreadyReported - IMUsed - MultipleChoices - MovedPermanently - Found - SeeOther - NotModified - UseProxy - Unused - TemporaryRedirect - PermanentRedirect - BadRequest - Unauthorized - PaymentRequired - Forbidden - NotFound - MethodNotAllowed - NotAcceptable - ProxyAuthenticationRequired - RequestTimeout - Conflict - Gone - LengthRequired - PreconditionFailed - RequestEntityTooLarge - RequestUriTooLong - UnsupportedMediaType - RequestedRangeNotSatisfiable - ExpectationFailed - MisdirectedRequest - UnprocessableEntity - Locked - FailedDependency - UpgradeRequired - PreconditionRequired - TooManyRequests - RequestHeaderFieldsTooLarge - UnavailableForLegalReasons - InternalServerError - NotImplemented - BadGateway - ServiceUnavailable - GatewayTimeout - HttpVersionNotSupported - VariantAlsoNegotiates - InsufficientStorage - LoopDetected - NotExtended - NetworkAuthenticationRequired type: string securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header