API-CLI

 view release on metacpan or  search on metacpan

examples/githubcl-openapi.yaml  view on Meta::CPAN

          schema:
            $ref: '#/definitions/fork'
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
  '/repos/{owner}/{repo}/git/blobs':
    post:
      description: Create a Blob.
      parameters:
        - description: Name of repository owner.
          in: path
          name: owner
          required: true
          type: string
        - description: Name of repository.
          in: path
          name: repo
          required: true
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header
          name: X-GitHub-Media-Type
          type: string
        - description: Is used to set specified media type.
          in: header
          name: Accept
          type: string
        - in: header
          name: X-RateLimit-Limit
          type: integer
        - in: header
          name: X-RateLimit-Remaining
          type: integer
        - in: header
          name: X-RateLimit-Reset
          type: integer
        - in: header
          name: X-GitHub-Request-Id
          type: integer
        - in: body
          name: body
          required: true
          schema:
            $ref: '#/definitions/blob'
      responses:
        '201':
          description: Created
          schema:
            $ref: '#/definitions/blobs'
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
  '/repos/{owner}/{repo}/git/blobs/{shaCode}':
    get:
      description: |
        Get a Blob.
        Since blobs can be any arbitrary binary data, the input and responses for
        the blob API takes an encoding parameter that can be either utf-8 or
        base64. If your data cannot be losslessly sent as a UTF-8 string, you can
        base64 encode it.
      parameters:
        - description: Name of repository owner.
          in: path
          name: owner
          required: true
          type: string
        - description: Name of repository.
          in: path
          name: repo
          required: true
          type: string
        - description: SHA-1 code.
          in: path
          name: shaCode
          required: true
          type: string
        - description: |
            You can check the current version of media type in responses.
          in: header
          name: X-GitHub-Media-Type
          type: string
        - description: Is used to set specified media type.
          in: header
          name: Accept
          type: string
        - in: header
          name: X-RateLimit-Limit
          type: integer
        - in: header
          name: X-RateLimit-Remaining
          type: integer
        - in: header
          name: X-RateLimit-Reset
          type: integer
        - in: header
          name: X-GitHub-Request-Id
          type: integer
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/blob'
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
  '/repos/{owner}/{repo}/git/commits':
    post:
      description: Create a Commit.
      parameters:
        - description: Name of repository owner.
          in: path
          name: owner
          required: true
          type: string
        - description: Name of repository.
          in: path
          name: repo

examples/githubcl-openapi.yaml  view on Meta::CPAN

        uploader:
          properties:
            avatar_url:
              type: string
            events_url:
              type: string
            followers_url:
              type: string
            following_url:
              type: string
            gists_url:
              type: string
            gravatar_id:
              type: string
            html_url:
              type: string
            id:
              type: number
            login:
              type: string
            organizations_url:
              type: string
            received_events_url:
              type: string
            repos_url:
              type: string
            site_admin:
              type: boolean
            starred_url:
              type: string
            subscriptions_url:
              type: string
            type:
              type: string
            url:
              type: string
          type: object
        url:
          type: string
      type: object
    type: array
  assignees:
    items:
      properties:
        avatar_url:
          type: integer
        gravatar_id:
          type: string
        id:
          type: integer
        login:
          type: string
        url:
          type: string
      type: object
    type: array
  blob:
    properties:
      content:
        type: string
      encoding:
        enum:
          - utf-8
          - base64
      sha:
        type: string
      size:
        type: integer
    type: object
  blobs:
    properties:
      sha:
        type: string
    type: object
  branch:
    properties:
      _links:
        properties:
          html:
            type: string
          self:
            type: string
        type: object
      commit:
        properties:
          author:
            properties:
              avatar_url:
                type: string
              gravatar_id:
                type: string
              id:
                type: integer
              login:
                type: string
              url:
                type: string
            type: object
          commit:
            properties:
              author:
                properties:
                  date:
                    description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
                    type: string
                  email:
                    type: string
                  name:
                    type: string
              committer:
                properties:
                  date:
                    description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
                    type: string
                  email:
                    type: string
                  name:
                    type: string
                type: object
              message:
                type: string

examples/githubcl-openapi.yaml  view on Meta::CPAN

              type: array
            sha:
              type: string
            url:
              type: string
          type: object
        type: array
      diff_url:
        type: string
      files:
        items:
          properties:
            additions:
              type: integer
            blob_url:
              type: string
            changes:
              type: integer
            contents_url:
              type: string
            deletions:
              type: integer
            filename:
              type: string
            patch:
              type: string
            raw_url:
              type: string
            sha:
              type: string
            status:
              type: string
          type: object
        type: array
      html_url:
        type: string
      patch_url:
        type: string
      permalink_url:
        type: string
      status:
        type: string
      total_commits:
        type: integer
      url:
        type: string
    type: object
  contents-path:
    properties:
      _links:
        properties:
          git:
            type: string
          html:
            type: string
          self:
            type: string
        type: object
      content:
        type: string
      encoding:
        type: string
      git_url:
        type: string
      html_url:
        type: string
      name:
        type: string
      path:
        type: string
      sha:
        type: string
      size:
        type: integer
      type:
        type: string
      url:
        type: string
    type: object
  contributors:
    items:
      properties:
        avatar_url:
          type: string
        contributions:
          type: integer
        gravatar_id:
          type: string
        id:
          type: integer
        login:
          type: string
        url:
          type: string
      type: object
    type: array
  contributorsStats:
    items:
      properties:
        author:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
        total:
          description: The Total number of commits authored by the contributor.
          type: integer
        weeks:
          items:
            properties:
              a:
                description: Number of additions.
                type: integer

examples/githubcl-openapi.yaml  view on Meta::CPAN

              type: string
            url:
              type: string
          type: object
      type: object
    type: array
  pullsPost:
    properties:
      base:
        type: string
      body:
        type: string
      head:
        type: string
      title:
        type: string
    type: object
  punchCardStats:
    items:
      type: integer
    type: array
  putSubscription:
    properties:
      created_at:
        type: string
      ignored:
        type: boolean
      reason:
        type: object
      subscribed:
        type: boolean
      thread_url:
        type: string
      url:
        type: string
    type: object
  rate_limit:
    properties:
      rate:
        properties:
          limit:
            type: integer
          remaining:
            type: integer
          reset:
            type: integer
    type: object
  readme:
    properties:
      _links:
        properties:
          git:
            type: string
          html:
            type: string
          self:
            type: string
        type: object
      content:
        type: string
      encoding:
        type: string
      git_url:
        type: string
      html_url:
        type: string
      name:
        type: string
      path:
        type: string
      sha:
        type: string
      size:
        type: integer
      type:
        type: string
      url:
        type: string
    type: object
  ref:
    items:
      properties:
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        creator:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
        description:
          type: string
        id:
          type: integer
        state:
          type: string
        target_url:
          type: string
        updated_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        url:
          type: string
      type: object
    type: array
  refBody:
    properties:
      object:
        properties:
          sha:
            type: string
          type:
            type: string



( run in 2.866 seconds using v1.01-cache-2.11-cpan-4991d5b9bd9 )