> ## Documentation Index
> Fetch the complete documentation index at: https://www.octoparse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Batch-fetch card-level translations for one locale

> Catalog-page hydration: for up to 100 app_ids and one locale,
return the card-level entries (identity.name / identity.summary /
discovery.boundary / discovery.keywords / pricing.events.<event>.label)
of apps that are visible to the caller **and** carry that locale.
Everything else is simply absent from `items` (no error). Readme,
schemas and knowledge are never included here — read
GET /data-apps/{ref}/translations/{locale} for the full overlay.
The engine does no language negotiation: pick the locale on the
consuming side (each card already carries `source_locale`).



## OpenAPI

````yaml /jp/datahub/api/openapi.json post /v1/data-apps/translations/lookup
openapi: 3.1.0
info:
  title: DataHub API
  version: 0.2.0
  description: Public /v1 contract of Octoparse DataHub. Internal channels are excluded.
servers:
  - url: https://api-datahub.octoparse.com
security:
  - bearerAuth: []
tags:
  - name: Discovery
    description: >-
      Anonymous access: platform metadata (currency), data app search, detail
      and input contract, machine-readable manifest spec.
  - name: Publishing
    description: >-
      Self-service publishing channel (API Key auth), two-phase: validate first
      (validate / package, nothing persisted), then publish (POST /data-apps,
      the submission goes live as a new Release). api kind (declarative
      integration) becomes visible on publish; code kind (code package) returns
      202 and enters an async image build; once ready it is promoted to a
      Release, visible and runnable. Poll progress via GET
      /data-apps/{ref}/builds.
  - name: Runs & Results
    description: >-
      Start / query / cancel runs and read result records with pagination.
      Business inputs go in the request body; platform run options (wait,
      max_records) go in query parameters.
  - name: Datasets
    description: >-
      Metadata and record access for platform datasets (including seeded stock
      data).
  - name: Account
    description: Account info and cumulative usage for the current API Key.
  - name: Secrets
    description: >-
      CRUD for upstream credentials (environment entries referenced by manifest
      `runtime.env`). Plaintext is write-only: every read returns a mask.
paths:
  /v1/data-apps/translations/lookup:
    post:
      tags:
        - Discovery
      summary: Batch-fetch card-level translations for one locale
      description: |-
        Catalog-page hydration: for up to 100 app_ids and one locale,
        return the card-level entries (identity.name / identity.summary /
        discovery.boundary / discovery.keywords / pricing.events.<event>.label)
        of apps that are visible to the caller **and** carry that locale.
        Everything else is simply absent from `items` (no error). Readme,
        schemas and knowledge are never included here — read
        GET /data-apps/{ref}/translations/{locale} for the full overlay.
        The engine does no language negotiation: pick the locale on the
        consuming side (each card already carries `source_locale`).
      operationId: lookup_translations_v1_data_apps_translations_lookup_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TranslationLookupRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataEnvelope_TranslationLookupResult_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    TranslationLookupRequest:
      properties:
        app_ids:
          items:
            type: string
          type: array
          maxItems: 100
          minItems: 1
          title: App Ids
        locale:
          type: string
          title: Locale
      type: object
      required:
        - app_ids
        - locale
      title: TranslationLookupRequest
      description: |-
        POST translations/lookup request body: up to 100 app_ids and one
        locale; the response only carries card-level paths (identity.name /
        identity.summary / discovery.boundary / discovery.keywords /
        pricing.events.<event>.label) so a catalog page can hydrate cards in one
        call without pulling readmes or schemas.
    DataEnvelope_TranslationLookupResult_:
      properties:
        data:
          $ref: '#/components/schemas/TranslationLookupResult'
      type: object
      required:
        - data
      title: DataEnvelope[TranslationLookupResult]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    TranslationLookupResult:
      properties:
        items:
          additionalProperties:
            $ref: '#/components/schemas/TranslationLookupItem'
          type: object
          title: Items
      type: object
      title: TranslationLookupResult
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TranslationLookupItem:
      properties:
        origin:
          type: string
          enum:
            - author
            - platform
          title: Origin
        entries:
          additionalProperties: true
          type: object
          title: Entries
      type: object
      required:
        - origin
      title: TranslationLookupItem
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: DataHub API Key

````