Site Map
Welcome!
Comments GET
Comment POST
Comments/{id} GET
Users GET
Users/{id} GET
User/{id} PUT
User/{id} DELETE
FUN
Make some API request
Fun/randomjoke GET
Get a random joke!
Fun/post/{id} GET
Get a post!

Welcome!

Welcome to the site map of our social media site. Here you can use API requests to our internal web serice.
Note: Some requests such as POST, DELETE and more may require additional authentication. Request your API key with us at .

You can use applications like Postman to send data that cannot be sent in the header.

API Level notes:
- Level 0, no authentication needed.
- Level 1, basic authentication needed.
Requires an account to be made
- Level 2, advanced authentication needed.
Requires an account to be made and administation approval.

Certain parameters within a request or a certain requests (such as adding a comment) may warrant a certain API level.

API Request Tokens
User
dGENseRceScATeNEwAYSTBaSKyEtIQUINTALhontiNItoREnousdAGenO
eMaIshIlChriCKsiseUcASEcTOnANForeVORTiPTofONimPecTIeURIvo
trEyOuskyHEALEomagARCheROSiTICureSiTIORkpLETreVIlISEmONewlIGhAl

Admin
SBaLAinSTOnwARCEntHumInDAVATiCEnLaGEnisTribUrCedIAMEryARacKErOUGhtSWAHMa
NTaKwaRaRpReBACTaTengsTaTeRmARishbuthilEOtictICIPLaNDIftBIn
trEyOuskyHEALEomagARCheROSiTICureSiTIORkpLETreVIlISEmONewlIGhAl


Add the header name: Authorization with value User: token or Admin: token

EG: Authorization User: psorlsE
GET

/comments

Add the field(s) you wise to use in the URL, /comments?start=0.

FIELD TYPE DESC API LEVEL
start number Unix time
end number Unix time
limit number Default 100. Range between 2 and 200
userinfo bool Appends field user. Adds: Account type, last online, username;
by string User idenfication — can be concatenated using "-" — by=1-2-3
Output
[{
"postid":int,
"by":int,
"comment":string,
"posted":int,
"deleted":bool,
"edited":{
"time":int/null,
"by":int/null
}
}]
POST

/comment

This request requires additional authentication.

FIELD TYPE DESC API LEVEL
by number User idenfication
content string Max character count 2,500. If over 2,500, an error will be returned.
Output
{
"success":200,
"message":"Added comment!",
}
GET

/comment/{id}

Add the field(s) you wise to use in the URL, /comment/2

Output
{
"postid":int,
"by":int,
"comment":string,
"posted":int,
"deleted":bool,
"edited":{
"time":int/null,
"by":int/null
}
}
GET

/users

Add the field(s) you wise to use in the URL, /users?email=true

Level 2 API required to view administrators if email or dob are being queried.

FIELD TYPE DESC API LEVEL
email bool User email
dob bool Unix time
Output
[{
"userid":int,
"username":string,
"firstname":string,
"surname":string,
"dob":string, If querying
"email":string, If querying
"info":{
"deleted":bool,
"gdpr":bool,
"joined":int,
"lastonline":int
}
"avatar":{
"name":string,
"extension":string
}
}]
GET

/user/{id}

Level 2 API required to view administrators.
Level 1 API required to view users.

Output
{
"userid":int,
"username":string,
"firstname":string,
"surname":string,
"dob":string,
"email":string,
"type":int,
"info":{
"deleted":bool,
"gdpr":bool,
"joined":int,
"lastonline":int
}
"avatar":{
"name":string,
"extension":string
}
}
PUT

/user/{id}

Level 2 API required to edit Level 2 users.
Level 1 API required by default for Level 0 and Level 1 users.

This will only 'edit' this local version. When the web serivce is restart, it will be reset.

FIELD TYPE DESC API LEVEL
firstname string Their firstname, max 60 characters.
surname string Their surname, max 60 characters.
email string Their email, max 60 characters.
dob string Their dob, max 20 characters.
Output
{
"success":202,
"message":"Added comment!",
}
DELETE

/user/{id}

This request requires additional authentication.

Output
{
"success":202,
"message":"Added comment!",
}
GET

/fun/randomjoke

Output
HTML
GET

/fun/post/{id}

Output
HTML