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

# get the metadata of a share



## OpenAPI

````yaml openapi/delta-sharing-v0-2.yaml GET /shares/{share}
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}:
    get:
      tags:
        - shares
        - official
      summary: get the metadata of a share
      operationId: GetShare
      parameters:
        - in: path
          name: share
          required: true
          description: Named share
          schema:
            type: string
      responses:
        '200':
          description: The share's metadata was successfully returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Share'
        '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:
    Share:
      type: object
      required:
        - name
      properties:
        name:
          type: string
          example: vaccine_share
        id:
          type: string
          example: edacc4a7-6600-4fbb-85f3-a62a5ce6761f
    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'

````