Elementi taggati con api
23/10/2014
Post Element
URL
http://[www.sito.it]/api.php
Method
POST
Argoments
context "element" (required)
token (required)
domain (required)
page (required)
slot (required)
model (required)
title (required)
text (required)
image (required) (Site Path, see Upload Image)
tags (required)
Response
{ "context":"element", "token":"59664694854465c21009d45.23607006", "code":0, "params":{...
23/10/2014
Upload Image
URL
http://[www.sito.it]/api.php
Method
POST
Argoments
context "upload" (required)
token (required)
image nome (required)
image_name (required) (base64 string image)
Response
{ "context":"upload", "token":"59664694854465c21009d45.23607006", "code":0, "params":{ "path_image":"\/uploads\/user1\/2014\/10\/23\/1177\/image1.jpg" } }
23/10/2014
Logout
URL
http://[www.sito.it]/api.php
Method
POST
Argoments
context "logout" (required)
token (required)
Response
{ "context":"logout", "token":"5966343865448dfad17c596.4965465", "code":0 }
23/10/2014
Login
URL
http://[www.sito.it]/api.php
Method
POST
Argoments
context "login" (required)
username (required)
password (required)
Response
{ "context":"login", "token":"5966343865448dfad17c596.4965465", "code":0, "params":{ "editor_permission":"6083|53;6083|58;6179|2;6178|2;", "group_need_approve":"1","session_id":"10"} }
^ Top