From 1b245760ed8a3476a9288e39965a23e1d50b085a Mon Sep 17 00:00:00 2001 From: Tobias Jahnke Date: Fri, 18 Aug 2017 13:46:58 +0200 Subject: removed volume API --- ucs2-afb/ucs_apidef.h | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'ucs2-afb/ucs_apidef.h') diff --git a/ucs2-afb/ucs_apidef.h b/ucs2-afb/ucs_apidef.h index 1c27ab7..876ac89 100644 --- a/ucs2-afb/ucs_apidef.h +++ b/ucs2-afb/ucs_apidef.h @@ -42,12 +42,7 @@ static const char _afb_description_v2_UNICENS[] = ":\"node\",\"required\":true,\"schema\":{\"type\":\"integer\",\"format\":" "\"int32\"}},{\"in\":\"query\",\"name\":\"data\",\"required\":true,\"sche" "ma\":{\"type\":\"array\",\"format\":\"int32\"},\"style\":\"simple\"}],\"" - "responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}},\"/vol" - "ume\":{\"description\":\"Set Master Volume (DEPRECATED).\",\"get\":{\"x-" - "permissions\":{\"$ref\":\"#/components/x-permissions/monitor\"},\"parame" - "ters\":[{\"in\":\"query\",\"name\":\"value\",\"required\":true,\"schema\"" - ":{\"type\":\"integer\"}}],\"responses\":{\"200\":{\"$ref\":\"#/component" - "s/responses/200\"}}}}}}" + "responses\":{\"200\":{\"$ref\":\"#/components/responses/200\"}}}}}}" ; static const struct afb_auth _afb_auths_v2_UNICENS[] = { @@ -59,7 +54,6 @@ static const struct afb_auth _afb_auths_v2_UNICENS[] = { void ucs2_initialise(struct afb_req req); void ucs2_subscribe(struct afb_req req); void ucs2_writei2c(struct afb_req req); - void ucs2_volume(struct afb_req req); static const struct afb_verb_v2 _afb_verbs_v2_UNICENS[] = { { @@ -90,13 +84,6 @@ static const struct afb_verb_v2 _afb_verbs_v2_UNICENS[] = { .info = NULL, .session = AFB_SESSION_NONE_V2 }, - { - .verb = "volume", - .callback = ucs2_volume, - .auth = &_afb_auths_v2_UNICENS[1], - .info = NULL, - .session = AFB_SESSION_NONE_V2 - }, { .verb = NULL } }; -- cgit 1.2.3-korg