Getting a website

GET https://umobilizer.com/partner/api/site/get/siteId/

Description

Extensive information about the wesbite, including a link to the preview page and the placement script.

Input parameters

Parameter Type Required Description
siteId integer yes
Site ID

Output parameter

{
    "site": {
        "siteId": 1000,
        "siteName": "siteName",
        "siteUrl": "http:\/\/site.com\/",
        "published": false,
        "paidDate": null,
        "code": "...",
        "previewUrl": "//umobilizer.com/preview/1000/?hash=d0a5d1d...",
        "deploymentUrl": "//umobilizer.com/master/1000/deployment/"
    }
}

Site structure

Parameter Type Description
siteId integer
Site ID
siteName string
Site name
siteUrl string
URL of site
published boolean
Is the website publish:
  • true - published
  • false - not published
paidDate string
Data in format Y-m-dUnsuccessful payment will result in the mobilized websites suspension. null.
code string
The script of the mobile version must be placed on the pages of the added website
previewUrl string
Link to the page with a preview of the mobile version
deploymentUrl string
Link to the page with the code to insert onto the website