@@ -96,6 +96,10 @@ def star(self, id):
9696 """ Star a gist
9797
9898 :param int id: Gist id
99+
100+ .. warning ::
101+ You must be authenticated
102+
99103 """
100104 request = self .request_builder ('gists.star' , id = id )
101105 self ._put (request )
@@ -104,6 +108,10 @@ def unstar(self, id):
104108 """ Unstar a gist
105109
106110 :param int id: Gist id
111+
112+ .. warning ::
113+ You must be authenticated
114+
107115 """
108116 request = self .request_builder ('gists.unstar' , id = id )
109117 return self ._delete (request )
@@ -112,6 +120,10 @@ def is_starred(self, id):
112120 """ Check if a gist is starred
113121
114122 :param int id: Gist id
123+
124+ .. warning ::
125+ You must be authenticated
126+
115127 """
116128 request = self .request_builder ('gists.is_starred' , id = id )
117129 return self ._bool (request )
@@ -120,6 +132,10 @@ def fork(self, id):
120132 """ Fork a gist
121133
122134 :param int id: Gist id
135+
136+ .. warning ::
137+ You must be authenticated
138+
123139 """
124140
125141 request = self .request_builder ('gists.fork' , id = id )
@@ -129,6 +145,10 @@ def delete(self, id):
129145 """ Delete a gist
130146
131147 :param int id: Gist id
148+
149+ .. warning ::
150+ You must be authenticated
151+
132152 """
133153 request = self .request_builder ('gists.delete' , id = id )
134154 return self ._delete (request )
0 commit comments