Betting.WebApi

<back to all web services

FindAppEventsSummary

Requires Authentication
The following routes are available for this service:
All Verbs/qry/app-events-summary
package dtos

type QueryRequest struct {
	Qry RecordDictionary[string, string] `json:"qry"`
}

type PaginatedQueryRequest struct {
	QueryRequest
	CurrentPage int `json:"currentPage,omitempty"`
	PageSize    int `json:"pageSize,omitempty"`
}

type EventsSummary struct {
	N              int     `json:"n,omitempty"`
	S              int     `json:"s,omitempty"`
	I              int     `json:"i,omitempty"`
	W              int     `json:"w,omitempty"`
	E              int     `json:"e,omitempty"`
	LastCheckpoint *uint64 `json:"lastCheckpoint,omitempty"`
}

type FindAppEventsSummary struct {
	PaginatedQueryRequest
}

type RecordDictionary[TKey any, TVal any] map[TKey]TVal

Go FindAppEventsSummary DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /qry/app-events-summary HTTP/1.1 
Host: api.bettor.webhop.biz 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	currentPage: 0,
	pageSize: 0,
	qry: 
	{
		String: String
	}
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	n: 0,
	s: 0,
	i: 0,
	w: 0,
	e: 0,
	lastCheckpoint: 0
}