From 7d9c43916b0600ac4879dfe9793eab807a83ab2b Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Mon, 10 Mar 2014 22:45:18 +0200 Subject: rename ACF2 to Alpine Configurator (aconf) --- protocol.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'protocol.txt') diff --git a/protocol.txt b/protocol.txt index 85804b4..8853161 100644 --- a/protocol.txt +++ b/protocol.txt @@ -1,5 +1,5 @@ -ACF2 HTTP Protocol -================== +Alpine Configurator HTTP Protocol +================================= Load JavaScript client: req: GET / @@ -8,33 +8,33 @@ Log in: req: POST /login - body is a JSON object with username and password attributes resp headers: - - X-ACF-Auth-Token: authentication token, use in the header of + - X-AConf-Auth-Token: authentication token, use in the header of subsequent requests - - X-ACF-Save-Required: if set to 1, an explicit request is + - X-AConf-Save-Required: if set to 1, an explicit request is required to save the changed files persistently Log out: req: DELETE /login - X-ACF-Auth-Token: + X-AConf-Auth-Token: Save configuration files persistently (lbu commit): req: POST /save Start transaction: req: POST /transaction -resp: txn ID (in header as X-ACF-Transaction-ID) - - use X-ACF-Transaction-ID in the header of any subsequent +resp: txn ID (in header as X-AConf-Transaction-ID) + - use X-AConf-Transaction-ID in the header of any subsequent request to process it in the transaction's context - nested transactions can be started by using it in a subsequent start transaction request Commit transaction: req: PUT /transaction - X-ACF-Transaction-ID: + X-AConf-Transaction-ID: Abort transaction: req: DELETE /transaction - X-ACF-Transaction-ID: + X-AConf-Transaction-ID: Get object: req: GET /config/ -- cgit v1.2.3