[Noisebridge-discuss] API now lets you create new doorcodes

Danny O'Brien danny at spesh.com
Mon Nov 5 06:12:00 UTC 2012


This needs a nice web page on pony to work for everyone, but for now,
those who know how to hack on an API (and already have a doorcode) can
finally create new ones like this:

https://www.noisebridge.net/wiki/API#POST_.2Fgate.2Fkey.2F.5Bdoorcode.5D

Suppose you have a doorcode 8499146, and you'd like to give a friend a
new doorcode. She asks if she can have the number '7895473'. Go to
your local friendly command line (while in the space), and type:

 % curl -v -X POST -d create=True -d preferred=7895473
http://api.noisebridge.net/gate/key/8499146

Voila!

It will probably all be broken. Bugs (and preferably fixes) gladly accepted at:
https://github.com/noisebridge/noise-api/issues

for now.

d.



More information about the Noisebridge-discuss mailing list