Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576{ "lexicon": 1, "id": "org.tangled.temp.git.getRef", "defs": { "main": { "type": "query", "parameters": { "type": "params", "required": [ "repo", "ref" ], "properties": { "repo": { "type": "string", "format": "did", "description": "DID of the repository" }, "ref": { "type": "string", "description": "Reference name. Such as master, refs/heads/master, or v1.16.0-alpha." } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["name", "oid", "message", "author", "totalCommits"], "properties": { "name": { "type": "string", "description": "Full reference name. Example: refs/heads/master" }, "oid": { "type": "string", "description": "Latest commit oid on this reference." }, "message": { "type": "string", "description": "Latest commit message" }, "author": { "type": "ref", "ref": "sh.tangled.git.defs#signature" }, "annotation": { "type": "ref", "ref": "org.tangled.temp.git.listTags#annotation", "description": "Present only for annotated tags" }, "totalCommits": { "type": "integer", "description": "Number of commits reachable from this tip" } } } }, "errors": [ { "name": "RepoNotFound", "description": "Repository not found or access denied" }, { "name": "RefNotFound", "description": "Git reference not found" }, { "name": "InvalidRequest", "description": "Invalid request parameters" } ] } }}