dev.knotless.unprotectBranch
Takes the branch out of the protected branches of the repository's dev.knotless.repo record, as `knotless branch protect --undo` does. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | knotless.dev |
| Indexed |
Procedure
procedure · POSTInput
application/jsonOutput
application/jsonThe protected branches now.
Errors
NotFound
No such repository.
InvalidRequest
The branch is not protected.
AuthenticationRequired
No account is logged in to the pages, or its session has ended.
Forbidden
The account logged in is not the repository's owner.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.protectBranch
procedureProtects a branch of a repository.
-
dev.knotless.deleteBranch
procedureDeletes a branch of a repository.
-
dev.knotless.unshareRepo
procedureTakes back what was shared of a repository with an account.
-
dev.knotless.archiveRepo
procedureArchives a repository, making it read only, or unarchives it.
-
dev.knotless.removeLabel
procedureTakes a label away from a repository.