API-CLI

 view release on metacpan or  search on metacpan

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

              - closed
            title:
              type: string
            updated_at:
              description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
              type: string
            url:
              type: string
            user:
              properties:
                avatar_url:
                  type: string
                gravatar_id:
                  type: string
                id:
                  type: integer
                login:
                  type: string
                url:
                  type: string
              type: object
          type: object
        url:
          type: string
      type: object
    events:
      properties:
        actor:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
        created_at:
          type: object
        id:
          type: integer
        org:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
        payload:
          properties: {}
          type: object
        public:
          type: boolean
        repo:
          properties:
            id:
              type: integer
            name:
              type: string
            url:
              type: string
          type: object
        type:
          type: string
      type: object
    feeds:
      properties:
        _links:
          properties:
            current_user:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
            current_user_actor:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
            current_user_organization:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
            current_user_public:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
            timeline:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
            user:
              properties:
                href:
                  type: string
                type:
                  type: string
              type: object
        current_user_actor_url:
          type: string
        current_user_organization_url:
          type: string
        current_user_public:
          type: string
        current_user_url:
          type: string
        timeline_url:
          type: string
        user_url:
          type: string
      type: object
    fork:
      properties:
        clone_url:
          type: string
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        description:
          type: string
        fork:
          type: boolean
        forks:
          type: integer
        forks_count:
          type: integer
        full_name:
          type: string
        git_url:
          type: string
        homepage:
          type: string
        html_url:
          type: string
        id:
          type: integer
        language:
          type: string
        master_branch:
          type: string
        mirror_url:
          type: string
        name:
          type: string
        open_issues:
          type: integer
        open_issues_count:
          type: integer
        owner:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
        private:
          type: boolean

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

                type: string
              url:
                type: string
              user:
                properties:
                  avatar_url:
                    type: string
                  gravatar_id:
                    type: string
                  id:
                    type: integer
                  login:
                    type: string
                  url:
                    type: string
                type: object
            type: object
          type: array
        git_pull_url:
          type: string
        git_push_url:
          type: string
        history:
          items:
            properties:
              change_status:
                properties:
                  additions:
                    type: integer
                  deletions:
                    type: integer
                  total:
                    type: integer
                type: object
              committed_at:
                description: 'Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.'
                type: string
              url:
                type: string
              user:
                properties:
                  avatar_url:
                    type: string
                  gravatar_id:
                    type: string
                  id:
                    type: integer
                  login:
                    type: string
                  url:
                    type: string
                type: object
              version:
                type: string
            type: object
          type: array
        html_url:
          type: string
        id:
          type: string
        public:
          type: boolean
        url:
          type: string
        user:
          properties:
            avatar_url:
              type: string
            gravatar_id:
              type: string
            id:
              type: integer
            login:
              type: string
            url:
              type: string
          type: object
      type: object
    gists:
      items:
        properties:
          comments:
            type: integer
          comments_url:
            type: string
          created_at:
            type: string
          description:
            type: string
          files:
            properties:
              ring.erl:
                properties:
                  filename:
                    type: string
                  raw_url:
                    type: string
                  size:
                    type: integer
                type: object
            type: object
          git_pull_url:
            type: string
          git_push_url:
            type: string
          html_url:
            type: string
          id:
            type: string
          public:
            type: boolean
          url:
            type: string
          user:
            properties:
              avatar_url:
                type: string
              gravatar_id:
                type: string
              id:
                type: integer
              login:
                type: string
              url:
                type: string
            type: object
        type: object
      type: array
    gitCommit:
      properties:
        author:
          properties:
            date:
              type: string
            email:
              type: string
            name:
              type: string
          type: object
        message:
          type: string
        parents:
          type: string
        tree:
          type: string
      type: object
    gitRefPatch:
      properties:
        force:
          type: boolean
        sha:
          type: string
      type: object
    gitignore:
      items: {}
      type: array
    gitignore-lang:
      properties:
        name:
          type: string
        source:
          type: string
      type: object
    headBranch:
      properties:
        object:
          properties:
            sha:
              type: string
            type:

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

          description: Boolean indicating whether to force the update or to make sure
            the update is a fast-forward update. The default is false, so leaving
            this out or setting it to false will make sure you’re not overwriting
            work.
          type: boolean
        sha:
          description: String of the SHA1 value to set this reference to.
          type: string
      required:
      - sha
      - force
      type: object
    heads:
      items:
        properties:
          commit:
            properties:
              sha:
                type: string
              url:
                type: string
            type: object
          name:
            type: string
          tarball_url:
            type: string
          zipball_url:
            type: string
        type: object
      type: array
    hook:
      items:
        properties:
          active:
            type: boolean
          config:
            properties:
              content_type:
                type: string
              url:
                type: string
            type: object
          created_at:
            description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
            type: string
          events:
            items:
              enum:
              - push
              - issues
              - issue_comment
              - commit_comment
              - pull_request
              - pull_request_review_comment
              - gollum
              - watch
              - download
              - fork
              - fork_apply
              - member
              - public
              - team_add
              - status
            type: array
          id:
            type: integer
          name:
            type: string
          updated_at:
            description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
            type: string
          url:
            type: string
        type: object
      type: array
    hookBody:
      properties:
        active:
          type: boolean
        add_events:
          items:
            type: string
          type: array
      type: object
    issue:
      properties:
        assignee:
          type: string
        body:
          type: string
        labels:
          items:
            type: string
          type: array
        milestone:
          type: number
        title:
          type: string
      type: object
    issueBody:
      properties:
        assignee:
          type: string
        body:
          type: string
        labels:
          items:
            type: string
          type: array
        milestone:
          type: number
        title:
          type: string
      type: object
    issues:
      items:
        properties:
          assignee:
            properties:
              avatar_url:
                type: string

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

          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
        permission:
          enum:
          - pull
          - push
          - admin
        repo_names:
          items:
            type: string
          type: array
      required:
      - name
      type: object
    organization:
      properties:
        avatar_url:
          type: string
        blog:
          type: string
        company:
          type: string
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        email:
          type: string
        followers:
          type: integer
        following:
          type: integer
        html_url:
          type: string
        id:
          type: integer
        location:
          type: string
        login:
          type: string
        name:
          type: string
        public_gists:
          type: integer
        public_repos:
          type: integer
        type:
          type: string
        url:
          type: string
      type: object
    organizationAsTeamMember:
      properties:
        errors:
          items:
            properties:
              code:
                type: string
              field:
                type: string
              resource:
                type: string
            type: object
          type: array
        message:
          type: string
      type: object
    participationStats:
      properties:
        all:
          items:
            type: integer
          type: array
        owner:
          items:
            type: integer
          type: array
      type: object
    patchGist:
      properties:
        description:
          type: string
        files:
          properties:
            delete_this_file.txt:
              type: string
            file1.txt:
              properties:
                content:
                  type: string
              type: object
            new_file.txt:
              properties:
                content:
                  type: string
              type: object
            old_name.txt:
              properties:
                content:
                  type: string
                filename:
                  type: string
              type: object
      type: object
    patchOrg:
      properties:
        billing_email:
          description: Billing email address. This address is not publicized.
          type: string
        company:
          type: string
        email:
          description: Publicly visible email address.
          type: string
        location:
          type: string
        name:
          type: string
      type: object
    postComment:
      properties:
        body:
          type: string
      required:
      - body
      type: object
    postGist:
      properties:
        description:
          type: string
        files:
          properties:
            file1.txt:
              properties:
                content:
                  type: string
              type: object
          type: object
        public:
          type: boolean
      type: object
    postRepo:
      properties:
        auto_init:
          description: True to create an initial commit with empty README. Default
            is false.
          type: boolean
        description:
          type: string
        gitignore_template:
          description: 'Desired language or platform .gitignore template to apply.
            Use the name of the template without the extension. For example, "Haskell"
            Ignored if auto_init parameter is not provided. '
          type: string
        has_downloads:
          description: True to enable downloads for this repository, false to disable
            them. Default is true.
          type: boolean
        has_issues:
          description: True to enable issues for this repository, false to disable
            them. Default is true.
          type: boolean
        has_wiki:
          description: True to enable the wiki for this repository, false to disable
            it. Default is true.
          type: boolean
        homepage:
          type: string
        name:
          type: string
        private:
          description: True to create a private repository, false to create a public
            one. Creating private repositories requires a paid GitHub account.
          type: boolean
        team_id:
          description: The id of the team that will be granted access to this repository.
            This is only valid when creating a repo in an organization.
          type: integer
      required:
      - name
      type: object
    pullRequest:
      properties:
        _links:
          properties:
            comments:
              properties:
                href:
                  type: string
              type: object
            html:
              properties:
                href:
                  type: string
              type: object
            review_comments:
              properties:
                href:
                  type: string
              type: object
            self:
              properties:
                href:
                  type: string
              type: object
          type: object
        additions:
          type: integer
        base:
          properties:
            label:
              type: string
            ref:
              type: string
            repo:
              properties:
                clone_url:
                  type: string
                created_at:
                  type: string
                description:
                  type: string
                fork:
                  type: boolean
                forks:
                  type: integer
                forks_count:
                  type: integer
                full_name:
                  type: string
                git_url:
                  type: string

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

                type: boolean
              homepage:
                type: string
              language:
                type: string
              name:
                type: string
              open_issues:
                type: integer
              owner:
                type: string
              private:
                type: boolean
              pushed:
                type: string
              pushed_at:
                type: string
              score:
                type: number
              size:
                type: integer
              type:
                type: string
              url:
                type: string
              username:
                type: string
              watchers:
                type: integer
            type: object
          type: array
      type: object
    search-user-by-email:
      properties:
        user:
          properties:
            blog:
              type: string
            company:
              type: string
            created:
              type: string
            created_at:
              type: string
            email:
              type: string
            followers_count:
              type: integer
            following_count:
              type: integer
            gravatar_id:
              type: string
            id:
              type: integer
            location:
              type: string
            login:
              type: string
            name:
              type: string
            public_gist_count:
              type: integer
            public_repo_count:
              type: integer
            type:
              type: string
          type: object
      type: object
    search-users:
      properties:
        items:
          items:
            properties:
              avatar_url:
                type: string
              followers_url:
                type: string
              gravatar_id:
                type: string
              html_url:
                type: string
              id:
                type: integer
              login:
                type: string
              organizations_url:
                type: string
              received_events_url:
                type: string
              repos_url:
                type: string
              score:
                type: number
              subscriptions_url:
                type: string
              type:
                type: string
              url:
                type: string
            type: object
          type: array
        total_count:
          type: integer
      type: object
    search-users-by-keyword:
      properties:
        users:
          items:
            properties:
              created:
                type: string
              created_at:
                type: string
              followers:
                type: integer
              followers_count:
                type: integer
              fullname:
                type: string
              gravatar_id:
                type: string
              id:
                type: string
              language:
                type: string
              location:
                type: string
              login:
                type: string
              name:
                type: string
              public_repo_count:
                type: integer
              repos:
                type: integer
              score:
                type: number
              type:
                type: string
              username:
                type: string
            type: object
          type: array
      type: object
    stargazers:
      items:
        properties:
          avatar_url:
            type: string
          gravatar_id:
            type: string
          id:
            type: integer
          login:
            type: string
          url:
            type: string
        type: object
      type: array
    subscribition:
      properties:
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        ignored:
          type: boolean
        reason:
          type: string
        repository_url:
          type: string
        subscribed:
          type: boolean
        url:
          type: string
      type: object
    subscribitionBody:
      properties:
        ignored:
          type: boolean
        subscribed:
          type: boolean
      type: object
    subscription:
      properties:
        created_at:
          type: string
        ignored:
          type: boolean
        reason:
          type: boolean
        subscribed:
          type: boolean

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

                type: string
              url:
                type: string
            type: object
          type: array
        url:
          type: string
      type: object
    user:
      properties:
        avatar_url:
          type: string
        bio:
          type: string
        blog:
          type: string
        collaborators:
          type: integer
        company:
          type: string
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        disk_usage:
          type: integer
        email:
          type: string
        followers:
          type: integer
        following:
          type: integer
        gravatar_id:
          type: string
        hireable:
          type: boolean
        html_url:
          type: string
        id:
          type: integer
        location:
          type: string
        login:
          type: string
        name:
          type: string
        owned_private_repos:
          type: integer
        plan:
          properties:
            collaborators:
              type: integer
            name:
              type: string
            private_repos:
              type: integer
            space:
              type: integer
          type: object
        private_gists:
          type: integer
        public_gists:
          type: integer
        public_repos:
          type: integer
        total_private_repos:
          type: integer
        type:
          type: string
        url:
          type: string
      type: object
    user-emails:
      items:
        type: string
      type: array
    user-emails_final:
      items: {}
      type: array
    user-keys:
      items: {}
      type: array
    user-keys-keyId:
      properties:
        id:
          type: integer
        key:
          type: string
        title:
          type: string
        url:
          type: string
      type: object
    user-keys-post:
      properties:
        key:
          type: string
        title:
          type: string
      type: object
    user-update:
      properties:
        bio:
          type: string
        blog:
          type: string
        company:
          type: string
        email:
          type: string
        hireable:
          type: boolean
        location:
          type: string
        name:
          type: string
      type: object
    user-userId:
      properties:
        avatar_url:
          type: string
        bio:
          type: string
        blog:
          type: string
        company:
          type: string
        created_at:
          description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
          type: string
        email:
          description: 'Note: The returned email is the user’s publicly visible email
            address (or null if the user has not specified a public email address
            in their profile).'
          type: string
        followers:
          type: integer
        following:
          type: integer
        gravatar_id:
          type: string
        hireable:
          type: boolean
        html_url:
          type: string
        id:
          type: integer
        location:
          type: string
        login:
          type: string
        name:
          type: string
        public_gists:
          type: integer
        public_repos:
          type: integer
        type:
          type: string
        url:
          type: string
      type: object
    user-userId-starred:
      items: {}
      type: array
    user-userId-subscribitions:
      items:
        properties:
          clone_url:
            type: string
          created_at:
            description: 'ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ'
            type: string
          description:
            type: string
          fork:
            type: boolean
          forks:
            type: integer
          forks_count:
            type: integer
          full_name:
            type: string
          git_url:
            type: string
          homepage:
            type: string
          html_url:
            type: string
          id:
            type: integer
          language:
            type: string
          master_branch:
            type: integer
          mirror_url:
            type: string
          name:
            type: string
          open_issues:
            type: integer
          open_issues_count:
            type: integer
          owner:
            properties:
              avatar_url:
                type: string
              gravatar_id:
                type: string
              id:
                type: integer
              login:
                type: string
              url:
                type: string
            type: object

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

    users-userId-keys:
      items: {}
      type: array
    users-userId-orgs:
      items: {}
      type: array
  externalDocs:
    url: https://developer.github.com/v3/
  host: api.github.com
  info:
    description: |
      Powerful collaboration, code review, and code management for open source and private projects.
    termsOfService: https://help.github.com/articles/github-terms-of-service/#b-api-terms
    title: GitHub
    version: v3
    x-logo:
      url: http://assets-cdn.github.com/images/modules/logos_page/GitHub-Mark.png
    x-origin:
      format: swagger
      url: https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/github.com/v3/swagger.yaml
      version: '2.0'
    x-providerName: github.com
    x-unofficialSpec: true
  paths:
    /emojis:
      get:
        description: Lists all the emojis available to use on GitHub.
        parameters:
        - 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/emojis'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /events:
      get:
        description: List public events.
        parameters:
        - 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/events'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /feeds:
      get:
        description: |
          List Feeds.
          GitHub provides several timeline resources in Atom format. The Feeds API
           lists all the feeds available to the authenticating user.
        parameters:
        - 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/feeds'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /gists:
      get:
        description: |
          List the authenticated user's gists or if called anonymously, this will
          return all public gists.
        parameters:
        - description: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          in: query
          name: since
          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/gists'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      post:
        description: Create a gist.
        parameters:
        - 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/postGist'
        responses:
          '201':
            description: Created
            schema:
              $ref: '#/definitions/gist'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /gists/public:
      get:
        description: List all public gists.
        parameters:
        - description: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          in: query
          name: since
          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/gists'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /gists/starred:
      get:
        description: List the authenticated user's starred gists.
        parameters:
        - description: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          in: query
          name: since
          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

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

          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
        produces:
        - text/html
        responses:
          '200':
            description: OK
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /meta:
      get:
        description: This gives some information about GitHub.com, the service.
        parameters:
        - 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/meta'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /networks/{owner}/{repo}/events:
      get:
        description: List public events for a network of repositories.
        parameters:
        - description: Name of the 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
        responses:
          '200':
            description: OK
            schema:
              $ref: '#/definitions/events'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /notifications:
      get:
        description: |
          List your notifications.
          List all notifications for the current user, grouped by repository.
        parameters:
        - description: True to show notifications marked as read.
          in: query
          name: all
          type: boolean
        - description: |
            True to show only notifications in which the user is directly participating
            or mentioned.
          in: query
          name: participating
          type: boolean
        - description: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".

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

        - in: header
          name: X-RateLimit-Reset
          type: integer
        - in: header
          name: X-GitHub-Request-Id
          type: integer
        responses:
          '200':
            description: OK
            schema:
              $ref: '#/definitions/organization'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      patch:
        description: Edit an Organization.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          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/patchOrg'
        responses:
          '200':
            description: OK
            schema:
              $ref: '#/definitions/organization'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/events:
      get:
        description: List public events for an organization.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          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/events'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/issues:
      get:
        description: |
          List issues.
          List all issues for a given organization for the authenticated user.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - default: all
          description: |
            Issues assigned to you / created by you / mentioning you / you're
            subscribed to updates for / All issues the authenticated user can see
          enum: &10
          - assigned
          - created
          - mentioned
          - subscribed
          - all
          in: query
          name: filter
          required: true

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

          type: string
        - default: created
          enum: &12
          - created
          - updated
          - comments
          in: query
          name: sort
          required: true
          type: string
        - default: desc
          enum: &13
          - asc
          - desc
          in: query
          name: direction
          required: true
          type: string
        - description: |
            Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Only issues updated at or after this time are returned.
          in: query
          name: since
          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/issues'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/members:
      get:
        description: |
          Members list.
          List all users who are members of an organization. A member is a user tha
          belongs to at least 1 team in the organization. If the authenticated user
          is also an owner of this organization then both concealed and public members
          will be returned. If the requester is not an owner of the organization the
          query will be redirected to the public members list.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          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/users'
          '302':
            description: Response if requester is not an organization member.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/members/{username}:
      delete:
        description: |
          Remove a member.
          Removing a user from this list will remove them from all teams and they
          will no longer have any access to the organization's repositories.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - description: Name of the user.
          in: path
          name: username
          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:
          '204':
            description: "No content.\n"
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      get:
        description: Check if a user is, publicly or privately, a member of the organization.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - description: Name of the user.
          in: path
          name: username
          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:
          '204':
            description: |
              No content. Response if requester is an organization member and user is a member
          '302':
            description: |
              Found. Response if requester is not an organization member
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
          '404':
            description: |
              Not Found.
              a. Response if requester is an organization member and user is not a member
              b. Response if requester is not an organization member and is inquiring about themselves
    /orgs/{org}/public_members:
      get:
        description: |
          Public members list.
          Members of an organization can choose to have their membership publicized
          or not.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          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/users'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/public_members/{username}:
      delete:
        description: Conceal a user's membership.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - description: Name of the user.
          in: path
          name: username
          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:
          '204':
            description: Concealed.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      get:
        description: Check public membership.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - description: Name of the user.
          in: path
          name: username
          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:
          '204':
            description: User is a public member.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
          '404':
            description: User is not a public member.
      put:
        description: Publicize a user's membership.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - description: Name of the user.
          in: path
          name: username
          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:
          '204':
            description: Publicized.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /orgs/{org}/repos:
      get:
        description: List repositories for the specified org.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          required: true
          type: string
        - default: all
          enum: &14
          - all
          - public
          - private
          - forks
          - sources
          - member
          in: query
          name: type
          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/repos'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      post:
        description: |
          Create a new repository for the authenticated user. OAuth users must supply
          repo scope.
        parameters:
        - description: Name of organisation.
          in: path
          name: org
          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

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

          Get archive link.
          This method will return a 302 to a URL to download a tarball or zipball
          archive for a repository. Please make sure your HTTP framework is
          configured to follow redirects or you will need to use the Location header
          to make a second GET request.
          Note: For private repositories, these links are temporary and expire quickly.
        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
        - enum: &25
          - tarball
          - zipball
          in: path
          name: archive_format
          required: true
          type: string
        - description: Valid Git reference, defaults to 'master'.
          in: path
          name: path
          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:
          '302':
            description: Found.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /repositories:
      get:
        description: |
          List all public repositories.
          This provides a dump of every public repository, in the order that they
          were created.
          Note: Pagination is powered exclusively by the since parameter. is the
          Link header to get the URL for the next page of repositories.
        parameters:
        - description: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".
          in: query
          name: since
          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/repositories'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /search/code:
      get:
        description: Search code.
        parameters:
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &26
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: |
            The search terms. This can be any combination of the supported code
            search parameters:
            'Search In' Qualifies which fields are searched. With this qualifier
            you can restrict the search to just the file contents, the file path,
            or both.
            'Languages' Searches code based on the language it's written in.

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

            'Stars' Searches repositories based on the number of stars.
          in: query
          name: q
          required: true
          type: string
        - description: If not provided, results are sorted by best match.
          enum: &31
          - stars
          - forks
          - updated
          in: query
          name: sort
          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/search-repositories'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /search/users:
      get:
        description: Search users.
        parameters:
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &32
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: |
            The search terms. This can be any combination of the supported user
            search parameters:
            'Search In' Qualifies which fields are searched. With this qualifier you
            can restrict the search to just the username, public email, full name,
            location, or any combination of these.
            'Repository count' Filters users based on the number of repositories they
            have.
            'Location' Filter users by the location indicated in their profile.
            'Language' Search for users that have repositories that match a certain
            language.
            'Created' Filter users based on when they joined.
            'Followers' Filter users based on the number of followers they have.
          in: query
          name: q
          required: true
          type: string
        - description: If not provided, results are sorted by best match.
          enum: &33
          - followers
          - repositories
          - joined
          in: query
          name: sort
          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/search-users'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /teams/{teamId}:
      delete:
        description: |
          Delete team.
          In order to delete a team, the authenticated user must be an owner of the
          org that the team is associated with.
        parameters:
        - description: Id of team.
          in: path
          name: teamId

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

          in: query
          name: labels
          required: true
          type: string
        - default: created
          enum: &36
          - created
          - updated
          - comments
          in: query
          name: sort
          required: true
          type: string
        - default: desc
          enum: &37
          - asc
          - desc
          in: query
          name: direction
          required: true
          type: string
        - description: |
            Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Only issues updated at or after this time are returned.
          in: query
          name: since
          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/issues'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /user/keys:
      get:
        description: |
          List your public keys.
          Lists the current user's keys. Management of public keys via the API requires
          that you are authenticated through basic auth, or OAuth with the 'user', 'write:public_key' scopes.
        parameters:
        - 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/gitignore'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      post:
        description: Create a public key.
        parameters:
        - 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/user-keys-post'
        responses:
          '201':
            description: Created
            schema:
              $ref: '#/definitions/user-keys-keyId'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /user/keys/{keyId}:
      delete:
        description: Delete a public key. Removes a public key. Requires that you
          are authenticated via Basic Auth or via OAuth with at least admin:public_key
          scope.
        parameters:
        - description: ID of key.
          in: path
          name: keyId
          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: "No content.\n"
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      get:
        description: Get a single public key.
        parameters:
        - description: ID of key.
          in: path
          name: keyId
          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:
          '200':
            description: OK
            schema:
              $ref: '#/definitions/user-keys-keyId'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /user/orgs:
      get:
        description: List public and private organizations for the authenticated user.
        parameters:
        - 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/gitignore'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /user/repos:
      get:
        description: |
          List repositories for the authenticated user. Note that this does not include
          repositories owned by organizations which the user can access. You can lis
          user organizations and list organization repositories separately.
        parameters:
        - default: all
          enum: &38
          - all
          - public
          - private
          - forks
          - sources
          - member
          in: query
          name: type
          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/repos'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
      post:
        description: |
          Create a new repository for the authenticated user. OAuth users must supply
          repo scope.
        parameters:
        - 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

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

        - 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/users'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}:
      get:
        description: Get a single user.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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/users'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/events:
      get:
        description: If you are authenticated as the given user, you will see your
          private events. Otherwise, you'll only see public events.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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:
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/events/orgs/{org}:
      get:
        description: This is the user's organization dashboard. You must be authenticated
          as the user to view this.
        parameters:
        - description: Name of user.
          in: path
          name: username
          required: true
          type: string
        - in: path
          name: org
          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

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

        - in: header
          name: X-GitHub-Request-Id
          type: integer
        responses:
          '204':
            description: Response if user follows target user.
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
          '404':
            description: Response if user does not follow target user.
    /users/{username}/gists:
      get:
        description: List a users gists.
        parameters:
        - description: Name of user.
          in: path
          name: username
          required: true
          type: string
        - description: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".
          in: query
          name: since
          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/gists'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/keys:
      get:
        description: |
          List public keys for a user.
          Lists the verified public keys for a user. This is accessible by anyone.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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/gitignore'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/orgs:
      get:
        description: List all public organizations for a user.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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/gitignore'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/received_events:
      get:
        description: These are events that you'll only see public events.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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:
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/received_events/public:
      get:
        description: List public events that a user has received
        parameters:
        - description: Name of user.
          in: path
          name: username
          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:
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/repos:
      get:
        description: List public repositories for the specified user.
        parameters:
        - description: Name of user.
          in: path
          name: username
          required: true
          type: string
        - default: all
          enum: &40
          - all
          - public
          - private
          - forks
          - sources
          - member
          in: query
          name: type
          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/repos'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/starred:
      get:
        description: List repositories being starred by a user.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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

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

          type: integer
        - in: header
          name: X-GitHub-Request-Id
          type: integer
        responses:
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /users/{username}/subscriptions:
      get:
        description: List repositories being watched by a user.
        parameters:
        - description: Name of user.
          in: path
          name: username
          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:
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
  produces:
  - application/json
  schemes:
  - https
  securityDefinitions:
    oauth_2_0:
      authorizationUrl: https://github.com/login/oauth/authorize
      description: |
        OAuth2 is a protocol that lets external apps request authorization to private
        details in a user's GitHub account without getting their password. This is
        preferred over Basic Authentication because tokens can be limited to specific
        types of data, and can be revoked by users at any time.
      flow: accessCode
      scopes:
        admin:org: ''
        admin:org_hook: ''
        admin:public_key: ''
        admin:repo_hook: ''
        delete_repo: ''
        gist: ''
        notifications: ''
        public_repo: ''
        read:org: ''
        read:public_key: ''
        read:repo_hook: ''
        repo: ''
        repo:status: ''
        repo_deployment: ''
        user: ''
        user:email: ''
        user:follow: ''
        write:org: ''
        write:public_key: ''
        write:repo_hook: ''
      tokenUrl: https://github.com/login/oauth/access_token
      type: oauth2
  swagger: '2.0'
  x-hasEquivalentPaths: true
