- id
- slug
- collection
- name
- description
- id
| malou$ java -cp "bin/*" -Djava.library.path=native blueprint.Blueprint | |
| Operating system detected: MacOS | |
| Starting Blueprint v0021.. Good luck! | |
| Current folder: /Users/malou/Downloads/Blueprint0021 | |
| Initializing database.. | |
| Cache is up to date. | |
| Exception in Application start method | |
| java.lang.reflect.InvocationTargetException | |
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) |
| Ape.registerCmd("objectPush", true, function(params, infos) { | |
| //Make sure we have a channel defined | |
| if (params.channel && params.channel != null) { | |
| var chan = Ape.getChannelByName(params.channel); | |
| if (!chan) return ["401", "UNKNOWN_CHANNEL"]; | |
| //Make data optional | |
| if (!params.data) { |
| HTTP / 1.1 200 OK | |
| Pragma: no - cache | |
| Cache - Control: no - cache, | |
| must - revalidate | |
| Expires: Thu, | |
| 27 Dec 1986 07: 30: 00 GMT | |
| Content - Type: application / x - ape - event - stream | |
| [{ | |
| "time": "1398873326", |
| #!/bin/sh | |
| # | |
| # Example init.d script with LSB support. | |
| # | |
| # Please read this init.d carefully and modify the sections to | |
| # adjust it to the program you want to run. | |
| # | |
| # Copyright (c) 2007 Javier Fernandez-Sanguino <[email protected]> | |
| # | |
| # This is free software; you may redistribute it and/or modify |
| Ape.registerCmd("channelsUserNb", false, function(params, infos) { | |
| //Object to be returned | |
| var reponse = new Object; | |
| //List of channel, as an Array | |
| var channelList = params.channelList; | |
| //We loop for every channel in the Array | |
| for (x in channelList) |