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

# Push Link Github Token

> Reference for merged 0.6.0 source. The latest verified binary release is 0.5.5; use your Engine’s /api/openapi.json for its installed contract.



## OpenAPI

````yaml /engine/openapi.json put /api/link/github-token
openapi: 3.1.0
info:
  title: nerditd
  version: 0.6.0
  description: >-
    Current source interface (0.6.0); verify your installed Engine version. This
    is not a claim that 0.6.0 is released.
servers:
  - url: http://127.0.0.1:9321
    description: Default local Engine; use your configured endpoint.
security: []
paths:
  /api/link/github-token:
    put:
      tags:
        - Link
      summary: Push Link Github Token
      description: >-
        Reference for merged 0.6.0 source. The latest verified binary release is
        0.5.5; use your Engine’s /api/openapi.json for its installed contract.
      operationId: push_link_github_token
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GithubTokenPushRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GithubTokenPushView'
          description: HTTP 200 response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: HTTP 422 response
components:
  schemas:
    GithubTokenPushRequest:
      properties:
        installation_id:
          type: integer
          minimum: 1
          title: Installation Id
        token:
          type: string
          maxLength: 4096
          minLength: 1
          title: Token
        expires_at:
          type: string
          format: date-time
          title: Expires At
        issued_at:
          type: string
          format: date-time
          title: Issued At
        repos:
          items:
            type: string
          type: array
          title: Repos
      additionalProperties: false
      type: object
      required:
        - installation_id
        - token
        - expires_at
        - issued_at
        - repos
      title: GithubTokenPushRequest
    GithubTokenPushView:
      properties:
        applied:
          type: boolean
          title: Applied
        installation_id:
          type: integer
          title: Installation Id
        expires_at:
          type: string
          format: date-time
          title: Expires At
        repos_count:
          type: integer
          title: Repos Count
      type: object
      required:
        - applied
        - installation_id
        - expires_at
        - repos_count
      title: GithubTokenPushView
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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

````