[RSS Feed/News] For authorization via Github, beta is used

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
The previously used beta API has become stable and declared as v3. Using beta will return unexpected results that are not in sync with the API

Resources in the REST API - GitHub Docs

Learn how to navigate the resources provided by the GitHub API.
docs.github.com
docs.github.com
PHP:

Code:
/**
     * Required for GitHub API calls.
     *
     * @return array
     */
    protected function getExtraApiHeaders()
    {
        return array('Accept' => 'application/vnd.github.beta+json');
    }

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom