Check an API to see if a meteor site is available?

I’d like to programmatically see if a user’s chosen deploy destination (*.meteor.com) is available… It looks like there is some API at www.meteor.com/api/v1 but I can’t seem to figure it out - can anyone point me at the right endpoint ?

you can try ddp.connect() to that url and if you get a repsonse with a connection object, it means there is a site there. If not, it still may or may not be available, though depending on its crash status.

http://docs.meteor.com/#/full/ddp_connect

1 Like