-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathapiKey.php
37 lines (36 loc) · 1.47 KB
/
apiKey.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?php
return array(
'apiKey' =>
array(
'httpMethod' => 'POST',
'uri' => '/authenticate/api-key',
'responseModel' => 'getResponse',
'parameters' =>
array(
'body' =>
array(
'description' => 'ApiKeyCredentials',
'type' => 'object',
'required' => true,
'location' => 'json',
'properties' =>
array(
'userId' =>
array(
'name' => 'userId',
'type' => 'string',
'required' => false,
'format' => 'uuid',
),
'key' =>
array(
'name' => 'key',
'type' => 'string',
'required' => false,
),
),
),
),
'summary' => 'Obtain an access token / refresh token pair by authenticating with an API key',
),
);