dev.knotless.unprotectBranch
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Takes the branch out of the protected branches of the repository's dev.knotless.repo record, as `knotless unprotect` does. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "The branch is not protected.",
"name": "InvalidRequest"
},
{
"description": "No account is logged in to the pages, or its session has ended.",
"name": "AuthenticationRequired"
},
{
"description": "The account logged in is not the repository's owner.",
"name": "Forbidden"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"branch": {
"description": "The branch, without refs/heads/.",
"maxLength": 255,
"type": "string"
},
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo",
"branch"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"rules": {
"description": "The protected branches now.",
"items": {
"ref": "dev.knotless.repo#rule",
"type": "ref"
},
"type": "array"
}
},
"required": [
"rules"
],
"type": "object"
}
},
"type": "procedure"
}
},
"description": "Stops protecting a branch of a repository.",
"id": "dev.knotless.unprotectBranch",
"lexicon": 1
}
Metadata
- DID
-
did:plc:yqsg7znbbhfmj3a2nrpnaerk - CID
-
bafyreia5fm26qcxktseli4cp5ckcjesq5wb5ej46iiaqzvmgdqdxlntlmi - Indexed At
- 2026-10-28 21:21 UTC
- AT-URI
-
at://did:plc:yqsg7znbbhfmj3a2nrpnaerk/com.atproto.lexicon.schema/dev.knotless.unprotectBranch
Referenced Schemas (1)
Similar Lexicons
Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
dev.knotless.protectBranch procedure
Protects a branch of a repository.
-
dev.knotless.deleteBranch procedure
Deletes a branch of a repository.
-
dev.knotless.unshareRepo procedure
Takes back what was shared of a repository with an account.
-
dev.knotless.removeLabel procedure
Takes a label away from a repository.
-
dev.knotless.unstarRepo procedure
Takes a star back as the account logged in to this appview's pages.