You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After navigating to an individual article on the debug server the JSON fields are incomplete. The JSON utilized by the android app has a JSON array of articles where each individual article has the following fields:
"title" : String
"description" : String
"author" : String
"date" : String
"image" : String (URL)
"imageCaption" : String
"body" : String
"file" : String
"similarArticles" : Array (contains "file" field of similar articles)
"tag" : Array (Contains tags assosciated with current article)
"link" : String
"template" : String
The critical fields that need to have data present on the server are bolded and underlined. All the fields that android uses are bulleted. If the server could be updated to have some example articles it would make tying the app to the server much easier.
The text was updated successfully, but these errors were encountered:
Could change the layout of JSON array of articles to include only the "title", "author", "date", "image", "imageCaption", and the description of all articles which is then all loaded on the home page. Essentially remove the giant string for the entire body of each article, and put it into a separate file that would be called and accessed only if the user clicks on the specific article. This would save some time and reduce the data being pulled at a particular time (especially once we have hundreds of articles instead of the 9 or so we have in use now).
After navigating to an individual article on the debug server the JSON fields are incomplete. The JSON utilized by the android app has a JSON array of articles where each individual article has the following fields:
"link" : String
"template" : String
The critical fields that need to have data present on the server are bolded and underlined. All the fields that android uses are bulleted. If the server could be updated to have some example articles it would make tying the app to the server much easier.
The text was updated successfully, but these errors were encountered: