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

# List the tables in a given share's schema



## OpenAPI

````yaml openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables
openapi: 3.0.2
info:
  description: |
    The Delta Sharing protocol is still very early in its development.
  version: '0.2'
  title: Delta Sharing Protocol
  license:
    name: AGPL v3.0
    url: https://www.gnu.org/licenses/agpl-3.0.en.html
servers:
  - url: http://localhost:8000/api/v1
    description: Local dev server (APIv1)
  - url: https://sharing.delta.io/delta-sharing/
    description: Demo Delta Sharing server
security: []
tags:
  - name: shares
    description: Share discovery APIs
  - name: schemas
    description: Schema discovery APIs
  - name: tables
    description: Table query and inspection APIs
  - name: official
    description: APIs which are part of published official document
  - name: proposed
    description: APIs which are part proposed and may or may not be part of official
paths:
  /shares/{share}/schemas/{schema}/tables:
    get:
      tags:
        - schemas
        - official
      summary: List the tables in a given share's schema
      operationId: ListTables
      parameters:
        - in: path
          name: share
          required: true
          description: Named share for finding the named schema
          schema:
            type: string
        - in: path
          name: schema
          required: true
          description: Named schema for listing tables
          schema:
            type: string
        - in: query
          name: maxResults
          required: false
          description: |
            The maximum number of results to be returned in a single page. If
            the number of potential results exceeds the number of maximum
            results, the response will contain a `nextpageToken` which can be
            used in subsequent requests.
          example: '30'
          schema:
            type: number
            format: int32
            default: 500
        - in: query
          name: pageToken
          required: false
          description: >-
            Optionally provided page token for requesting a subsequent page of
            results
          schema:
            type: string
      responses:
        '200':
          description: >
            The user could successfully list the tables for the given schema in
            the given share
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTablesResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
components:
  schemas:
    ListTablesResponse:
      type: object
      required:
        - nextPageToken
      properties:
        nextPageToken:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/Table'
    Table:
      type: object
      properties:
        name:
          type: string
          example: vaccine_ingredients
        share:
          type: string
          example: vaccine_share
        schema:
          type: string
          example: acme_vaccine_data
    CommonErrorResponse:
      type: object
      properties:
        errorCode:
          type: string
        message:
          type: string
  responses:
    '400':
      description: The request is malformed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'
    '401':
      description: The request is unauthenticated. The bearer token is missing or incorrect
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'
    '403':
      description: The request is forbidden from being fulfilled
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'
    '404':
      description: The specified resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'
    '500':
      description: The request is not handled correctly due to a server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/CommonErrorResponse'

````