Atlassian · Schema
Commit File
A file object, representing a file at a commit in a repository
CodeCollaborationPlatformProductivitySoftware Development
Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| path | string | The path in the repository |
| commit | object | |
| attributes | string | |
| escaped_path | string | The escaped version of the path as it appears in a diff. If the path does not require escaping this will be the same as path. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/commit_file",
"title": "Commit File",
"type": "object",
"description": "A file object, representing a file at a commit in a repository",
"properties": {
"type": {
"type": "string",
"example": "example_value"
},
"path": {
"type": "string",
"description": "The path in the repository",
"example": "example_value"
},
"commit": {
"$ref": "#/components/schemas/commit"
},
"attributes": {
"type": "string",
"enum": [
"link",
"executable",
"subrepository",
"binary",
"lfs"
],
"example": "link"
},
"escaped_path": {
"type": "string",
"description": "The escaped version of the path as it appears in a diff. If the path does not require escaping this will be the same as path.",
"example": "example_value"
}
},
"required": [
"type"
],
"additionalProperties": true
}