releases

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builds

type Builds struct {
	Builds  []models.GameBuild `json:"data"`
	Page    int                `json:"page"`
	PerPage int                `json:"per_page"`
	Total   int                `json:"total"`
}

Builds is a list of builds as returned by the /releases/builds/:id endpoint

func List

func List(client *cliHttp.SimpleClient, releaseID int, options *ListBuildsOptions) (*Builds, error)

List sends a new /releases/builds/:id request

type ListBuildsOptions

type ListBuildsOptions struct {
	GameID    int
	PackageID int
}

ListBuildsOptions are additional optional parameters for the `/releases/builds/:id` endpoint`

type ListBuildsResult

type ListBuildsResult struct {
	Builds *Builds       `json:"builds"`
	Error  *models.Error `json:"error,omitempty"`
}

ListBuildsResult is the payload from the `/releases/builds/:id` endpoint

Jump to

Keyboard shortcuts

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