Closed dmadisetti closed 1 year ago
GET https://www.overleaf.com/project/<project>/github-sync/status
reponse: {"enabled":true,"merge_status":"success","repo":"dmadisetti/<repo>","unmerged_branch":null}
{"enabled":true,"merge_status":"success","repo":"dmadisetti/<repo>","unmerged_branch":null}
GET https://www.overleaf.com/project/<project>/github-sync/commits/unmerged
response: {"diverged":false,"commits":[]}
{"diverged":false,"commits":[]}
Not sure if needed?
PUT https://www.overleaf.com/editingSession/<project>
Could skip to just this:
POST https://www.overleaf.com/project/<project>/github-sync/merge
payload: {message: "A commit!"}
{message: "A commit!"}
Done 135d3d09019050711ec50d10bdbffd3e9cb3ac2a
reponse:
{"enabled":true,"merge_status":"success","repo":"dmadisetti/<repo>","unmerged_branch":null}
response:
{"diverged":false,"commits":[]}
Not sure if needed?
Could skip to just this:
payload:
{message: "A commit!"}