{"modulePath":"github.com/sergiught/openfga-cli","version":"v0.271.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api implements \\`ofga api\\`: send a raw request to the OpenFGA API using the active profile's connection and authentication.\n\n## Functions\n\n```go\nfunc OutputTypes() map[string]any\n```\nOutputTypes maps api's full path to what it prints under --json: the server's response, passed through unchanged, so any JSON value.\n\n## Types\n\n```go\ntype Command struct {\n\t// contains filtered or unexported fields\n}\n```\nCommand is the \\`api\\` command.\n\n```go\nfunc New(cli *cli.CLI) *Command\n```\nNew builds the api command.\n\n```go\nfunc (c *Command) Command() *cobra.Command\n```\nCommand returns the cobra command.\n\n","path":"github.com/sergiught/openfga-cli/internal/command/api","name":"api","synopsis":"Package api implements `ofga api`: send a raw request to the OpenFGA API using the active profile's connection and authentication.","isRedistributable":true}
