Initial calls
App access - done
Used for the preview app, returns an App ID when an Access ID is passed in /app/access?accessid=[field_access_id] http://group-comms.com/app/access?accessid=12345
App settings - done
Returns app settings such as title colours and layout when the App ID is passed in, the App ID is taken from the Node ID of each "School" page type, this should be hard coded into each app or passed in via the App access JSON feed. This also includes header images in base64 format, but these are only used on icon based menus, because bar menus and slide on menus have content as the homepage. It also includes two arrays for the app sections, the section ID's and the section titles. /app/settings?appid=[APP ID] example: http://group-comms.com/app/settings?appid=256 Layout options returned are; slide, bar, icon1, icon2, icon3, icon4, icon5
Section header images -done but could be image slider?
Pass in a section ID and get back the last time it was updated (as timestamp I can change this to any format you like, not sure of the best one for angular, we might as well set it to the best one so you have less to do) and a base64 encode image or array of images comma separated, I can change the separator if you like. /app/header-section?appid=[SECTION ID] example: http://group-comms.com/app/section-header?sectionid=313
App top level menu for each section - done but could output the whole menu in one go otherwise the sub menu call needs modification
Returns just the top level menu items for each section. This is not using services because of some problems with draggable views (which we use for the ordering of the menu) it is using a basic JSON document type. This means the App ID is passed in as part of the URL rather than a query string. There is as yet no access control, this needs to be configured The icon classes need to be written like this in the app: <i class="fa fa-[field_icon_class]"></i> You can then pass each sectionID into another json call to get the menu for that section: http://innovation-search.co.uk/app-menu-section/291 "nid","field_icon_class","title","type","access_type","roles","custom" Access type can be either roles or custom roles, these will give a list of access ID's The user needs a list of these access ID's in their JSON
Page types
Basic page - done
The basic page is output as type "page" example: http://group-comms.com/app/basic-page?nid=10
Tab bar page
The basic page is output as type "tab_bar" details on Onsen site http://onsen.io/guide/overview.html#UsingTabBar example: http://group-comms.com/app/tab-page?nid=175
List module - done
The List item module page lists 10 items at one passing the the parent node ID go with an option to view the next 10 with a button at the bottom (the sensation app has a nice example of this). It would be great to get a pull to refresh in too. pagination is page=1. example: http://group-comms.com/app/list-items?list=147
List module with search
http://group-comms.com/app/search-list-items?list=998&search=Enterprise
Ordered list module
example: http://group-comms.com/app/ordered-items?list=271
Calendar module - done but main page view not working
example: http://group-comms.com/app-event-items?list=3128
PDF module
The PDF list is similar to the list module, example: http://group-comms.com/app/pdf?list=17
Message group module
The message group module is similar to the PDF because it opens each link in a webview, example: http://group-comms.com/app/chat?list=4769
The format of the url is: http://group-comms.com/node/[nid]/mobile
e.g. http://group-comms.com/node/4771/mobile
Twitter module
Pass in the node ID and it passes back the twitter username and page title example: http://group-comms.com/app/twitter?list=73
Gallery module - done
example: http://group-comms.com/app-gallery?nid=65
File module
example: http://group-comms.com/app-files?nid=474
Contact module - done
example: http://group-comms.com/app-contact-items/163
Feedback module Not sure how best to do this, one way could be to use a webview, therefore all we would need is the node ID
Webview module, Admin Placeholder, Single PDF & Radio module http://group-comms.com/app/webview-url?nid=2454
returns either "url" or "radio-url" or "admin-url" or "pdf-url" depending on page type.
YouTube module
The YouTube item module page lists 10 items at one passing the the parent node ID go with an option to view the next 10 with a button at the bottom. It would be great to get a pull to refresh in too. pagination is page=1. example: http://group-comms.com/app/youtube-items?list=147
Data List module