Zum Hauptinhalt springen

LoadLandingpageTiles

RPC Configuration

Rpc Name:

Plain: LoadLandingpageTiles
Sha1: 0e38025bff6ca5b4bafdc3cee7ee178747cc9f82
Rpc Call

RPCs can be called by their plain name or their SHA1 representation.

Rpc Parameters:

"tag" : string 

Requires Login:

true

Requires Context:

Context

The context providing parameter can either be a contagt-id (8-Bytes, Alphaumeric) or an integer as a building id. The context parameter name should make the choice obviouse, the type has not to be defined manually.

true

Requires contextParamName:

tag

Requires WriteAccess:

WriteAccess

Only accounts that have an explicit write access to the defined context can execute this RPC, no matter if the authentication level matches or not.

false

Requires AuthenticationLevel:

Context

Authentication levels allow the SuperUser to define a by-RPC granular access configuration. If RPCs are chained in a single unified call and lenient is enabled, all allowed RPCs will be executed, while execution will fail entirely with lenient set to false.

STANDARD_USER

Requires Subbuilding Merge Strategy:

REPLACE

Cache Configuration

Response Cache

All writing RPCs are not Cacheable, also Caching will be disabled by the paramters nocache and readonly.

Cache enabled:

true

Cache Time to Live:

60

Sample Request

->

{
"tag": "njMqjt4a"
}

<-

{
"tiles": {
"standard": ""
},
"modules": "<!DOCTYPE html>\n<html>\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui\">\n <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n <meta name=\"theme-color\" content=\"\">\n <title><\/title>\n <link rel=\"stylesheet\" href=\"resources\/css\/framework7.material.min.css\">\n <link rel=\"stylesheet\" href=\"resources\/css\/framework7.material.colors.min.css\">\n <link rel=\"stylesheet\" href=\"resources\/css\/my-app.css\">\n\n <style>\n <\/style>\n<\/head>\n<body><div class=\"views\">\n <div class=\"view view-main\">\n <div class=\"pages\">\n <!-- Now we need additional \"navbar-fixed\" and \"toolbar-fixed\" classes on Page -->\n <div class=\"page navbar-fixed toolbar-fixed\">\n\n <!-- Top Navbar-->\n <div class=\"navbar\">\n <div class=\"navbar-inner\">\n <div class=\"center\"><\/div>\n <\/div>\n <\/div>\n <div class=\"page-content\">\n <!-- \/End of Top Navbar-->\n <div class=\"card\">\n <div class=\"card-content\">\n <p>Keine Module vorhanden<\/p>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n <\/div>\n<\/div><script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/jquery-2.1.4.min.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/underscore-min.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/class2.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/modules2.framework.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/framework7.min.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/my-material.js\"><\/script>\n<script type=\"text\/javascript\" src=\"\/\/192.168.178.20\/modules\/resources\/js\/moment.js\"><\/script>\n\n\n <script>\n var framework = framework.Launch();\n<\/script>\n<\/body>\n\n<\/html>",
"routes": [
{
"id": 113,
"name": "Test-Rund-Route",
"description": "",
"resumable": true,
"destinations": [
"1nnM2WuK",
"dSK0vx1j",
"TaZRVdYF"
],
"computed": []
},
{
"id": 114,
"name": "Unittest Route",
"description": "Die Route, erstellt vom Unittest",
"resumable": true,
"destinations": [
"aveSbmT5",
"5dQg3abu",
"dSK0vx1j"
],
"computed": []
}
]
}