Welcome to the WEBPRO-API wiki!
API Path Methods และตัวอย่าง Response
แนะนำให้ใช้ Bruno API Cient เพราะมีตัวอย่างการใช้ API อยู่บางส่วนที่ทำไว้แล้วอยู่ใน Collection /test/WEBPRO-API/
🐶วิธีเปิด Collection Bruno API Client
วิธีใช้ Filter Limit และ Offset ในการ GET api
GET
**ใช้กับ GET เกือบทั้งหมด
{ "limit": 2, //เป็นตัวเลขไม่น้อยกว่า0สำหรับจำกัดจำนวนข้อมูล "offset": 0, //เป็นตัวเลขไม่น้อยกว่า0เลืิ่อนข้อมูล เช่น limit 2 offset 1 จะได้ข้อมูลที่ 2,4 "filters": [ { "key": "email", //Keyที่จะใช้filter (เลือกจากหัวตารางของDB) //สามารถใช้ชื่อตาราง.attrได้ "filter": "", //Keyword ที่จะใช้หา "type" : "" //โหมดการค้นหาถ้าไม่ไช้จะเป็นการหาด้วย LIKE %filter% //โหมดที่ใช้ได้ equal , in , notin , is , null , notnull } ] }
There was an error while loading. Please reload this page.