Expand description
Request bodies vendored by hand from the pinned swagger.v1.json.
Create and patch are deliberately asymmetric. See
CreateBranchProtectionOption for why.
Modulesยง
- access ๐
- actions_
variables ๐ - branch_
rules ๐ - deploy_
keys ๐ - labels ๐
- repository ๐
- tag_
protection ๐ - webhooks ๐
Structsยง
- AddCollaborator
Option AddCollaboratorOption, with every property the spec lists.- Create
Branch Protection Option - The managed subset of
CreateBranchProtectionOption. - Create
Hook Option CreateHookOption, with every property the spec lists but the authorization header.- Create
KeyOption CreateKeyOption, with every property the spec lists.- Create
Label Option CreateLabelOption, with every property the spec lists.- Create
TagProtection Option CreateTagProtectionOption, with every property the spec lists.- Create
Variable Option CreateVariableOption, with every property the spec lists.- Edit
Branch Protection Option - The managed subset of
EditBranchProtectionOption. - Edit
Hook Option - The managed subset of
EditHookOption. - Edit
Label Option - The managed subset of
EditLabelOption. - Edit
Repo Option - The managed subset of
EditRepoOption. - Edit
TagProtection Option - The managed subset of
EditTagProtectionOption. - External
Tracker ExternalTracker, with every property the spec lists.- Internal
Tracker InternalTracker. Forgejo reads a missing property as false, so every property is always sent.- Update
Variable Option - The managed subset of
UpdateVariableOption.