Projeler
Projeler bir kullanıcı grubu olarak oluşturulur. Bu nedenle group ve project kavramları API'da aynı şeyi temsil etmektedir.
Kurumdaki projeleri getirir. parent verilmezse kurumdaki ana proje getirilir.
Entegrasyonlar sayfasından alınan erişim jetonu. Header: Authorization: Bearer ERİŞİM_JETONUNUZ.
MongoDB ObjectId
627fd586f8b23768c7261a63false: yalnızca 1. seviye alt projeler. true: tüm seviyeler.
falsetrue: yalnızca arşivlenmemiş projeler.
trueProje listesi
MongoDB ObjectId
627fd586f8b23768c7261a63Ana projenin üstü yoktur
Alt proje ID'leri
Proje no
pt-client, pt-design, pt-randd, pt-sales, pt-standard veya özel
Pazartesi-Pazar
Doğrulama başarısız
GET /api/v1/groups HTTP/1.1
Host: cubicl.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"_id": "627fd586f8b23768c7261a63",
"name": "text",
"parents": [
"text"
],
"admins": [
"text"
],
"members": [
"text"
],
"groups": [
"text"
],
"gantt": "text",
"private": true,
"orgId": "text",
"no": "text",
"typeId": "text",
"status": "waiting",
"priority": "low",
"icon": "text",
"estimatedFinish": 1,
"workDays": [
true
],
"workHours": {
"start": 1,
"end": 1
},
"workTimesActive": true,
"taskStates": [
{
"name": "text",
"type": "waiting",
"color": "text",
"textColor": "text",
"isDefault": true
}
],
"perms": {
"members": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
},
"everybody": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
},
"users": {
"ANY_ADDITIONAL_PROPERTY": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
}
}
},
"archivedAt": 1,
"customerId": "text",
"customTaskFields": [
{
"id": "text",
"name": "text",
"type": "text",
"deleted": true
}
],
"taskShownFields": {},
"customFieldValues": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"autoArchivingEnabled": true,
"estimatedTimeEnabled": true,
"autoAddingGanttChartSettings": "none",
"autoChangeSupportRequestState": {},
"defaultPage": "text",
"defaultTaskView": "text",
"hiddenPages": [
"text"
]
}
]Verilen ID'ye sahip projeyi getirir. Kullanıcının erişemediği veya başka kuruma ait projeler için 403 döner.
Entegrasyonlar sayfasından alınan erişim jetonu. Header: Authorization: Bearer ERİŞİM_JETONUNUZ.
MongoDB ObjectId
627fd586f8b23768c7261a63Proje detayları
MongoDB ObjectId
627fd586f8b23768c7261a63Ana projenin üstü yoktur
Alt proje ID'leri
Proje no
pt-client, pt-design, pt-randd, pt-sales, pt-standard veya özel
Pazartesi-Pazar
İzin yok
Kaynak bulunamadı
Doğrulama başarısız
GET /api/v1/groups/{id} HTTP/1.1
Host: cubicl.io
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"_id": "627fd586f8b23768c7261a63",
"name": "text",
"parents": [
"text"
],
"admins": [
"text"
],
"members": [
"text"
],
"groups": [
"text"
],
"gantt": "text",
"private": true,
"orgId": "text",
"no": "text",
"typeId": "text",
"status": "waiting",
"priority": "low",
"icon": "text",
"estimatedFinish": 1,
"workDays": [
true
],
"workHours": {
"start": 1,
"end": 1
},
"workTimesActive": true,
"taskStates": [
{
"name": "text",
"type": "waiting",
"color": "text",
"textColor": "text",
"isDefault": true
}
],
"perms": {
"members": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
},
"everybody": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
},
"users": {
"ANY_ADDITIONAL_PROPERTY": {
"tasks": "none",
"files": "none",
"gantt": "none",
"reports": "none"
}
}
},
"archivedAt": 1,
"customerId": "text",
"customTaskFields": [
{
"id": "text",
"name": "text",
"type": "text",
"deleted": true
}
],
"taskShownFields": {},
"customFieldValues": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"autoArchivingEnabled": true,
"estimatedTimeEnabled": true,
"autoAddingGanttChartSettings": "none",
"autoChangeSupportRequestState": {},
"defaultPage": "text",
"defaultTaskView": "text",
"hiddenPages": [
"text"
]
}Son güncelleme
Bu yararlı oldu mu?