OHS
“OHS” stands for “Outso Home Services”. This is confirmed by their Lua code in their Objects.
OHS is Lockwood Publishing ’s API for their PlayStation Home spaces. It’s used by all of their minigames, including:
- Sodium One: Salt ShooterÂ
- Sodium Two: Project VelocityÂ
- Dream Yacht and its variations
- …many many more…
It’s a RESTful HTTP API, designed to be as generic and versatile as possible.
It also was responsible for serving many static files used by the games, under /static.
Requests
OHS is perhaps the only API to use a custom encoding language (that is, not JSON, XML or others).
It implements a custom language named Jamin, which looks somewhat like this:
tn1;ts4:data;ts4:user;s10:testname;;s6:method;s7:userid/;s7:project;s7:<dummy>;;n2;ts4:data;ts9:territory;s4:SCEA;s4:user;s10:testname;s9:buddylist;t;s6:gender;s6:female;s3:age;n18;s6:region;s5:en-US;;s6:method;s9:register/;s7:project;s1:x;;;This corresponds to:
[
{
"data": {
"user": "testname",
"method": "userid",
"project": "<dummy>"
},
},
{
"data": {
"territory": "SCEA",
"user": "testname",
"buddylist": [],
"gender": "female",
"age": 18,
"region": "en-US",
"method": "register",
"project": "x"
}
}
]The Jamin data would be sent as multipart/form-data under the data text field.
Responses
Responses are expected as a Jamin-encoded JSON document as follows:
{
"status": "success",
"value": ...
}This should then get wrapped inside of <ohs>...</ohs> and then sent in a HTTP 200 OK response for the same to accept it.
Domains
www.outso-srv1.comstats.outso-srv1.com
Components
- Community: scores that the entire Home community would contribute to, collectively.
- Examples: Konami Penthouse had a “community score” board, showcasing how many points the players have achieved collectively.
- Counters: individual integer counters
- Data: JSON-like structures of save data for the games
- Globals: read-only global data for a specific scene
- Inventory
- Leaderboards
- Users