POST /apps/rescan
Looks for apps again right now and answers with the list.
Details #
Switchboard rescans on its own when an app is installed, updated or removed. This does it on demand, for example straight after you build an app. The answer is the same as GET /apps.
curl -s -X POST -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/apps/rescan
Parameters #
curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X POST http://localhost/apps/rescan
Look for apps again now. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.