අර්ථදායක්කාවන්
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 12:22:45"
},
],
"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 12:22:45"
}
}
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}' \