{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.\n\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.\n\nThis will fail for a codespace that is already published, meaning it has an associated repository.\n\nOAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"codespace_name":{"type":"string","description":"The name of the codespace."}},"required":["codespace_name"],"additionalProperties":false},"body":{"type":"object","properties":{"name":{"description":"A name for the new repository.","type":"string"},"private":{"description":"Whether the new repository should be private.","type":"boolean","default":false}},"examples":[{"repository":"monalisa-octocat-hello-world-g4wpq6h95q","private":false}]}},"required":["path","body"],"additionalProperties":false},"name":"Create a repository from an unpublished codespace","id":"github.codespaces.publish-for-authenticated-user","example":{"path":{"codespace_name":"example"},"body":{"repository":"monalisa-octocat-hello-world-g4wpq6h95q","private":false}},"maxRequests":1,"summary":false}}