File tree 2 files changed +20
-0
lines changed
lib/Github/Api/Repository
2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 11
11
*/
12
12
class Assets extends AbstractApi
13
13
{
14
+ /**
15
+ * @deprecated Will be removed as soon as gh releases api gets stable
16
+ */
17
+ public function configure ()
18
+ {
19
+ $ this ->client ->setHeaders (array (
20
+ 'Accept: application/vnd.github.manifold-preview '
21
+ ));
22
+ }
23
+
14
24
/**
15
25
* Get all release's assets in selected repository
16
26
* GET /repos/:owner/:repo/releases/:id/assets
Original file line number Diff line number Diff line change 12
12
*/
13
13
class Releases extends AbstractApi
14
14
{
15
+ /**
16
+ * @deprecated Will be removed as soon as gh releases api gets stable
17
+ */
18
+ public function configure ()
19
+ {
20
+ $ this ->client ->setHeaders (array (
21
+ 'Accept: application/vnd.github.manifold-preview '
22
+ ));
23
+ }
24
+
15
25
/**
16
26
* List releases in selected repository
17
27
*
You can’t perform that action at this time.
0 commit comments