KMulji / NYT-Website

A website for House of Hope(NYT)
0 stars 0 forks source link

Research GitHub APIs – do they support what we need? #13

Closed KMulji closed 2 years ago

KMulji commented 2 years ago

Research the github API to see if it supports the needs of the editor in terms of interacting with github

KMulji commented 2 years ago

1. Authenticate Users - https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps 2. Open and navigate repositories https://docs.github.com/en/rest/reference/repos 3. Load file contents into editor https://docs.github.com/en/rest/reference/repos#contents 4. Create and delete a file https://docs.github.com/en/rest/reference/repos#contents 5. Convert to markdown - https://ronn-bundgaard.dk/blog/convert-docx-to-markdown-with-pandoc/ 7. Should be able to fork repos - https://docs.github.com/en/rest/reference/repos#forks