API-CLI

 view release on metacpan or  search on metacpan

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

          description: OK
          schema:
            $ref: '#/definitions/hook'
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
    patch:
      description: Edit a hook.
      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: Id of hook.
          in: path
          name: hookId
          required: true
          type: integer
        - 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/hookBody'
      responses:
        '200':
          description: OK
          schema:
            $ref: '#/definitions/hook'
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
  '/repos/{owner}/{repo}/hooks/{hookId}/tests':
    post:
      description: |
        Test a push hook.
        This will trigger the hook with the latest push to the current repository
        if the hook is subscribed to push events. If the hook is not subscribed
        to push events, the server will respond with 204 but no test POST will
        be generated.
        Note: Previously /repos/:owner/:repo/hooks/:id/tes
      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: Id of hook.
          in: path
          name: hookId
          required: true
          type: integer
        - 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:
        '204':
          description: Hook is triggered.
        '403':
          description: |
            API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
            for details.
  '/repos/{owner}/{repo}/issues':
    get:
      description: List issues for a repository.
      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

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

        type: string
    type: object
  milestoneUpdate:
    properties:
      description:
        type: string
      due_on:
        type: string
      state:
        type: string
      title:
        type: string
    type: object
  notificationMarkRead:
    properties:
      last_read_at:
        type: string
    type: object
  notifications:
    properties:
      id:
        type: integer
      last_read_at:
        type: string
      reason:
        type: string
      repository:
        properties:
          description:
            type: string
          fork:
            type: boolean
          full_name:
            type: string
          html_url:
            type: string
          id:
            type: integer
          name:
            type: string
          owner:
            properties:
              avatar_url:
                type: string
              gravatar_id:
                type: string
              id:
                type: integer
              login:
                type: string
              url:
                type: string
            type: object
          private:
            type: boolean
          url:
            type: string
        type: object
      subject:
        properties:
          latest_comment_url:
            type: string
          title:
            type: string
          type:
            type: string
          url:
            type: string
        type: object
      unread:
        type: boolean
      updated_at:
        type: string
      url:
        type: string
    type: object
  orgMembers:
    items:
      properties:
        avatar_url:
          type: string
        gravatar_id:
          type: string
        id:
          type: integer
        login:
          type: string
        url:
          type: string
      type: object
    type: array
  orgPublicMembers:
    items:
      properties:
        avatar_url:
          type: string
        gravatar_id:
          type: string
        id:
          type: integer
        login:
          type: string
        url:
          type: string
      type: object
    type: array
  orgTeams:
    items:
      properties:
        id:
          type: integer
        name:
          type: string
        url:
          type: string
      type: object
    type: array
  orgTeamsPost:
    properties:
      name:
        type: string



( run in 1.198 second using v1.01-cache-2.11-cpan-6b5c3043376 )