Zum Hauptinhalt springen

API Version Upgraded to 1.50.0

· 2 Minuten Lesezeit

The new API Version allows a, iterative, request chaining mode.

While in the current versions of our API it was already possible to chain requests you can now use iterative and wildcard accessors.

info

There can not be more then one parameter wildcard per request, configurations like $GetBuildingInfo.0.allTags.*.importantTags.*.tag_id will be invalid and lead to empty results.

Therefore there are multiple Modes and Options. One can either execute a subrequest for all responses of earlier staged requests

↪ Request

{
"0": {
"building_id": 19
},
"1": {
"building_id": 19
},
"2": {
"tag": "$GetBuildingInfo.*.roottag"
}
}

↩ Response

{
"GetBuildingInfo": [
{
< ... >
}
],
"GetBuildingInfo": [
{
< ... >
}
],
"LoadTag": [
{
< ... >
}
],
"LoadTag": [
{
< ... >
}
]
}

and/or apply the wildcard operator to array data on the response of a function like

$<MethodenName>.<Idx> or <*>.<ParameterName>.<Idx> or <*>.<SubparameterName>.

Here is an example for iterating an array response where three different contagt-IDs loaded from a request result in three resonses for LoadTag.

↪ Request

{
"0": {
"building_id": 19
},
"1": {
"tag": "$GetBuildingInfo.0.allTags.*.tag_id"
}
}

↩ Response

{
"GetBuildingInfo": [
{
< ... >
allTags: [
{
tag_id: "..."
},
{
tag_id: "..."
},
{
tag_id: "..."
}
]
}
],
"LoadTag": [
{
< ... >
}
],
"LoadTag": [
{
< ... >
}
],
"LoadTag": [
{
< ... >
}
]
}

Wildcard request chaining is only functional in strict mode and can lead to undefined behavior sending it on non-strict api calls. You should be very careful with the wildcard feature, since it gets very easy to generate an excessive amount of api load with a single request, especially when using function and parameter wildcards.

Other Changes

  • Rooms and POIs now have a spacial interface allowing to load items more efficiently, especially on large guides.

API Version Upgraded to 1.47.0

· Eine Minute Lesezeit

In Version 1.47.0 it is mainly about caching.

Multiroute Caching

With this update we introduce the dynamic multi route caching feature which will allow all apps to drastically improve the speed of calculating predefined multiroutes.

This cache does not only improve the reoccuring calculations of entire multiroutes, but also will share equal subroute-caches between multiroutes to reduce the overall expense on cache maintenance.

Exporter Caching

The Delta-Cache for Exporter Data has been upgraded and is re-enabled within this version. It allows all nativly caching apps to only download the delta-changeset of the the guide data since the last update and will therefore spare some of your prescious traffic volume. At the same time the caching strategies will still be applied to all non-changed data to provide the output to the apps at maximum speed.

Other Changes

  • A new option is made available, that allows the terminal load quicksearch item sizes for the operating user.
  • An issue, where the historical movement data would not be loaded correctly from the CE, even when the user is correctly entitled to the asset.

API Version Upgraded to 1.46.1

· Eine Minute Lesezeit

An Hotfix Update has been released, fixing the issue that Webapp loads were not part of the Guide-Access statistics. This is now changed and also affects past entries. All Statistics should now be correct again.

API Version Upgraded to 1.46.0

· Eine Minute Lesezeit

A new Update is available, with the following new features.

  • Bumped PHP to the latest Minor Release (8.2.7)
  • Accessibility Reporter Admin Interface can now interact with the map in CE.
  • News and Info do not export their content in the definitions.
  • Campaign-Category templates can be loaded without the campaign for faster suggestions.
  • Room and Panorama Images are now part of the Savepoint bundle.

All new Vue3 Webapp

· Eine Minute Lesezeit

A new Update is available, with the following new features.

  • ForceSession SuperUser feature to allow enhancing the default session period.
  • Altering Useraccounts as SuperUser will emit warnings for non-changed values.
  • Mapfiles can now have more complex roofs on extrusion structures.

API Version Upgraded to 1.45.0

· Eine Minute Lesezeit

Changelog (1.44.2 ➔ 1.45.0)

Dokumentation aktualisiert

Die Loginmaske sowie der Two-Factor Prozess für diese Dokumentationsseite wurden aktualisiert und sind nun auch im Dark Theme korrekt ablesbar.

Großes PHP Update

PHP 8.2 Logo

Mit Version 1.45.0 wird PHP 8.2 die neue Grundlage für die contagt API. Mit diesem Update können viele neue Funktionen von PHP für die Weiterentwicklung der Plattform verwendet werden, es gibt aber auch Sicherheits- und Geschwindigkeitsvorteile.

Alternative Übergänge

Mit Version 1.45.0 gibt es eine erste Version die es erlaubt die relationTypes hill und gondola für Übergänge ohne Stockwerkwechsel zu verwenden. Damit können z.B. kleinere Rampen oder alle Arten von Sesselliften in Zukunft in der App korrekt dargestellt werden.

Grayscale Outdoors

Mit einer einfachen guide-spezifischen Einstellung kann die Umgebungskarte um den Guide nun als entsättigte Version für jedes Stockwerk dargestellt werden.

Die Web-App verlinkt regulär auf die native contagt app für die jeweilige Zielplattform. Dieses Verhalten lässt sich nun in den globalen Guide-Settings ändern, sodass ein Guide nur in der Web-App Variante angeboten wird.

API Version Upgraded to 1.43.1

· Eine Minute Lesezeit

Changelog (1.42.0 ➔ 1.43.X)

Bundled Guide Images

With the newly introduced API Interface LoadImageBundle all offline available guide media can be downloaded within a single zip file from the API.

Docs now easier to access

Also, introduced with 1.43.0 this reference and blog will be available from within the content editor without an extra login neccessary.

API Version Upgraded to 1.42.0

· Eine Minute Lesezeit

Changelog (1.41.1 ➔ 1.42.0)

PHP Process Manager

With this update, the old php process manager fpm will be replaced by the more universal, stable and faster nginx unit (https://unit.nginx.org/).

Regular nginx will still be used as the frontend webserver, because unit does not allow for complex configurations such as ldap authenticaton and others.

In future unit will serve all php related contents aswell as internal tcp based redirects. All unit logs will be appended to stdout.

API Version Upgraded to 1.40.0

· Eine Minute Lesezeit

Changelog (1.39.X ➔ 1.40.0)

API Usage

This update aims for enhanced stability and more unified util interfaces.

The FileController has been enhanced to work with unified rpc requests in the same way as it does with URLEncoded Multipart Fileuploads.

Also it allowes more features for dynamical usage such as receivedFiles to check if the FileController did prepare any uploaded files, accepting an optional parameter to check for a specific transferred file.

Also its usage with internal-api has been simplified and streamlined.

Accessibilty Reporter

The latest update of the accessibilty reporter allows many new features and bugfixes, that will now allow better administration and preparation of the integration with CE's map.

API Version Upgraded to 1.38.1

· Eine Minute Lesezeit

Changelog (1.38.0 ➔ 1.38.1)

Routing

We introduce new intermediate waypoint caching for the routing algorith, that can increase the performance on long and complex routes up to ~8x.

Instead of re-calcuating the distances between nodes in spererate segments, these can now be cached and shared, directly when loading the edge definitons, resul

Also the Viewer for Editor-Sessions was corrected and will show all valid sessions again.