Get the EditorConfig definitions of a file in a repository
GET
/repos/{owner}/{repo}/editorconfig/{filepath}
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” owner
required
string
Owner of the repo
repo
required
string
Name of the repo
filepath
required
string
Filepath of file to get
Query Parameters
Section titled “ Query Parameters ” ref
string
The name of the commit/branch/tag. Default the repository’s default branch (usually master)
Responses
Section titled “ Responses ”Definitions
Media type application/json
object
key
additional properties
string
Example generated
{ "additionalProperty": "example"}APINotFound is a not found error response
Media type application/json
object
errors
Array<string>
message
string
url
string
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}