{"command":{"effect":"read","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.\n\nOAuth app tokens and personal access tokens (classic) need the `codespace` scope to use this endpoint.","properties":{"path":{"type":"object","properties":{"owner":{"type":"string","description":"The account owner of the repository. The name is not case sensitive."},"repo":{"type":"string","description":"The name of the repository without the `.git` extension. The name is not case sensitive."}},"required":["owner","repo"],"additionalProperties":false},"query":{"type":"object","properties":{"ref":{"type":"string","examples":["master"],"description":"The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically be a branch name (`heads/BRANCH_NAME`). For more information, see \"[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)\" in the Git documentation."},"devcontainer_path":{"type":"string","examples":[".devcontainer/example/devcontainer.json"],"description":"Path to the devcontainer.json configuration to use for the permission check."}},"required":["ref","devcontainer_path"],"additionalProperties":false}},"required":["path","query"],"additionalProperties":false},"name":"Check if permissions defined by a devcontainer have been accepted by the authenticated user","id":"github.codespaces.check-permissions-for-devcontainer","example":{"path":{"owner":"octocat","repo":"hello-world"},"query":{"ref":"master","devcontainer_path":".devcontainer/example/devcontainer.json"}},"maxRequests":1,"summary":false}}