curl --request POST \
--url 'https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY' \
--data '{
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}'
const response = await fetch('https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
layerDescs: [],
raffledAtInterval: {
from: "string",
to: "string"
}
})
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream"
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
body = {
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}
response = requests.post(url, headers=headers, json=body)
data = response.json()
{
"success": true,
"data": {
"worldId": 0,
"rewardHistories": {},
"updatedAt": "string"
}
}
Rewards
Stream Reward History
Stream reward draw history as chunked response (up to 30 days after the draw).
POST
/
v1rc1
/
msn
/
rewards
/
{worldId}
/
history
/
stream
curl --request POST \
--url 'https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY' \
--data '{
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}'
const response = await fetch('https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
layerDescs: [],
raffledAtInterval: {
from: "string",
to: "string"
}
})
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream"
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
body = {
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}
response = requests.post(url, headers=headers, json=body)
data = response.json()
{
"success": true,
"data": {
"worldId": 0,
"rewardHistories": {},
"updatedAt": "string"
}
}
Path parameters
World ID
Body parameters
List of layer conditions to query (specify either
layer_id or layer_type)Response
Indicates if the request was successful
curl --request POST \
--url 'https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream' \
--header 'Content-Type: application/json' \
--header 'x-nxopen-api-key: YOUR_API_KEY' \
--data '{
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}'
const response = await fetch('https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'x-nxopen-api-key': 'YOUR_API_KEY'
},
body: JSON.stringify({
layerDescs: [],
raffledAtInterval: {
from: "string",
to: "string"
}
})
});
const data = await response.json();
import requests
url = "https://openapi.msu.io/v1rc1/msn/rewards/{worldId}/history/stream"
headers = {
"x-nxopen-api-key": "YOUR_API_KEY"
}
body = {
"layerDescs": [],
"raffledAtInterval": {
"from": "string",
"to": "string"
}
}
response = requests.post(url, headers=headers, json=body)
data = response.json()
{
"success": true,
"data": {
"worldId": 0,
"rewardHistories": {},
"updatedAt": "string"
}
}
⌘I

