Get the README
This method returns the preferred README for a repository.
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
options | Object , Optional request options |
Get contents
This method returns the contents of a file or directory in a repository.
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
path | String , path of the file |
options | Object , Optional request options |
Create a file
This method creates a new file in a repository
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
path | String , path of the file |
body | Object , file create body |
options | Object , Optional request options |
Update a file
This method updates a file in a repository
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
path | String , path of the file |
body | Object , file update body |
options | Object , Optional request options |
Delete a file This method deletes a file in a repository
Parameter | Description |
---|---|
full_name | String , owner/repo name of repo |
path | String , path of the file |
body | Object , file delete body |
options | Object , Optional request options |