options:
- name: data-file
  summary: File with data for POST/PUT/PATCH/DELETE requests
  type: file
- aliases:
  - d
  name: debug
  summary: debug
  type: flag
- aliases:
  - v
  name: verbose
  summary: verbose
  type: flag
subcommands:
  DELETE:
    op: apicall
    subcommands:
      /gists/:id:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Delete a gist.
      /gists/:id/comments/:commentId:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        - name: commentId
          required: 1
          summary: Id of comment.
          type: integer
        summary: Delete a comment.
      /gists/:id/star:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Unstar a gist.
      /notifications/threads/:id/subscription:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of thread.
          type: integer
        summary: Delete a Thread Subscription.
      /orgs/:org/members/:username:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        - name: username
          required: 1
          summary: Name of the user.
          type: string
        summary: Remove a member.
      /orgs/:org/public_members/:username:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        - name: username
          required: 1
          summary: Name of the user.
          type: string
        summary: Conceal a user's membership.
      /repos/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Delete a Repository.
      /repos/:owner/:repo/collaborators/:user:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: user
          required: 1
          summary: Login of the user.
          type: string
        summary: Remove collaborator.
      /repos/:owner/:repo/comments/:commentId:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: commentId
          required: 1
          summary: Id of comment.
          type: integer
        summary: Delete a commit comment
      /repos/:owner/:repo/contents/:path:
        options: []
        parameters:
        - name: owner
          required: 1

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

        summary: Delete team.
      /teams/:teamId/members/:username:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: username
          required: 1
          summary: Name of a member.
          type: string
        summary: The "Remove team member" API is deprecated and is ...
      /teams/:teamId/memberships/:username:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: username
          required: 1
          summary: Name of a member.
          type: string
        summary: Remove team membership.
      /teams/:teamId/repos/:owner/:repo:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: owner
          required: 1
          summary: Name of a repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of a repository.
          type: string
        summary: In order to remove a repository from a team, the a...
      /user/emails:
        options: []
        parameters: []
        summary: Delete email address(es).
      /user/following/:username:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: Unfollow a user.
      /user/keys/:keyId:
        options: []
        parameters:
        - name: keyId
          required: 1
          summary: ID of key.
          type: integer
        summary: Delete a public key. Removes a public key. Require...
      /user/starred/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of a repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of a repository.
          type: string
        summary: Unstar a repository
      /user/subscriptions/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of the owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Stop watching a repository
    summary: DELETE call
  GET:
    op: apicall
    subcommands:
      /emojis:
        options: []
        parameters: []
        summary: Lists all the emojis available to use on GitHub....
      /events:
        options: []
        parameters: []
        summary: List public events.
      /feeds:
        options: []
        parameters: []
        summary: List Feeds.
      /gists:
        options:
        - name: q-since
          required: ~
          summary: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          type: string
        parameters: []
        summary: List the authenticated user's gists or if called a...
      /gists/:id:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Get a single gist.
      /gists/:id/comments:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: List comments on a gist.
      /gists/:id/comments/:commentId:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        - name: commentId
          required: 1
          summary: Id of comment.
          type: integer
        summary: Get a single comment.
      /gists/:id/star:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Check if a gist is starred.
      /gists/public:
        options:
        - name: q-since
          required: ~
          summary: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          type: string
        parameters: []
        summary: List all public gists.
      /gists/starred:
        options:
        - name: q-since
          required: ~
          summary: |
            Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
            Only gists updated at or after this time are returned.
          type: string
        parameters: []
        summary: List the authenticated user's starred gists....
      /gitignore/templates:
        options: []
        parameters: []
        summary: Listing available templates.
      /gitignore/templates/:language:
        options: []
        parameters:
        - name: language
          required: 1
          summary: ~
          type: string
        summary: Get a single template.
      /issues:
        options:
        - enum: *1
          name: q-filter
          required: 1
          summary: |
            Issues assigned to you / created by you / mentioning you / you're
            subscribed to updates for / All issues the authenticated user can see
          type: string
        - enum: *2
          name: q-state
          required: 1
          summary: ~
          type: string
        - name: q-labels
          required: 1
          summary: String list of comma separated Label names. Example - bug,ui,@high.
          type: string
        - enum: *3
          name: q-sort
          required: 1
          summary: ~
          type: string
        - enum: *4
          name: q-direction
          required: 1
          summary: ~
          type: string
        - name: q-since
          required: ~
          summary: |
            Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Only issues updated at or after this time are returned.
          type: string
        parameters: []
        summary: List issues.
      /legacy/issues/search/:owner/:repository/:state/:keyword:
        options: []

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

          type: string
        - enum: *7
          name: q-sort
          required: ~
          summary: 'The sort field. One of stars, forks, or updated. Default: results
            are sorted by best match.'
          type: string
        parameters:
        - name: keyword
          required: 1
          summary: The search term
          type: string
        summary: Find repositories by keyword. Note, this legacy me...
      /legacy/user/email/:email:
        options: []
        parameters:
        - name: email
          required: 1
          summary: The email address
          type: string
        summary: This API call is added for compatibility reasons o...
      /legacy/user/search/:keyword:
        options:
        - enum: *8
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-start_page
          required: ~
          summary: The page number to fetch
          type: string
        - enum: *9
          name: q-sort
          required: ~
          summary: 'The sort field. One of stars, forks, or updated. Default: results
            are sorted by best match.'
          type: string
        parameters:
        - name: keyword
          required: 1
          summary: The search term
          type: string
        summary: Find users by keyword.
      /meta:
        options: []
        parameters: []
        summary: This gives some information about GitHub.com, the ...
      /networks/:owner/:repo/events:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of the owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: List public events for a network of repositories....
      /notifications:
        options:
        - name: q-all
          required: ~
          summary: True to show notifications marked as read.
          type: boolean
        - name: q-participating
          required: ~
          summary: |
            True to show only notifications in which the user is directly participating
            or mentioned.
          type: boolean
        - name: q-since
          required: ~
          summary: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".
          type: string
        parameters: []
        summary: List your notifications.
      /notifications/threads/:id:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of thread.
          type: integer
        summary: View a single thread.
      /notifications/threads/:id/subscription:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of thread.
          type: integer
        summary: Get a Thread Subscription.
      /orgs/:org:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: Get an Organization.
      /orgs/:org/events:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: List public events for an organization....
      /orgs/:org/issues:
        options:
        - enum: *10
          name: q-filter
          required: 1
          summary: |
            Issues assigned to you / created by you / mentioning you / you're
            subscribed to updates for / All issues the authenticated user can see
          type: string
        - enum: *11
          name: q-state
          required: 1
          summary: ~
          type: string
        - name: q-labels
          required: 1
          summary: String list of comma separated Label names. Example - bug,ui,@high.
          type: string
        - enum: *12
          name: q-sort
          required: 1
          summary: ~
          type: string
        - enum: *13
          name: q-direction
          required: 1
          summary: ~
          type: string
        - name: q-since
          required: ~
          summary: |
            Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Only issues updated at or after this time are returned.
          type: string
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: List issues.
      /orgs/:org/members:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: Members list.
      /orgs/:org/members/:username:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        - name: username
          required: 1
          summary: Name of the user.
          type: string
        summary: Check if a user is, publicly or privately, a membe...
      /orgs/:org/public_members:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: Public members list.
      /orgs/:org/public_members/:username:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        - name: username
          required: 1
          summary: Name of the user.
          type: string
        summary: Check public membership.
      /orgs/:org/repos:
        options:
        - enum: *14
          name: q-type
          required: ~
          summary: ~
          type: string
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: List repositories for the specified org....
      /orgs/:org/teams:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: List teams.
      /rate_limit:
        options: []
        parameters: []
        summary: Get your current rate limit status...
      /repos/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Get repository.
      /repos/:owner/:repo/:archive_format/:path:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - enum: *25
          name: archive_format
          required: 1
          summary: ~
          type: string
        - name: path
          required: 1
          summary: Valid Git reference, defaults to 'master'.
          type: string
        summary: Get archive link.
      /repos/:owner/:repo/assignees:
        options: []

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

          summary: Name of repository.
          type: string
        summary: List watchers.
      /repos/:owner/:repo/subscription:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Get a Repository Subscription.
      /repos/:owner/:repo/tags:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Get list of tags.
      /repos/:owner/:repo/teams:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Get list of teams
      /repos/:owner/:repo/watchers:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: List Stargazers. New implementation....
      /repositories:
        options:
        - name: q-since
          required: ~
          summary: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".
          type: string
        parameters: []
        summary: List all public repositories.
      /search/code:
        options:
        - enum: *26
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-q
          required: 1
          summary: |
            The search terms. This can be any combination of the supported code
            search parameters:
            'Search In' Qualifies which fields are searched. With this qualifier
            you can restrict the search to just the file contents, the file path,
            or both.
            'Languages' Searches code based on the language it's written in.
            'Forks' Filters repositories based on the number of forks, and/or
            whether code from forked repositories should be included in the results
            at all.
            'Size' Finds files that match a certain size (in bytes).
            'Path' Specifies the path that the resulting file must be at.
            'Extension' Matches files with a certain extension.
            'Users' or 'Repositories' Limits searches to a specific user or repository.
          type: string
        - enum: *27
          name: q-sort
          required: ~
          summary: |
            Can only be 'indexed', which indicates how recently a file has been indexed
            by the GitHub search infrastructure. If not provided, results are sorted
            by best match.
          type: string
        parameters: []
        summary: Search code.
      /search/issues:
        options:
        - enum: *28
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-q
          required: 1
          summary: 'The q search term can also contain any combination of the supported
            issue search qualifiers:'
          type: string
        - enum: *29
          name: q-sort
          required: ~
          summary: 'The sort field. Can be comments, created, or updated. Default:
            results are sorted by best match.'
          type: string
        parameters: []
        summary: Find issues by state and keyword. (This method ret...
      /search/repositories:
        options:
        - enum: *30
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-q
          required: 1
          summary: |
            The search terms. This can be any combination of the supported repository
            search parameters:
            'Search In' Qualifies which fields are searched. With this qualifier you
            can restrict the search to just the repository name, description, readme,
            or any combination of these.
            'Size' Finds repositories that match a certain size (in kilobytes).
            'Forks' Filters repositories based on the number of forks, and/or whether
            forked repositories should be included in the results at all.
            'Created' and 'Last Updated' Filters repositories based on times of
            creation, or when they were last updated.
            'Users or Repositories' Limits searches to a specific user or repository.
            'Languages' Searches repositories based on the language they are written in.
            'Stars' Searches repositories based on the number of stars.
          type: string
        - enum: *31
          name: q-sort
          required: ~
          summary: If not provided, results are sorted by best match.
          type: string
        parameters: []
        summary: Search repositories.
      /search/users:
        options:
        - enum: *32
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-q
          required: 1
          summary: |
            The search terms. This can be any combination of the supported user
            search parameters:
            'Search In' Qualifies which fields are searched. With this qualifier you
            can restrict the search to just the username, public email, full name,
            location, or any combination of these.
            'Repository count' Filters users based on the number of repositories they
            have.
            'Location' Filter users by the location indicated in their profile.
            'Language' Search for users that have repositories that match a certain
            language.
            'Created' Filter users based on when they joined.
            'Followers' Filter users based on the number of followers they have.
          type: string
        - enum: *33
          name: q-sort
          required: ~
          summary: If not provided, results are sorted by best match.
          type: string
        parameters: []
        summary: Search users.
      /teams/:teamId:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        summary: Get team.
      /teams/:teamId/members:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        summary: List team members.
      /teams/:teamId/members/:username:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: username
          required: 1
          summary: Name of a member.
          type: string
        summary: The "Get team member" API is deprecated and is sch...
      /teams/:teamId/memberships/:username:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: username
          required: 1
          summary: Name of a member.
          type: string
        summary: Get team membership.
      /teams/:teamId/repos:
        options: []
        parameters:
        - name: teamId

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

        summary: Get the authenticated user.
      /user/emails:
        options: []
        parameters: []
        summary: List email addresses for a user....
      /user/followers:
        options: []
        parameters: []
        summary: List the authenticated user's followers...
      /user/following:
        options: []
        parameters: []
        summary: List who the authenticated user is following....
      /user/following/:username:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: Check if you are following a user....
      /user/issues:
        options:
        - enum: *34
          name: q-filter
          required: 1
          summary: |
            Issues assigned to you / created by you / mentioning you / you're
            subscribed to updates for / All issues the authenticated user can see
          type: string
        - enum: *35
          name: q-state
          required: 1
          summary: ~
          type: string
        - name: q-labels
          required: 1
          summary: String list of comma separated Label names. Example - bug,ui,@high.
          type: string
        - enum: *36
          name: q-sort
          required: 1
          summary: ~
          type: string
        - enum: *37
          name: q-direction
          required: 1
          summary: ~
          type: string
        - name: q-since
          required: ~
          summary: |
            Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Only issues updated at or after this time are returned.
          type: string
        parameters: []
        summary: List issues.
      /user/keys:
        options: []
        parameters: []
        summary: List your public keys.
      /user/keys/:keyId:
        options: []
        parameters:
        - name: keyId
          required: 1
          summary: ID of key.
          type: integer
        summary: Get a single public key.
      /user/orgs:
        options: []
        parameters: []
        summary: List public and private organizations for the auth...
      /user/repos:
        options:
        - enum: *38
          name: q-type
          required: ~
          summary: ~
          type: string
        parameters: []
        summary: List repositories for the authenticated user. Note...
      /user/starred:
        options:
        - name: q-direction
          required: ~
          summary: Ignored without 'sort' parameter.
          type: string
        - enum: *39
          name: q-sort
          required: ~
          summary: ''
          type: string
        parameters: []
        summary: List repositories being starred by the authenticat...
      /user/starred/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of a repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of a repository.
          type: string
        summary: Check if you are starring a repository....
      /user/subscriptions:
        options: []
        parameters: []
        summary: List repositories being watched by the authenticat...
      /user/subscriptions/:owner/:repo:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of the owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Check if you are watching a repository....
      /user/teams:
        options: []
        parameters: []
        summary: List all of the teams across all of the organizati...
      /users:
        options:
        - name: q-since
          required: ~
          summary: The integer ID of the last User that you've seen.
          type: integer

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

        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: If you are authenticated as the given user, you wi...
      /users/:username/events/orgs/:org:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        - name: org
          required: 1
          summary: ~
          type: string
        summary: This is the user's organization dashboard. You mus...
      /users/:username/followers:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List a user's followers
      /users/:username/following/:targetUser:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        - name: targetUser
          required: 1
          summary: Name of user.
          type: string
        summary: Check if one user follows another....
      /users/:username/gists:
        options:
        - name: q-since
          required: ~
          summary: |
            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
            Example: "2012-10-09T23:39:01Z".
          type: string
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List a users gists.
      /users/:username/keys:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List public keys for a user.
      /users/:username/orgs:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List all public organizations for a user....
      /users/:username/received_events:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: These are events that you'll only see public event...
      /users/:username/received_events/public:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List public events that a user has received...
      /users/:username/repos:
        options:
        - enum: *40
          name: q-type
          required: ~
          summary: ~
          type: string
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List public repositories for the specified user....
      /users/:username/starred:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List repositories being starred by a user....
      /users/:username/subscriptions:
        options: []
        parameters:
        - name: username
          required: 1
          summary: Name of user.
          type: string
        summary: List repositories being watched by a user....
    summary: GET call
  PATCH:
    op: apicall
    subcommands:
      /gists/:id:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Edit a gist.
      /gists/:id/comments/:commentId:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        - name: commentId
          required: 1
          summary: Id of comment.
          type: integer
        summary: Edit a comment.
      /notifications/threads/:id:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of thread.
          type: integer
        summary: Mark a thread as read
      /orgs/:org:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        summary: Edit an Organization.
      /repos/:owner/:repo:
        options: []
        parameters:
        - name: owner

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

          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Create a pull request.
      /repos/:owner/:repo/pulls/:number/comments:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: number
          required: 1
          summary: Id of pull.
          type: integer
        summary: Create a comment.
      /repos/:owner/:repo/releases:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        summary: Create a release
      /repos/:owner/:repo/statuses/:ref:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: ref
          required: 1
          summary: |
            Ref to list the statuses from. It can be a SHA, a branch name, or a tag name.
          type: string
        summary: Create a Status.
      /user/emails:
        options: []
        parameters: []
        summary: Add email address(es).
      /user/keys:
        options: []
        parameters: []
        summary: Create a public key.
      /user/repos:
        options: []
        parameters: []
        summary: Create a new repository for the authenticated user...
    summary: POST call
  PUT:
    op: apicall
    subcommands:
      /gists/:id/star:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of gist.
          type: integer
        summary: Star a gist.
      /notifications:
        options: []
        parameters: []
        summary: Mark as read.
      /notifications/threads/:id/subscription:
        options: []
        parameters:
        - name: id
          required: 1
          summary: Id of thread.
          type: integer
        summary: Set a Thread Subscription.
      /orgs/:org/public_members/:username:
        options: []
        parameters:
        - name: org
          required: 1
          summary: Name of organisation.
          type: string
        - name: username
          required: 1
          summary: Name of the user.
          type: string
        summary: Publicize a user's membership.
      /repos/:owner/:repo/collaborators/:user:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: user
          required: 1
          summary: Login of the user.
          type: string
        summary: Add collaborator.
      /repos/:owner/:repo/contents/:path:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: path
          required: 1
          summary: ~
          type: string
        summary: Create a file.
      /repos/:owner/:repo/issues/:number/labels:
        options: []
        parameters:
        - name: owner
          required: 1
          summary: Name of repository owner.
          type: string
        - name: repo
          required: 1
          summary: Name of repository.
          type: string
        - name: number
          required: 1
          summary: Number of issue.
          type: integer
        summary: Replace all labels for an issue....
      /repos/:owner/:repo/notifications:



( run in 0.747 second using v1.01-cache-2.11-cpan-39bf76dae61 )