API EXPLORER for Monster-UI

521 views
Skip to first unread message

Mikhail Rodionov

unread,
Mar 30, 2016, 10:49:06 AM3/30/16
to 2600hz-dev
Hello

I'm happy to announce availabilty of API EXPLORER app for Monster-UI (https://github.com/siplabs/monster-ui-apiexplorer). This application is a "KAZOO-UI Developer tab" on steroids and for Monster-UI.

Main features:
 - ALL known APIs  are supported
 - Syntax highlighting for JSON responses
 - Copy buttons
 - Pre-fetched selectable values for some fields
 - Elastic design

Don't hesitate sending us your feedback and improvement requests. 


Darren Schreiber

unread,
Mar 30, 2016, 10:50:04 AM3/30/16
to 2600h...@googlegroups.com
This seems great, thanks a lot Mikhail!

Might you consider committing this to the main repo? We would love to have this as a standard Monster app. Super helpful.

--
You received this message because you are subscribed to the Google Groups "2600hz-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mikhail Rodionov

unread,
Mar 30, 2016, 12:05:36 PM3/30/16
to 2600hz-dev, dschr...@2600hz.com
No problem! Let's discuss it off list :)

Darren Schreiber

unread,
Mar 30, 2016, 12:05:48 PM3/30/16
to 2600hz-dev
Yes, OK! :-)

Pramod Venugopal

unread,
Mar 31, 2016, 12:38:08 PM3/31/16
to 2600hz-dev
This is amazing!

Where do I send beer to ?

joe

unread,
Mar 31, 2016, 7:00:13 PM3/31/16
to 2600hz-dev
Just installed this now, this app is greatly appreciated!

lambda79

unread,
Dec 5, 2016, 8:37:38 AM12/5/16
to 2600hz-dev
Hi guys, 
do you happen to know if that App is working with Kazoo 4.0 ?

seems it is not working at all since new release of Kazoo and monster-ui

thx

fred

unread,
Dec 5, 2016, 10:14:38 PM12/5/16
to 2600hz-dev
Same here.  Not working on Kazoo v4 + MonsterUI with latest RPMs unless I am doing something wrong.

Mikhail Rodionov

unread,
Dec 6, 2016, 1:06:54 PM12/6/16
to 2600h...@googlegroups.com
Hi

It works but it needs some minor changes in monster itself.

This app is not supported unless there is a sponsorship.



--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/xfTK2ingigc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Mikhail Rodionov
CEO

fred

unread,
Dec 12, 2016, 3:51:24 PM12/12/16
to 2600hz-dev
Can you give a hint what the change is?  I am trying to troubleshoot but not having much luck.  I enabled javascript errors and get the following.



On Tuesday, December 6, 2016 at 10:06:54 AM UTC-8, Mikhail Rodionov wrote:
Hi

It works but it needs some minor changes in monster itself.

This app is not supported unless there is a sponsorship.


On Tue, Dec 6, 2016 at 12:56 AM, fred <shad...@hotmail.com> wrote:
Same here.  Not working on Kazoo v4 + MonsterUI with latest RPMs unless I am doing something wrong.

On Monday, December 5, 2016 at 5:37:38 AM UTC-8, lambda79 wrote:
Hi guys, 
do you happen to know if that App is working with Kazoo 4.0 ?

seems it is not working at all since new release of Kazoo and monster-ui

thx

--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/xfTK2ingigc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Sergey Safarov

unread,
Dec 13, 2016, 11:13:21 AM12/13/16
to 2600hz-dev
And download latest javascripts files (handlebars clipboard) to monster-ui directory.

 
понедельник, 12 декабря 2016 г., 23:51:24 UTC+3 пользователь fred написал:

fred

unread,
Dec 13, 2016, 2:50:19 PM12/13/16
to 2600hz-dev
Thanks.

I also had to fix highlighter.

highlighter = require('./lib/highlight'),


Then rename /apps/apiexplorer/highlight.pack.js to highlight.js

Seems to be working now.

Sergey Korobkov

