Awọn iṣẹlẹ
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}' \
Ìfihàn. | Iroyin. | Ìwọ̀n àwọn àkọ́lé. |
---|---|---|
page | Ọrọ ti o le jẹ. Àkọ́lé ìwọ̀n. | Nọmbà ìròyìn tí o fẹ́ kí o wà ni. Ìdápadà sáyé 1 . |
results_per_page | Ọrọ ti o le jẹ. Àkọ́lé ìwọ̀n. | Ẹ̀yọ̀ kọ̀ọ́kan ní ìlàn pẹ̀lú àkọsílẹ̀ yìí: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Ìtọ́jú ní 25 . |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-03-12 11:19:14"
},
],
"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 11:19:14"
}
}
POST https://77qr.io/api/projects
Ìfihàn. | Iroyin. | Ìwọ̀n àwọn àkọ́lé. |
---|---|---|
name | Ìfẹ́ràn. Ìròyìn | - |
color | Ọrọ ti o le jẹ. Ìròyìn | - |
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}
Ìfihàn. | Iroyin. | Ìwọ̀n àwọn àkọ́lé. |
---|---|---|
name | Ọrọ ti o le jẹ. Ìròyìn | - |
color | Ọrọ ti o le jẹ. Ìròyìn | - |
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}' \