Forgejo · Schema
Repository
Repository represents a repository
GitSource Code ManagementSelf-HostedDevOpsCI/CDOpen SourceForgeRepositoriesIssuesPull Requests
Properties
| Name | Type | Description |
|---|---|---|
| allow_fast_forward_only_merge | boolean | |
| allow_merge_commits | boolean | |
| allow_rebase | boolean | |
| allow_rebase_explicit | boolean | |
| allow_rebase_update | boolean | |
| allow_squash_merge | boolean | |
| archived | boolean | |
| archived_at | string | |
| avatar_url | string | |
| clone_url | string | |
| created_at | string | |
| default_allow_maintainer_edit | boolean | |
| default_branch | string | |
| default_delete_branch_after_merge | boolean | |
| default_merge_style | string | |
| default_update_style | string | |
| description | string | |
| empty | boolean | |
| external_tracker | object | |
| external_wiki | object | |
| fork | boolean | |
| forks_count | integer | |
| full_name | string | |
| globally_editable_wiki | boolean | |
| has_actions | boolean | |
| has_issues | boolean | |
| has_packages | boolean | |
| has_projects | boolean | |
| has_pull_requests | boolean | |
| has_releases | boolean | |
| has_wiki | boolean | is the wiki enabled |
| has_wiki_contents | boolean | have wiki pages ever been created |
| html_url | string | |
| id | integer | |
| ignore_whitespace_conflicts | boolean | |
| internal | boolean | |
| internal_tracker | object | |
| language | string | |
| languages_url | string | |
| link | string | |
| mirror | boolean | |
| mirror_interval | string | |
| mirror_updated | string | |
| name | string | |
| object_format_name | string | ObjectFormatName of the underlying git repository |
| open_issues_count | integer | |
| open_pr_counter | integer | |
| original_url | string | |
| owner | object | |
| parent | object | |
| permissions | object | |
| private | boolean | |
| release_counter | integer | |
| repo_transfer | object | |
| size | integer | |
| ssh_url | string | |
| stars_count | integer | |
| template | boolean | |
| topics | array | |
| updated_at | string | |
| url | string | |
| watchers_count | integer | |
| website | string | |
| wiki_branch | string | |
| wiki_clone_url | string | |
| wiki_ssh_url | string |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Repository",
"description": "Repository represents a repository",
"type": "object",
"properties": {
"allow_fast_forward_only_merge": {
"type": "boolean",
"x-go-name": "AllowFastForwardOnly"
},
"allow_merge_commits": {
"type": "boolean",
"x-go-name": "AllowMerge"
},
"allow_rebase": {
"type": "boolean",
"x-go-name": "AllowRebase"
},
"allow_rebase_explicit": {
"type": "boolean",
"x-go-name": "AllowRebaseMerge"
},
"allow_rebase_update": {
"type": "boolean",
"x-go-name": "AllowRebaseUpdate"
},
"allow_squash_merge": {
"type": "boolean",
"x-go-name": "AllowSquash"
},
"archived": {
"type": "boolean",
"x-go-name": "Archived"
},
"archived_at": {
"type": "string",
"format": "date-time",
"x-go-name": "ArchivedAt"
},
"avatar_url": {
"type": "string",
"x-go-name": "AvatarURL"
},
"clone_url": {
"type": "string",
"x-go-name": "CloneURL"
},
"created_at": {
"type": "string",
"format": "date-time",
"x-go-name": "Created"
},
"default_allow_maintainer_edit": {
"type": "boolean",
"x-go-name": "DefaultAllowMaintainerEdit"
},
"default_branch": {
"type": "string",
"x-go-name": "DefaultBranch"
},
"default_delete_branch_after_merge": {
"type": "boolean",
"x-go-name": "DefaultDeleteBranchAfterMerge"
},
"default_merge_style": {
"type": "string",
"x-go-name": "DefaultMergeStyle"
},
"default_update_style": {
"type": "string",
"x-go-name": "DefaultUpdateStyle"
},
"description": {
"type": "string",
"x-go-name": "Description"
},
"empty": {
"type": "boolean",
"x-go-name": "Empty"
},
"external_tracker": {
"$ref": "#/definitions/ExternalTracker"
},
"external_wiki": {
"$ref": "#/definitions/ExternalWiki"
},
"fork": {
"type": "boolean",
"x-go-name": "Fork"
},
"forks_count": {
"type": "integer",
"format": "int64",
"x-go-name": "Forks"
},
"full_name": {
"type": "string",
"x-go-name": "FullName"
},
"globally_editable_wiki": {
"type": "boolean",
"x-go-name": "GloballyEditableWiki"
},
"has_actions": {
"type": "boolean",
"x-go-name": "HasActions"
},
"has_issues": {
"type": "boolean",
"x-go-name": "HasIssues"
},
"has_packages": {
"type": "boolean",
"x-go-name": "HasPackages"
},
"has_projects": {
"type": "boolean",
"x-go-name": "HasProjects"
},
"has_pull_requests": {
"type": "boolean",
"x-go-name": "HasPullRequests"
},
"has_releases": {
"type": "boolean",
"x-go-name": "HasReleases"
},
"has_wiki": {
"description": "is the wiki enabled",
"type": "boolean",
"x-go-name": "HasWiki"
},
"has_wiki_contents": {
"description": "have wiki pages ever been created",
"type": "boolean",
"x-go-name": "HasWikiContents"
},
"html_url": {
"type": "string",
"x-go-name": "HTMLURL"
},
"id": {
"type": "integer",
"format": "int64",
"x-go-name": "ID"
},
"ignore_whitespace_conflicts": {
"type": "boolean",
"x-go-name": "IgnoreWhitespaceConflicts"
},
"internal": {
"type": "boolean",
"x-go-name": "Internal"
},
"internal_tracker": {
"$ref": "#/definitions/InternalTracker"
},
"language": {
"type": "string",
"x-go-name": "Language"
},
"languages_url": {
"type": "string",
"x-go-name": "LanguagesURL"
},
"link": {
"type": "string",
"x-go-name": "Link"
},
"mirror": {
"type": "boolean",
"x-go-name": "Mirror"
},
"mirror_interval": {
"type": "string",
"x-go-name": "MirrorInterval"
},
"mirror_updated": {
"type": "string",
"format": "date-time",
"x-go-name": "MirrorUpdated"
},
"name": {
"type": "string",
"x-go-name": "Name"
},
"object_format_name": {
"description": "ObjectFormatName of the underlying git repository",
"type": "string",
"enum": [
"sha1",
"sha256"
],
"x-go-name": "ObjectFormatName"
},
"open_issues_count": {
"type": "integer",
"format": "int64",
"x-go-name": "OpenIssues"
},
"open_pr_counter": {
"type": "integer",
"format": "int64",
"x-go-name": "OpenPulls"
},
"original_url": {
"type": "string",
"x-go-name": "OriginalURL"
},
"owner": {
"$ref": "#/definitions/User"
},
"parent": {
"$ref": "#/definitions/Repository"
},
"permissions": {
"$ref": "#/definitions/Permission"
},
"private": {
"type": "boolean",
"x-go-name": "Private"
},
"release_counter": {
"type": "integer",
"format": "int64",
"x-go-name": "Releases"
},
"repo_transfer": {
"$ref": "#/definitions/RepoTransfer"
},
"size": {
"type": "integer",
"format": "int64",
"x-go-name": "Size"
},
"ssh_url": {
"type": "string",
"x-go-name": "SSHURL"
},
"stars_count": {
"type": "integer",
"format": "int64",
"x-go-name": "Stars"
},
"template": {
"type": "boolean",
"x-go-name": "Template"
},
"topics": {
"type": "array",
"items": {
"type": "string"
},
"x-go-name": "Topics"
},
"updated_at": {
"type": "string",
"format": "date-time",
"x-go-name": "Updated"
},
"url": {
"type": "string",
"x-go-name": "URL"
},
"watchers_count": {
"type": "integer",
"format": "int64",
"x-go-name": "Watchers"
},
"website": {
"type": "string",
"x-go-name": "Website"
},
"wiki_branch": {
"type": "string",
"x-go-name": "WikiBranch"
},
"wiki_clone_url": {
"type": "string",
"x-go-name": "WikiCloneURL"
},
"wiki_ssh_url": {
"type": "string",
"x-go-name": "WikiSSHURL"
}
},
"x-go-package": "forgejo.org/modules/structs"
}