Equipos
GET https://up-chk.com/api/teams/
curl --request GET \
--url 'https://up-chk.com/api/teams/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://up-chk.com/api/teams/' \
--header 'Authorization: Bearer {api_key}' \
| Par谩metros | Detalles | Descripci贸n |
|---|---|---|
| page | Opcional Entero | El n煤mero de p谩gina del que deseas obtener resultados. Por defecto es 1. |
| results_per_page | Opcional Entero | Cu谩ntos resultados desea por p谩gina. Los valores permitidos son: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Por defecto es 25. |
{
"data": [
{
"id": 1,
"name": "Example team",
"team_members": [
{
"team_member_id": 1,
"user_email": "[email protected]",
"access": {
"read": true,
"create": true,
"update": true,
"delete": false
},
"status": 1,
"datetime": "2025-12-06 20:35:00",
"last_datetime": null
}
],
"last_datetime": null,
"datetime": "2025-12-06 20:35:00",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://up-chk.com/api/teams?page=1",
"last": "https://up-chk.com/api/teams?page=1",
"next": null,
"prev": null,
"self": "https://up-chk.com/api/teams?page=1"
}
}
GET https://up-chk.com/api/teams/{team_id}
curl --request GET \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Example team",
"team_members": [
{
"team_member_id": 1,
"user_email": "[email protected]",
"access": {
"read": true,
"create": true,
"update": true,
"delete": false
},
"status": 1,
"datetime": "2025-12-06 20:35:00",
"last_datetime": null
}
],
"last_datetime": null,
"datetime": "2025-12-06 20:35:00",
}
}
POST https://up-chk.com/api/teams
| Par谩metros | Detalles | Descripci贸n |
|---|---|---|
| name | Requerido Cadena | - |
curl --request POST \
--url 'https://up-chk.com/api/teams' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=My team' \
--url 'https://up-chk.com/api/teams' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=My team' \
{
"data": {
"id": 1
}
}
POST https://up-chk.com/api/teams/{team_id}
| Par谩metros | Detalles | Descripci贸n |
|---|---|---|
| name | Opcional Cadena | - |
curl --request POST \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=My new team name' \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=My new team name' \
{
"data": {
"id": 1
}
}
DELETE https://up-chk.com/api/teams/{team_id}
curl --request DELETE \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://up-chk.com/api/teams/{team_id}' \
--header 'Authorization: Bearer {api_key}' \