mirror of https://github.com/zulip/zulip.git
67 lines
2.2 KiB
JSON
67 lines
2.2 KiB
JSON
{
|
|
"bad_event_queue_id_error": {
|
|
"code": "BAD_EVENT_QUEUE_ID",
|
|
"msg": "Bad event queue id: 1518820930:1",
|
|
"queue_id": "1518820930:1",
|
|
"result": "error"
|
|
},
|
|
"invalid-api-key": {
|
|
"msg": "Invalid API key",
|
|
"result": "error"
|
|
},
|
|
"missing-request-argument-error": {
|
|
"code": "REQUEST_VARIABLE_MISSING",
|
|
"msg": "Missing 'content' argument",
|
|
"result": "error",
|
|
"var_name": "content"
|
|
},
|
|
"successful-response-empty": {
|
|
"msg": "",
|
|
"result": "success"
|
|
},
|
|
"update-message-edit-permission-error": {
|
|
"code": "BAD_REQUEST",
|
|
"msg": "You don't have permission to edit this message",
|
|
"result": "error"
|
|
},
|
|
"user-not-authorized-error": {
|
|
"code": "BAD_REQUEST",
|
|
"msg": "User not authorized for this query",
|
|
"result": "error"
|
|
},
|
|
"zulip-outgoing-webhook-payload": {
|
|
"data": "@**Outgoing Webhook Test** Zulip is the world\u2019s most productive group chat!",
|
|
"trigger": "mention",
|
|
"token": "xvOzfurIutdRRVLzpXrIIHXJvNfaJLJ0",
|
|
"message": {
|
|
"subject": "Verona2",
|
|
"sender_email": "iago@zulip.com",
|
|
"timestamp": 1527876931,
|
|
"client": "website",
|
|
"submessages": [
|
|
|
|
],
|
|
"recipient_id": 20,
|
|
"subject_links": [
|
|
|
|
],
|
|
"sender_full_name": "Iago",
|
|
"avatar_url": "https://secure.gravatar.com/avatar/1f4f1575bf002ae562fea8fc4b861b09?d=identicon&version=1",
|
|
"rendered_content": "<p><span class=\"user-mention\" data-user-id=\"25\">@Outgoing Webhook Test</span> Zulip is the world\u2019s most productive group chat!</p>",
|
|
"sender_id": 5,
|
|
"stream_id": 5,
|
|
"content": "@**Outgoing Webhook Test** Zulip is the world\u2019s most productive group chat!",
|
|
"display_recipient": "Verona",
|
|
"type": "stream",
|
|
"id": 112,
|
|
"is_me_message": false,
|
|
"reactions": [
|
|
|
|
],
|
|
"sender_realm_str": "zulip",
|
|
"sender_short_name": "iago"
|
|
},
|
|
"bot_email": "outgoing-bot@localhost"
|
|
}
|
|
}
|