24 pull requests (Independent Publisher) (#2003)

* create custom connector proposal folder

* proposal for 24 pull requests connector

* add 24pullrequest connector artfacts

* update iconBrandColor

* fix

* remove jenga proposal file

* remove proposal from name

* remove independent publisher from the connector name
This commit is contained in:
Bkaraba 2022-10-28 19:28:20 +03:00 коммит произвёл GitHub
Родитель f8071f82f0
Коммит f529561beb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 625 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,31 @@
# 24 Pull Requests
24 Pull Requests' goal is to encourage contribution to open source projects during December. The site suggests open projects, highlights tickets that are good for new contributors, provides guides for contributing and promotes good contributions submitted each day.
## Publisher: Bernard karaba
## Prerequisites
The [24 pull requests](https://24pullrequests.com/) connector doesn't require authentication.
## Supported Operations
The connector supports the following operations:
- `GetUsers`: This action will return all users and contribution information.
- `GetUser`: This action will return specific user's contributing information.
- `GetProjects`: This action will return all projects for contribution.
- `GetPullRequests`: This action will load contributions by users.
- `GetContributionInfo`: This action will load contribution information.
- `GetAllOrganisations`: This action will load all organisations information.
- `GetSpecificOrganisation`: This action will load specific organisation's information.
## Obtaining Credentials
No credentials needed.
## Known issues and limitations
There are no known issues and limitations.
## Deployment Instructions
Upload the connector and choose no authentication as the authentication type.

Просмотреть файл

@ -0,0 +1,585 @@
{
"swagger": "2.0",
"info": {
"title": "24 pull request",
"description": "connects to '24 pull request' for open source projects contibution",
"version": "1.0",
"contact": {
"name": "Bernard",
"url": "https://24pullrequests.com",
"email": "bkaraba14@gmail.com"
}
},
"host": "24pullrequests.com",
"basePath": "/",
"schemes": [
"https"
],
"consumes": [],
"produces": [],
"paths": {
"/users.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"nickname": {
"type": "string",
"description": "nickname"
},
"gravatar_id": {
"type": "string",
"description": "gravatar_id"
},
"github_profile": {
"type": "string",
"description": "github_profile"
},
"twitter_profile": {
"type": "string",
"description": "twitter_profile"
},
"contributions_count": {
"type": "integer",
"format": "int32",
"description": "contributions_count"
},
"organisations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
}
}
},
"description": "organisations"
},
"pull_requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "title"
},
"issue_url": {
"type": "string",
"description": "issue_url"
},
"repo_name": {
"type": "string",
"description": "repo_name"
},
"body": {
"type": "string",
"description": "body"
},
"created_at": {
"type": "string",
"description": "created_at"
}
}
},
"description": "pull_requests"
}
}
}
}
}
},
"summary": "Get users",
"description": "Get all users.",
"operationId": "GetUsers",
"parameters": [
{
"name": "page",
"in": "query",
"required": false,
"type": "integer",
"description": "The page number to display.",
"x-ms-summary": "page number"
}
]
}
},
"/projects.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "description"
},
"github_url": {
"type": "string",
"description": "github_url"
},
"main_language": {
"type": "string",
"description": "main_language"
}
}
}
}
}
},
"summary": "projects",
"description": "Get projects to contribute to.",
"operationId": "GetProjects",
"parameters": []
}
},
"/pull_requests.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "title"
},
"issue_url": {
"type": "string",
"description": "issue_url"
},
"repo_name": {
"type": "string",
"description": "repo_name"
},
"body": {
"type": "string",
"description": "body"
},
"user": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"nickname": {
"type": "string",
"description": "nickname"
},
"gravatar_id": {
"type": "string",
"description": "gravatar_id"
},
"github_profile": {
"type": "string",
"description": "github_profile"
},
"twitter_profile": {
"type": "string",
"description": "twitter_profile"
},
"contributions_count": {
"type": "integer",
"format": "int32",
"description": "contributions_count"
},
"link": {
"type": "string",
"description": "link"
}
},
"description": "user"
}
}
}
}
}
},
"summary": "contributions",
"description": "Load all contributions by users.",
"operationId": "GetPullRequests",
"parameters": []
}
},
"/pull_requests/meta.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"format": "int32",
"description": "count"
},
"total_pages": {
"type": "integer",
"format": "int32",
"description": "total_pages"
}
}
}
}
},
"summary": "number of contributions this year",
"description": "Load information about all the contributions this year.",
"operationId": "GetContributionsInfo",
"parameters": []
}
},
"/users/andrew.json": {},
"/organisations.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"nickname": {
"type": "string",
"description": "nickname"
},
"gravatar_id": {
"type": "string",
"description": "gravatar_id"
},
"github_profile": {
"type": "string",
"description": "github_profile"
},
"twitter_profile": {
"type": "string",
"description": "twitter_profile"
},
"contributions_count": {
"type": "integer",
"format": "int32",
"description": "contributions_count"
},
"link": {
"type": "string",
"description": "link"
},
"organisations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
}
}
},
"description": "organisations"
}
}
},
"description": "users"
}
}
}
}
}
},
"summary": "organisations",
"operationId": "GetAllOrganisations",
"description": "Load all organisations.",
"parameters": []
}
},
"/organisations/uswitch.json": {},
"/users/{name}.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"nickname": {
"type": "string",
"description": "nickname"
},
"gravatar_id": {
"type": "string",
"description": "gravatar_id"
},
"github_profile": {
"type": "string",
"description": "github_profile"
},
"twitter_profile": {
"type": "string",
"description": "twitter_profile"
},
"contributions_count": {
"type": "integer",
"format": "int32",
"description": "contributions_count"
},
"link": {
"type": "string",
"description": "link"
},
"organisations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
}
}
},
"description": "organisations"
},
"pull_requests": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "title"
},
"issue_url": {
"type": "string",
"description": "issue_url"
},
"repo_name": {
"type": "string",
"description": "repo_name"
},
"body": {
"type": "string",
"description": "body"
},
"created_at": {
"type": "string",
"description": "created_at"
}
}
},
"description": "pull_requests"
}
}
}
}
},
"summary": "get specific user",
"description": "Load information for a specific user.",
"operationId": "GetUser",
"parameters": [
{
"name": "name",
"in": "path",
"required": true,
"type": "string",
"description": "Name of the user.",
"x-ms-summary": "name of the user",
"x-ms-url-encoding": "single"
}
]
}
},
"/organisations/{organisation}.json": {
"get": {
"responses": {
"200": {
"description": "default",
"schema": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
},
"users": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"description": "id"
},
"nickname": {
"type": "string",
"description": "nickname"
},
"gravatar_id": {
"type": "string",
"description": "gravatar_id"
},
"github_profile": {
"type": "string",
"description": "github_profile"
},
"twitter_profile": {
"type": "string",
"description": "twitter_profile"
},
"contributions_count": {
"type": "integer",
"format": "int32",
"description": "contributions_count"
},
"link": {
"type": "string",
"description": "link"
},
"organisations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"login": {
"type": "string",
"description": "login"
},
"avatar_url": {
"type": "string",
"description": "avatar_url"
},
"link": {
"type": "string",
"description": "link"
}
}
},
"description": "organisations"
}
}
},
"description": "users"
}
}
}
}
},
"description": "Load information for a specific organisation.",
"summary": "specific organisation",
"operationId": "GetSpecificOrganisation",
"parameters": [
{
"name": "organisation",
"in": "path",
"required": true,
"type": "string",
"description": "Specific organisation.",
"x-ms-summary": "specific organisation",
"x-ms-url-encoding": "single"
}
]
}
}
},
"definitions": {},
"parameters": {},
"responses": {},
"securityDefinitions": {},
"security": [],
"tags": [],
"x-ms-connector-metadata": [
{
"propertyName": "Website",
"propertyValue": "https://24pullrequests.com"
},
{
"propertyName": "Privacy policy",
"propertyValue": "https://24pullrequests.com/contributing"
},
{
"propertyName": "Categories",
"propertyValue": "IT Operations;Collaboration"
}
]
}

Просмотреть файл

@ -0,0 +1,9 @@
{
"properties": {
"connectionParameters": {},
"iconBrandColor": "#da3b01",
"capabilities": [],
"publisher": "Bernard Karaba",
"stackOwner": "24pullrequests.com"
}
}