-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STW News not working #745
Comments
yes, using the example request from the game: POST https://prm-dialogue-public-api-prod.edea.live.use1a.on.epicgames.com/api/v1/fortnite-br/surfaces/stw-motd/target HTTP/1.1
Host: prm-dialogue-public-api-prod.edea.live.use1a.on.epicgames.com
Accept: */*
Accept-Encoding: deflate, gzip
Content-Type: application/json
X-Epic-Correlation-ID: FN-ok5NYVFEmEmsYnsR5Jrmzw
User-Agent: Fortnite/++Fortnite+Release-28.01-CL-30106568 Windows/10.0.19045.1.768.64bit
Authorization: bearer eg1~REDACTED
{
"onLogin": true,
"platform": "Windows",
"language": "en",
"serverRegion": "EU",
"country": "DE",
"hasSavedEventDate": false,
"hasAttendedEndOfSeasonS17": false,
"subscription": true,
"ownsSaveTheWorld": true,
"filterRestricted": false,
"isCabined": false,
"filterConsent": false,
"filterLimited": false,
"socialTags": ["Chill", "Mic On", "Open World"],
"allowedContentTypes": ["functional"],
"ratingAuthority": "USK",
"rating": "USK_AGE_12",
"battlepass": true,
"battlepassLevel": 23,
"accountLevel": 4509,
"victoryCrownsRoyales": 0,
"globalCash": 0,
"battlepassStars": 115,
"battlepassItemsClaimed": 1,
"unlockedPages": 14,
"unlockedBonusPages": 0,
"progressiveBackblingStage": 6,
"S21ProgressivePhotonicStrikerPickaxe": 6,
"completedQuests": []
} example response for that request: HTTP/1.1 204 No Content
Server: awselb/2.0
Date: Fri, 08 Dec 2023 22:31:26 GMT
Connection: keep-alive
status 204 = no news rn heres an example response with data (from HTTP/1.1 200 OK
Date: Fri, 08 Dec 2023 22:31:26 GMT
Content-Type: application/json
Content-Length: 1624
Connection: keep-alive
X-Epic-Correlation-ID: FN-Fuz8JbMrgkCyAqV3HWPyGg
etag: 1af2b40a79eb8fd47e5fafebf3d234c6
{
"contentType": "collection",
"contentId": "fortnite-br-sparks-motd-collection",
"tcId": "f0931799-daef-41bb-8231-12583145d5b4",
"contentMeta": "{\"5ddc351049dc1071bbdb7fd362cbe2c3\":[\"053d7b0b-dd1e-49dc-8c2c-42835f24622e\"]}",
"contentItems": [{
"contentType": "content-item",
"contentId": "053d7b0b-dd1e-49dc-8c2c-42835f24622e",
"tcId": "c0df2dad-4fa4-49a5-bdc3-f073335f80c4",
"contentFields": {
"Buttons": [{
"Action": {
"_type": "MotdNavigateToShopAction",
"navAction": "1",
"offerTrackingId": "/Game/Catalog/NewDisplayAssets/DAv2_CID_748_F_Hitman.DAv2_CID_748_F_Hitman"
},
"Style": "0",
"Text": "Check it Out",
"_type": "Button"
}],
"FullScreenBackground": {
"Image": [{
"width": 1920,
"height": 1080,
"url": "https://cdn-live.prm.ol.epicgames.com/prod/f60460ca03f37d7bc2b4550796b9aea877030bcbaa176807e812a97e4d958bbca6f5feeb55df49f4e8dcc3e22a92f674-049dc464-736c-4786-b905-e24ff98ffd3f.jpeg?width=1920"
}, {
"width": 960,
"height": 540,
"url": "https://cdn-live.prm.ol.epicgames.com/prod/f60460ca03f37d7bc2b4550796b9aea877030bcbaa176807e812a97e4d958bbca6f5feeb55df49f4e8dcc3e22a92f674-049dc464-736c-4786-b905-e24ff98ffd3f.jpeg?width=960"
}],
"_type": "FullScreenBackground"
},
"FullScreenBody": "Unforgettable and inescapable.",
"FullScreenTabTitle": "N/A",
"FullScreenTitle": "Siren",
"TeaserBackground": {
"Image": [{
"width": 1024,
"height": 512,
"url": "https://cdn-live.prm.ol.epicgames.com/prod/f60460ca03f37d7bc2b4550796b9aea8e5c84c11554a8ce8ec7771f0ad688246119b8547e41ffe3d16ed36ac9b42b2a2-45d80128-dc8f-41f7-a60a-6a5cbc86d688.jpeg?width=1024"
}],
"_type": "TeaserBackground"
},
"TeaserTitle": "Siren"
},
"contentSchemaName": "DynamicMotd",
"contentHash": "5ddc351049dc1071bbdb7fd362cbe2c3"
}]
} |
Draft
Draft
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
STW News uses PRM Dialog Service (According to Lele)
https://github.com/LeleDerGrasshalmi/FortniteEndpointsDocumentation/blob/main/EpicGames/PRMDialogService/SurfaceTarget.md
The text was updated successfully, but these errors were encountered: