Report API
The usage on report API v2.
Post Drop
POST
https://penguin-stats.io/PenguinStats/api/v2/report
This endpoint allows you to submit drop sample.
Request Body
Name | Type | Description |
---|---|---|
server | string | Indicate the server of this drop sample. We support 4 servers now: "CN", "US", "JP" and "KR". |
stageId | string | The stageId of this drop. |
drops | array | An array of Drop. Please find its model below. |
source | string | The source is used to mark the client sending this request. Equivalent to `User-Agent` presented in the header. |
version | string | The version of the source. |
Drop
Model
Properties
dropType
should be one of the four following values
NORMAL_DROP
SPECIAL_DROP
EXTRA_DROP
FURNITURE
.
itemId
is the internal id of item. It can be found in this repository.
quantity
is the number of item dropped under this drop type. Must be positive.
Examples of Request Body
Last updated