+static struct json_object *describe_verb_v3(const struct afb_verb_v3 *verb)
+{
+ struct json_object *f, *a, *g;
+
+ f = json_object_new_object();
+
+ g = json_object_new_object();
+ json_object_object_add(f, "get", g);
+
+ a = afb_auth_json_v2(verb->auth, verb->session);
+ if (a)
+ json_object_object_add(g, "x-permissions", a);
+
+ a = json_object_new_object();
+ json_object_object_add(g, "responses", a);
+ g = json_object_new_object();
+ json_object_object_add(a, "200", g);
+ json_object_object_add(g, "description", json_object_new_string(verb->info?:verb->verb));
+
+ return f;
+}
+