Api session items actionlogs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (31 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
api session items | API Endpoint: /api/session/items/actionlogs/ | ||
Default Query: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=JSON&token=API_TOKEN</syntaxhighlight> | |||
Example Response: | |||
<syntaxhighlight lang="text" copy>[ ]</syntaxhighlight> | |||
==Limit Queries== | ==Limit Queries== | ||
version=100: | version=100: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?version=100&token=API_TOKEN</syntaxhighlight> | ||
== | ==Get Queries== | ||
attributes: | |||
<syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/attributes/?token=API_TOKEN</syntaxhighlight> | |||
max version: | max version: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/version/?token=API_TOKEN</syntaxhighlight> | ||
count: | |||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/count/?token=API_TOKEN</syntaxhighlight> | ||
==Formats== | ==Formats== | ||
HTML: | HTML: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=HTML&token=API_TOKEN</syntaxhighlight> | ||
JSON: | JSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=JSON&token=API_TOKEN</syntaxhighlight> | ||
CSV: | CSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=CSV&token=API_TOKEN</syntaxhighlight> | ||
SSV: | SSV: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=SSV&token=API_TOKEN</syntaxhighlight> | ||
SMILE: | SMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=SMILE&token=API_TOKEN</syntaxhighlight> | ||
ZIPJSON: | ZIPJSON: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=ZIPJSON&token=API_TOKEN</syntaxhighlight> | ||
ZIPSMILE: | ZIPSMILE: | ||
< | <syntaxhighlight lang="text" copy>https://engine.tygron.com/api/session/items/actionlogs/?f=ZIPSMILE&token=API_TOKEN</syntaxhighlight> | ||
{{article end|seealso=*[[Api Content Items]]}} | ==Api Model ActionLog== | ||
API Model description of ActionLog | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| action | |||
| ParticipantEventType | |||
| | |||
|- | |||
| budget | |||
| double | |||
| | |||
|- | |||
| buildingIDs | |||
| int<nowiki>[]</nowiki> | |||
| | |||
|- | |||
| id | |||
| int | |||
| | |||
|- | |||
| itemID | |||
| int | |||
| | |||
|- | |||
| mapLink | |||
| MapLink | |||
| [[Maplink]] | |||
|- | |||
| mp | |||
| MultiPolygon | |||
| [[MultiPolygon]] | |||
|- | |||
| point | |||
| Point | |||
| [[Point]] | |||
|- | |||
| scoreAfter | |||
| Map<int,double> | |||
| | |||
|- | |||
| scoreBefore | |||
| Map<int,double> | |||
| | |||
|- | |||
| simTime | |||
| long | |||
| | |||
|- | |||
| stakeholderID | |||
| int | |||
| [[Stakeholder]] ID | |||
|- | |||
| subject | |||
| String | |||
| | |||
|- | |||
| version | |||
| int | |||
| | |||
|} | |||
==Api Model GeometryCollection== | |||
API Model description of GeometryCollection | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|} | |||
==Api Model MultiPolygon== | |||
API Model description of MultiPolygon | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| type | |||
| String | |||
| [[MultiPolygon]] | |||
|- | |||
| coordinates | |||
| double[][][][] | |||
| array of [[Polygon]]s; [[Polygon]] is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] | |||
|} | |||
==Api Model Point== | |||
API Model description of Point | |||
{|class=wikitable | |||
!Name | |||
!Type | |||
!Description | |||
|- | |||
| type | |||
| String | |||
| [[Point]] | |||
|- | |||
| coordinates | |||
| double[] | |||
| x, y, (optional) z | |||
|} | |||
{{article end|seealso=*[[Api Content Items]] | |||
*[[Api session event editor]] | |||
}} | |||
[[Category:API]] | [[Category:API]] | ||
[[Category:Items]] | |||
Latest revision as of 07:14, 7 July 2026
API Endpoint: /api/session/items/actionlogs/
Default Query:
https://engine.tygron.com/api/session/items/actionlogs/?f=JSON&token=API_TOKENExample Response:
[ ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/actionlogs/?version=100&token=API_TOKENGet Queries
attributes:
https://engine.tygron.com/api/session/items/actionlogs/attributes/?token=API_TOKENmax version:
https://engine.tygron.com/api/session/items/actionlogs/version/?token=API_TOKENcount:
https://engine.tygron.com/api/session/items/actionlogs/count/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/actionlogs/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/actionlogs/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/actionlogs/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/actionlogs/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/actionlogs/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/actionlogs/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/actionlogs/?f=ZIPSMILE&token=API_TOKENApi Model ActionLog
API Model description of ActionLog
| Name | Type | Description |
|---|---|---|
| action | ParticipantEventType | |
| budget | double | |
| buildingIDs | int[] | |
| id | int | |
| itemID | int | |
| mapLink | MapLink | Maplink |
| mp | MultiPolygon | MultiPolygon |
| point | Point | Point |
| scoreAfter | Map<int,double> | |
| scoreBefore | Map<int,double> | |
| simTime | long | |
| stakeholderID | int | Stakeholder ID |
| subject | String | |
| version | int |
Api Model GeometryCollection
API Model description of GeometryCollection
| Name | Type | Description |
|---|
Api Model MultiPolygon
API Model description of MultiPolygon
| Name | Type | Description |
|---|---|---|
| type | String | MultiPolygon |
| coordinates | double[][][][] | array of Polygons; Polygon is array of outer and optional inner rings; rings is array of coordinates; coordinates is array of [x,y,(optional) z] |
Api Model Point
API Model description of Point
| Name | Type | Description |
|---|---|---|
| type | String | Point |
| coordinates | double[] | x, y, (optional) z |