Something went wrong. Try again.
Monorepo for Tangled
Something went wrong. Try again.
JSON
at sl/gitmirror
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263{ "lexicon": 1, "id": "org.tangled.temp.migrator.createTask", "defs": { "main": { "type": "procedure", "description": "Create a task to migrate repositories into knots.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": [ "requestId", "jobs" ], "properties": { "requestId": { "type": "string", "minLength": 1, "maxLength": 128, "description": "Idempotency key for this task." }, "githubToken": { "type": "string", "description": "GitHub token for reading private source repositories." }, "jobs": { "type": "array", "minLength": 1, "maxLength": 50, "items": { "type": "ref", "ref": "org.tangled.temp.migrator.defs#newJob" } } } } }, "output": { "encoding": "application/json", "schema": { "type": "ref", "ref": "org.tangled.temp.migrator.defs#task" } }, "errors": [ { "name": "InvalidRequest", "description": "Malformed jobs or missing githubToken for a private repository." }, { "name": "TaskConflict", "description": "requestId was previously used with different jobs." }, { "name": "GrantRequired", "description": "Migrator is not authorized. Body contains the authorization URL." } ] } }}