Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.68 KB | None | 0 0
  1. # 1: Get the current user's name and avatar for the header
  2. axios 200 OK (GET jsonapi/user/user?filter%5Bdrupal_internal__uid%5D=1&include=roles%2Cuser_picture&entity_override=1&fields%5Buser--user%5D=mail%2Cfield_first_name%2Cfield_last_name%2Cname%2Cuser_picture%2Cdrupal_internal__uid) +558ms
  3.  
  4. # 2: Get a list of portals for the product switcher
  5. axios 200 OK (GET jsonapi/node/portal?fatv_misc_product_access=1&include=field_logo&sort=title&filter%5Bstatus%5D=1&filter%5Blangcode%5D=en&fields%5Bfile--file%5D=image_style_thumbnail&fields%5Bnode--portal%5D=field_logo%2Cexternal_title&page%5Blimit%5D=30&page%5Boffset%5D=0&include_count=1) +729ms
  6.  
  7. # 3: Get a list of chatbots for the product switcher
  8. axios 200 OK (GET jsonapi/chatbot/chatbot?chatbot_variables%5B%5D=school&fatv_misc_product_access=1&filter%5Bpublished%5D=1&filter%5Blangcode%5D=en&include=field_avatar&sort=title&fields%5Bfile--file%5D=image_style_thumbnail&fields%5Bchatbot--chatbot%5D=variables%2Cexternal_title%2Cfield_avatar&page%5Blimit%5D=30&page%5Boffset%5D=0&include_count=1) +6s
  9.  
  10. # 4: Gets which languages the Aims chatbot supports
  11. axios 200 OK (GET jsonapi/343578a7-91d1-4881-8a70-a53fd9300e89?entity_types%5B%5D=node&entity_types%5B%5D=chatbot&include=existing_translation&entity_override=1&fields%5Bnode--portal%5D=type&fields%5Bchatbot--chatbot%5D=type) +377ms
  12.  
  13. # 5: We've selected to display the Aims chatbot admin, pull the chatbot details to theme admin
  14. axios 200 OK (GET jsonapi/chatbot/chatbot/343578a7-91d1-4881-8a70-a53fd9300e89?include=existing_translation%2Cfield_avatar%2Cfield_account&entity_override=1&fields%5Bchatbot--chatbot%5D=variables%2Cexternal_title%2Cfield_account%2Cfield_avatar%2Cfield_callout_body%2Cfield_callout_heading%2Cfield_feedback_enabled%2Cfield_hello%2Cexisting_translation%2Cfield_launch_button_text%2Cdrupal_internal__nid%2Cfield_embed_alias%2Cfield_primary_color%2Cfield_secondary_color%2Cfield_link_color) +2s
  15.  
  16. # 6: Configure the chatbot for "Test my bot" feature
  17. axios 200 OK (POST http://localhost:3001/api/config) +1s
  18.  
  19. # 7: Get the current user's name and roles??
  20. axios 200 OK (GET jsonapi/user/user/32d28314-d070-41f0-8ccd-d8805dc32e34?include=roles%2Cuser_picture&entity_override=1&fields%5Buser--user%5D=name%2Croles) +222ms
  21.  
  22. # 8: Get the number of question templates the user still needs to complete
  23. axios 200 OK (GET jsonapi/chatbot_question/chatbot_question?filter%5Bfield_template_only%5D=1&filter%5Bmoderation_state%5D=published&chatbot_question_template=1&fields%5Bchatbot_question--chatbot_question%5D=created&page%5Blimit%5D=1&include_count=1) +336ms
  24.  
  25. # 9: Get the number of conversations held in past 30 days
  26. axios 200 OK (POST http://localhost:3011/api/stats/home) +4ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement