Projektai
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}' \
Parametrai | Išsamesnė informacija | Aprašymas |
---|---|---|
page | Neprivaloma Sveikasis skaičius | Puslapis, iš kurio norite gauti rezultatus. Numatyta reikšmė yra 1 . |
results_per_page | Neprivaloma Sveikasis skaičius | Kiek rezultatų norite per puslapį. Leidžiamos reikšmės yra: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Numatyta reikšmė yra 25 . |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-03-12 16:14:38"
},
],
"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 16:14:38"
}
}
POST https://77qr.io/api/projects
Parametrai | Išsamesnė informacija | Aprašymas |
---|---|---|
name | Reikalingas Eilutė | - |
color | Neprivaloma Eilutė | - |
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}
Parametrai | Išsamesnė informacija | Aprašymas |
---|---|---|
name | Neprivaloma Eilutė | - |
color | Neprivaloma Eilutė | - |
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}' \