unread,
Dec 14, 2016, 11:12:29 AM12/14/16
to 2600hz-dev
How about to use existing solution and not reinvent the wheel?
"Postman" extension for Chrome.

You can import swagger.json into it.


вторник, 6 декабря 2016 г., 5:14:38 UTC+2 пользователь fred написал:

Mikhail Rodionov

unread,
Dec 21, 2016, 11:04:10 AM12/21/16
to 2600hz-dev
Well, it's way more user-friendly and has a lot of nice features like pre-filling object lists and resolving names, etc. 
It has some features of say "object browser" which make it easier for not-so-hardcore people.

fred

unread,
Dec 22, 2016, 4:18:59 PM12/22/16
to 2600hz-dev
Yes, it is much easier to use than Postman.  For example, it will automatically grab AuthToken and accountId.  That elminates most of the hassle of working directly with API.

Sergey Korobkov

unread,
Dec 22, 2016, 6:22:22 PM12/22/16
to 2600hz-dev
The same beahvior if you add this script into "Test":
if (responseCode.code === 201) {
    try {
        var jsonData = JSON.parse(responseBody);
        postman.setEnvironmentVariable("AUTH_TOKEN", jsonData.auth_token);
        postman.setEnvironmentVariable("ACCOUNT_ID", jsonData.data.account_id);
    }
    catch (e) { }
}



четверг, 22 декабря 2016 г., 23:18:59 UTC+2 пользователь fred написал:

fred

unread,
Dec 22, 2016, 9:52:53 PM12/22/16
to 2600hz-dev
You still need to generate user:pass md5 hash or use an api token.

Mikhail Rodionov

unread,
Dec 23, 2016, 1:53:40 AM12/23/16
to 2600h...@googlegroups.com
It's just about doing everything manually like you suggest vs just using it.
It's "for the rest of us", for normal people. It's like automatic transmission vs stick - everybody can drive both but usually 80% people prefer automatic :) 


--
You received this message because you are subscribed to a topic in the Google Groups "2600hz-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/2600hz-dev/xfTK2ingigc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 2600hz-dev+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Darren Schreiber

unread,
Dec 23, 2016, 2:47:31 AM12/23/16
to 2600h...@googlegroups.com

This is a fantastic analogy

 

From: <ma...@sibtelcom.ru> on behalf of Mikhail Rodionov <ma...@siplabs.ru>
Reply-To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Date: Thursday, December 22, 2016 at 10:43 PM
To: "2600h...@googlegroups.com" <2600h...@googlegroups.com>
Subject: Re: API EXPLORER for Monster-UI

 

It's just about doing everything manually like you suggest vs just using it.

--

To unsubscribe from this group and all its topics, send an email to 2600hz-dev+...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.



 

--

 

Mikhail Rodionov

CEO

 

--

You received this message because you are subscribed to the Google Groups "2600hz-dev" group.

To unsubscribe from this group and stop receiving emails from it, send an email to 2600hz-dev+...@googlegroups.com.

fulc927

unread,
Jan 9, 2017, 2:31:25 PM1/9/17
to 2600hz-dev
Hey guys i am still struggling with api-explorer …
 
I did what you recommended to get api-explorer running through monster-ui-4.0-2.el7 (i can't thx you enough mikhail to have created this)

I was used to explore the REST API with the now dead KAZOO-UI (who was bomb for me!)

I uploaded a screenshot showing API-EXPLORER set my X-Auth-Token header not properly
Every method i am attempting are failling.

I just want the old kazoo-ui behavior back to normal


fred

unread,
Jan 9, 2017, 3:14:15 PM1/9/17
to 2600hz-dev
Try making the changes from this pull request.  Works for me.

fulc927

unread,
Jan 10, 2017, 2:39:43 PM1/10/17
to 2600hz-dev
thx you Fred, worked like a charm ;-)

altm

unread,
Jan 30, 2017, 11:57:06 PM1/30/17
to 2600hz-dev
Just in case someone is having issues with clipboard.js, the code included ./lib has a bug ("Clipboard is not a function").. I replace it with this version: https://github.com/zenorocha/clipboard.js and worked
Reply all
Reply to author
Forward
0 new messages