mirror of
https://iceshrimp.dev/Crimekillz/jointrashposs.git
synced 2024-11-25 10:19:07 +01:00
811461f235
* New translations thread-mute.md (Chinese Simplified) * New translations webhook.md (Chinese Simplified) * New translations 1.troubleshooting.md (Chinese Simplified) * New translations donate.md (Chinese Simplified) * New translations misskey-hub.md (Chinese Simplified) * New translations announcement.md (Chinese Simplified) * New translations role.md (Chinese Simplified) * New translations 1.index.md (Chinese Simplified) * New translations bash.md (Chinese Simplified) * New translations docker.md (Chinese Simplified) * New translations kubernetes.md (Chinese Simplified) * New translations manual.md (Chinese Simplified) * New translations ubuntu-manual.md (Chinese Simplified) * New translations cdn.md (Chinese Simplified) * New translations disable-timelines.md (Chinese Simplified) * New translations 1.index.md (Chinese Simplified) * New translations permission.md (Chinese Simplified) * New translations 1.index.md (Chinese Simplified) * New translations 2.miauth.md (Chinese Simplified) * New translations 5.releases.md (Chinese Simplified) * New translations 1.index.md (Chinese Simplified) * New translations 3.oauth.md (Chinese Simplified) * New translations ja-jp.yml (Chinese Traditional) * New translations 1.about-misskey.md (Chinese Traditional) * New translations 2.get-started.md (Chinese Traditional) * New translations 3.join-server.md (Chinese Traditional) * New translations 4.things-to-know.md (Chinese Traditional) * New translations ads.md (Chinese Traditional) * New translations drive.md (Chinese Traditional) * New translations mfm.md (Chinese Traditional) * New translations mute-and-block.md (Chinese Traditional) * New translations pages.md (Chinese Traditional) * New translations poll.md (Chinese Traditional) * New translations share-form.md (Chinese Traditional) * New translations thread-mute.md (Chinese Traditional) * New translations webhook.md (Chinese Traditional) * New translations 1.troubleshooting.md (Chinese Traditional) * New translations donate.md (Chinese Traditional) * New translations misskey-hub.md (Chinese Traditional) * New translations announcement.md (Chinese Traditional) * New translations role.md (Chinese Traditional) * New translations 1.index.md (Chinese Traditional) * New translations bash.md (Chinese Traditional) * New translations docker.md (Chinese Traditional) * New translations kubernetes.md (Chinese Traditional) * New translations manual.md (Chinese Traditional) * New translations ubuntu-manual.md (Chinese Traditional) * New translations cdn.md (Chinese Traditional) * New translations disable-timelines.md (Chinese Traditional) * New translations 1.index.md (Chinese Traditional) * New translations permission.md (Chinese Traditional) * New translations 1.index.md (Chinese Traditional) * New translations 2.miauth.md (Chinese Traditional) * New translations publish-on-your-website.md (Chinese Traditional) * New translations 5.releases.md (Chinese Traditional) * New translations 1.index.md (Chinese Traditional) * New translations 3.oauth.md (Chinese Traditional) * New translations 1.about-misskey.md (English) * New translations 2.get-started.md (English) * New translations 3.join-server.md (English) * New translations 4.things-to-know.md (English) * New translations ads.md (English) * New translations drive.md (English) * New translations mfm.md (English) * New translations mute-and-block.md (English) * New translations pages.md (English) * New translations poll.md (English) * New translations share-form.md (English) * New translations thread-mute.md (English) * New translations webhook.md (English) * New translations 1.troubleshooting.md (English) * New translations donate.md (English) * New translations misskey-hub.md (English) * New translations announcement.md (English) * New translations role.md (English) * New translations 1.index.md (English) * New translations bash.md (English) * New translations docker.md (English) * New translations kubernetes.md (English) * New translations manual.md (English) * New translations ubuntu-manual.md (English) * New translations cdn.md (English) * New translations disable-timelines.md (English) * New translations 1.index.md (English) * New translations permission.md (English) * New translations 1.index.md (English) * New translations 2.miauth.md (English) * New translations 5.releases.md (English) * New translations 1.index.md (English) * New translations 3.oauth.md (English) * New translations 1.about-misskey.md (Indonesian) * New translations 2.get-started.md (Indonesian) * New translations 3.join-server.md (Indonesian) * New translations 4.things-to-know.md (Indonesian) * New translations ads.md (Indonesian) * New translations drive.md (Indonesian) * New translations mfm.md (Indonesian) * New translations mute-and-block.md (Indonesian) * New translations pages.md (Indonesian) * New translations poll.md (Indonesian) * New translations share-form.md (Indonesian) * New translations thread-mute.md (Indonesian) * New translations webhook.md (Indonesian) * New translations 1.troubleshooting.md (Indonesian) * New translations donate.md (Indonesian) * New translations misskey-hub.md (Indonesian) * New translations announcement.md (Indonesian) * New translations role.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations bash.md (Indonesian) * New translations docker.md (Indonesian) * New translations kubernetes.md (Indonesian) * New translations manual.md (Indonesian) * New translations ubuntu-manual.md (Indonesian) * New translations cdn.md (Indonesian) * New translations disable-timelines.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations permission.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations 2.miauth.md (Indonesian) * New translations 5.releases.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations 3.oauth.md (Indonesian) * New translations 5.releases.md (Korean) * New translations ja-jp.yml (English) * New translations docker.md (English) * New translations ja-jp.yml (Indonesian) * New translations 5.releases.md (Korean) * New translations ja-jp.yml (Indonesian) * New translations 1.about-misskey.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations ads.md (Indonesian) * New translations antenna.md (Indonesian) * New translations charts.md (Indonesian) * New translations clip.md (Indonesian) * New translations custom-emoji.md (Indonesian) * New translations deck.md (Indonesian) * New translations drive.md (Indonesian) * New translations favorite.md (Indonesian) * New translations follow.md (Indonesian) * New translations hashtag.md (Indonesian) * New translations mention.md (Indonesian) * New translations mfm.md (Indonesian) * New translations 1.index.md (Indonesian) * New translations announcement.md (Indonesian) * New translations bash.md (Indonesian) * New translations ja-jp.yml (Indonesian) * New translations mute-and-block.md (Indonesian) * New translations pages.md (Indonesian) * New translations apps.md (Indonesian) * New translations donate.md (Indonesian) * New translations bash.md (Indonesian) * New translations docker.md (Indonesian) * New translations manual.md (Indonesian) * New translations 1.about-misskey.md (Chinese Traditional) * New translations 1.about-misskey.md (Chinese Traditional) * New translations create-plugin.md (French) * New translations create-plugin.md (Italian) * New translations create-plugin.md (Polish) * New translations create-plugin.md (Chinese Simplified) * New translations create-plugin.md (Chinese Traditional) * New translations create-plugin.md (Indonesian) * New translations aiscript.md (French) * New translations aiscript.md (Italian) * New translations aiscript.md (Korean) * New translations aiscript.md (Polish) * New translations aiscript.md (Chinese Simplified) * New translations aiscript.md (Chinese Traditional) * New translations aiscript.md (English) * New translations aiscript.md (Indonesian) * New translations ja-jp.yml (Chinese Traditional) * New translations ja-jp.yml (Chinese Traditional) * New translations troubleshooting.md (French) * New translations libraries.md (French) * New translations troubleshooting.md (Italian) * New translations libraries.md (Italian) * New translations troubleshooting.md (Korean) * New translations libraries.md (Korean) * New translations troubleshooting.md (Polish) * New translations libraries.md (Polish) * New translations troubleshooting.md (Chinese Simplified) * New translations libraries.md (Chinese Simplified) * New translations troubleshooting.md (Chinese Traditional) * New translations libraries.md (Chinese Traditional) * New translations troubleshooting.md (English) * New translations libraries.md (English) * New translations troubleshooting.md (Indonesian) * New translations libraries.md (Indonesian) * New translations ja-jp.yml (Chinese Traditional) * New translations ja-jp.yml (French) * New translations 2.miauth.md (French) * New translations ja-jp.yml (Italian) * New translations 2.miauth.md (Italian) * New translations ja-jp.yml (Korean) * New translations ja-jp.yml (Polish) * New translations 2.miauth.md (Polish) * New translations ja-jp.yml (Chinese Simplified) * New translations 2.miauth.md (Chinese Simplified) * New translations 2.miauth.md (Chinese Traditional) * New translations ja-jp.yml (English) * New translations 2.miauth.md (English) * New translations ja-jp.yml (Indonesian) * New translations 2.miauth.md (Indonesian) * Revert "New translations 1.about-misskey.md (English)" This reverts commit2b9572c2cf
. * Revert "New translations 2.get-started.md (English)" This reverts commit2fa05a5aee
. * Revert "New translations 4.things-to-know.md (English)" This reverts commit698c5e980d
. * Revert "New translations ads.md (English)" This reverts commitf0e1cd2965
. * Revert "New translations mfm.md (English)" This reverts commit51dcc0fc10
. * Revert "New translations webhook.md (English)" This reverts commitcfbebc5783
. * Revert "New translations 1.index.md (English)" This reverts commit67d2bec45c
. * Revert "New translations disable-timelines.md (English)" This reverts commit19ead90df6
. * Revert "New translations webhook.md (French)" This reverts commit52e6a8429a
. * Revert "New translations webhook.md (Chinese Traditional)" This reverts commit395f0fbc4a
. * Revert "New translations webhook.md (Polish)" This reverts commitac4e2c534e
. * Revert "New translations webhook.md (Korean)" This reverts commit14853e1eab
. * Revert "New translations pages.md (Korean)" This reverts commitf88e73d1ce
. * Revert "New translations bash.md (Korean)" This reverts commit60c9fae6a8
. * Revert "New translations kubernetes.md (Korean)" This reverts commit2239e8fd23
. * Revert "New translations ubuntu-manual.md (Korean)" This reverts commit3aab982625
. * Revert "New translations 1.about-misskey.md (Chinese Traditional)" This reverts commit5ac92102db
. * Revert "New translations 2.get-started.md (Chinese Traditional)" This reverts commitd090253e34
. * Revert "New translations 3.join-server.md (Chinese Traditional)" This reverts commit634db4d49b
. * Revert "New translations 4.things-to-know.md (Chinese Traditional)" This reverts commit383ee08013
. * Revert "New translations ads.md (Chinese Traditional)" This reverts commit6ed3b6885f
. * Revert "New translations drive.md (Chinese Traditional)" This reverts commit988cacb17e
. * Revert "New translations mfm.md (Chinese Traditional)" This reverts commit6b53e36fc4
. * Revert "New translations mute-and-block.md (Chinese Traditional)" This reverts commit44b1b3c723
. * Revert "New translations pages.md (Chinese Traditional)" This reverts commit4e60747a55
. * Revert "New translations poll.md (Chinese Traditional)" This reverts commit00385dc6a1
. * Revert "New translations share-form.md (Chinese Traditional)" This reverts commit8858eaf2f7
. * Revert "New translations thread-mute.md (Chinese Traditional)" This reverts commitd07bd70000
. * Revert "New translations 1.troubleshooting.md (Chinese Traditional)" This reverts commit7405a91ff9
. * fix * New translations aiscript.md (Korean) * New translations ja-jp.yml (Chinese Traditional) * New translations troubleshooting.md (Korean) * New translations ja-jp.yml (French) * New translations ja-jp.yml (Italian) * New translations ja-jp.yml (Korean) * New translations ja-jp.yml (Polish) * New translations ja-jp.yml (Chinese Simplified) * New translations ja-jp.yml (English) * New translations ja-jp.yml (Indonesian) * New translations 5.releases.md (Korean) * fix * fix * fix * fix
159 lines
3.4 KiB
Markdown
159 lines
3.4 KiB
Markdown
# Webhook
|
|
|
|
:::tip
|
|
|
|
버전 12.109.0 이후 기능입니다.
|
|
|
|
:::
|
|
|
|
:::warning
|
|
|
|
실험적인 기능이기 때문에 작동이 불안정하거나 향후 사양이 변경될 수 있습니다.
|
|
|
|
:::
|
|
|
|
Misskey에는 Webhook이 준비되어 있습니다.Webhook을 이용하면 Misskey의 다양한 이벤트를 실시간으로 받아볼 수 있습니다.
|
|
|
|
설정 > Webhook에서 Webhook을 관리할 수 있습니다.
|
|
|
|
Webhook이 등록되면 지정한 이벤트가 발생하면 지정한 URL로 HTTP 요청이 전송됩니다.요청의 메서드는 POST이고, 본문은 JSON입니다.
|
|
또한, 요청 헤더에는 `X-Misskey-Hook-Secret`이라는 이름으로 등록 시 설정한 시크릿이 포함됩니다.이 시크릿이 올바른지 확인하여 요청이 유효한지 판단할 수 있습니다.
|
|
|
|
요청 페이로드에는 다음과 같은 속성이 들어갑니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
hookId: {
|
|
type: 'string',
|
|
description: 'Webhook ID',
|
|
},
|
|
userId: {
|
|
type: 'string',
|
|
description: 'Webhook作成者のユーザーID',
|
|
},
|
|
eventId: {
|
|
type: 'string',
|
|
description: 'イベントのID',
|
|
},
|
|
createdAt: {
|
|
type: 'integer',
|
|
description: 'イベントが発生した日時(UNIX time、ミリ秒)',
|
|
},
|
|
type: {
|
|
type: 'string',
|
|
description: 'イベントの種類',
|
|
},
|
|
body: {
|
|
type: 'object',
|
|
description: 'イベントのペイロード',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
대상 서버가 5xx 오류를 반환하거나 응답하지 않는 경우 시간을 열어 요청을 다시 전송합니다.
|
|
|
|
Webhook은 관리 화면에서 개별적으로 활성 상태를 설정할 수 있으며, 일시적으로 요청 전송을 중지시킬 수 있습니다.
|
|
|
|
## 이벤트
|
|
|
|
각 이벤트마다 설명과 페이로드를 표시합니다.
|
|
|
|
### follow
|
|
|
|
자신이 누군가를 팔로우했을 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
user: {
|
|
$ref: 'misskey://User',
|
|
description: 'フォローしたユーザー',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### followed
|
|
|
|
누군가가 나를 팔로우했을 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
user: {
|
|
$ref: 'misskey://User',
|
|
description: 'フォローを行ったユーザー',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### unfollow
|
|
|
|
자신이 누군가를 팔로우 해제했을 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
user: {
|
|
$ref: 'misskey://User',
|
|
description: 'フォロー解除したユーザー',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### note
|
|
|
|
자신이 메모를 게시할 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
note: {
|
|
$ref: 'misskey://Note',
|
|
description: '作成されたノート',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### reply
|
|
|
|
자신의 노트에 답장을 받았을 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
note: {
|
|
$ref: 'misskey://Note',
|
|
description: '返信',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### renote
|
|
|
|
자신의 노트가 Renote 되었을 때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
note: {
|
|
$ref: 'misskey://Note',
|
|
description: 'Renote',
|
|
},
|
|
}
|
|
}"/>
|
|
|
|
### mention
|
|
|
|
자신에게 멘션이 왔을때 발생합니다.
|
|
|
|
<MkSchemaViewerItemObject :schema="{
|
|
type: 'object',
|
|
properties: {
|
|
note: {
|
|
$ref: 'misskey://Note',
|
|
description: 'メンションを含むノート',
|
|
},
|
|
}
|
|
}"/>
|