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 typeapplication/json
object
key
additional properties
string
Examplegenerated
{ "additionalProperty": "example"}APINotFound is a not found error response
Media typeapplication/json
object
errors
Array<string>
message
string
url
string
Examplegenerated
{ "errors": [ "example" ], "message": "example", "url": "example"}