Created
December 8, 2018 01:42
-
-
Save kinlane/7471448ea081504037bad9cd9b117c8c to your computer and use it in GitHub Desktop.
Get GitHub User Events
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openAPI: '2.0' | |
info: | |
title: Get User Events | |
description: This is an OpenAPI for the GitHub API user events capability. | |
contact: | |
name: API Evangelist | |
url: https://apievangelist.com | |
email: info@apievangelist.com | |
version: v1.0 | |
host: api.github.com | |
basePath: / | |
schemes: | |
- https | |
produces: | |
- application/json | |
paths: | |
/users/{user}/events: | |
get: | |
summary: Get User Events | |
description: Gets public events for a user. | |
operationId: getOrgEvents | |
parameters: | |
- in: path | |
required: true | |
type: string | |
name: org | |
description: The user name. | |
default: kinlane | |
responses: | |
'200': | |
description: Response | |
schema: | |
type: array | |
items: | |
$ref: "#/definitions/response" | |
tags: | |
- Search Code | |
securityDefinitions: | |
appid: | |
type: apiKey | |
in: query | |
name: access_token | |
definitions: | |
response: | |
description: Full details about object | |
properties: | |
id: | |
type: string | |
type: | |
type: string | |
actor: | |
type: object | |
properties: | |
id: | |
type: integer | |
login: | |
type: string | |
display_login: | |
type: string | |
gravatar_id: | |
type: string | |
url: | |
type: string | |
avatar_url: | |
type: string | |
repo: | |
type: object | |
properties: | |
id: | |
type: integer | |
name: | |
type: string | |
url: | |
type: string | |
payload: | |
type: object | |
properties: | |
action: | |
type: string | |
public: | |
type: boolean | |
created_at: | |
type: string | |
org: | |
type: object | |
properties: | |
id: | |
type: integer | |
login: | |
type: string | |
gravatar_id: | |
type: string | |
url: | |
type: string | |
avatar_url: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment