2018-01-26 22:11:42 +01:00
|
|
|
{
|
|
|
|
"render-message":{
|
|
|
|
"msg":"",
|
|
|
|
"rendered":"<p><strong>foo<\/strong><\/p>",
|
|
|
|
"result":"success"
|
2018-01-27 22:26:16 +01:00
|
|
|
},
|
|
|
|
"stream-message": {
|
|
|
|
"msg":"",
|
|
|
|
"id":134,
|
|
|
|
"result":"success"
|
2018-01-27 22:56:36 +01:00
|
|
|
},
|
|
|
|
"private-message": {
|
|
|
|
"msg":"",
|
|
|
|
"id":134,
|
|
|
|
"result":"success"
|
2018-01-27 23:18:19 +01:00
|
|
|
},
|
|
|
|
"update-message": {
|
|
|
|
"msg":"",
|
|
|
|
"result":"success"
|
2018-01-28 00:06:45 +01:00
|
|
|
},
|
|
|
|
"get-stream-id": {
|
|
|
|
"stream_id":15,
|
|
|
|
"result":"success",
|
|
|
|
"msg":""
|
2018-01-28 00:39:16 +01:00
|
|
|
},
|
|
|
|
"get-subscribed-streams": {
|
|
|
|
"msg":"",
|
|
|
|
"result":"success",
|
|
|
|
"subscriptions":[
|
|
|
|
{
|
|
|
|
"audible_notifications":true,
|
|
|
|
"color":"#e79ab5",
|
|
|
|
"description":"A Scandinavian country",
|
|
|
|
"desktop_notifications":true,
|
|
|
|
"email_address":"Denmark+187b4125ed36d6af8b5d03ef4f65c0cf@zulipdev.com:9981",
|
|
|
|
"in_home_view":true,
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Denmark",
|
|
|
|
"pin_to_top":false,
|
|
|
|
"push_notifications":false,
|
|
|
|
"stream_id":1,
|
|
|
|
"subscribers":[
|
|
|
|
"ZOE@zulip.com",
|
|
|
|
"hamlet@zulip.com",
|
|
|
|
"iago@zulip.com",
|
|
|
|
"othello@zulip.com",
|
|
|
|
"prospero@zulip.com"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"audible_notifications":true,
|
|
|
|
"color":"#e79ab5",
|
|
|
|
"description":"Located in the United Kingdom",
|
|
|
|
"desktop_notifications":true,
|
|
|
|
"email_address":"Scotland+f5786390183e60a1ccb18374f9d05649@zulipdev.com:9981",
|
|
|
|
"in_home_view":true,
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Scotland",
|
|
|
|
"pin_to_top":false,
|
|
|
|
"push_notifications":false,
|
|
|
|
"stream_id":3,
|
|
|
|
"subscribers":[
|
|
|
|
"ZOE@zulip.com",
|
|
|
|
"iago@zulip.com",
|
|
|
|
"othello@zulip.com",
|
|
|
|
"prospero@zulip.com"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"audible_notifications":true,
|
|
|
|
"color":"#e79ab5",
|
|
|
|
"description":"A city in Italy",
|
|
|
|
"desktop_notifications":true,
|
|
|
|
"email_address":"Verona+faaa92dc82cf143174ddc098a1c832ef@zulipdev.com:9981",
|
|
|
|
"in_home_view":true,
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Verona",
|
|
|
|
"pin_to_top":false,
|
|
|
|
"push_notifications":false,
|
|
|
|
"stream_id":5,
|
|
|
|
"subscribers":[
|
|
|
|
"AARON@zulip.com",
|
|
|
|
"ZOE@zulip.com",
|
|
|
|
"cordelia@zulip.com",
|
|
|
|
"hamlet@zulip.com",
|
|
|
|
"iago@zulip.com",
|
|
|
|
"othello@zulip.com",
|
|
|
|
"prospero@zulip.com"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"audible_notifications":false,
|
|
|
|
"color":"#76ce90",
|
|
|
|
"description":"New stream for testing",
|
|
|
|
"desktop_notifications":false,
|
|
|
|
"email_address":"new%0032stream+e1917b4fc733268e91fcc57cf79a9249@zulipdev.com:9981",
|
|
|
|
"in_home_view":true,
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"new stream",
|
|
|
|
"pin_to_top":false,
|
|
|
|
"push_notifications":false,
|
|
|
|
"stream_id":6,
|
|
|
|
"subscribers":[
|
|
|
|
"iago@zulip.com"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2018-01-31 05:04:43 +01:00
|
|
|
},
|
|
|
|
"get-all-streams": {
|
|
|
|
"msg":"",
|
|
|
|
"result":"success",
|
|
|
|
"streams":[
|
|
|
|
{
|
|
|
|
"description":"A Scandinavian country",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Denmark",
|
|
|
|
"stream_id":1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description":"Yet another Italian city",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Rome",
|
|
|
|
"stream_id":2
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description":"Located in the United Kingdom",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Scotland",
|
|
|
|
"stream_id":3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description":"A northeastern Italian city",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Venice",
|
|
|
|
"stream_id":4
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description":"A city in Italy",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"Verona",
|
|
|
|
"stream_id":5
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"description":"New stream for testing",
|
|
|
|
"invite_only":false,
|
|
|
|
"name":"new stream",
|
|
|
|
"stream_id":6
|
|
|
|
}
|
|
|
|
]
|
2018-01-31 05:36:57 +01:00
|
|
|
},
|
|
|
|
"create-user": {
|
|
|
|
"msg":"",
|
|
|
|
"result":"success"
|
2018-01-31 06:06:56 +01:00
|
|
|
},
|
|
|
|
"get-profile": {
|
|
|
|
"client_id":"74c768b081076fdb3c4326256c17467e",
|
|
|
|
"email":"iago@zulip.com",
|
|
|
|
"full_name":"Iago",
|
|
|
|
"is_admin":true,
|
|
|
|
"is_bot":false,
|
|
|
|
"max_message_id":30,
|
|
|
|
"msg":"",
|
|
|
|
"pointer":-1,
|
|
|
|
"result":"success",
|
|
|
|
"short_name":"iago",
|
|
|
|
"user_id":5
|
2018-02-06 04:17:10 +01:00
|
|
|
},
|
|
|
|
"add-subscriptions": {
|
|
|
|
"without_principals": {
|
|
|
|
"already_subscribed":{
|
|
|
|
|
|
|
|
},
|
|
|
|
"msg":"",
|
|
|
|
"result":"success",
|
|
|
|
"subscribed":{
|
|
|
|
"iago@zulip.com":[
|
|
|
|
"new stream"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2018-02-06 04:47:40 +01:00
|
|
|
},
|
|
|
|
"remove-subscriptions": {
|
|
|
|
"msg":"",
|
|
|
|
"not_subscribed":[
|
|
|
|
|
|
|
|
],
|
|
|
|
"removed":[
|
|
|
|
"new stream"
|
|
|
|
],
|
|
|
|
"result":"success",
|
2018-02-06 21:04:07 +01:00
|
|
|
},
|
|
|
|
"invalid-api-key": {
|
|
|
|
"msg":"Invalid API key",
|
|
|
|
"result":"error"
|
2018-02-07 04:25:23 +01:00
|
|
|
},
|
|
|
|
"get-all-users": {
|
|
|
|
"members":[
|
|
|
|
{
|
|
|
|
"avatar_url":"https:\/\/secure.gravatar.com\/avatar\/818c212b9f8830dfef491b3f7da99a14?d=identicon&version=1",
|
|
|
|
"bot_type":null,
|
|
|
|
"email":"AARON@zulip.com",
|
|
|
|
"full_name":"aaron",
|
|
|
|
"is_active":true,
|
|
|
|
"is_admin":false,
|
|
|
|
"is_bot":false,
|
|
|
|
"user_id":1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"avatar_url":"https:\/\/secure.gravatar.com\/avatar\/77c3871a68c8d70356156029fd0a4999?d=identicon&version=1",
|
|
|
|
"bot_type":null,
|
|
|
|
"email":"cordelia@zulip.com",
|
|
|
|
"full_name":"Cordelia Lear",
|
|
|
|
"is_active":true,
|
|
|
|
"is_admin":false,
|
|
|
|
"is_bot":false,
|
|
|
|
"user_id":3
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"avatar_url":"https:\/\/secure.gravatar.com\/avatar\/0cbf08f3a355995fa2ec542246e35123?d=identicon&version=1",
|
|
|
|
"bot_type":null,
|
|
|
|
"email":"newbie@zulip.com",
|
|
|
|
"full_name":"New User",
|
|
|
|
"is_active":true,
|
|
|
|
"is_admin":false,
|
|
|
|
"is_bot":false,
|
|
|
|
"user_id":24
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"msg":"",
|
|
|
|
"result":"success"
|
2018-02-07 05:00:10 +01:00
|
|
|
},
|
|
|
|
"register-queue": {
|
|
|
|
"last_event_id":-1,
|
|
|
|
"msg":"",
|
|
|
|
"queue_id":"1517975029:0",
|
|
|
|
"result":"success"
|
2018-02-08 03:54:20 +01:00
|
|
|
},
|
|
|
|
"delete-queue": {
|
|
|
|
"msg":"",
|
|
|
|
"result":"success"
|
2018-02-16 20:25:59 +01:00
|
|
|
},
|
|
|
|
"nonexistent-stream-error": {
|
|
|
|
"code":"BAD_REQUEST",
|
|
|
|
"msg":"Stream 'nonexistent_stream' does not exist",
|
|
|
|
"result":"error"
|
2018-01-26 22:11:42 +01:00
|
|
|
}
|
|
|
|
}
|