We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
all
$parameters
1 parent 370927e commit 91c8043Copy full SHA for 91c8043
lib/Github/Api/Organization/Actions/SelfHostedRunners.php
@@ -10,18 +10,12 @@ class SelfHostedRunners extends AbstractApi
10
* @link https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#list-self-hosted-runners-for-an-organization
11
*
12
* @param string $organization
13
- * @param string $type
14
- * @param int $page
+ * @param array $parameters
15
16
* @return array|string
17
*/
18
- public function all(string $organization, string $type = 'all', int $page = 1)
+ public function all(string $organization, array $parameters)
19
{
20
- $parameters = [
21
- 'type' => $type,
22
- 'page' => $page,
23
- ];
24
-
25
return $this->get('/orgs/'.rawurlencode($organization).'/actions/runners', $parameters);
26
}
27
0 commit comments