protected function Github_Api::post in Bibliography Module 7.2
Call any path, POST method Ex: $api->post('repos/show/my-username', array('email' => 'my-new-email@provider.org'))
Parameters
string $path the GitHub path:
array $parameters POST parameters:
array $requestOptions reconfigure the request:
Return value
array data returned
22 calls to Github_Api::post()
- Github_Api_Issue::addComment in modules/
CiteProc/ Github/ Api/ Issue.php - Add a comment to the issue by username, repo and issue number http://develop.github.com/p/issues.html#comment_on_issues
- Github_Api_Issue::addLabel in modules/
CiteProc/ Github/ Api/ Issue.php - Add a label to the issue by username, repo and issue number. Requires authentication. http://develop.github.com/p/issues.html#add_and_remove_labels
- Github_Api_Issue::close in modules/
CiteProc/ Github/ Api/ Issue.php - Close an existing issue by username, repo and issue number. Requires authentication. http://develop.github.com/p/issues.html#open_and_close_issues
- Github_Api_Issue::open in modules/
CiteProc/ Github/ Api/ Issue.php - Create a new issue for the given username and repo. The issue is assigned to the authenticated user. Requires authentication. http://develop.github.com/p/issues.html#open_and_close_issues
- Github_Api_Issue::removeLabel in modules/
CiteProc/ Github/ Api/ Issue.php - Remove a label from the issue by username, repo, issue number and label name. Requires authentication. http://develop.github.com/p/issues.html#add_and_remove_labels
File
- modules/
CiteProc/ Github/ Api.php, line 45
Class
- Github_Api
- Abstract class for Github_Api classes
Code
protected function post($path, array $parameters = array(), $requestOptions = array()) {
return $this->client
->post($path, $parameters, $requestOptions);
}