Note : The List api have start
and limit
query param for pagination and search
param where search neede. In article we can have query params like categoryID
and tagID
to get articels based on categories and tags.
GET : /languages
[
{id: 1, code: "en", name: "English"},
{id: 2, code: "es", name: "Spanish"},
{id: 3, code: "fr", name: "French"},
{id: 4, code: "de", name: "German"},
{id: 5, code: "it", name: "Italian"},
{id: 6, code: "pt", name: "Portuguese"},
{id: 7, code: "ru", name: "Russian"},
{id: 8, code: "zh", name: "Chinese"},
{id: 9, code: "ja", name: "Japanese"},
{id: 10, code: "ko", name: "Korean"},
{id: 11, code: "ar", name: "Arabic"},
{id: 12, code: "hi", name: "Hindi"},
{id: 13, code: "bn", name: "Bengali"},
{id: 14, code: "pa", name: "Punjabi"},
{id: 15, code: "ms", name: "Malay"},
{id: 16, code: "ta", name: "Tamil"},
{id: 17, code: "te", name: "Telugu"},
{id: 18, code: "mr", name: "Marathi"},
{id: 19, code: "ur", name: "Urdu"},
{id: 20, code: "gu", name: "Gujarati"},
{id: 21, code: "th", name: "Thai"},
{id: 22, code: "tr", name: "Turkish"},
{id: 23, code: "vi", name: "Vietnamese"},
{id: 24, code: "tl", name: "Tagalog"},
{id: 25, code: "sw", name: "Swahili"},
{id: 26, code: "nl", name: "Dutch"},
{id: 27, code: "pl", name: "Polish"},
{id: 28, code: "uk", name: "Ukrainian"},
{id: 29, code: "el", name: "Greek"},
{id: 30, code: "cs", name: "Czech"},
{id: 31, code: "ro", name: "Romanian"},
{id: 32, code: "hu", name: "Hungarian"},
{id: 33, code: "sv", name: "Swedish"},
{id: 34, code: "fi", name: "Finnish"},
{id: 35, code: "da", name: "Danish"},
{id: 36, code: "no", name: "Norwegian"},
{id: 37, code: "he", name: "Hebrew"},
{id: 38, code: "ar", name: "Arabic"},
{id: 39, code: "fa", name: "Persian"},
{id: 40, code: "ps", name: "Pashto"},
{id: 41, code: "sd", name: "Sindhi"},
{id: 42, code: "ne", name: "Nepali"},
{id: 43, code: "si", name: "Sinhala"},
{id: 44, code: "ka", name: "Georgian"},
{id: 45, code: "am", name: "Amharic"},
{id: 46, code: "ig", name: "Igbo"},
{id: 47, code: "yo", name: "Yoruba"},
{id: 48, code: "zu", name: "Zulu"},
{id: 49, code: "rw", name: "Kinyarwanda"},
{id: 50, code: "so", name: "Somali"},
{id: 51, code: "kk", name: "Kazakh"},
{id: 52, code: "uz", name: "Uzbek"},
{id: 53, code: "mn", name: "Mongolian"},
{id: 54, code: "my", name: "Burmese"},
{id: 55, code: "km", name: "Khmer"},
{id: 56, code: "lo", name: "Lao"},
{id: 57, code: "fil", name: "Filipino"},
{id: 58, code: "ceb", name: "Cebuano"},
{id: 59, code: "haw", name: "Hawaiian"},
{id: 60, code: "smo", name: "Samoan"},
{id: 61, code: "fj", name: "Fijian"},
{id: 62, code: "to", name: "Tongan"},
{id: 63, code: "ny", name: "Chichewa"},
{id: 64, code: "xh", name: "Xhosa"},
{id: 65, code: "st", name: "Sesotho"},
{id: 66, code: "tn", name: "Setswana"},
{id: 67, code: "nr", name: "Ndebele"},
{id: 68, code: "ss", name: "Swati"},
{id: 69, code: "zu", name: "Zulu"},
{id: 70, code: "xh", name: "Xhosa"},
{id: 71, code: "st", name: "Sesotho"},
{id: 72, code: "tn", name: "Setswana"},
{id: 73, code: "nr", name: "Ndebele"},
{id: 74, code: "ss", name: "Swati"},
{id: 75, code: "hu", name: "Hausa"},
{id: 76, code: "yo", name: "Yoruba"},
{id: 77, code: "ig", name: "Igbo"},
{id: 78, code: "ha", name: "Hausa"},
{id: 79, code: "zu", name: "Zulu"},
{id: 80, code: "xh", name: "Xhosa"},
{id: 81, code: "st", name: "Sesotho"},
{id: 82, code: "tn", name: "Setswana"},
{id: 83, code: "nr", name: "Ndebele"},
{id: 84, code: "ss", name: "Swati"},
{id: 85, code: "hu", name: "Hausa"},
{id: 86, code: "yo", name: "Yoruba"},
{id: 87, code: "ig", name: "Igbo"},
{id: 88, code: "ha", name: "Hausa"},
{id: 89, code: "zu", name: "Zulu"},
{id: 90, code: "xh", name: "Xhosa"},
{id: 91, code: "st", name: "Sesotho"},
{id: 92, code: "tn", name: "Setswana"},
{id: 93, code: "nr", name: "Ndebele"},
{id: 94, code: "ss", name: "Swati"},
{id: 95, code: "hu", name: "Hausa"},
{id: 96, code: "yo", name: "Yoruba"},
{id: 97, code: "ig", name: "Igbo"},
{id: 98, code: "ha", name: "Hausa"},
{id: 99, code: "zu", name: "Zulu"},
{id: 100, code: "xh", name: "Xhosa"}
]
POST
/users
{
"email" : "[email protected]",
"password" : "123456"
}
POST /auth/login
{
"email" : "[email protected]",
"password" : "123456"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjY1MTExM2VlMzllZWMyNTNmMDZmNDk3NCIsImlhdCI6MTY5NTYxODE2NywiZXhwIjoxNjk3NDE4MTY3fQ.IRpasGMhA0hUtkpT7EN2ZVZJY1E4qpO-6T_WZ0ko4Os",
"expiresIn": "500h"
}
POST /sites
POST localhost:5000/sites
{
"url" : "http://www.facebook.com",
"logo" : "default-logo.png",
"favicon" : "favicon.ico",
"multilingualData" : [
{
"language" : "en",
"name" : "Dhak City Hotel",
"title" : "Dhak City Hotel",
"subtitle" : "Subtitle | Dhak City Hotel",
"description" : "Dhak City Hotel Description"
}
]
}
{
"url": "http://www.facebook.com",
"logo": "default-logo.png",
"favicon": "favicon.ico",
"multilingualData": [
{
"language": "en",
"name": "Dhak City Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/en",
"_id": "65103e7ded9ede81632e79e0"
}
],
"createDate": "2023-09-24T13:47:05.011Z",
"__v": 0,
"id": "65103e7ded9ede81632e79df"
}
PUT /sites/$siteId
PUT localhost:5000/sites/65103e7ded9ede81632e79df
{
"multilingualData" : [
{
"language" : "zj",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description"
}
]
}
{
"url": "http://www.facebook.com",
"logo": "default-logo.png",
"favicon": "favicon.ico",
"multilingualData": [
{
"language": "en",
"name": "Dhak City Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/en",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "65103e7ded9ede81632e79e0"
},
{
"language": "fr",
"name": "Dhak City A Hotel Changed",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "651043d1eee5e1dc139c7fb8"
},
{
"language": "bn",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "651044bbea892191a1815b74"
},
{
"language": "kn",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"updateDate": "2023-09-24T14:20:01.480Z",
"_id": "6510456446464ee9514a7140"
},
{
"language": "zj",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/zj",
"createDate": "2023-09-24T14:57:30.692Z",
"_id": "65104e642b946db17580298c"
}
],
"createDate": "2023-09-24T13:47:05.011Z",
"__v": 0,
"id": "65103e7ded9ede81632e79df"
}
GET /sites/$siteId
GET localhost:5000/sites/65103e7ded9ede81632e79df
{
"url": "http://www.facebook.com",
"logo": "default-logo.png",
"favicon": "favicon.ico",
"multilingualData": [
{
"language": "en",
"name": "Dhak City Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/en",
"_id": "65103e7ded9ede81632e79e0"
}
],
"createDate": "2023-09-24T13:47:05.011Z",
"__v": 0,
"id": "65103e7ded9ede81632e79df"
}
DELETE /sites/$siteId
DELETE localhost:5000/sites/65107a372236b2568c3b0923
{
"url": "http://www.facebook.com",
"logo": "default-logo.png",
"favicon": "favicon.ico",
"multilingualData": [
{
"language": "en",
"name": "Dhak City Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/en",
"_id": "65103e7ded9ede81632e79e0"
}
],
"createDate": "2023-09-24T13:47:05.011Z",
"__v": 0,
"id": "65103e7ded9ede81632e79df"
}
GET /sites
GET
localhost:5000/sites?start=0&limit=3
{
"total": 4,
"data": [
{
"url": "http://www.facebook.com",
"logo": "default-logo.png",
"favicon": "favicon.ico",
"multilingualData": [
{
"language": "en",
"name": "Dhak City Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/en",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "65103e7ded9ede81632e79e0"
},
{
"language": "fr",
"name": "Dhak City A Hotel Changed",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "651043d1eee5e1dc139c7fb8"
},
{
"language": "bn",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"_id": "651044bbea892191a1815b74"
},
{
"language": "kn",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"createDate": "2023-09-24T14:19:59.825Z",
"updateDate": "2023-09-24T14:20:01.480Z",
"_id": "6510456446464ee9514a7140"
},
{
"language": "zj",
"name": "Dhak Ban ssA Hotel",
"title": "Dhak City Hotel",
"subtitle": "Subtitle | Dhak City Hotel",
"description": "Dhak City Hotel Description",
"url": "http://www.facebook.com/zj",
"createDate": "2023-09-24T14:57:30.692Z",
"_id": "65104e642b946db17580298c"
}
],
"createDate": "2023-09-24T13:47:05.011Z",
"__v": 0,
"id": "65103e7ded9ede81632e79df"
},
{
"name": "Holivoo",
"title": "holivoo.com",
"subtitle": "SDASDAS Subtitle",
"url": "URLSSS",
"description": "No Desciption Idea",
"multilingualData": [
{
"createDate": "2023-09-24T18:58:05.857Z",
"language": "en",
"data": {
"name": "Holivoo",
"title": "holivoo.com",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea"
},
"_id": "65102c71a7a52802c5db5d21"
}
],
"createDate": "2023-09-24T12:20:11.668Z",
"__v": 0,
"id": "65102c71a7a52802c5db5d20"
},
{
"name": "Holo 2",
"title": "Hello AL",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea",
"multilingualData": [
{
"createDate": "2023-09-24T18:58:05.857Z",
"language": "en",
"data": {
"name": "Holo 2",
"title": "Hello AL",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea"
},
"_id": "65100eaddded9efdc77487e8"
}
],
"createDate": "2023-09-24T10:25:10.864Z",
"__v": 0,
"id": "65100eaddded9efdc77487e7"
}
],
"start": 0,
"limit": 3
}
POST /sites/$siteId/categories
POST localhost:5000/sites/65103e7ded9ede81632e79df/categories
{
"parentId" : "651063f746312dacd829d0d1", // null parent will be the actual parent category
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "sss/",
"description": "Page Description"
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"count": 8,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE8",
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "sss/",
"catID": "FACE8EN",
"description": "Page Description",
"createDate": "2023-09-24T18:18:40.961Z",
"_id": "65108287d44c321c9fe18817"
}
],
"createDate": "2023-09-24T18:18:40.961Z",
"__v": 0,
"id": "65108287d44c321c9fe18816"
}
PUT /categories/$categoryId
PUT localhost:5000/categories/651064e846312dacd829d0e6
{
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"count": 6,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE6",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE6EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064e846312dacd829d0e7",
"updateDate": "2023-09-24T16:33:55.338Z"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE6BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064f346312dacd829d0ea"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651064e846312dacd829d0e6"
}
GET /categories/$categoryId
GET localhost:5000/categories/651064e846312dacd829d0e6
{
"site": "65103e7ded9ede81632e79df",
"count": 6,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE6",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE6EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:33:55.338Z",
"_id": "651064e846312dacd829d0e7"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE6BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064f346312dacd829d0ea"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651064e846312dacd829d0e6"
}
DELETE /categories/$categoryId
DELETE localhost:5000/categories/651064e846312dacd829d0e6
{
"site": "65103e7ded9ede81632e79df",
"count": 6,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE6",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE6EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:33:55.338Z",
"_id": "651064e846312dacd829d0e7"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE6BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064f346312dacd829d0ea"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651064e846312dacd829d0e6"
}
GET /sites/$siteId/categories
GET localhost:5000/sites/65103e7ded9ede81632e79df/categories
{
"total": 6,
"data": [
{
"site": "65103e7ded9ede81632e79df",
"count": 7,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE7",
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "",
"catID": "FACE7EN",
"description": "Page Description",
"createDate": "2023-09-24T18:18:40.961Z",
"_id": "6510827ed44c321c9fe18812"
}
],
"createDate": "2023-09-24T18:18:40.961Z",
"__v": 0,
"id": "6510827ed44c321c9fe18811"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 8,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE8",
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "sss/",
"catID": "FACE8EN",
"description": "Page Description",
"createDate": "2023-09-24T18:18:40.961Z",
"_id": "65108287d44c321c9fe18817"
}
],
"createDate": "2023-09-24T18:18:40.961Z",
"__v": 0,
"id": "65108287d44c321c9fe18816"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 3,
"sharedID": "FACE3",
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE3EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651063c446312dacd829d0cc"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE3BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651063c446312dacd829d0cd"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651063c446312dacd829d0cb"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 4,
"sharedID": "FACE4",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE4EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:31:04.520Z",
"_id": "651063f746312dacd829d0d2"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE4BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "6510644846312dacd829d0d6"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651063f746312dacd829d0d1"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"sharedID": "FACE5",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE5EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:32:11.468Z",
"_id": "6510647e46312dacd829d0dd"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE5BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "6510648b46312dacd829d0e0"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "6510647e46312dacd829d0dc"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 6,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE6",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE6EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:33:55.338Z",
"_id": "651064e846312dacd829d0e7"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE6BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064f346312dacd829d0ea"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651064e846312dacd829d0e6"
}
],
"start": 0,
"limit": 20
}
GET /categories/$categoryId/categories/
GET localhost:5000/categories/651063f746312dacd829d0d1/categories/
{
"total": 3,
"data": [
{
"site": "65103e7ded9ede81632e79df",
"count": 7,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE7",
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "",
"catID": "FACE7EN",
"description": "Page Description",
"createDate": "2023-09-24T18:18:40.961Z",
"_id": "6510827ed44c321c9fe18812"
}
],
"createDate": "2023-09-24T18:18:40.961Z",
"__v": 0,
"id": "6510827ed44c321c9fe18811"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 8,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE8",
"multilingualData": [
{
"language": "en",
"name": "Cat1",
"subtitle": "Page Subtitle",
"featuredImage": "sss/",
"catID": "FACE8EN",
"description": "Page Description",
"createDate": "2023-09-24T18:18:40.961Z",
"_id": "65108287d44c321c9fe18817"
}
],
"createDate": "2023-09-24T18:18:40.961Z",
"__v": 0,
"id": "65108287d44c321c9fe18816"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 6,
"parent": "651063f746312dacd829d0d1",
"sharedID": "FACE6",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE6EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:33:55.338Z",
"_id": "651064e846312dacd829d0e7"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE6BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651064f346312dacd829d0ea"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651064e846312dacd829d0e6"
}
],
"start": 0,
"limit": 20
}
GET /categories/parents
GET localhost:5000/categories/parents
{
"total": 6,
"data": [
{
"site": "65103e7ded9ede81632e79df",
"count": 3,
"sharedID": "FACE3",
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE3EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651063c446312dacd829d0cc"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE3BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "651063c446312dacd829d0cd"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651063c446312dacd829d0cb"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 4,
"sharedID": "FACE4",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE4EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:31:04.520Z",
"_id": "651063f746312dacd829d0d2"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE4BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "6510644846312dacd829d0d6"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "651063f746312dacd829d0d1"
},
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"sharedID": "FACE5",
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"featuredImage": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"catID": "FACE5EN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"updateDate": "2023-09-24T16:32:11.468Z",
"_id": "6510647e46312dacd829d0dd"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"catID": "FACE5BN",
"description": "Page Description",
"createDate": "2023-09-24T16:27:38.760Z",
"_id": "6510648b46312dacd829d0e0"
}
],
"createDate": "2023-09-24T16:27:38.760Z",
"__v": 0,
"id": "6510647e46312dacd829d0dc"
},
{
"name": "Holo",
"title": "Hello AL",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea",
"multilingualData": [
{
"createDate": "2023-09-24T18:55:37.293Z",
"language": "en",
"data": {
"name": "Holo",
"title": "Hello AL",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea"
},
"_id": "651005aa056347220ab83f00"
}
],
"createDate": "2023-09-24T09:47:13.055Z",
"__v": 0,
"id": "651005aa056347220ab83eff"
},
{
"name": "Holo",
"title": "Hello AL",
"subtitle": "SDASDAS",
"url": "URLSSS",
"description": "No Idea",
"createDate": "2023-09-24T09:42:50.657Z",
"multilingualData": [],
"__v": 0,
"id": "6510053c57684db0fca41fdb"
},
{
"name": "Holo",
"title": "Hello AL",
"subtitle": "Sub title changed!",
"url": "URLSSS",
"description": "No Idea",
"createDate": "2023-09-24T09:19:35.342Z",
"__v": 0,
"multilingualData": [],
"id": "650fffb18125db34c9daf2e5"
}
],
"start": 0,
"limit": 20
}
POST /sites/$siteId/tags
POST localhost:5000/sites/65103e7ded9ede81632e79df/tags
{
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
}
]
}
{
"site": "65100eaddded9efdc77487e7",
"count": 4,
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2EN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"_id": "6510596a891b1b0774765f08"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2BN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"_id": "6510596a891b1b0774765f09"
}
],
"createDate": "2023-09-24T15:44:38.943Z",
"__v": 0,
"id": "6510596a891b1b0774765f07"
}
PUT /tags/$tagId
PUT localhost:5000/tags/65107a372236b2568c3b0923
{
"multilingualData": [
{
"language": "en",
"name": "New Page Changed",
"subtitle": "Page Subtitle Chnaged",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
},
{
"language": "uk",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description"
}
]
}
{
"site": "65100eaddded9efdc77487e7",
"count": 4,
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle Chnaged",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2EN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"updateDate": "2023-09-24T15:48:47.674Z",
"_id": "6510596a891b1b0774765f08"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2BN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"updateDate": "2023-09-24T15:48:47.674Z",
"_id": "6510596a891b1b0774765f09"
},
{
"language": "uk",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2UK4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"_id": "65105a5f891b1b0774765f14"
}
],
"createDate": "2023-09-24T15:44:38.943Z",
"__v": 0,
"id": "6510596a891b1b0774765f07"
}
GET /tags/$tagId
GET localhost:5000/tags/651013426ee23bc8ff08160f
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"language": "en",
"data": {
"name": "New Page 2",
"subtitle": "Page Subtitle",
"url": "facebook.com",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description",
"tagID": "101"
},
"_id": "651013426ee23bc8ff081610"
}
],
"createDate": "2023-09-24T10:45:14.015Z",
"__v": 0,
"id": "651013426ee23bc8ff08160f"
}
DELETE /tags/$tagId
DELETE localhost:5000/tags/65107a372236b2568c3b0923
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"language": "en",
"data": {
"name": "New Page 2",
"subtitle": "Page Subtitle",
"url": "facebook.com",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description",
"tagID": "101"
},
"_id": "651013426ee23bc8ff081610"
}
],
"createDate": "2023-09-24T10:45:14.015Z",
"__v": 0,
"id": "651013426ee23bc8ff08160f"
}
GET /sites/$siteId/tags
GET
localhost:5000/sites/65103e7ded9ede81632e79df/tags`
{
"total": 5,
"data": [
{
"site": "65100eaddded9efdc77487e7",
"count": 4,
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle Chnaged",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2EN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"updateDate": "2023-09-24T15:48:47.674Z",
"_id": "6510596a891b1b0774765f08"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2BN4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"updateDate": "2023-09-24T15:48:47.674Z",
"_id": "6510596a891b1b0774765f09"
},
{
"language": "uk",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2UK4",
"description": "Page Description",
"createDate": "2023-09-24T15:44:38.943Z",
"_id": "65105a5f891b1b0774765f14"
}
],
"createDate": "2023-09-24T15:44:38.943Z",
"__v": 0,
"id": "6510596a891b1b0774765f07"
},
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2EN2",
"description": "Page Description",
"createDate": "2023-09-24T15:19:34.176Z",
"_id": "6510539d1c7e11fa5b2aecac"
}
],
"createDate": "2023-09-24T15:19:34.176Z",
"__v": 0,
"id": "6510539d1c7e11fa5b2aecab"
},
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2EN3",
"description": "Page Description",
"createDate": "2023-09-24T15:19:34.176Z",
"_id": "651053bc1c7e11fa5b2aecb0"
},
{
"language": "bn",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEWPAGE2BN3",
"description": "Page Description",
"createDate": "2023-09-24T15:19:34.176Z",
"_id": "651053bc1c7e11fa5b2aecb1"
}
],
"createDate": "2023-09-24T15:19:34.176Z",
"__v": 0,
"id": "651053bc1c7e11fa5b2aecaf"
},
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"language": "en",
"name": "New Page 2",
"subtitle": "Page Subtitle",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"tagID": "NEW PAGE 2EN1",
"description": "Page Description",
"createDate": "2023-09-24T15:18:00.545Z",
"_id": "6510532a6f4f90de37f6778c"
}
],
"createDate": "2023-09-24T15:18:00.545Z",
"__v": 0,
"id": "6510532a6f4f90de37f6778b"
},
{
"site": "65100eaddded9efdc77487e7",
"multilingualData": [
{
"createDate": "2023-09-24T18:58:05.893Z",
"language": "en",
"data": {
"name": "New Page 2",
"subtitle": "Page Subtitle",
"url": "facebook.com",
"image": {
"name": "New Page 2 image",
"relativePath": "sdsdsd/sss/",
"type": "image"
},
"description": "Page Description",
"tagID": "101"
},
"_id": "651013426ee23bc8ff081610"
}
],
"createDate": "2023-09-24T10:45:14.015Z",
"__v": 0,
"id": "651013426ee23bc8ff08160f"
}
],
"start": 0,
"limit": 20
}
POST /sites/$siteId/pages
POST localhost:5000/sites/65103e7ded9ede81632e79df/pages
{
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"description": "Page Description"
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/en/New-Page-2",
"description": "Page Description",
"createDate": "2023-09-24T14:48:32.690Z",
"_id": "65104c4279328f58d65da5b2"
}
],
"createDate": "2023-09-24T14:48:32.690Z",
"__v": 0,
"id": "65104c4279328f58d65da5b1"
}
PUT /pages/$pageId
PUT localhost:5000/pages/65107a372236b2568c3b0923
{
"multilingualData": [
{
"language": "bk",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"description": "Page Description"
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/en/New-Page-2",
"description": "Page Description",
"createDate": "2023-09-24T14:48:32.690Z",
"_id": "65104c4279328f58d65da5b2"
},
{
"language": "fr",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"description": "Page Description",
"createDate": "2023-09-24T14:54:23.240Z",
"updateDate": "2023-09-24T14:54:34.338Z",
"_id": "65104da261a01a1996a87cf1"
},
{
"language": "bk",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/bk/New-Page-FR",
"description": "Page Description",
"createDate": "2023-09-24T14:58:53.599Z",
"_id": "65104eb06590815fb3790980"
}
],
"createDate": "2023-09-24T14:48:32.690Z",
"__v": 0,
"id": "65104c4279328f58d65da5b1"
}
GET /pages/$pageId
GET localhost:5000/pages/65104c4279328f58d65da5b1
{
"site": "65103e7ded9ede81632e79df",
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/en/New-Page-2",
"description": "Page Description",
"createDate": "2023-09-24T14:48:32.690Z",
"_id": "65104c4279328f58d65da5b2"
},
{
"language": "fr",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"description": "Page Description",
"createDate": "2023-09-24T14:54:23.240Z",
"updateDate": "2023-09-24T14:54:34.338Z",
"_id": "65104da261a01a1996a87cf1"
},
{
"language": "bk",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/bk/New-Page-FR",
"description": "Page Description",
"createDate": "2023-09-24T14:58:53.599Z",
"_id": "65104eb06590815fb3790980"
}
],
"createDate": "2023-09-24T14:48:32.690Z",
"__v": 0,
"id": "65104c4279328f58d65da5b1"
}
DELETE /pages/$pageId
DELETE localhost:5000/pages/65107a372236b2568c3b0923
{
"site": "65103e7ded9ede81632e79df",
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/en/New-Page-2",
"description": "Page Description",
"createDate": "2023-09-24T14:48:32.690Z",
"_id": "65104c4279328f58d65da5b2"
},
{
"language": "fr",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"description": "Page Description",
"createDate": "2023-09-24T14:54:23.240Z",
"updateDate": "2023-09-24T14:54:34.338Z",
"_id": "65104da261a01a1996a87cf1"
},
{
"language": "bk",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/bk/New-Page-FR",
"description": "Page Description",
"createDate": "2023-09-24T14:58:53.599Z",
"_id": "65104eb06590815fb3790980"
}
],
"createDate": "2023-09-24T14:48:32.690Z",
"__v": 0,
"id": "65104c4279328f58d65da5b1"
}
GET /sites/$siteId/pages
GET
localhost:5000/sites/65103e7ded9ede81632e79df/pages`
{
"total": 1,
"data": [
{
"site": "65103e7ded9ede81632e79df",
"multilingualData": [
{
"language": "en",
"title": "New Page 2",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/en/New-Page-2",
"description": "Page Description",
"createDate": "2023-09-24T14:48:32.690Z",
"_id": "65104c4279328f58d65da5b2"
},
{
"language": "fr",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"description": "Page Description",
"createDate": "2023-09-24T14:54:23.240Z",
"updateDate": "2023-09-24T14:54:34.338Z",
"_id": "65104da261a01a1996a87cf1"
},
{
"language": "bk",
"title": "New Page FR",
"subtitle": "Page Subtitle",
"url": "http://www.facebook.com/bk/New-Page-FR",
"description": "Page Description",
"createDate": "2023-09-24T14:58:53.599Z",
"_id": "65104eb06590815fb3790980"
}
],
"createDate": "2023-09-24T14:48:32.690Z",
"__v": 0,
"id": "65104c4279328f58d65da5b1"
}
],
"start": 0,
"limit": 20
}
POST /sites/$siteId/articles
POST localhost:5000/sites/65103e7ded9ede81632e79df/articles
{
"publishDate" : "27-09-2025",
"multilingualData": [
{
"language": "en",
"title" : "How to integrate API 2",
"featuredImage" : "featuredImage",
"mainSubtitle" : "mainSubtitle",
"mainParagraph" : "mainParagraph",
"categoryIDs" : [
"FACE6EN"
],
"tagIDs" : ["NEWPAGE2UK4"]
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "FACE5EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-24T18:03:12.783Z",
"meta": [],
"_id": "65107a372236b2568c3b0924"
}
],
"createDate": "2023-09-24T18:03:12.783Z",
"__v": 0,
"id": "65107a372236b2568c3b0923"
}
PUT /articles/$articleId
PUT localhost:5000/articles/65107a372236b2568c3b0923
{
"isPublished" : true,
"multilingualData" : [
{
"language": "bn",
"title": "How to integrate API Bangla Updated",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"meta":
{
"subtitle1" : "heello1",
"paragraph" : "Pare"
}
}
]
}
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"publishDate": "27-09-2025",
"isPublished": true,
"multilingualData": [
{
"language": "bn",
"title": "How to integrate API Bangla Updated",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "FACE5BN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-24T18:18:40.946Z",
"updateDate": "2023-09-24T18:19:04.792Z",
"meta": {
"subtitle1": "heello1",
"paragraph": "Pare"
},
"_id": "65107d98d44c321c9fe1880c"
},
{
"language": "fn",
"title": "How to integrate API REACT",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "FACE5FN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-24T18:18:40.946Z",
"updateDate": "2023-09-24T18:19:04.792Z",
"meta": {
"subtitle1": "heello1",
"paragraph": "Pare"
},
"_id": "65107d82d44c321c9fe18803"
}
],
"createDate": "2023-09-24T18:03:12.783Z",
"__v": 0,
"updateDate": "2023-09-24T18:10:54.545Z",
"id": "65107a372236b2568c3b0923"
}
GET /articles/$articleId
GET localhost:5000/articles/65107a372236b2568c3b0923
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "FACE5EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-24T18:03:12.783Z",
"meta": [],
"_id": "65107a372236b2568c3b0924"
}
],
"createDate": "2023-09-24T18:03:12.783Z",
"__v": 0,
"id": "65107a372236b2568c3b0923"
}
DELETE /articles/$articleId
DELETE localhost:5000/articles/65107a372236b2568c3b0923
{
"site": "65103e7ded9ede81632e79df",
"count": 5,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "FACE5EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-24T18:03:12.783Z",
"meta": [],
"_id": "65107a372236b2568c3b0924"
}
],
"createDate": "2023-09-24T18:03:12.783Z",
"__v": 0,
"id": "65107a372236b2568c3b0923"
}
GET /sites/$siteId/articles
Query Params : publishDate=DD-mm-yyyy
GET
localhost:5000/sites/65103e7ded9ede81632e79df/articles?publishDate=23-09-2023`
{
"total": 16,
"data": [
{
"site": "65181c3cff55a87d90cd9b54",
"count": 21,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "1 How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS21EN",
"isPublished": false,
"categoryIDs": [
"FACE6FN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-10-03T08:14:37.099Z",
"meta": {
"subtitle1": "asfdasdassad",
"imageSource1": "image from google",
"image": "www.weee.com/image/01"
},
"_id": "651bce1d3334ddb62246adc4"
}
],
"createDate": "2023-10-03T08:14:37.099Z",
"__v": 0,
"id": "651bce1d3334ddb62246adc3"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 9,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS9RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518531797785050813a5052"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS9JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518531797785050813a5053"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS9LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518531797785050813a5054"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS9ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518531797785050813a5055"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518531797785050813a5051"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 10,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS10RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532e97785050813a506b"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS10JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532e97785050813a506c"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS10LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532e97785050813a506d"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS10ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532e97785050813a506e"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518532e97785050813a506a"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 11,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS11RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532f97785050813a5074"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS11JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532f97785050813a5075"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS11LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532f97785050813a5076"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS11ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518532f97785050813a5077"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518532f97785050813a5073"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 12,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS12RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533297785050813a507d"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS12JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533297785050813a507e"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS12LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533297785050813a507f"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS12ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533297785050813a5080"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518533297785050813a507c"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 13,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS13RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533397785050813a5086"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS13JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533397785050813a5087"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS13LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533397785050813a5088"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS13ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533397785050813a5089"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518533397785050813a5085"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 14,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS14RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533597785050813a508f"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS14JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533597785050813a5090"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS14LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533597785050813a5091"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS14ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533597785050813a5092"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518533597785050813a508e"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 15,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS15RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533797785050813a5098"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS15JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533797785050813a5099"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS15LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533797785050813a509a"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS15ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533797785050813a509b"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518533797785050813a5097"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 16,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "ru",
"title": "How to integrate API 3",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS16RU",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533897785050813a50a1"
},
{
"language": "ja",
"title": "How to integrate API 4",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS16JA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533897785050813a50a2"
},
{
"language": "lta",
"title": "How to integrate API 5",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS16LTA",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533897785050813a50a3"
},
{
"language": "id",
"title": "How to integrate API 6",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS16ID",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T15:25:31.156Z",
"_id": "6518533897785050813a50a4"
}
],
"createDate": "2023-09-30T15:25:31.156Z",
"__v": 0,
"id": "6518533897785050813a50a0"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 0,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS0EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181c69ff55a87d90cd9b5b"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181c69ff55a87d90cd9b5a"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 1,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS1EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181cd5ff55a87d90cd9b6b"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181cd5ff55a87d90cd9b6a"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 2,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS2EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181ce6ff55a87d90cd9b71"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181ce6ff55a87d90cd9b70"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 3,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS3EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181ce8ff55a87d90cd9b77"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181ce8ff55a87d90cd9b76"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 4,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS4EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181ceaff55a87d90cd9b7d"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181ceaff55a87d90cd9b7c"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 5,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "en",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS5EN",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181cebff55a87d90cd9b83"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181cebff55a87d90cd9b82"
},
{
"site": "65181c3cff55a87d90cd9b54",
"count": 6,
"publishDate": "27-09-2025",
"isPublished": false,
"multilingualData": [
{
"language": "mr",
"title": "How to integrate API 2",
"featuredImage": "featuredImage",
"mainSubtitle": "mainSubtitle",
"mainParagraph": "mainParagraph",
"artID": "NEWS6MR",
"isPublished": false,
"categoryIDs": [
"FACE6EN"
],
"tagIDs": [
"NEWPAGE2UK4"
],
"createDate": "2023-09-30T12:11:40.516Z",
"_id": "65181e62ff55a87d90cd9b8d"
}
],
"createDate": "2023-09-30T12:11:40.516Z",
"__v": 0,
"id": "65181e62ff55a87d90cd9b8c"
}
],
"start": 0,
"limit": 20
}
POST /sites/$siteId/files
POST localhost:5000/sites/65100eaddded9efdc77487e7/files
{
"file" : FILE
}
{
"site": "65100eaddded9efdc77487e7",
"originalName": "Screenshot 2023-08-23 213732",
"name": "screenshot-2023-08-23-213732-1695555588075-565876064.png",
"type": "image",
"mimetype": "image/png",
"url_location": "resource/uploads",
"local_location": "C:\\Users\\mhshi\\Documents\\code\\upwork-clients\\paddle/resource/uploads",
"extension": "png",
"size": 713374,
"createdAt": "2023-09-24T11:39:12.074Z",
"__v": 0,
"id": "6510200464f0d0968eaaa25e"
}
So the image url will be $base_url/url_location/name
DELETE /files/$articleId
DELETE localhost:5000/files/65107a372236b2568c3b0923
GET /sites/$siteId/files
GET
localhost:5000/sites/65103e7ded9ede81632e79df/files`
{
"total": 1,
"data": [
{
"site": "65100eaddded9efdc77487e7",
"originalName": "Screenshot 2023-08-23 213732",
"name": "screenshot-2023-08-23-213732-1695555588075-565876064.png",
"type": "image",
"mimetype": "image/png",
"url_location": "resource/uploads",
"local_location": "C:\\Users\\mhshi\\Documents\\code\\upwork-clients\\paddle/resource/uploads",
"extension": "png",
"size": 713374,
"createdAt": "2023-09-24T11:39:12.074Z",
"__v": 0,
"id": "6510200464f0d0968eaaa25e"
}
],
"start": 0,
"limit": 20
}