Fetches the identity under which :name has a CLA, if any.
+/0/Group/:group/Members
+
+ Fetches the list of identities belonging to the group :group.
+
/0/HasCLA/:id
Checks if there is a CLA under the precise identity :id. This
send_error('Not found', HTTP_NO_CONTENT);
};
+get '/Group/:group/Members' => sub {
+ my $query = OpenSSL::Query->new(bureau => config->{bureau}, REST => 0);
+ my $group = uri_decode(route_parameters->get('group'));
+ my @response = $query->members_of($group);
+
+ return [ @response ] if @response;
+ send_error('Not found', HTTP_NO_CONTENT);
+};
+
get '/HasCLA/:id' => sub {
my $query = OpenSSL::Query->new(bureau => config->{bureau}, REST => 0);
my $id = uri_decode(route_parameters->get('id'));