/dports/net-im/py-slackclient/python-slackclient-2.1.0/slack/web/ |
H A D | client.py | 71 return self.api_call("api.test", json=kwargs) 79 return self.api_call("auth.test", json=kwargs) 261 return self.api_call("chat.delete", json=kwargs) 604 return self.api_call("dnd.endDnd", json=kwargs) 901 return self.api_call("im.close", json=kwargs) 926 return self.api_call("im.mark", json=kwargs) 935 return self.api_call("im.open", json=kwargs) 996 return self.api_call("mpim.mark", json=kwargs) 1007 return self.api_call("mpim.open", json=kwargs) 1049 return self.api_call("pins.add", json=kwargs) [all …]
|
/dports/net-im/telegram-cli/tg-20200106/ |
H A D | python-types.c | 397 PyObject *api_call; in tgl_Peer_send_msg() local 430 PyObject *api_call; in tgl_Peer_fwd_msg() local 457 PyObject *api_call; in tgl_Peer_send_typing() local 484 PyObject *api_call; in tgl_Peer_send_typing_abort() local 518 PyObject *api_call; in tgl_Peer_rename_chat() local 546 PyObject *api_call; in tgl_Peer_send_photo() local 574 PyObject *api_call; in tgl_Peer_send_video() local 602 PyObject *api_call; in tgl_Peer_send_audio() local 630 PyObject *api_call; in tgl_Peer_send_document() local 658 PyObject *api_call; in tgl_Peer_send_file() local [all …]
|
/dports/net/p5-Net-Twitter-Lite/Net-Twitter-Lite-0.12008/t/ |
H A D | 04-wrapresult.t | 126 if ( $api_call eq 'update' ) { 129 elsif ( $api_call eq 'relationship_exists' ) { 132 elsif ( $api_call eq 'update_delivery_device' ) { 139 ok $resp = $nt->$api_call(@$args), "$api_call call"; 149 ok $limit == $resp->rate_limit, "$api_call limit = $limit"; 153 ok !defined($resp->rate_limit), "$api_call no limit"; 155 ok !defined($resp->rate_limit_reset), "$api_call no reset"; 187 if ( $api_call eq 'update' ) { 190 elsif ( $api_call eq 'relationship_exists' ) { 193 elsif ( $api_call eq 'update_delivery_device' ) { [all …]
|
H A D | 03-v1_1.t | 84 my ($api_call, $args, $method, $path) = @$test; 87 if ( $api_call eq 'update' ) { 90 elsif ( $api_call eq 'relationship_exists' ) { 93 elsif ( $api_call eq 'update_delivery_device' ) { 100 ok $nt->$api_call(@$args), "$api_call call"; 105 is_deeply input_args($req), \%args, " $api_call args"; 106 is $path_part, $path, " $api_call path"; 107 is $req->method, $method, " $api_call method";
|
H A D | 01_basic.t | 94 my ($api_call, $args, $method, $path) = @$test; 97 if ( $api_call eq 'update' ) { 100 elsif ( $api_call eq 'relationship_exists' ) { 103 elsif ( $api_call eq 'update_delivery_device' ) { 110 ok $nt->$api_call(@$args), "$api_call call"; 115 is_deeply input_args($req), \%args, " $api_call args"; 116 is $path_part, $path, " $api_call path"; 117 is $req->method, $method, " $api_call method";
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/module_utils/ |
H A D | cloudscale.py | 36 def _get(self, api_call): argument 49 def _post_or_patch(self, api_call, method, data): argument 51 if API_URL not in api_call: 52 api_endpoint = API_URL + api_call 54 api_endpoint = api_call 83 def _post(self, api_call, data=None): argument 84 return self._post_or_patch(api_call, 'POST', data) 86 def _patch(self, api_call, data=None): argument 87 return self._post_or_patch(api_call, 'PATCH', data) 89 def _delete(self, api_call): argument [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/shared_examples/requests/api/ |
H A D | read_user_shared_examples.rb | 11 get api_call.call(path, user, personal_access_token: token, version: version) 17 head api_call.call(path, user, personal_access_token: token, version: version) 27 get api_call.call(path, user, personal_access_token: token, version: version) 33 head api_call.call(path, user, personal_access_token: token, version: version) 47 get api_call.call(path, user, personal_access_token: token, version: version) 61 get api_call.call(path, user, oauth_access_token: token) 67 head api_call.call(path, user, oauth_access_token: token) 77 get api_call.call(path, user, oauth_access_token: token) 83 head api_call.call(path, user, oauth_access_token: token) 93 get api_call.call(path, user, oauth_access_token: token) [all …]
|
/dports/net/pacemaker1/pacemaker-Pacemaker-1.1.24/lrmd/ |
H A D | test.c | 80 const char *api_call; member 218 if (!options.api_call) { in start_test() 222 if (safe_str_eq(options.api_call, "exec")) { in start_test() 257 } else if (safe_str_eq(options.api_call, "cancel")) { in start_test() 322 } else if (options.api_call) { in start_test() 332 if (options.api_call && rc == pcmk_ok) { in start_test() 492 options.api_call = optarg; in main() 560 (safe_str_eq(options.api_call, "metadata") || in main() 561 safe_str_eq(options.api_call, "list_agents") || in main() 584 options.api_call = "exec"; in main() [all …]
|
/dports/net/pacemaker2/pacemaker-Pacemaker-2.1.1/daemons/execd/ |
H A D | cts-exec-helper.c | 140 const char *api_call; member 277 if (!options.api_call) { in start_test() 281 if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) { in start_test() 316 } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) { in start_test() 319 } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) { in start_test() 329 } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) { in start_test() 398 } else if (options.api_call) { in start_test() 408 if (options.api_call && rc == pcmk_ok) { in start_test() 568 options.api_call = optarg; in main() 658 options.api_call = "exec"; in main() [all …]
|
/dports/net/p5-Net-Twitter/Net-Twitter-4.01043/t/ |
H A D | 01_basic.t | 84 my ($api_call, $args, $method, $path, $line) = @$test; 87 if ( $api_call eq 'update' ) { 95 @{args}{@{$nt->meta->get_method($api_call)->original_method->required}} = @$args; 99 ok $nt->$api_call(@$args), "[$pass] $api_call call"; 106 is_deeply $t->args, \%args, "[$pass][line $line] $api_call args"; 107 is $t->path, $path, "[$pass][line $line] $api_call path"; 108 is $t->method, $method, "[$pass][line $line] $api_call method";
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cloudscale_ch/cloud/plugins/module_utils/ |
H A D | api.py | 47 def _get(self, api_call): argument 62 if self._api_url not in api_call: 63 api_endpoint = self._api_url + api_call 65 api_endpoint = api_call 94 def _post(self, api_call, data=None): argument 95 return self._post_or_patch(api_call, 'POST', data) 97 def _patch(self, api_call, data=None, filter_none=True): argument 100 def _delete(self, api_call): argument 102 if self._api_url not in api_call: 103 api_endpoint = self._api_url + api_call [all …]
|
/dports/deskutils/egroupware/egroupware/rocketchat/src/Api/ |
H A D | Restapi.php | 112 private function api_call ($_api_path, $_method="GET", $_params=[]) function in EGroupware\\Rocketchat\\Api\\Restapi 179 $response = $this->api_call('login', 'POST', ['user' => $_user, 'password' => $_pass]); 190 $response = $this->api_call('login', 'POST', [ 218 $response = $this->api_call('me', 'GET', ['userId' => $this->userId]); 241 $response = $this->api_call('users.info', 'GET', $_args); 268 $response = $this->api_call('users.list', 'GET', $args); 285 $response = $this->api_call('chat.postMessage', 'POST', $_args); 303 return $this->api_call('/api/info'); 319 $response = $this->api_call('rooms.get', 'GET');
|
/dports/devel/p5-BZ-Client/BZ-Client-1.04/lib/BZ/Client/ |
H A D | Bugzilla.pm | 18 return $class->api_call($client, "Bugzilla.extensions", $params); 25 my $time = $class->api_call($client, "Bugzilla.time", $params); 34 my $timezone = $class->api_call($client, "Bugzilla.timezone", $params); 43 my $version = $class->api_call($client, "Bugzilla.version", $params);
|
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/modules/net_tools/ |
H A D | cloudflare_dns.py | 420 def _cf_simple_api_call(self, api_call, method='GET', payload=None): argument 432 self.cf_api_endpoint + api_call, 459 …g = "API bad request; Status: {0}; Method: {1}: Call: {2}".format(info['status'], method, api_call) 491 def _cf_api_call(self, api_call, method='GET', payload=None): argument 492 result, status = self._cf_simple_api_call(api_call, method, payload) 502 if '?' in api_call: 503 raw_api_call, query = api_call.split('?', 1) 506 raw_api_call = api_call 550 api_call = '/zones/{0}/dns_records'.format(zone_id) 559 api_call += '?' + urlencode(query) [all …]
|
/dports/textproc/py-transifex-client/transifex-client-0.13.6/txclib/ |
H A D | api.py | 37 def get(self, api_call, *args, **kwargs): argument 43 if api_call not in self.VALID_CALLS: 46 api_call 50 hostname = self.hostnames[api_call] 51 url = API_URLS[api_call] % kwargs
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/ |
H A D | cloudflare_dns.py | 431 def _cf_simple_api_call(self, api_call, method='GET', payload=None): argument 451 self.cf_api_endpoint + api_call, 478 …g = "API bad request; Status: {0}; Method: {1}: Call: {2}".format(info['status'], method, api_call) 514 def _cf_api_call(self, api_call, method='GET', payload=None): argument 515 result, status = self._cf_simple_api_call(api_call, method, payload) 525 if '?' in api_call: 526 raw_api_call, query = api_call.split('?', 1) 529 raw_api_call = api_call 573 api_call = '/zones/{0}/dns_records'.format(zone_id) 582 api_call += '?' + urlencode(query) [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/community/general/plugins/modules/net_tools/ |
H A D | cloudflare_dns.py | 431 def _cf_simple_api_call(self, api_call, method='GET', payload=None): argument 451 self.cf_api_endpoint + api_call, 478 …g = "API bad request; Status: {0}; Method: {1}: Call: {2}".format(info['status'], method, api_call) 514 def _cf_api_call(self, api_call, method='GET', payload=None): argument 515 result, status = self._cf_simple_api_call(api_call, method, payload) 525 if '?' in api_call: 526 raw_api_call, query = api_call.split('?', 1) 529 raw_api_call = api_call 573 api_call = '/zones/{0}/dns_records'.format(zone_id) 582 api_call += '?' + urlencode(query) [all …]
|
/dports/devel/py-botocore/botocore-1.21.61/tests/functional/csm/ |
H A D | test_monitoring.py | 121 for api_call in case['apiCalls']: 122 _make_api_call(session, api_call) 126 def _make_api_call(session, api_call): argument 128 api_call['serviceId'].lower().replace(' ', '')) 129 operation_name = api_call['operationName'] 131 with _stubbed_http_layer(client, api_call['attemptResponses']): 133 client_method(**api_call['params'])
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/cloudscale_ch/cloud/plugins/modules/ |
H A D | custom_image.py | 279 def _get(self, api_call): argument 282 api_url, call_uuid = api_call.split(self.resource_name) 344 def _post(self, api_call, data=None): argument 347 if not api_call.endswith('custom-images'): 350 api_call += '/import' 354 self._post_or_patch("%s" % api_call, 'POST', data),
|
/dports/lang/erlang-runtime22/otp-OTP-22.3.4.24/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|
/dports/lang/erlang-runtime23/otp-OTP-23.3.4.10/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|
/dports/lang/erlang-runtime24/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|
/dports/lang/erlang-wx/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|
/dports/lang/erlang/otp-OTP-24.1.7/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|
/dports/lang/erlang-runtime21/otp-OTP-21.3.8.24/lib/dialyzer/test/r9c_SUITE_data/src/inets/ |
H A D | mod_auth_server.erl | 226 Reply = api_call(Addr, Port, Dir, add_user, User, AuthPwd, State), 231 Reply = api_call(Addr, Port, Dir, get_user, [User], AuthPwd, State), 237 Reply = api_call(Addr, Port, Dir, add_group_member, [Group, User], 244 Reply = api_call(Addr, Port, Dir, delete_group_member, [Group, User], 250 Reply = api_call(Addr, Port, Dir, list_users, [], AuthPwd, State), 255 Reply = api_call(Addr, Port, Dir, delete_user, [User], AuthPwd, State), 260 Reply = api_call(Addr, Port, Dir, delete_group, [Group], AuthPwd, State), 265 Reply = api_call(Addr, Port, Dir, list_groups, [], AuthPwd, State), 271 Reply = api_call(Addr, Port, Dir, list_group_members, [Group], 345 api_call(Addr, Port, Dir, Func, Args,Password,State) -> function
|