پروژېکټونه
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 15:51:09"
},
],
"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 15:51:09"
}
}
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}' \