mirror of https://github.com/zulip/zulip.git
73 lines
2.3 KiB
JSON
73 lines
2.3 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",
|
|
"recipient_type": 2,
|
|
"timestamp": 1527876931,
|
|
"client": "website",
|
|
"submessages": [
|
|
|
|
],
|
|
"recipient_id": 20,
|
|
"subject_links": [
|
|
|
|
],
|
|
"sender_full_name": "Iago",
|
|
"sender_is_mirror_dummy": false,
|
|
"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_avatar_source": "G",
|
|
"sender_id": 5,
|
|
"stream_id": 5,
|
|
"content": "@**Outgoing Webhook Test** Zulip is the world\u2019s most productive group chat!",
|
|
"sender_realm_id": 1,
|
|
"sender_avatar_version": 1,
|
|
"display_recipient": "Verona",
|
|
"type": "stream",
|
|
"id": 112,
|
|
"is_me_message": false,
|
|
"reactions": [
|
|
|
|
],
|
|
"sender_realm_str": "zulip",
|
|
"raw_display_recipient": "Verona",
|
|
"sender_short_name": "iago",
|
|
"recipient_type_id": 5
|
|
},
|
|
"bot_email": "outgoing-bot@localhost"
|
|
}
|
|
}
|