Projetos
GET https://posts.vix.br/api/projects/
curl --request GET \
--url 'https://posts.vix.br/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://posts.vix.br/api/projects/' \
--header 'Authorization: Bearer {api_key}' \
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| page | Opcional Inteiro | O número da página do qual você deseja resultados. O padrão é 1. |
| results_per_page | Opcional Inteiro | Quantos resultados você deseja por página. Os valores permitidos são: 10 , 25 , 50 , 100 , 250 , 500 , 1000. O padrão é 25. |
{
"data": [
{
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-10-26 05:36:59"
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://posts.vix.br/api/projects?&page=1",
"last": "https://posts.vix.br/api/projects?&page=1",
"next": null,
"prev": null,
"self": "https://posts.vix.br/api/projects?&page=1"
}
}
GET https://posts.vix.br/api/projects/{project_id}
curl --request GET \
--url 'https://posts.vix.br/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://posts.vix.br/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"name": "Development",
"color": "#0e23cc",
"last_datetime": null,
"datetime": "2025-10-26 05:36:59"
}
}
POST https://posts.vix.br/api/projects
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| name | Requerido String | - |
| color | Opcional String | - |
curl --request POST \
--url 'https://posts.vix.br/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
--url 'https://posts.vix.br/api/projects' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#ffffff' \
{
"data": {
"id": 1
}
}
POST https://posts.vix.br/api/projects/{project_id}
| Parâmetros | Detalhes | Descrição |
|---|---|---|
| name | Opcional String | - |
| color | Opcional String | - |
curl --request POST \
--url 'https://posts.vix.br/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Production' \
--form 'color=#000000' \
--url 'https://posts.vix.br/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://posts.vix.br/api/projects/{project_id}
curl --request DELETE \
--url 'https://posts.vix.br/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://posts.vix.br/api/projects/{project_id}' \
--header 'Authorization: Bearer {api_key}' \