esiv5

package
v0.0.0-...-18d2f87 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Go API Server for esiv5

An OpenAPI for EVE Online

Overview

This server was generated by the [swagger-codegen] (https://github.com/swagger-api/swagger-codegen) project.
By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.

To see how to make this your own, look here:

README

  • API version: 1.21
Running the server

To run the server, follow these simple steps:

go run main.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCharactersCharacterId

func GetCharactersCharacterId(w http.ResponseWriter, r *http.Request)

func GetCharactersCharacterIdAssets

func GetCharactersCharacterIdAssets(w http.ResponseWriter, r *http.Request)

func GetCharactersCharacterIdNotifications

func GetCharactersCharacterIdNotifications(w http.ResponseWriter, r *http.Request)

func GetCharactersCharacterIdWalletJournal

func GetCharactersCharacterIdWalletJournal(w http.ResponseWriter, r *http.Request)

func GetCorporationsCorporationId

func GetCorporationsCorporationId(w http.ResponseWriter, r *http.Request)

func GetCorporationsCorporationIdAssets

func GetCorporationsCorporationIdAssets(w http.ResponseWriter, r *http.Request)

func Logger

func Logger(inner http.Handler, name string) http.Handler

func PostCharactersCharacterIdCspa

func PostCharactersCharacterIdCspa(w http.ResponseWriter, r *http.Request)

Types

type BadRequest

type BadRequest struct {
	/*
	 Bad request message */
	Error_ string `json:"error,omitempty"`
}

Bad request model

type ErrorLimited

type ErrorLimited struct {
	/*
	 Error limited message */
	Error_ string `json:"error,omitempty"`
}

Error limited model

type Forbidden

type Forbidden struct {
	/*
	 Forbidden message */
	Error_ string `json:"error,omitempty"`
	/*
	 status code received from SSO */
	SsoStatus int32 `json:"sso_status,omitempty"`
}

Forbidden model

type GatewayTimeout

type GatewayTimeout struct {
	/*
	 Gateway timeout message */
	Error_ string `json:"error,omitempty"`
	/*
	 number of seconds the request was given */
	Timeout int32 `json:"timeout,omitempty"`
}

Gateway timeout model

type GetCharactersCharacterIdAssets200Ok

type GetCharactersCharacterIdAssets200Ok struct {
	/*
	 is_blueprint_copy boolean */
	IsBlueprintCopy bool `json:"is_blueprint_copy,omitempty"`
	/*
	 is_singleton boolean */
	IsSingleton bool `json:"is_singleton,omitempty"`
	/*
	 item_id integer */
	ItemId int64 `json:"item_id,omitempty"`
	/*
	 location_flag string */
	LocationFlag string `json:"location_flag,omitempty"`
	/*
	 location_id integer */
	LocationId int64 `json:"location_id,omitempty"`
	/*
	 location_type string */
	LocationType string `json:"location_type,omitempty"`
	/*
	 quantity integer */
	Quantity int32 `json:"quantity,omitempty"`
	/*
	 type_id integer */
	TypeId int32 `json:"type_id,omitempty"`
}

200 ok object

type GetCharactersCharacterIdAssetsNotFound

type GetCharactersCharacterIdAssetsNotFound struct {
	/*
	 error message */
	Error_ string `json:"error,omitempty"`
}

Requested page does not exist

type GetCharactersCharacterIdNotFound

type GetCharactersCharacterIdNotFound struct {
	/*
	 Not found message */
	Error_ string `json:"error,omitempty"`
}

Not found

type GetCharactersCharacterIdNotifications200Ok

type GetCharactersCharacterIdNotifications200Ok struct {
	/*
	 is_read boolean */
	IsRead bool `json:"is_read,omitempty"`
	/*
	 notification_id integer */
	NotificationId int64 `json:"notification_id,omitempty"`
	/*
	 sender_id integer */
	SenderId int32 `json:"sender_id,omitempty"`
	/*
	 sender_type string */
	SenderType string `json:"sender_type,omitempty"`
	/*
	 text string */
	Text string `json:"text,omitempty"`
	/*
	 timestamp string */
	Timestamp time.Time `json:"timestamp,omitempty"`
	/*
	 type string */
	Type_ string `json:"type,omitempty"`
}

200 ok object

type GetCharactersCharacterIdOk

type GetCharactersCharacterIdOk struct {
	/*
	 The character's alliance ID */
	AllianceId int32 `json:"alliance_id,omitempty"`
	/*
	 Creation date of the character */
	Birthday time.Time `json:"birthday,omitempty"`
	/*
	 bloodline_id integer */
	BloodlineId int32 `json:"bloodline_id,omitempty"`
	/*
	 The character's corporation ID */
	CorporationId int32 `json:"corporation_id,omitempty"`
	/*
	 description string */
	Description string `json:"description,omitempty"`
	/*
	 ID of the faction the character is fighting for, if the character is enlisted in Factional Warfare */
	FactionId int32 `json:"faction_id,omitempty"`
	/*
	 gender string */
	Gender string `json:"gender,omitempty"`
	/*
	 name string */
	Name string `json:"name,omitempty"`
	/*
	 race_id integer */
	RaceId int32 `json:"race_id,omitempty"`
	/*
	 security_status number */
	SecurityStatus float32 `json:"security_status,omitempty"`
	/*
	 The individual title of the character */
	Title string `json:"title,omitempty"`
}

200 ok object

type GetCharactersCharacterIdWalletJournal200Ok

type GetCharactersCharacterIdWalletJournal200Ok struct {
	/*
	 The amount of ISK given or taken from the wallet as a result of the given transaction. Positive when ISK is deposited into the wallet and negative when ISK is withdrawn */
	Amount float64 `json:"amount,omitempty"`
	/*
	 Wallet balance after transaction occurred */
	Balance float64 `json:"balance,omitempty"`
	/*
	 An ID that gives extra context to the particular transaction. Because of legacy reasons the context is completely different per ref_type and means different things. It is also possible to not have a context_id */
	ContextId int64 `json:"context_id,omitempty"`
	/*
	 The type of the given context_id if present */
	ContextIdType string `json:"context_id_type,omitempty"`
	/*
	 Date and time of transaction */
	Date time.Time `json:"date,omitempty"`
	/*
	 The reason for the transaction, mirrors what is seen in the client */
	Description string `json:"description,omitempty"`
	/*
	 The id of the first party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name */
	FirstPartyId int32 `json:"first_party_id,omitempty"`
	/*
	 Unique journal reference ID */
	Id int64 `json:"id,omitempty"`
	/*
	 The user stated reason for the transaction. Only applies to some ref_types */
	Reason string `json:"reason,omitempty"`
	/*
	 \"The transaction type for the given. transaction. Different transaction types will populate different attributes.\" */
	RefType string `json:"ref_type,omitempty"`
	/*
	 The id of the second party involved in the transaction. This attribute has no consistency and is different or non existant for particular ref_types. The description attribute will help make sense of what this attribute means. For more info about the given ID it can be dropped into the /universe/names/ ESI route to determine its type and name */
	SecondPartyId int32 `json:"second_party_id,omitempty"`
	/*
	 Tax amount received. Only applies to tax related transactions */
	Tax float64 `json:"tax,omitempty"`
	/*
	 The corporation ID receiving any tax paid. Only applies to tax related transactions */
	TaxReceiverId int32 `json:"tax_receiver_id,omitempty"`
}

200 ok object

type GetCorporationsCorporationIdAssets200Ok

type GetCorporationsCorporationIdAssets200Ok struct {
	/*
	 is_blueprint_copy boolean */
	IsBlueprintCopy bool `json:"is_blueprint_copy,omitempty"`
	/*
	 is_singleton boolean */
	IsSingleton bool `json:"is_singleton,omitempty"`
	/*
	 item_id integer */
	ItemId int64 `json:"item_id,omitempty"`
	/*
	 location_flag string */
	LocationFlag string `json:"location_flag,omitempty"`
	/*
	 location_id integer */
	LocationId int64 `json:"location_id,omitempty"`
	/*
	 location_type string */
	LocationType string `json:"location_type,omitempty"`
	/*
	 quantity integer */
	Quantity int32 `json:"quantity,omitempty"`
	/*
	 type_id integer */
	TypeId int32 `json:"type_id,omitempty"`
}

200 ok object

type GetCorporationsCorporationIdNotFound

type GetCorporationsCorporationIdNotFound struct {
	/*
	 Not found message */
	Error_ string `json:"error,omitempty"`
}

Not found

type GetCorporationsCorporationIdOk

type GetCorporationsCorporationIdOk struct {
	/*
	 ID of the alliance that corporation is a member of, if any */
	AllianceId int32 `json:"alliance_id,omitempty"`
	/*
	 ceo_id integer */
	CeoId int32 `json:"ceo_id,omitempty"`
	/*
	 creator_id integer */
	CreatorId int32 `json:"creator_id,omitempty"`
	/*
	 date_founded string */
	DateFounded time.Time `json:"date_founded,omitempty"`
	/*
	 description string */
	Description string `json:"description,omitempty"`
	/*
	 faction_id integer */
	FactionId int32 `json:"faction_id,omitempty"`
	/*
	 home_station_id integer */
	HomeStationId int32 `json:"home_station_id,omitempty"`
	/*
	 member_count integer */
	MemberCount int32 `json:"member_count,omitempty"`
	/*
	 the full name of the corporation */
	Name string `json:"name,omitempty"`
	/*
	 shares integer */
	Shares int64 `json:"shares,omitempty"`
	/*
	 tax_rate number */
	TaxRate float32 `json:"tax_rate,omitempty"`
	/*
	 the short name of the corporation */
	Ticker string `json:"ticker,omitempty"`
	/*
	 url string */
	Url string `json:"url,omitempty"`
	/*
	 war_eligible boolean */
	WarEligible bool `json:"war_eligible,omitempty"`
}

200 ok object

type InternalServerError

type InternalServerError struct {
	/*
	 Internal server error message */
	Error_ string `json:"error,omitempty"`
}

Internal server error model

type ServiceUnavailable

type ServiceUnavailable struct {
	/*
	 Service unavailable message */
	Error_ string `json:"error,omitempty"`
}

Service unavailable model

type Unauthorized

type Unauthorized struct {
	/*
	 Unauthorized message */
	Error_ string `json:"error,omitempty"`
}

Unauthorized model

Jump to

Keyboard shortcuts

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