CI
https://code.forgejo.org/f3/f3-schemas/src/branch/main/ci.json |
||
The Continuous Integration supported by the project. The configuration files are found in the repository itself, under a path that depends on the CI system. |
||
type |
object |
|
properties |
||
|
The type of continuous integration |
|
enum |
Apache Gump, Azure DevOps Server, Bamboo, Buddy, Buildbot, BuildMaster, CircleCI, Drone, Forgejo Actions, Gitea Actions, GitHub Actions, GitLab, GoCD, Jenkins, OpenMake, Semaphore, TeamCity, tekton, Travis CI, Vexor, Woodpecker CI |
|
additionalProperties |
False |
Comment
https://code.forgejo.org/f3/f3-schemas/src/branch/main/comment.json |
||
Comment associated to a commentable object (i.e. issue, review, etc.). Forge users add a comment to an object to create a non-threaded conversation. |
||
type |
object |
|
properties |
||
|
Unique identifier of the comment. |
|
type |
string |
|
|
Unique identifier of the comment author. |
|
type |
string |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
Markdown content of the comment. |
|
type |
string |
|
|
List of reactions. |
|
type |
array |
|
items |
||
additionalProperties |
False |
Issue
https://code.forgejo.org/f3/f3-schemas/src/branch/main/issue.json |
|||
An issue within an issue tracking system, relative to a project. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the issue. |
||
type |
string |
||
|
Unique identifier of the user who authored the issue. |
||
type |
string |
||
|
Short description displayed as the title. |
||
type |
string |
||
|
Description of the issue. |
||
type |
string |
||
|
Unique identifier of the milestone. |
||
type |
string |
||
|
An issue is ‘closed’ when it is resolved, ‘open’ otherwise. Issues that do not relate to a topic that needs to be resolved, such as an open conversation, may never be closed. |
||
enum |
closed, open |
||
|
A locked issue can only be modified by privileged users. It is commonly used for moderation purposes when comments associated with the issue are too heated. |
||
type |
boolean |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
The last time ‘state’ changed to ‘closed’. |
||
type |
string |
||
format |
date-time |
||
|
Due date. |
||
type |
string |
||
format |
date |
||
|
List of label unique identifiers. |
||
type |
array |
||
items |
type |
string |
|
|
List of reactions. |
||
type |
array |
||
items |
|||
|
List of assignees. |
||
type |
array |
||
items |
Name of a user assigned to the issue. |
||
type |
string |
||
additionalProperties |
False |
Label
https://code.forgejo.org/f3/f3-schemas/src/branch/main/label.json |
||
Label associated to an issue. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
Name of the label, unique within the repository. |
|
type |
string |
|
|
Color code of the label in RGB notation ‘xxx’ or ‘xxxxxx’. |
|
type |
string |
|
|
Long description. |
|
type |
string |
|
|
There can only be one label with the prefix found before the first slash (/). |
|
type |
boolean |
|
additionalProperties |
False |
Milestone
https://code.forgejo.org/f3/f3-schemas/src/branch/main/milestone.json |
||
Milestone relative to a project, for the purpose of grouping objects due to a given date (issues, etc.). |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
Short description. |
|
type |
string |
|
|
Long description. |
|
type |
string |
|
|
Deadline after which the milestone is overdue. |
|
type |
string |
|
format |
date-time |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
The last time ‘state’ changed to ‘closed’. |
|
type |
string |
|
format |
date-time |
|
|
A ‘closed’ milestone will not see any activity in the future, otherwise it is ‘open’. |
|
enum |
closed, open |
|
additionalProperties |
False |
Object
https://code.forgejo.org/f3/f3-schemas/src/branch/main/object.json |
||
Meta information and reference to an opaque content such as an image. The unique identifier is the SHA-256 of the content of the object. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
Mime type of the object. |
|
type |
string |
|
|
Human readable file name. |
|
type |
string |
|
|
Description. |
|
type |
string |
|
additionalProperties |
False |
Organization
https://code.forgejo.org/f3/f3-schemas/src/branch/main/organization.json |
||
A forge organization. |
||
type |
object |
|
properties |
||
|
Unique identifier of the organization. |
|
type |
string |
|
|
Unique name of the organization. |
|
type |
string |
|
|
Readable name of the organization. |
|
type |
string |
|
additionalProperties |
False |
Project
https://code.forgejo.org/f3/f3-schemas/src/branch/main/project.json |
||
A software project contains a code repository, an issue tracker, etc. |
||
type |
object |
|
properties |
||
|
Unique identifier of the project. |
|
type |
string |
|
|
Name of the project, relative to the owner. |
|
type |
string |
|
|
True if the visibility of the project is not public. |
|
type |
boolean |
|
|
True if it is a mirror of a project residing on another forge. |
|
type |
boolean |
|
|
Long description of the project. |
|
type |
string |
|
|
Name of the default branch in the code repository. |
|
type |
string |
|
|
type |
array |
items |
||
|
Unique identifier of the project from which this one was forked. |
|
type |
string |
|
|
type |
array |
items |
||
|
True if archived and read only. |
|
type |
boolean |
|
|
Time of archival. |
|
type |
string |
|
format |
date-time |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
URL associated with the project, for instance the project home page. |
|
type |
string |
|
|
Number of stars. |
|
type |
number |
|
|
True if CI is enabled. |
|
type |
boolean |
|
|
True if the issue tracker is enabled. |
|
type |
boolean |
|
|
True if the software packages are enabled. |
|
type |
boolean |
|
|
True if the kanban is enabled. |
|
type |
boolean |
|
|
True if pull requests are enabled. |
|
type |
boolean |
|
|
True if releases are enabled. |
|
type |
boolean |
|
|
True if the wiki is enabled. |
|
type |
boolean |
|
additionalProperties |
False |
Pull request
https://code.forgejo.org/f3/f3-schemas/src/branch/main/pullrequest.json |
|||
A pull requests to merge a commit from a ‘head’ that may be another branch in the same repository or a branch in a forked repository. |
|||
type |
object |
||
properties |
|||
|
Unique identifier of the pull request. |
||
type |
string |
||
|
Unique identifier of the user who authored the pull request. |
||
type |
string |
||
|
Short description displayed as the title. |
||
type |
string |
||
|
Long description. |
||
type |
string |
||
|
Unique identifier of the milestone. |
||
type |
string |
||
|
A ‘closed’ pull request will not see any activity in the future, otherwise it is ‘open’. |
||
enum |
closed, open |
||
|
A locked pull request can only be modified by privileged users. |
||
type |
boolean |
||
|
Creation time. |
||
type |
string |
||
format |
date-time |
||
|
Last update time. |
||
type |
string |
||
format |
date-time |
||
|
The last time ‘state’ changed to ‘closed’. |
||
type |
string |
||
format |
date-time |
||
|
List of labels unique identifiers. |
||
type |
array |
||
items |
type |
string |
|
|
List of reactions. |
||
type |
array |
||
items |
|||
|
List of assignees. |
||
type |
array |
||
items |
Name of a user assigned to the issue. |
||
type |
string |
||
|
True if the pull request was merged. |
||
type |
boolean |
||
|
The time when the pull request was merged. |
||
type |
string |
||
format |
date-time |
||
|
The SHA of the merge commit. |
||
type |
string |
||
|
The changes proposed in the pull request. |
||
type |
object |
||
|
The branch where the pull request changes in the head are to be merged. |
||
type |
object |
||
|
Unique identifier of the user who merged the pull request. |
||
type |
string |
||
|
Due date. |
||
type |
string |
||
format |
date |
||
|
True when the author of the pull request allows pushing new commits to its branch. |
||
type |
boolean |
||
additionalProperties |
False |
Pull request reference to a commit
https://code.forgejo.org/f3/f3-schemas/src/branch/main/pullrequestbranch.json |
||
The location of a commit and the repository where it can be found. |
||
type |
object |
|
properties |
||
|
Repository reference of the commit (branch, tag, etc.). |
|
type |
string |
|
|
SHA of the commit. |
|
type |
string |
|
|
Unique identifier of the repository. |
|
type |
string |
|
additionalProperties |
False |
Reaction
https://code.forgejo.org/f3/f3-schemas/src/branch/main/reaction.json |
||
Reaction associated to a comment that is displayed as a single emoji. |
||
type |
object |
|
properties |
||
|
Unique identifier of the reaction. |
|
type |
string |
|
|
Unique identifier of the user who authored the reaction. |
|
type |
string |
|
|
Representation of the reaction. The rendering of the reaction depends on the forge displaying it. |
|
type |
string |
|
additionalProperties |
False |
Release
https://code.forgejo.org/f3/f3-schemas/src/branch/main/release.json |
||
A release is associated with a tag in a repository and contains of a set of files (release assets). |
||
type |
object |
|
properties |
||
|
Unique identifier of the release. |
|
type |
string |
|
|
Tag name of the release. |
|
type |
string |
|
|
Specifies the commitish value that determines where the tag is created from. Can be any branch or commit SHA. Unused if the tag already exists. |
|
type |
string |
|
|
The name of the release. |
|
type |
string |
|
|
Text describing the contents of the release, usually the release notes. |
|
type |
string |
|
|
True if the release is a draft. |
|
type |
boolean |
|
|
True if the release is a pre-release. |
|
type |
boolean |
|
|
Unique identifier of the user who authored the release. |
|
type |
string |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
additionalProperties |
False |
Release asset
https://code.forgejo.org/f3/f3-schemas/src/branch/main/releaseasset.json |
||
A file associated with a release. The content of the file is opaque. |
||
type |
object |
|
properties |
||
|
Unique identifier of the release asset. |
|
type |
string |
|
|
The name of the release asset. |
|
type |
string |
|
|
The content type of the release asset (application/zip, etc.). |
|
type |
string |
|
|
Size in bytes of the release asset. |
|
type |
number |
|
|
The number of times the release asset was downloaded. |
|
type |
number |
|
|
The URL from which the release asset can be downloaded. |
|
type |
string |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
SHA256 of the cnotent of the asset. |
|
type |
string |
|
additionalProperties |
False |
Repository
https://code.forgejo.org/f3/f3-schemas/src/branch/main/repository.json |
||
VCS repository relative to a project. The actual content of the repository is found in the sibling ‘repository’ directory. |
||
type |
object |
|
properties |
||
|
Unique name of the repository relative to the project (e.g. vcs or vcs.wiki). |
|
type |
string |
|
|
The type of the repository, defaults to ‘git’ |
|
enum |
git, hg, bazaar, darcs, fossil, svn |
|
additionalProperties |
False |
Review
https://code.forgejo.org/f3/f3-schemas/src/branch/main/review.json |
||
A set of review comments on a pull/merge request. |
||
type |
object |
|
properties |
||
|
Unique identifier of the review. |
|
type |
string |
|
|
Unique identifier of review author. |
|
type |
string |
|
|
True if a positive review counts to reach the required threshold. |
|
type |
boolean |
|
|
SHA of the commit targeted by the review. |
|
type |
string |
|
|
Cover message of the review. |
|
type |
string |
|
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
State of the review. |
|
enum |
PENDING, APPROVED, CHANGES_REQUESTED, COMMENTED |
|
|
True if the review was dismissed. |
|
type |
boolean |
|
|
True if the review is stale because the pull request content changed after it was published. |
|
type |
boolean |
|
additionalProperties |
False |
Review comment
https://code.forgejo.org/f3/f3-schemas/src/branch/main/reviewcomment.json |
||
A comment in the context of a review. |
||
type |
object |
|
properties |
||
|
Unique identifier of the review comment. |
|
type |
string |
|
|
The text of the review comment. |
|
type |
string |
|
|
The relative path to the file commented on. |
|
type |
string |
|
|
The hunk commented on. |
|
type |
string |
|
|
The line number of the comment relative to the tree_path. |
|
type |
number |
|
|
The range of lines that are commented on. If absent it defaults to one and is a single line comment. If specified it must be a positive number. If line is N and lines_count is C, the range of lines commented on is ]N-C,N]. In other words, the range starts lines_count before line, which is the last of the range |
|
type |
number |
|
|
The SHA of the tree_path commented on. |
|
type |
string |
|
|
Unique identifier of the user who authored the comment. |
|
type |
string |
|
|
List of reactions. |
|
type |
array |
|
items |
||
|
Creation time. |
|
type |
string |
|
format |
date-time |
|
|
Last update time. |
|
type |
string |
|
format |
date-time |
|
|
Unique identifier of the user who resolved the comment. |
|
type |
string |
|
additionalProperties |
False |
Topic
https://code.forgejo.org/f3/f3-schemas/src/branch/main/topic.json |
||
A category associated with a project. There can be multiple topics/categories for a given project. |
||
type |
object |
|
properties |
||
|
Unique identifier. |
|
type |
string |
|
|
The name of the category the project belongs to. |
|
type |
string |
|
additionalProperties |
False |
User
https://code.forgejo.org/f3/f3-schemas/src/branch/main/user.json |
||
A forge user. |
||
type |
object |
|
properties |
||
|
Unique identifier of the user. |
|
type |
string |
|
|
User readable name of the user. |
|
type |
string |
|
|
Mail of the user. |
|
type |
string |
|
|
Unique name of the user. |
|
type |
string |
|
|
Password of the user. |
|
type |
string |
|
|
True if the user has administrative permissions on the forge. |
|
type |
boolean |
|
additionalProperties |
False |