โครงการ
GET https://77qr.io/api/projects/
curl --request GET \
--url 'https://77qr.io/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
page | ตัวเลือก จำนวนเต็ม | หมายเลขหน้าที่คุณต้องการผลลัพธ์ ค่าเริ่มต้นคือ 1 |
results_per_page | ตัวเลือก จำนวนเต็ม | คุณต้องการผลลัพธ์กี่รายการต่อหน้า ค่าที่อนุญาตคือ: 10 , 25 , 50 , 100 , 250 , 500 , 1000 ค่าเริ่มต้นคือ 25 |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-03-12 14:49:17"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://77qr.io/api/projects?&page=1",
"last": "https://77qr.io/api/projects?&page=1",
"next": null,
"prev": null,
"self": "https://77qr.io/api/projects?&page=1"
}
}
GET https://77qr.io/api/projects/{project_id}
curl --request GET \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-03-12 14:49:17"
}
}
POST https://77qr.io/api/projects
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
name | จำเป็น สตริง | - |
color | ตัวเลือก สตริง | - |
curl --request POST \
--url 'https://77qr.io/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
--url 'https://77qr.io/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{
"data": {
"id": 1
}
}
POST https://77qr.io/api/projects/{project_id}
พารามิเตอร์ | รายละเอียด | คำอธิบาย |
---|---|---|
name | ตัวเลือก สตริง | - |
color | ตัวเลือก สตริง | - |
curl --request POST \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
{
"data": {
"id": 1
}
}
DELETE https://77qr.io/api/projects/{project_id}
curl --request DELETE \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://77qr.io/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \