api

package
v3.57.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 15 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCmd

type ApiCmd struct {
	Endpoint  string   `arg:"" optional:"" help:"API endpoint to call"`
	Method    string   `help:"HTTP method to use" short:"X"`
	Headers   []string `help:"Headers to include in the request" short:"H"`
	Data      string   `help:"Data to send in the request body" short:"d"`
	Analytics bool     `help:"Use the Test Analytics endpoint"`
	File      string   `help:"File containing GraphQL query" short:"f"`
	Verbose   bool     `help:"Enable verbose output (currently only provides information about rate limit exceeded retries)"`
}

func (*ApiCmd) Help

func (c *ApiCmd) Help() string

func (*ApiCmd) Run

func (c *ApiCmd) Run(kongCtx *kong.Context, globals cli.GlobalFlags) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL