Skip to content

Bye line things #112

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

Merged
merged 2 commits into from
Aug 12, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 0 additions & 117 deletions webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ components:
videoPlayComplete: "#/components/schemas/VideoPlayCompleteEvent"
beacon: "#/components/schemas/BeaconEvent"
accountLink: "#/components/schemas/AccountLinkEvent"
things: "#/components/schemas/ThingsEvent"
membership: "#/components/schemas/MembershipEvent"
module: "#/components/schemas/ModuleEvent"
activated: "#/components/schemas/ActivatedEvent"
Expand Down Expand Up @@ -747,122 +746,6 @@ components:
type: string
description: "Specified nonce (number used once) when verifying the user ID."


# https://developers.line.biz/en/reference/messaging-api/#scenario-result-event
ThingsEvent:
description: "Indicates that a user linked a device with LINE."
allOf:
- $ref: "#/components/schemas/Event"
- type: object
required:
- replyToken
- things
properties:
replyToken:
type: string
description: "Reply token used to send reply message to this event"
things:
$ref: "#/components/schemas/ThingsContent"

ThingsContent:
type: object
required:
- type
properties:
type:
type: string
description: "Type"
discriminator:
propertyName: type
mapping:
link: "#/components/schemas/LinkThingsContent"
unlink: "#/components/schemas/UnlinkThingsContent"
scenarioResult: "#/components/schemas/ScenarioResultThingsContent"
LinkThingsContent:
allOf:
- $ref: "#/components/schemas/ThingsContent"
- type: object
required:
- deviceId
description: "Indicates that a user linked a device with LINE."
properties:
deviceId:
type: string
description: "Device ID of the device that has been linked with LINE."
UnlinkThingsContent:
allOf:
- $ref: "#/components/schemas/ThingsContent"
- type: object
required:
- deviceId
description: "Indicates that the user unlinked a device from LINE."
properties:
deviceId:
type: string
description: "Device ID of the device that has been linked with LINE."
ScenarioResultThingsContent:
allOf:
- $ref: "#/components/schemas/ThingsContent"
- type: object
required:
- deviceId
- result
description: "This event indicates that an automatic communication scenario has been executed."
properties:
deviceId:
type: string
description: "Device ID of the device that has been linked with LINE."
result:
$ref: "#/components/schemas/ScenarioResult"
ScenarioResult:
externalDocs:
url: https://developers.line.biz/en/reference/messaging-api/#scenario-result-event
required:
- startTime
- endTime
- resultCode
type: object
properties:
scenarioId:
type: string
description: "Scenario ID executed"
revision:
type: integer
description: "Revision number of the scenario set containing the executed scenario"
startTime:
type: integer
format: int64
description: "Timestamp for when execution of scenario action started (milliseconds, LINE app time)"
endTime:
type: integer
format: int64
description: "Timestamp for when execution of scenario was completed (milliseconds, LINE app time)"
resultCode:
type: string
description: "Scenario execution completion status"
actionResults:
description: "Execution result of individual operations specified in action. Only included when things.result.resultCode is success."
type: array
items:
$ref: "#/components/schemas/ActionResult"
bleNotificationPayload:
description: "Data contained in notification."
type: string
errorReason:
description: "Error reason."
type: string
ActionResult:
required:
- type
type: object
properties:
type:
type: string
enum: [ void, binary ]
data:
description: "Base64-encoded binary data"
type: string

# https://developers.line.biz/en/reference/messaging-api/#membership-event
MembershipEvent:
description: "This event indicates that a user has subscribed (joined), unsubscribed (left), or renewed the bot's membership."
Expand Down
Loading