> ## 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.

# Return the table version

> This is the API for clients to get a table version without any other
extra information. The server usually can implement this API
effectively. If a client caches information about a shared table
locally, it can store the table version and use this cheap API to
quickly check whether their cache is stale and they should re-fetch the
data.




## OpenAPI

````yaml openapi/delta-sharing-v0-2.yaml GET /shares/{share}/schemas/{schema}/tables/{table}/version
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/{table}/version:
    get:
      tags:
        - tables
        - official
      summary: Return the table version
      description: |
        This is the API for clients to get a table version without any other
        extra information. The server usually can implement this API
        effectively. If a client caches information about a shared table
        locally, it can store the table version and use this cheap API to
        quickly check whether their cache is stale and they should re-fetch the
        data.
      operationId: GetTableVersion
      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 finding the named table
          schema:
            type: string
        - in: path
          name: table
          required: true
          description: Named table
          schema:
            type: string
        - in: query
          name: startingTimestamp
          required: false
          description: Starting Timestamp
          schema:
            type: string
      responses:
        '200':
          description: The table was found and has a version
          headers:
            Delta-Table-Version:
              description: A long value which represents the current table version
              schema:
                type: integer
        '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:
  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'
  schemas:
    CommonErrorResponse:
      type: object
      properties:
        errorCode:
          type: string
        message:
          type: string

````