Skip to content

RegisterTable

Description

      description: |
        Register an existing table at a given storage location as `id`.

Request Schema

    RegisterTableRequest:
      type: object
      required:
        - location
      properties:
        id:
          type: array
          items:
            type: string
        location:
          type: string
        mode:
          type: string
          description: |
            There are two modes when trying to register a table,
            to differentiate the behavior when a table of the same name already exists:
              * CREATE (default): the operation fails with 409.
              * OVERWRITE: the existing table registration is replaced with the new registration.
          enum:
            - CREATE
            - OVERWRITE
        properties:
          type: object
          additionalProperties:
            type: string

Response Schema

    RegisterTableResponse:
      type: object
      required:
        - location
      properties:
        location:
          type: string
        properties:
          type: object
          additionalProperties:
            type: string