1 | <?php |
||
7 | class Deployments extends Application |
||
8 | { |
||
9 | /** |
||
10 | * Record a new deployment |
||
11 | * |
||
12 | * @param string $revision |
||
13 | * @param string $changelog |
||
14 | * @param string $description |
||
15 | * @param string $user |
||
16 | * @throws Exception If appId is missing or any parameters is not a string or too long |
||
17 | * @throws GuzzleHttp\Exception\ClientException Exception thrown by Guzzle |
||
18 | * @return GuzzleHttp\Psr7\Stream The guzzle response body |
||
19 | */ |
||
20 | public function add($revision, $changelog = '', $description = '', $user = '') |
||
45 | |||
46 | /** |
||
47 | * Get a list of deployments made for an application |
||
48 | * |
||
49 | * @throws GuzzleHttp\Exception\ClientException Exception thrown by Guzzle |
||
50 | * @return GuzzleHttp\Psr7\Stream The guzzle response body |
||
51 | */ |
||
52 | public function get() |
||
59 | |||
60 | /** |
||
61 | * Get a list of deployments made for an application |
||
62 | * |
||
63 | * @throws GuzzleHttp\Exception\ClientException Exception thrown by Guzzle |
||
64 | * @return GuzzleHttp\Psr7\Stream The guzzle response body |
||
65 | */ |
||
66 | public function delete($deploymentId) |
||
76 | } |
||
77 |