Closed Bornhall closed 2 years ago
Ok, this might be of interest to Tustin, I think I've found the endpoint to download images from a message thread:
/gamingLoungeGroups/v1/groups/ <threadId> /resources/ <resourceId>
Testing it now I got the test image I sent (a JPEG) just like that. The <threadId>
is the message thread or group id, and <resourceId>
is the entire string from the resourceId I mention in previous post, ending with the "_message_418840640297774_1636096251163" string.
To find this, I dug a bit and did a decompile of the Android version of the PlayStation app from the APK package, then started going through the code as good as I could. There are a lot more endpoints in the code if anyone is interested in browsing through it (searching for "/v1/" yields a lot for starters). I ran it through a javascript beautifier to make it readable, so it's now around 15 megabytes in size. Not sure posting it here is a great idea, but here's what you can do:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Does anyone have the endpoint for, and know how to retrieve an image posted to a message thread?
Not looking to post an image, just getting it.
Posting an image to a thread, I've gotten the following in the message:
...where the two pairs of <16 hex chars> corresponds to the group id (as in ~<16 hex chars>.<16 hex chars>). Don't know where the "75c" part comes from, but I assume it's instead of the tilde character. The numeric part following "message" is unknown, but could simply be a kinda random numeric value. The last part looks to be a timestamp with microseconds.
I've tried accessing the set to various string combinations from the above resourceId, but only getting 404 not found in a JSON response, like this:
/gameMediaService/v2/c2s/ugc/<UGC id>/url
withAnyone had any luck with retrieving an image from the current API? I've tried snooping the traffic via a proxy to get at the endpoint URL, but as we know, normal SSL proxying prevents it from connecting.