Diagramme
Das Diagrammobjekt repräsentiert ein Diagramm, das in einer Ansicht oder Ideensammlung angezeigt werden kann.
Das Diagrammobjekt
{
"id": "53ad1e3f-8dd6-48a7-9222-111a61b3a9eb",
"createdAt": "2025-03-07T13:22:10.360Z",
"updatedAt": "2025-03-07T13:22:10.360Z",
"title": "Idea Collections by Goal",
"entity": "mission",
"kind": "RADAR_PLOT",
"aggregateFunction": null,
"data": {
"hideGrid": false,
"dimensions": [
{
"key": "COUNT",
"direction": "DESC"
}
],
"showLegend": false,
"labelDimension": "goal.id"
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"labelType": "string",
"labelLabel": "Goal ID",
"labels": [
"Other"
],
"rawLabels": [
"439e9eef-4150-41f2-b6ed-e451fb8da69e"
],
"datasets": [
{
"label": "# of Idea Collections",
"primitiveLabel": "#",
"type": "number",
"dimensionIndex": 0,
"data": [
3
]
}
]
},
"color": null,
"timeFrame": null
}Felder
Feld | Typ | Beschreibung |
|---|---|---|
id |
| Der eindeutige Bezeichner des Diagramms. |
createdAt |
| Das Datum, an dem das Diagramm erstellt wurde. |
updatedAt |
| Das Datum, an dem das Diagramm zuletzt aktualisiert wurde. |
Titel |
| Der Titel des Diagramms |
Entität |
| Die Entität des Diagramms |
Art |
| Die Art des Diagramms |
aggregateFunction |
| Die Aggregatfunktion des Diagramms |
Daten |
| Die Daten des Diagramms |
showTotalAmounts |
| Gibt an, ob die Gesamtbeträge angezeigt werden sollen |
dynamicTitle |
| Gibt an, ob der Titel dynamisch ist |
filter |
| Der Filter des Diagramms |
Ergebnis |
| Das Ergebnis des Diagramms |
Farbe |
| Die Farbe des Diagramms |
timeFrame.start |
| Der Startzeitraum des Diagramms |
timeFrame.end |
| Der Endzeitraum des Diagramms |
Diagramme für den Bereich auflisten
curl -X GET "https://api.ideanote.io/v1/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API Token>"const result = await fetch("https://api.ideanote.io/v1/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <API Token>",
}
});
const charts = await result.json();Der obige Befehl gibt JSON in folgender Struktur zurück:
[
{
"aggregateFunction": null,
"data": {
"stacked": false,
"hideGrid": false,
"dimensions": [
{}
],
"horizontal": false,
"showLabels": false,
"showLegend": false
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": false,
"hasCountAggregationOnBaseEntity": false
},
"labels": [],
"rawLabels": [],
"datasets": [
{
"dimensionIndex": 0,
"data": []
}
]
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"fill": false,
"unit": null,
"prefix": null,
"suffix": null,
"dimensions": [
{}
],
"unitDisplay": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": {
"rank": 1000
},
"canEdit": true,
"result": {
"datasets": [
{
"dimensionIndex": 0,
"data": [
0
]
}
],
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"aggregatedValue": 0
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"limit": null,
"dimensions": [
{}
],
"showLabels": false,
"showRanking": true,
"orderByDimensionIndex": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": false,
"hasCountAggregationOnBaseEntity": false
},
"labels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"rawLabels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"datasets": [
{
"dimensionIndex": 0,
"data": [
0,
0,
0
]
}
],
"hasMore": false
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"fill": false,
"unit": null,
"prefix": null,
"suffix": null,
"dimensions": [
{}
],
"unitDisplay": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": {
"rank": 2000
},
"canEdit": true,
"result": {
"datasets": [
{
"dimensionIndex": 0,
"data": [
2
]
}
],
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"aggregatedValue": 2
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"limit": null,
"dimensions": [
{}
],
"showLabels": false,
"showRanking": true,
"orderByDimensionIndex": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": false,
"hasCountAggregationOnBaseEntity": false
},
"labels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"rawLabels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"datasets": [
{
"dimensionIndex": 0,
"data": [
0,
0,
0
]
}
],
"hasMore": false
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"fill": false,
"unit": null,
"prefix": null,
"suffix": null,
"dimensions": [
{}
],
"unitDisplay": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": {
"rank": {
"value": 3000
}
},
"canEdit": true,
"result": {
"datasets": [
{
"dimensionIndex": 0,
"data": [
1
]
}
],
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"aggregatedValue": 1
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"limit": null,
"dimensions": [
{}
],
"showLabels": false,
"showRanking": true,
"orderByDimensionIndex": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": false,
"hasCountAggregationOnBaseEntity": false
},
"labels": [
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 2,
"stats": {
"users": 0,
"children": 0
}
},
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 1,
"stats": {
"users": 0,
"children": 0
}
},
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 3,
"stats": {
"users": 0,
"children": 0
}
}
],
"rawLabels": [
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 2,
"stats": {
"users": 0,
"children": 0
}
},
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 1,
"stats": {
"users": 0,
"children": 0
}
},
{
"order": -1,
"parent": null,
"children": null,
"logo": null,
"membership": null,
"canEdit": true,
"open": false,
"friendlyId": 3,
"stats": {
"users": 0,
"children": 0
}
}
],
"datasets": [
{
"dimensionIndex": 0,
"data": [
0,
0,
0
]
}
],
"hasMore": false
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"limit": null,
"dimensions": [
{}
],
"showLabels": false,
"showRanking": true,
"orderByDimensionIndex": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": false,
"hasCountAggregationOnBaseEntity": false
},
"labels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"rawLabels": [
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"status": 3000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 5000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
},
{
"avatar": {
"data": {},
"progress": 100,
"errorCode": null
},
"invitation": {
"openedAt": null,
"acceptedAt": null,
"status": 1000,
"message": null
},
"activeAt": null,
"deleted": false,
"isGhost": false,
"data": {},
"disabled": false,
"htmlDetails": null,
"prefs": {
"emailAlerts": 4000,
"localeOverrides": null,
"pushNotifications": true
},
"rank": 2000
}
],
"datasets": [
{
"dimensionIndex": 0,
"data": [
0,
0,
0
]
}
],
"hasMore": false
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"fill": false,
"unit": null,
"prefix": null,
"suffix": null,
"dimensions": [
{}
],
"unitDisplay": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"datasets": [
{
"dimensionIndex": 0,
"data": [
3
]
}
],
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"aggregatedValue": 3
},
"color": null,
"timeFrame": null
},
{
"aggregateFunction": null,
"data": {
"limit": null,
"dimensions": [
{}
],
"showLabels": false,
"showRanking": true,
"orderByDimensionIndex": null
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"labels": [],
"rawLabels": [],
"datasets": [
{
"dimensionIndex": 0,
"data": []
}
]
},
"color": null,
"timeFrame": null
}
]Alle Diagramme für einen Bereich auflisten
HTTP-Anfrage
GET /v1/charts
Diagramme für eine Ansicht auflisten
curl -X GET "https://api.ideanote.io/v1/views/d81a9404-6215-4eb3-930a-985546941cbb/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API Token>"const result = await fetch("https://api.ideanote.io/v1/views/d81a9404-6215-4eb3-930a-985546941cbb/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <API Token>",
}
});
const chart = await result.json();Der obige Befehl gibt JSON in folgender Struktur zurück:
[]Alle Diagramme für eine Ansicht auflisten
HTTP-Anfrage
GET /v1/views/:view_id/charts
Abfrageparameter
Parameter | Beschreibung |
|---|---|
view_id | Die ID der Ansicht, für die Diagramme abgerufen werden sollen |
Diagramme für eine Ideensammlung auflisten
curl -X GET "https://api.ideanote.io/v1/idea_collections/b3f0255d-6dc9-4c4e-b932-7186d7268a66/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API Token>"const result = await fetch("https://api.ideanote.io/v1/idea_collections/b3f0255d-6dc9-4c4e-b932-7186d7268a66/charts?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <API Token>",
}
});
const chart = await result.json();Der obige Befehl gibt JSON in folgender Struktur zurück:
[]Alle Diagramme für eine Ideensammlung auflisten
HTTP-Anfrage
GET /v1/idea_collections/:mission_id/charts
Abfrageparameter
Parameter | Beschreibung |
|---|---|
mission_id | Die ID der Ideensammlung, für die Diagramme abgerufen werden sollen |
Diagramm abrufen
curl -X GET "https://api.ideanote.io/v1/charts/53ad1e3f-8dd6-48a7-9222-111a61b3a9eb?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API Token>"const result = await fetch("https://api.ideanote.io/v1/charts/53ad1e3f-8dd6-48a7-9222-111a61b3a9eb?fields=id,createdAt,updatedAt,title,entity,kind,aggregateFunction,data,showTotalAmounts,dynamicTitle,filter,canEdit,result,color,timeFrame.start,timeFrame.end", {
method: "GET",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer <API Token>",
}
});
const chart = await result.json();Der obige Befehl gibt JSON in folgender Struktur zurück:
{
"aggregateFunction": null,
"data": {
"hideGrid": false,
"dimensions": [
{}
],
"showLegend": false
},
"showTotalAmounts": false,
"dynamicTitle": true,
"filter": null,
"canEdit": true,
"result": {
"metadata": {
"hasTooMuchData": false,
"isTimeFrameUsedForBaseEntity": true,
"hasCountAggregationOnBaseEntity": true
},
"labels": [
null
],
"rawLabels": [
null
],
"datasets": [
{
"dimensionIndex": 0,
"data": [
3
]
}
]
},
"color": null,
"timeFrame": null
}Ein bestimmtes Diagramm abrufen
HTTP-Anfrage
GET /v1/charts/:chart_id
Abfrageparameter
Parameter | Beschreibung |
|---|---|
chart_id | Die ID des abzurufenden Diagramms |