-
Notifications
You must be signed in to change notification settings - Fork 1.3k
LINE WORKS Incoming Webhook (Independent Publisher) #3705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
iwaohig
wants to merge
9
commits into
microsoft:dev
Choose a base branch
from
iwaohig:dev
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
b60b81e
Add files via upload
iwaohig 408e728
Update openapidefinition.json
iwaohig 2aee532
Update readme.md
iwaohig 5b52cec
Create apiProperties.json
iwaohig 786b4ee
Delete independent-publisher-connectors/LINE WORKS Incoming Webhook/o…
iwaohig 4344ca5
Merge branch 'microsoft:dev' into dev
iwaohig 0137919
Update readme.md
iwaohig 0ef0c32
Update apiDefinition.swagger.json
iwaohig 021474b
Merge branch 'microsoft:dev' into dev
iwaohig File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
99 changes: 99 additions & 0 deletions
99
independent-publisher-connectors/LINE WORKS Incoming Webhook/apiDefinition.swagger.json
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "LINE WORKS Incoming Webhook", | ||
"description": "This is a custom connector for LINE WORKS Incoming Webhook", | ||
"version": "1.0" | ||
}, | ||
"host": "webhook.worksmobile.com", | ||
"basePath": "/", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"paths": { | ||
"/message/{webhookId}": { | ||
"post": { | ||
"summary": "LINE WORKS Incoming Webhook", | ||
"operationId": "LWwebhook", | ||
"parameters": [ | ||
{ | ||
"name": "webhookId", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "Enter the ID found at the end of the Webhook URL." | ||
}, | ||
{ | ||
"in": "body", | ||
"name": "body", | ||
"required": true, | ||
"schema": { | ||
"type": "object", | ||
"properties": { | ||
"title": { | ||
"type": "string", | ||
"description": "Optional. If not specified, the webhook name will be used as the title." | ||
}, | ||
"body": { | ||
"type": "object", | ||
"required": [ | ||
"text" | ||
], | ||
"properties": { | ||
"text": { | ||
"type": "string", | ||
"description": "Required. Message text." | ||
} | ||
} | ||
}, | ||
"button": { | ||
"type": "object", | ||
"required": [ | ||
"label", | ||
"url" | ||
], | ||
"properties": { | ||
"label": { | ||
"type": "string", | ||
"description": "To use the button, both 'label' and 'url' must be specified. If either is missing, the button will not be displayed." | ||
}, | ||
"url": { | ||
"type": "string", | ||
"description": "To use the button, both 'label' and 'url' must be specified. If either is missing, the button will not be displayed." | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "success" | ||
}, | ||
"400": { | ||
"description": "BadRequest" | ||
}, | ||
"429": { | ||
"description": "Too Many Requests" | ||
}, | ||
"default": { | ||
"description": "error occurred" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": {}, | ||
"parameters": {}, | ||
"responses": {}, | ||
"securityDefinitions": {}, | ||
"security": [], | ||
"tags": [] | ||
} |
9 changes: 9 additions & 0 deletions
9
independent-publisher-connectors/LINE WORKS Incoming Webhook/apiProperties.json
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"properties": { | ||
"connectionParameters": {}, | ||
"iconBrandColor": "#da3b01", | ||
"capabilities": [], | ||
"publisher": "iwaohig", | ||
"stackOwner": "LINE WORKS corp." | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
independent-publisher-connectors/LINE WORKS Incoming Webhook/readme.md
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## LINE WORKS Incoming Webhook Connector | ||
|
||
This connector allows you to send messages to LINE WORKS chat rooms through the LINE WORKS Incoming Webhook app. | ||
|
||
You can send a message with a title and body, and optionally include a link button with a specified URL. | ||
|
||
## Publisher : iwaohig | ||
|
||
## Prerequisites | ||
|
||
Before using this connector, ensure that the LINE WORKS Incoming Webhook App is installed in your LINE WORKS tenant. For detailed installation instructions, please refer to the documentation at the following URL: | ||
|
||
https://developers.worksmobile.com/jp/docs/webhook | ||
|
||
## Obtaining Credentials | ||
|
||
This connector does not require authentication. Identification is done through the webhookId, which is specified in the webhook URL. | ||
|
||
## Supported Operations | ||
This connector supports the following operation: | ||
|
||
Send Message: Sends a message to LINE WORKS chat rooms through the LINE WORKS Incoming Webhook app. This operation uses the specified webhookId to identify the target chat room. | ||
|
||
## Known Issues and Limitations | ||
N/A |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.