diff options
-rw-r--r-- | doc/sphinx/rest.rst | 4 | ||||
-rw-r--r-- | src/backend/anastasis-httpd_config.c | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/doc/sphinx/rest.rst b/doc/sphinx/rest.rst index a9f78a9..79c1355 100644 --- a/doc/sphinx/rest.rst +++ b/doc/sphinx/rest.rst @@ -35,6 +35,7 @@ Receiving Configuration .. http:get:: /config Obtain the configuration details of the escrow provider. + This specification corresponds to ``current`` protocol being version **0**. **Response:** @@ -54,6 +55,9 @@ Receiving Configuration // The format is "current:revision:age". version: string; + // URN of the implementation (needed to interpret 'revision' in version). + // @since v0, may become mandatory in the future. + implementation?: string; // Currency in which this provider processes payments. currency: string; diff --git a/src/backend/anastasis-httpd_config.c b/src/backend/anastasis-httpd_config.c index 015fd01..677c5dc 100644 --- a/src/backend/anastasis-httpd_config.c +++ b/src/backend/anastasis-httpd_config.c @@ -103,7 +103,9 @@ AH_handler_config (struct AH_RequestHandler *rh, GNUNET_JSON_pack_string ("name", "anastasis"), GNUNET_JSON_pack_string ("version", - "0:0:0"), + "0:1:0"), + GNUNET_JSON_pack_string ("implementation", + "urn:net:taler:specs:anastasis:c-reference"), GNUNET_JSON_pack_string ("business_name", AH_business_name), GNUNET_JSON_pack_array_steal ("methods", |