org.tangled.git.setDefaultBranch

tangled.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Set the default branch of this repository",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "branch": {
              "description": "Branch name without the refs/heads/ prefix",
              "maxLength": 244,
              "type": "string"
            },
            "repo": {
              "description": "DID of the repository",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "branch"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "Version of the refs record after the move",
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "description": "The repository's org.tangled.git.refs record",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.git.setDefaultBranch",
  "lexicon": 1
}

Validate Record

Validate a record against org.tangled.git.setDefaultBranch

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wshs7t2adsemcrrd4snkeqli
CID
bafyreihzog5pfo6j6si3puvjoqvwiuuklehuffbvf4spscmoscujpw3cd4
Indexed At
2026-10-28 14:06 UTC
AT-URI
at://did:plc:wshs7t2adsemcrrd4snkeqli/com.atproto.lexicon.schema/org.tangled.git.setDefaultBranch

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@