API-CLI

 view release on metacpan or  search on metacpan

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

          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-issues-by-keyword'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /legacy/repos/search/{keyword}:
      get:
        description: Find repositories by keyword. Note, this legacy method does not
          follow the v3 pagination pattern. This method returns up to 100 results
          per page and pages can be fetched using the start_page parameter.
        parameters:
        - description: The search term
          in: path
          name: keyword
          required: true
          type: string
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &6
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: Filter results by language
          in: query
          name: language
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default:
            results are sorted by best match.'
          enum: &7
          - updated
          - stars
          - forks
          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-by-keyword'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /legacy/user/email/{email}:
      get:
        description: This API call is added for compatibility reasons only.
        parameters:
        - description: The email address
          in: path
          name: email
          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/search-user-by-email'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /legacy/user/search/{keyword}:
      get:
        description: Find users by keyword.
        parameters:
        - description: The search term
          in: path
          name: keyword
          required: true
          type: string
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &8
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: The page number to fetch
          in: query
          name: start_page
          type: string
        - description: 'The sort field. One of stars, forks, or updated. Default:
            results are sorted by best match.'
          enum: &9
          - updated
          - stars
          - forks
          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-by-keyword'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /markdown:
      post:
        description: Render an arbitrary Markdown document
        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

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

          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.
            '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.
          in: query
          name: q
          required: true
          type: string
        - description: |
            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.
          enum: &27
          - indexed
          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-code'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /search/issues:
      get:
        description: Find issues by state and keyword. (This method returns up to
          100 results per page.)
        parameters:
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &28
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: 'The q search term can also contain any combination of the
            supported issue search qualifiers:'
          in: query
          name: q
          required: true
          type: string
        - description: 'The sort field. Can be comments, created, or updated. Default:
            results are sorted by best match.'
          enum: &29
          - updated
          - created
          - comments
          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-issues'
          '403':
            description: |
              API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
              for details.
    /search/repositories:
      get:
        description: Search repositories.
        parameters:
        - default: desc
          description: The sort field. if sort param is provided. Can be either asc
            or desc.
          enum: &30
          - desc
          - asc
          in: query
          name: order
          type: string
        - description: |
            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.
          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
          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

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

        - 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: []
        parameters:
        - name: keyword
          required: 1
          summary: The search term.
          type: string
        - enum: *5
          name: state
          required: 1
          summary: Indicates the state of the issues to return. Can be either open
            or closed.
          type: string
        - name: owner
          required: 1
          summary: ~
          type: string
        - name: repository
          required: 1
          summary: ~
          type: string
        summary: Find issues by state and keyword....
      /legacy/repos/search/:keyword:
        options:
        - enum: *6
          name: q-order
          required: ~
          summary: The sort field. if sort param is provided. Can be either asc or
            desc.
          type: string
        - name: q-language
          required: ~
          summary: Filter results by language
          type: string
        - name: q-start_page
          required: ~
          summary: The page number to fetch
          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:

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

          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
          required: 1
          summary: Id of team.
          type: integer
        summary: List team repos
      /teams/:teamId/repos/:owner/:repo:
        options: []
        parameters:
        - name: teamId
          required: 1
          summary: Id of team.
          type: integer
        - name: owner
          required: 1



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