{ "lexicon": 1, "id": "sh.tangled.git.keepCommit", "defs": { "main": { "type": "procedure", "input": { "encoding": "application/json", "schema": { "type": "object", "required": ["repo", "ref"], "properties": { "repo": { "type": "string", "format": "at-uri", "description": "AT-URI of the repository" }, "ref": { "type": "string", "description": "ref to keep" } } } }, "output": { "encoding": "application/json", "schema": { "type": "object", "required": ["commitId"], "properties": { "commitId": { "type": "string", "description": "Keeped commit hash" } } } }, "errors": [ { "name": "InternalServerError", "description": "Failed to keep commit" } ] } } }