Created
December 8, 2018 01:40
-
-
Save kinlane/5701f4cb3c31d43f168fa55207b7c19d to your computer and use it in GitHub Desktop.
Get GitHub Organization 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
swagger: '2.0' | |
info: | |
title: Get GitHub Organization Events | |
description: This is an OpenAPI for the GitHub API organization 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: | |
/orgs/{org}/events: | |
get: | |
summary: Get Org Events | |
description: Gets public events for an organization. | |
operationId: getOrgEvents | |
parameters: | |
- in: path | |
required: true | |
type: string | |
name: org | |
description: The org name. | |
default: api-evangelist | |
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