I am trying to post a blob to the GitHub API in JavaScript / jQuery as per the docs  https://developer.github.com/v3/git/blobs/#create-a-blob - however I keep receiving a 404 request  My current request in JavaScript looks like so:  var uploadURL =&#...
I'm currently writing a small database of git reps and im wondering how i would go ahead and get the date of the latest commit if i have the rep listed in my database.  I've never worked with the github API and im having a bit of a hard time...
I'm trying to get an access token from Github using a NodeJS client.  const axios = require("axios"); var jwt = require("jsonwebtoken");  exports.openedPOST = function openedPOST(req, res) {  // generate jwt const now = Math.round...
I need to update a file on GitHub from JavaScript running in a client browser application. The file may be larger than 1mb so I cannot use the octokit createFile() function which is limited to files less than 1mb.  I have an authenticated user throug...
I'm trying to build an html file to monitor some things on a remote site- specifically, github.com.  I'd like to be able to keep it to just that flat file, making the requests straight from the JS to github's API.  My thought process went...
I am trying to retrieve some data from Github's GraphQL API using graphql.js library.  var graph = graphql("https://api.github.com/graphql", {   method: "POST",   headers: {     "Authorization": "Bearer <my-token-he...
GitHub's new GraphQL API requires authentication with a token as the previous version. So, how do we add a 'Header' information into the HttpLink inside Apollo-Client?  const client = new ApolloClient({   link: new HttpLink({ uri: 'ht...
Does anyone know of an easy way to embed the list of issues with a specific tag from github onto a website?  This is to embed a list of open bugs on a project website....
Hi I am trying to get the number of issues of a repo using angular and Github Rest API, But the problem is that I get only 30 issues even though more issues are there in that repo. Please help me with the idea. I use the below REST Api to get the iss...
I'm using github api for a small web app and at some point I need to get link header for the pagination.   The final goal is to get the total number of commits per repository, I found that python script and tried to adapt it to JavaScript.   getD...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.