API update version to V1.11 and document changes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
diff --git a/API-README b/API-README
index 706ffb0..0782457 100644
--- a/API-README
+++ b/API-README
@@ -200,6 +200,8 @@ The list of requests - a (*) means it requires privileged access - and replies a
none There is no reply section just the STATUS section
stating success or failure saving the cgminer config
to filename
+ The filename is optional and will use the cgminer
+ default if not specified
quit (*) none There is no status section but just a single "BYE"
reply before cgminer quits
@@ -283,7 +285,17 @@ miner.php - an example web page to access the API
Feature Changelog for external applications using the API:
-API V1.10
+API V1.11
+
+Modified API commands:
+ 'save' no longer requires a filename (use default if not specified)
+
+'save' incorrectly returned status E (error) on success before.
+It now correctly returns S (success)
+
+----------
+
+API V1.10 (cgminer v2.4.1)
Added API commands:
'stats'
diff --git a/api.c b/api.c
index 0bc65e2..94c5239 100644
--- a/api.c
+++ b/api.c
@@ -158,7 +158,7 @@ static const char SEPARATOR = '|';
#define SEPSTR "|"
static const char GPUSEP = ',';
-static const char *APIVERSION = "1.10";
+static const char *APIVERSION = "1.11";
static const char *DEAD = "Dead";
static const char *SICK = "Sick";
static const char *NOSTART = "NoStart";