UNPKG

swgg-github-activity

Version:

this zero-dependency package will provide a (nodejs-compatible) swagger-client for github-activity's web-apis, with a working web-demo

1,048 lines (1,047 loc) 418 kB
{ "basePath": "/", "definitions": {}, "info": { "title": "swgg-github-activity", "version": "2018.4.23", "x-swgg-description": "this zero-dependency package will provide a (nodejs-compatible) swagger-client for github-activity's web-apis, with a working web-demo", "x-swgg-homepage": "https://github.com/kaizhu256/node-swgg-github-activity" }, "parameters": { "github-all.key": { "default": "xxxxxxxx", "in": "query", "name": "access_token", "type": "string", "x-swgg-apiKey": true, "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/#authentication", "", "OAuth2 token (sent as a parameter)" ] }, "github-all.user-agent": { "default": "Awesome-Octocat-App", "in": "header", "name": "user-agent", "required": true, "type": "string", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/index.html#user-agent-required", "", "All API requests MUST include a valid ```User-Agent``` header. Requests with no ```User-Agent``` header will be rejected. We request that you use your GitHub username, or the name of your application, for the ```User-Agent``` header value. This allows us to contact you if there are problems." ] } }, "paths": { "/events": { "get": { "operationId": "_2Fevents_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Events](https://developer.github.com/v3/activity/events/#list-public-events) - List public events" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Events](https://developer.github.com/v3/activity/events/#list-public-events) - List public events", "x-swgg-tags0": "github-activity" } }, "/feeds": { "get": { "operationId": "_2Ffeeds_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Feeds](https://developer.github.com/v3/activity/feeds/#list-feeds) - List Feeds", "", "GitHub provides several timeline resources in [Atom](http://en.wikipedia.org/wiki/Atom_(standard)) format. The Feeds API lists all the feeds available to the authenticated user:", "- **Timeline**: The GitHub global public timeline", "- **User**: The public timeline for any user, using [URI template](https://developer.github.com/v3/#hypermedia)", "- **Current user public**: The public timeline for the authenticated user", "- **Current user**: The private timeline for the authenticated user", "- **Current user actor**: The private timeline for activity created by the authenticated user", "- **Current user organizations**: The private timeline for the organizations the authenticated user is a member of.", "", "**Note**: Private feeds are only returned when [authenticating via Basic Auth](https://developer.github.com/v3/#basic-authentication) since current feed URIs use the older, non revocable auth tokens." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Feeds](https://developer.github.com/v3/activity/feeds/#list-feeds) - List Feeds", "x-swgg-tags0": "github-activity" } }, "/networks/{owner}/{repo}/events": { "get": { "operationId": "_2Fnetworks_2F_7Bowner_7D_2F_7Brepo_7D_2Fevents_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Events](https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories) - List public events for a network of repositories" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Events](https://developer.github.com/v3/activity/events/#list-public-events-for-a-network-of-repositories) - List public events for a network of repositories", "x-swgg-tags0": "github-activity" } }, "/notifications": { "get": { "operationId": "_2Fnotifications_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": false, "in": "query", "name": "all", "type": "boolean", "x-swgg-descriptionLineList": [ "If ```true```, show notifications marked as read. Default: ```false```" ] }, { "default": false, "in": "query", "name": "participating", "type": "boolean", "x-swgg-descriptionLineList": [ "If ```true```, only shows notifications in which the user is directly participating or mentioned. Default: ```false```" ] }, { "default": "Time.now", "in": "query", "name": "since", "type": "string", "x-swgg-descriptionLineList": [ "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```. Default: ```Time.now```" ] }, { "in": "query", "name": "before", "type": "string", "x-swgg-descriptionLineList": [ "Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```." ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#list-your-notifications) - List your notifications", "", "List all notifications for the current user, sorted by most recently updated." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#list-your-notifications) - List your notifications", "x-swgg-tags0": "github-activity" }, "put": { "operationId": "_2Fnotifications_20PUT", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "Time.now", "in": "query", "name": "last_read_at", "type": "string", "x-swgg-descriptionLineList": [ "Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```. Default: ```Time.now```" ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-as-read) - Mark as read", "", "Marking a notification as \"read\" removes it from the [default view on GitHub](https://github.com/notifications)." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-as-read) - Mark as read", "x-swgg-tags0": "github-activity" } }, "/notifications/threads/{id}": { "get": { "operationId": "_2Fnotifications_2Fthreads_2F_7Bid_7D_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "id", "in": "path", "name": "id", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#view-a-single-thread) - View a single thread" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#view-a-single-thread) - View a single thread", "x-swgg-tags0": "github-activity" }, "patch": { "operationId": "_2Fnotifications_2Fthreads_2F_7Bid_7D_20PATCH", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "id", "in": "path", "name": "id", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read) - Mark a thread as read" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-a-thread-as-read) - Mark a thread as read", "x-swgg-tags0": "github-activity" } }, "/notifications/threads/{id}/subscription": { "delete": { "operationId": "_2Fnotifications_2Fthreads_2F_7Bid_7D_2Fsubscription_20DELETE", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "id", "in": "path", "name": "id", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription) - Delete a Thread Subscription" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#delete-a-thread-subscription) - Delete a Thread Subscription", "x-swgg-tags0": "github-activity" }, "get": { "operationId": "_2Fnotifications_2Fthreads_2F_7Bid_7D_2Fsubscription_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "id", "in": "path", "name": "id", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription) - Get a Thread Subscription", "", "This checks to see if the current user is subscribed to a thread. You can also [get a Repository subscription](https://developer.github.com/v3/activity/watching/#get-a-repository-subscription).", "", "Note that subscriptions are only generated if a user is participating in a conversation--for example, they've replied to the thread, were **@mention**ed, or manually subscribe to a thread." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#get-a-thread-subscription) - Get a Thread Subscription", "x-swgg-tags0": "github-activity" }, "put": { "operationId": "_2Fnotifications_2Fthreads_2F_7Bid_7D_2Fsubscription_20PUT", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "id", "in": "path", "name": "id", "required": true, "type": "string" }, { "in": "query", "name": "subscribed", "type": "boolean", "x-swgg-descriptionLineList": [ "Determines if notifications should be received from this thread" ] }, { "in": "query", "name": "ignored", "type": "boolean", "x-swgg-descriptionLineList": [ "Determines if all notifications should be blocked from this thread" ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription) - Set a Thread Subscription", "", "This lets you subscribe or unsubscribe from a conversation. Unsubscribing from a conversation mutes all future notifications (until you comment or get **@mention**ed once more)." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#set-a-thread-subscription) - Set a Thread Subscription", "x-swgg-tags0": "github-activity" } }, "/orgs/{org}/events": { "get": { "operationId": "_2Forgs_2F_7Borg_7D_2Fevents_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "org", "in": "path", "name": "org", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Events](https://developer.github.com/v3/activity/events/#list-public-events-for-an-organization) - List public events for an organization" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Events](https://developer.github.com/v3/activity/events/#list-public-events-for-an-organization) - List public events for an organization", "x-swgg-tags0": "github-activity" } }, "/repos/{owner}/{repo}/events": { "get": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fevents_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Events](https://developer.github.com/v3/activity/events/#list-repository-events) - List repository events" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Events](https://developer.github.com/v3/activity/events/#list-repository-events) - List repository events", "x-swgg-tags0": "github-activity" } }, "/repos/{owner}/{repo}/issues/events": { "get": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fissues_2Fevents_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Events](https://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository) - List issue events for a repository", "", "Repository issue events have a different format than other events, as documented in the [Issue Events API](https://developer.github.com/v3/issues/events/)." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Events](https://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository) - List issue events for a repository", "x-swgg-tags0": "github-activity" } }, "/repos/{owner}/{repo}/notifications": { "get": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fnotifications_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" }, { "default": false, "in": "query", "name": "all", "type": "boolean", "x-swgg-descriptionLineList": [ "If ```true```, show notifications marked as read. Default: ```false```" ] }, { "default": false, "in": "query", "name": "participating", "type": "boolean", "x-swgg-descriptionLineList": [ "If ```true```, only shows notifications in which the user is directly participating or mentioned. Default: ```false```" ] }, { "default": "Time.now", "in": "query", "name": "since", "type": "string", "x-swgg-descriptionLineList": [ "Only show notifications updated after the given time. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```. Default: ```Time.now```" ] }, { "in": "query", "name": "before", "type": "string", "x-swgg-descriptionLineList": [ "Only show notifications updated before the given time. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```." ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository) - List your notifications in a repository", "", "List all notifications for the current user." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#list-your-notifications-in-a-repository) - List your notifications in a repository", "x-swgg-tags0": "github-activity" }, "put": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fnotifications_20PUT", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" }, { "default": "Time.now", "in": "query", "name": "last_read_at", "type": "string", "x-swgg-descriptionLineList": [ "Describes the last point that notifications were checked. Anything updated since this time will not be updated. This is a timestamp in ISO 8601 format: ```YYYY-MM-DDTHH:MM:SSZ```. Default: ```Time.now```" ] } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository) - Mark notifications as read in a repository", "", "Marking all notifications in a repository as \"read\" removes them from the [default view on GitHub](https://github.com/notifications)." ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Notifications](https://developer.github.com/v3/activity/notifications/#mark-notifications-as-read-in-a-repository) - Mark notifications as read in a repository", "x-swgg-tags0": "github-activity" } }, "/repos/{owner}/{repo}/stargazers": { "get": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fstargazers_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv", "enum": [ "application/vnd.github.v3.star+json", "application/vnd.github.v3+json" ], "in": "header", "items": { "type": "string" }, "name": "accept", "type": "array", "x-swgg-descriptionLineList": [ "https://developer.github.com/v3/media/", "", "Custom media types are used in the API to let consumers choose the format of the data they wish to receive. This is done by adding one or more of the following types to the ```Accept``` header when you make a request. Media types are specific to resources, allowing them to change independently and support formats that other resources don't." ] }, { "default": "owner", "in": "path", "name": "owner", "required": true, "type": "string" }, { "default": "repo", "in": "path", "name": "repo", "required": true, "type": "string" } ], "responses": { "default": { "description": "default response" } }, "tags": [ "github-activity" ], "x-swgg-descriptionLineList": [ "[Starring](https://developer.github.com/v3/activity/starring/#list-stargazers) - List Stargazers" ], "x-swgg-host": "api.github.com", "x-swgg-schemes": [ "https" ], "x-swgg-sortValue": "[Starring](https://developer.github.com/v3/activity/starring/#list-stargazers) - List Stargazers", "x-swgg-tags0": "github-activity" } }, "/repos/{owner}/{repo}/subscribers": { "get": { "operationId": "_2Frepos_2F_7Bowner_7D_2F_7Brepo_7D_2Fsubscribers_20GET", "parameters": [ { "$ref": "#/parameters/github-all.key" }, { "$ref": "#/parameters/github-all.user-agent" }, { "collectionFormat": "csv",