Projekte
GET https://qrcodemonkey.net/api/projects/
curl --request GET \
--url 'https://qrcodemonkey.net/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Details | Beschreibung |
---|---|---|
page | Optional Ganze Zahl | Die Seitenzahl, von der du Ergebnisse erhalten möchtest. Standardmäßig auf 1 gesetzt. |
results_per_page | Optional Ganze Zahl | Wie viele Ergebnisse möchten Sie pro Seite sehen. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardmäßig auf 25 gesetzt. |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": "2021-03-14 21:22:37",
"datetime": "2021-02-04 17:51:07"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://qrcodemonkey.net/api/projects?&page=1",
"last": "https://qrcodemonkey.net/api/projects?&page=1",
"next": null,
"prev": null,
"self": "https://qrcodemonkey.net/api/projects?&page=1"
}
}
GET https://qrcodemonkey.net/api/projects/{project_id}
curl --request GET \
--url 'https://qrcodemonkey.net/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": "2021-03-14 21:22:37",
"datetime": "2021-02-04 17:51:07"
}
}
POST https://qrcodemonkey.net/api/projects
Parameter | Details | Beschreibung |
---|---|---|
name | Erforderlich Zeichenkette | - |
color | Optional Zeichenkette | - |
curl --request POST \
--url 'https://qrcodemonkey.net/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
--url 'https://qrcodemonkey.net/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{
"data": {
"id": 1
}
}
POST https://qrcodemonkey.net/api/projects/{project_id}
Parameter | Details | Beschreibung |
---|---|---|
name | Optional Zeichenkette | - |
color | Optional Zeichenkette | - |
curl --request POST \
--url 'https://qrcodemonkey.net/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
--url 'https://qrcodemonkey.net/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://qrcodemonkey.net/api/projects/{project_id}
curl --request DELETE \
--url 'https://qrcodemonkey.net/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://qrcodemonkey.net/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \