Public
You will known about how to retrieve public data of website.
GETGet pages
https://api.imcloud.org/site/api/v1/pages
Get recursive list of pages.
Example Request
Get pages
curl
curl --location 'https://api.imcloud.org/site/api/v1/pages'
200 OK
Example Response
json
{
"success": true,
"pages": [
{
"id": 148773844,
"title": "خانه",
"type": "link",
"description": null,
"image": null,
"weight": null,
"url": "/",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773845,
"title": "دیجیتال",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": [
{
"id": 148773846,
"title": "موبایل",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/mobile",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773847,
"title": "تبلت",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/tablet",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773848,
"title": "لپتاپ",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/laptop",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773849,
"title": "دوربین",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/camera",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773850,
"title": "کامپوتر رومیزی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/desktop",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773851,
"title": "لوازم جانبی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/digital/accessories",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773852,
"title": "پوشاک",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": [
{
"id": 148773853,
"title": "مردانه",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing/men",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773854,
"title": "زنانه",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing/women",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773855,
"title": "بچگانه",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing/kids",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773856,
"title": "ورزشی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing/sport",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773857,
"title": "اکسسوری",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/clothing/accessories",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773858,
"title": "لوازم خانگی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": [
{
"id": 148773859,
"title": "صوتی و تصویری",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/multimedia",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773860,
"title": "لوازم برقی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/electronic",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773861,
"title": "آشپزخانه",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/kitchen",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773862,
"title": "پذیرایی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/serving",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773863,
"title": "دکوراتیو",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/decorative",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773864,
"title": "نظافت",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/cleaning",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773865,
"title": "روشنایی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/home/lighting",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773866,
"title": "زیبایی و سلامت",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": [
{
"id": 148773867,
"title": "آرایشی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/cosmetics",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773868,
"title": "پوست",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/skin",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773869,
"title": "مو",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/hair",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773870,
"title": "بدن",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/body",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773871,
"title": "عطر",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/perfume",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773872,
"title": "لوازم برقی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/health/electronic",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773873,
"title": "فرهنگ و هنر",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": [
{
"id": 148773874,
"title": "کتاب و مجلات",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/books-and-magazines",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773875,
"title": "لوازم تحریر",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/writing",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773876,
"title": "صنایع دستی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/handcraft",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773877,
"title": "فرش",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/carpet",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773878,
"title": "موسیقی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/music",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773879,
"title": "فیلم",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/film",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773880,
"title": "آموزشی",
"type": "store",
"description": null,
"image": null,
"weight": 0,
"url": "/culture/educational",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773881,
"title": "وبلاگ",
"type": "blog",
"description": null,
"image": null,
"weight": 1,
"url": "/blog",
"show_in_new_window": false,
"show_in_navigation": false,
"subset": null
},
{
"id": 148773882,
"title": "راهنما",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help",
"show_in_new_window": false,
"show_in_navigation": false,
"subset": [
{
"id": 148773883,
"title": "ثبت سفارش",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help/checkout",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773884,
"title": "تحویل سفارش",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help/delivery",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773885,
"title": "پیگیری سفارش",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help/tracking",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773886,
"title": "شرایط استرداد",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help/refund",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
},
{
"id": 148773887,
"title": "پرسشهای متداول",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/help/faq",
"show_in_new_window": false,
"show_in_navigation": true,
"subset": null
}
]
},
{
"id": 148773888,
"title": "تماس با ما",
"type": "form",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/contact-us",
"show_in_new_window": false,
"show_in_navigation": false,
"subset": null
},
{
"id": 148773889,
"title": "درباره ما",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/about-us",
"show_in_new_window": false,
"show_in_navigation": false,
"subset": null
},
{
"id": 148773890,
"title": "حریم خصوصی",
"type": "text",
"description": null,
"image": "/uploads/pages/e1fd16.jpg",
"weight": null,
"url": "/privacy-policy",
"show_in_new_window": false,
"show_in_navigation": false,
"subset": null
}
]
}
Cache-Control
private
Content-Type
application/json; charset=utf-8
Content-Encoding
gzip
Vary
Accept-Encoding
Server
Microsoft-IIS/10.0
X-Powered-By
theTba Website Builder v2
Date
Sat, 30 Mar 2019 11:47:42 GMT
Content-Length
1741
GETGet page
https://api.imcloud.org/site/api/v1/pages/:id
Get single page of website.
PATH VARIABLES
id
Example Request
Get page
curl
curl --location 'https://api.imcloud.org/site/api/v1/pages/:id'
200 OK
Example Response
json
{
"success": true,
"page": {
"id": 148773846,
"parent_id": 148773845,
"version": "636885152732870000",
"title": "موبایل",
"content": null,
"image": null,
"type": "store",
"weight": 0,
"slug": "mobile",
"url": "/digital/mobile",
"rate": null,
"rate_count": null,
"page_size": null,
"show_in_new_window": false,
"show_subset": true,
"show_in_navigation": true,
"meta_title": null,
"meta_description": null,
"meta_robots": null,
"redirect": null,
"created": {
"year": "1397",
"month": "12",
"month_name": "اسفند",
"day": "27",
"date": "1397/12/27",
"time": "14:14",
"universal": "03/18/2019 14:14:33",
"timestamp": 1552918473,
"subtract": "12 روز پیش",
"past": true
}
}
}
Cache-Control
private
Content-Type
application/json; charset=utf-8
Content-Encoding
gzip
Vary
Accept-Encoding
Server
Microsoft-IIS/10.0
X-Powered-By
theTba Website Builder v2
Date
Sat, 30 Mar 2019 11:49:35 GMT
Content-Length
560
GETGet posts
https://api.imcloud.org/site/api/v1/blog/posts?page=1&size=10&archive=&author=&relation=&filter=&q=&sorting=
Get published posts of blog.
PARAMS
page
1
size
10
archive
author
relation
filter
q
sorting
Example Request
Get posts
curl
curl --location 'https://api.imcloud.org/site/api/v1/blog/posts?page=1&size=10&archive=null&author=null&relation=null&filter=null&q=null&sorting=null'
200 OK
Example Response
json
{
"success": true,
"posts": [
{
"id": 148773893,
"title": "فروشگاه اینترنتی ما راهاندازی شد",
"description": "مفتخریم اعلام کنیم که فروشگاه اینترنتی این مجموعه راه‌اندازی شد و از این پس، فروش محصولات را به صورت الکترونیک در اختیار شما، قرار خواهیم داد.",
"image": "/uploads/posts/8d7350.png",
"rate": 0,
"rate_count": 0,
"comments": 1,
"password_protected": false,
"url": "/getting-started",
"published": {
"year": "1397",
"month": "12",
"month_name": "اسفند",
"day": "27",
"date": "1397/12/27",
"time": "14:14",
"universal": "03/18/2019 14:14:35",
"timestamp": 1552918475,
"subtract": "12 روز پیش",
"past": true
},
"category": null,
"author": {
"id": 153912521,
"name": "محسن",
"avatar": "/site/resources/avatars/1f690ea76caf4524ae273e655f57fea9.jpg"
}
}
],
"count": 1,
"total": 1
}
Cache-Control
private
Content-Type
application/json; charset=utf-8
Content-Encoding
gzip
Vary
Accept-Encoding
Server
Microsoft-IIS/10.0
X-Powered-By
theTba Website Builder v2
Date
Sat, 30 Mar 2019 10:34:27 GMT
Content-Length
809
GETGet post
https://api.imcloud.org/site/api/v1/blog/posts/:id
Get single post of blog.
PATH VARIABLES
id
Example Request
Get post
curl
curl --location 'https://api.imcloud.org/site/api/v1/blog/posts/:id'
200 OK
Example Response
json
{
"success": true,
"post": {
"id": 148773893,
"title": "فروشگاه اینترنتی ما راهاندازی شد",
"description": "مفتخریم اعلام کنیم که فروشگاه اینترنتی این مجموعه راه‌اندازی شد و از این پس، فروش محصولات را به صورت الکترونیک در اختیار شما، قرار خواهیم داد.",
"content": "<p>مفتخریم اعلام کنیم که فروشگاه اینترنتی این مجموعه راه‌اندازی شد و از این پس، فروش محصولات را به صورت الکترونیک در اختیار شما، قرار خواهیم داد. ما این فروشگاه را با استفاده از جدیدترین تکنولوژی‌های روز و استانداردهای بالا جهانی راه‌اندازی کردیم تا راحتی بیش‌تری را برای شما فراهم کنیم. امیدواریم خرید راحت و دلنشینی را تجربه کنید.</p><p>در این فروشگاه، امکان مقایسه، بررسی و نقد محصولات برای شما فراهم شده و سعی ما همواره شفافیت و تصمیم‌گیری آگاهانه مخاطبان است و از نظرات سازنده شما استقبال می‌کنیم.</p><p>در صورتی که سوالی دارید، با کارشناسان پشتیبانی ما <a fr-original-style=\"user-select: auto;\" href=\"/contact-us\" style=\"user-select: auto;\"><strong>تماس</strong></a> بگیرید تا از راهنمایی آن‌ها بهره‌مند شوید.</p>",
"image": "/uploads/posts/8d7350.png",
"rate": 0,
"rate_count": 0,
"comments": 1,
"version": "636623522477230000",
"url": "/getting-started",
"redirect": null,
"layout": null,
"commenting_enabled": true,
"meta_title": null,
"meta_description": null,
"meta_robots": null,
"published": {
"year": "1397",
"month": "12",
"month_name": "اسفند",
"day": "27",
"date": "1397/12/27",
"time": "14:14",
"universal": "03/18/2019 14:14:35",
"timestamp": 1552918475,
"subtract": "12 روز پیش",
"past": true
},
"category": null,
"categories": [
{
"id": 148773881,
"title": "وبلاگ",
"url": "/blog",
"weight": 1
}
],
"tags": [
{
"id": 148773892,
"title": "اخبار",
"url": "/site/search?q=برچسب:%D8%A7%D8%AE%D8%A8%D8%A7%D8%B1",
"weight": 1
},
{
"id": 148773891,
"title": "راه اندازی فروشگاه",
"url": "/site/search?q=برچسب:%D8%B1%D8%A7%D9%87+%D8%A7%D9%86%D8%AF%D8%A7%D8%B2%DB%8C+%D9%81%D8%B1%D9%88%D8%B4%DA%AF%D8%A7%D9%87",
"weight": 1
}
],
"author": {
"id": 153912521,
"name": "محسن",
"avatar": "/site/resources/avatars/1f690ea76caf4524ae273e655f57fea9.jpg",
"biography": "من یک برنامهنویس هستم."
}
}
}
Cache-Control
private
Content-Type
application/json; charset=utf-8
Content-Encoding
gzip
Vary
Accept-Encoding
Server
Microsoft-IIS/10.0
X-Powered-By
theTba Website Builder v2
Date
Sat, 30 Mar 2019 10:36:48 GMT
Content-Length
1676