Browse the docs

GET /extensions/{id}/data

How many values an extension has stored on this Mac.

Details #

Returns {records}: the values the extension saved with its own storage. DELETE on the same path clears them (Reset Data).

curl -s -H "Authorization: Bearer $TOKEN" http://127.0.0.1:48080/extensions/my-ext/data

Parameters #

curl --unix-socket "$SWITCHBOARD_HOME/engine.sock" -X GET http://localhost/extensions/{id}/data

How many values an extension has stored. The Unix socket needs no token; loopback 127.0.0.1:48080 needs Authorization: Bearer <api-token>.

See also #