cURL Header
api-key specify your api-key to get access to API
user-client-token user client token
user-access-token user access token
response-type specify API response type : ("json" or "xml")
api-version specify required API version : ("v1.0" o "v1.1")
LOGO
URL :
http://api.westream.com/upload/image
Response :
{
"message":
{
"idContrib":"abcd1234",
"fileName":"test.jpg",
"filePath":"http://westream.com/contrib/test.jpg"
},
"code":200,
"success":true
}
Parameters :
file(type:file) username(string)
URL :
http://api.westream.com/user/appearance/logo/delete
Response :
{
"message":
{
"message": "Delete successfully",
"mainLogoURL": "http://api.westream.com/images/westream-logo.png"
},
"code": 200,
"success": true
}
Parameters :
username(string) type : "mainLogo"
URL :
http://api.westream.com/user/appearance/logo/delete
Response :
{
"message":
{
"message": "Delete successfully",
"mobileLogoURL": "http://api.westream.com/images/westream-logo.png"
},
"code": 200,
"success": true
}
Parameters :
username(string) type : "mobileLogo"
Appearance
URL :
http://api.westream.com/user/appearance
Response :
{
"message":
{
"mainLogoURL": "http://api.westream.com/westream-logo.png",
"mobileLogoURL": "http://api.westream.com/westream-logo-min.png"
},
"code":200,
"success":true
}
Parameters :
username(string)
URL :
http://api.westream.com/user/appearance/update
Response :
{
"message": "Updated successfully",
"code":200,
"success":true
}
Parameters :
username(string) mainLogoImageId(string)(optional) mobileLogoImageId(string)(optional)