osuny_api 0.2.6 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (433) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -7
  3. data/Gemfile.lock +55 -31
  4. data/README.md +1080 -17
  5. data/Rakefile +1 -1
  6. data/config.json +10 -0
  7. data/docs/AgendaCategoriesBody.md +7 -0
  8. data/docs/AgendaEventsBody.md +7 -0
  9. data/docs/CategoriesIdBody.md +7 -0
  10. data/docs/CategoriesIdBody1.md +7 -0
  11. data/docs/CategoriesIdBody2.md +7 -0
  12. data/docs/CategoriesUpsertBody.md +7 -0
  13. data/docs/CategoriesUpsertBody1.md +7 -0
  14. data/docs/CategoriesUpsertBody2.md +7 -0
  15. data/docs/CommunicationBlockAgenda.md +14 -0
  16. data/docs/CommunicationBlockAgendaData.md +20 -0
  17. data/docs/CommunicationBlockAgendaDataElements.md +7 -0
  18. data/docs/CommunicationBlockCallToAction.md +14 -0
  19. data/docs/CommunicationBlockCallToActionData.md +12 -0
  20. data/docs/CommunicationBlockCallToActionDataElements.md +9 -0
  21. data/docs/CommunicationBlockCallToActionDataImage.md +9 -0
  22. data/docs/CommunicationBlockCategories.md +14 -0
  23. data/docs/CommunicationBlockCategoriesData.md +13 -0
  24. data/docs/CommunicationBlockChapter.md +14 -0
  25. data/docs/CommunicationBlockChapterData.md +12 -0
  26. data/docs/CommunicationBlockContact.md +14 -0
  27. data/docs/CommunicationBlockContactData.md +27 -0
  28. data/docs/CommunicationBlockContactDataElements.md +9 -0
  29. data/docs/CommunicationBlockContactDataTimeSlotMorning.md +8 -0
  30. data/docs/CommunicationBlockDatatable.md +14 -0
  31. data/docs/CommunicationBlockDatatableData.md +11 -0
  32. data/docs/CommunicationBlockDatatableDataElements.md +7 -0
  33. data/docs/CommunicationBlockDefinitions.md +14 -0
  34. data/docs/CommunicationBlockDefinitionsData.md +8 -0
  35. data/docs/CommunicationBlockDefinitionsDataElements.md +8 -0
  36. data/docs/CommunicationBlockEmbed.md +14 -0
  37. data/docs/CommunicationBlockEmbedData.md +9 -0
  38. data/docs/CommunicationBlockFeatures.md +14 -0
  39. data/docs/CommunicationBlockFeaturesData.md +8 -0
  40. data/docs/CommunicationBlockFeaturesDataElements.md +11 -0
  41. data/docs/CommunicationBlockFiles.md +14 -0
  42. data/docs/CommunicationBlockFilesData.md +8 -0
  43. data/docs/CommunicationBlockFilesDataElements.md +9 -0
  44. data/docs/CommunicationBlockGallery.md +14 -0
  45. data/docs/CommunicationBlockGalleryData.md +9 -0
  46. data/docs/CommunicationBlockGalleryDataElements.md +10 -0
  47. data/docs/CommunicationBlockImage.md +14 -0
  48. data/docs/CommunicationBlockImageData.md +10 -0
  49. data/docs/CommunicationBlockKeyFigures.md +14 -0
  50. data/docs/CommunicationBlockKeyFiguresData.md +8 -0
  51. data/docs/CommunicationBlockKeyFiguresDataElements.md +10 -0
  52. data/docs/CommunicationBlockLicense.md +14 -0
  53. data/docs/CommunicationBlockLicenseData.md +12 -0
  54. data/docs/CommunicationBlockLinks.md +14 -0
  55. data/docs/CommunicationBlockLinksData.md +8 -0
  56. data/docs/CommunicationBlockLinksDataElements.md +11 -0
  57. data/docs/CommunicationBlockLocations.md +14 -0
  58. data/docs/CommunicationBlockLocationsData.md +10 -0
  59. data/docs/CommunicationBlockLocationsDataElements.md +7 -0
  60. data/docs/CommunicationBlockOrganizations.md +14 -0
  61. data/docs/CommunicationBlockOrganizationsData.md +15 -0
  62. data/docs/CommunicationBlockOrganizationsDataElements.md +10 -0
  63. data/docs/CommunicationBlockPages.md +14 -0
  64. data/docs/CommunicationBlockPagesData.md +15 -0
  65. data/docs/CommunicationBlockPapers.md +14 -0
  66. data/docs/CommunicationBlockPapersData.md +9 -0
  67. data/docs/CommunicationBlockPersons.md +14 -0
  68. data/docs/CommunicationBlockPersonsData.md +16 -0
  69. data/docs/CommunicationBlockPersonsDataElements.md +8 -0
  70. data/docs/CommunicationBlockPosts.md +14 -0
  71. data/docs/CommunicationBlockPostsData.md +18 -0
  72. data/docs/CommunicationBlockPrograms.md +14 -0
  73. data/docs/CommunicationBlockProgramsData.md +11 -0
  74. data/docs/CommunicationBlockProjects.md +14 -0
  75. data/docs/CommunicationBlockProjectsData.md +16 -0
  76. data/docs/CommunicationBlockSound.md +14 -0
  77. data/docs/CommunicationBlockSoundData.md +9 -0
  78. data/docs/CommunicationBlockTestimonials.md +14 -0
  79. data/docs/CommunicationBlockTestimonialsData.md +7 -0
  80. data/docs/CommunicationBlockTestimonialsDataElements.md +10 -0
  81. data/docs/CommunicationBlockTimeline.md +14 -0
  82. data/docs/CommunicationBlockTimelineData.md +8 -0
  83. data/docs/CommunicationBlockTimelineDataElements.md +8 -0
  84. data/docs/CommunicationBlockTitle.md +14 -0
  85. data/docs/CommunicationBlockTitleData.md +7 -0
  86. data/docs/CommunicationBlockVideo.md +14 -0
  87. data/docs/CommunicationBlockVideoData.md +11 -0
  88. data/docs/CommunicationBlockVolumes.md +14 -0
  89. data/docs/CommunicationWebsite.md +15 -0
  90. data/docs/CommunicationWebsiteAgendaCategory.md +14 -0
  91. data/docs/CommunicationWebsiteAgendaCategoryApi.md +329 -0
  92. data/docs/CommunicationWebsiteAgendaCategoryLocalization.md +17 -0
  93. data/docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md +10 -0
  94. data/docs/CommunicationWebsiteAgendaEvent.md +18 -0
  95. data/docs/CommunicationWebsiteAgendaEventApi.md +329 -0
  96. data/docs/CommunicationWebsiteAgendaEventLocalization.md +25 -0
  97. data/docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md +11 -0
  98. data/docs/CommunicationWebsiteAgendaEventTimeSlot.md +13 -0
  99. data/docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md +13 -0
  100. data/docs/CommunicationWebsiteApi.md +106 -0
  101. data/docs/CommunicationWebsiteDeuxfleurs.md +8 -0
  102. data/docs/CommunicationWebsiteFeatures.md +9 -0
  103. data/docs/CommunicationWebsiteGit.md +10 -0
  104. data/docs/CommunicationWebsiteLocalization.md +23 -0
  105. data/docs/CommunicationWebsitePage.md +17 -0
  106. data/docs/CommunicationWebsitePageApi.md +329 -0
  107. data/docs/CommunicationWebsitePageCategory.md +14 -0
  108. data/docs/CommunicationWebsitePageCategoryApi.md +329 -0
  109. data/docs/CommunicationWebsitePageCategoryLocalization.md +17 -0
  110. data/docs/CommunicationWebsitePageLocalization.md +24 -0
  111. data/docs/CommunicationWebsitePost.md +12 -0
  112. data/docs/CommunicationWebsitePostApi.md +329 -0
  113. data/docs/CommunicationWebsitePostLocalization.md +21 -0
  114. data/docs/CommunicationWebsiteShowcase.md +9 -0
  115. data/docs/CommunicationWebsiteShowcaseTags.md +9 -0
  116. data/docs/EventsIdBody.md +7 -0
  117. data/docs/EventsUpsertBody.md +7 -0
  118. data/docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md +6 -0
  119. data/docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md +6 -0
  120. data/docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md +6 -0
  121. data/docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md +6 -0
  122. data/docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md +6 -0
  123. data/docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md +6 -0
  124. data/docs/OneOfuniversityOrganizationLocalizationBlocksItems.md +6 -0
  125. data/docs/OrganizationsCategoriesBody.md +7 -0
  126. data/docs/OrganizationsIdBody.md +7 -0
  127. data/docs/OrganizationsUpsertBody.md +7 -0
  128. data/docs/PagesCategoriesBody.md +7 -0
  129. data/docs/PagesIdBody.md +7 -0
  130. data/docs/PagesUpsertBody.md +7 -0
  131. data/docs/PostsIdBody.md +7 -0
  132. data/docs/PostsUpsertBody.md +7 -0
  133. data/docs/UniversityOrganization.md +24 -0
  134. data/docs/UniversityOrganizationApi.md +314 -0
  135. data/docs/UniversityOrganizationCategory.md +14 -0
  136. data/docs/UniversityOrganizationCategoryApi.md +314 -0
  137. data/docs/UniversityOrganizationCategoryLocalization.md +16 -0
  138. data/docs/UniversityOrganizationLocalization.md +24 -0
  139. data/docs/UniversityOrganizationsBody.md +7 -0
  140. data/docs/WebsiteIdPagesBody.md +7 -0
  141. data/docs/WebsiteIdPostsBody.md +7 -0
  142. data/generate.sh +2 -0
  143. data/git_push.sh +55 -0
  144. data/lib/osuny_api/api/communication_website_agenda_category_api.rb +374 -0
  145. data/lib/osuny_api/api/communication_website_agenda_event_api.rb +374 -0
  146. data/lib/osuny_api/api/communication_website_api.rb +122 -0
  147. data/lib/osuny_api/api/communication_website_page_api.rb +374 -0
  148. data/lib/osuny_api/api/communication_website_page_category_api.rb +374 -0
  149. data/lib/osuny_api/api/communication_website_post_api.rb +374 -0
  150. data/lib/osuny_api/api/university_organization_api.rb +338 -0
  151. data/lib/osuny_api/api/university_organization_category_api.rb +338 -0
  152. data/lib/osuny_api/api_client.rb +388 -0
  153. data/lib/osuny_api/api_error.rb +57 -0
  154. data/lib/osuny_api/configuration.rb +205 -0
  155. data/lib/osuny_api/models/agenda_categories_body.rb +211 -0
  156. data/lib/osuny_api/models/agenda_events_body.rb +211 -0
  157. data/lib/osuny_api/models/categories_id_body.rb +211 -0
  158. data/lib/osuny_api/models/categories_id_body_1.rb +211 -0
  159. data/lib/osuny_api/models/categories_id_body_2.rb +211 -0
  160. data/lib/osuny_api/models/categories_upsert_body.rb +213 -0
  161. data/lib/osuny_api/models/categories_upsert_body_1.rb +213 -0
  162. data/lib/osuny_api/models/categories_upsert_body_2.rb +213 -0
  163. data/lib/osuny_api/models/communication_block_agenda.rb +312 -0
  164. data/lib/osuny_api/models/communication_block_agenda_data.rb +384 -0
  165. data/lib/osuny_api/models/communication_block_agenda_data_elements.rb +206 -0
  166. data/lib/osuny_api/models/communication_block_call_to_action.rb +312 -0
  167. data/lib/osuny_api/models/communication_block_call_to_action_data.rb +288 -0
  168. data/lib/osuny_api/models/communication_block_call_to_action_data_elements.rb +224 -0
  169. data/lib/osuny_api/models/communication_block_call_to_action_data_image.rb +227 -0
  170. data/lib/osuny_api/models/communication_block_categories.rb +312 -0
  171. data/lib/osuny_api/models/communication_block_categories_data.rb +307 -0
  172. data/lib/osuny_api/models/communication_block_chapter.rb +312 -0
  173. data/lib/osuny_api/models/communication_block_chapter_data.rb +286 -0
  174. data/lib/osuny_api/models/communication_block_contact.rb +312 -0
  175. data/lib/osuny_api/models/communication_block_contact_data.rb +393 -0
  176. data/lib/osuny_api/models/communication_block_contact_data_elements.rb +224 -0
  177. data/lib/osuny_api/models/communication_block_contact_data_time_slot_morning.rb +215 -0
  178. data/lib/osuny_api/models/communication_block_datatable.rb +312 -0
  179. data/lib/osuny_api/models/communication_block_datatable_data.rb +247 -0
  180. data/lib/osuny_api/models/communication_block_datatable_data_elements.rb +208 -0
  181. data/lib/osuny_api/models/communication_block_definitions.rb +312 -0
  182. data/lib/osuny_api/models/communication_block_definitions_data.rb +218 -0
  183. data/lib/osuny_api/models/communication_block_definitions_data_elements.rb +215 -0
  184. data/lib/osuny_api/models/communication_block_embed.rb +312 -0
  185. data/lib/osuny_api/models/communication_block_embed_data.rb +225 -0
  186. data/lib/osuny_api/models/communication_block_features.rb +312 -0
  187. data/lib/osuny_api/models/communication_block_features_data.rb +218 -0
  188. data/lib/osuny_api/models/communication_block_features_data_elements.rb +242 -0
  189. data/lib/osuny_api/models/communication_block_files.rb +312 -0
  190. data/lib/osuny_api/models/communication_block_files_data.rb +218 -0
  191. data/lib/osuny_api/models/communication_block_files_data_elements.rb +224 -0
  192. data/lib/osuny_api/models/communication_block_gallery.rb +312 -0
  193. data/lib/osuny_api/models/communication_block_gallery_data.rb +261 -0
  194. data/lib/osuny_api/models/communication_block_gallery_data_elements.rb +233 -0
  195. data/lib/osuny_api/models/communication_block_image.rb +312 -0
  196. data/lib/osuny_api/models/communication_block_image_data.rb +234 -0
  197. data/lib/osuny_api/models/communication_block_key_figures.rb +312 -0
  198. data/lib/osuny_api/models/communication_block_key_figures_data.rb +218 -0
  199. data/lib/osuny_api/models/communication_block_key_figures_data_elements.rb +233 -0
  200. data/lib/osuny_api/models/communication_block_license.rb +312 -0
  201. data/lib/osuny_api/models/communication_block_license_data.rb +334 -0
  202. data/lib/osuny_api/models/communication_block_links.rb +312 -0
  203. data/lib/osuny_api/models/communication_block_links_data.rb +218 -0
  204. data/lib/osuny_api/models/communication_block_links_data_elements.rb +242 -0
  205. data/lib/osuny_api/models/communication_block_locations.rb +312 -0
  206. data/lib/osuny_api/models/communication_block_locations_data.rb +270 -0
  207. data/lib/osuny_api/models/communication_block_locations_data_elements.rb +206 -0
  208. data/lib/osuny_api/models/communication_block_organizations.rb +312 -0
  209. data/lib/osuny_api/models/communication_block_organizations_data.rb +327 -0
  210. data/lib/osuny_api/models/communication_block_organizations_data_elements.rb +233 -0
  211. data/lib/osuny_api/models/communication_block_pages.rb +312 -0
  212. data/lib/osuny_api/models/communication_block_pages_data.rb +327 -0
  213. data/lib/osuny_api/models/communication_block_papers.rb +312 -0
  214. data/lib/osuny_api/models/communication_block_papers_data.rb +261 -0
  215. data/lib/osuny_api/models/communication_block_persons.rb +312 -0
  216. data/lib/osuny_api/models/communication_block_persons_data.rb +336 -0
  217. data/lib/osuny_api/models/communication_block_persons_data_elements.rb +215 -0
  218. data/lib/osuny_api/models/communication_block_posts.rb +312 -0
  219. data/lib/osuny_api/models/communication_block_posts_data.rb +354 -0
  220. data/lib/osuny_api/models/communication_block_programs.rb +312 -0
  221. data/lib/osuny_api/models/communication_block_programs_data.rb +279 -0
  222. data/lib/osuny_api/models/communication_block_projects.rb +312 -0
  223. data/lib/osuny_api/models/communication_block_projects_data.rb +336 -0
  224. data/lib/osuny_api/models/communication_block_sound.rb +312 -0
  225. data/lib/osuny_api/models/communication_block_sound_data.rb +225 -0
  226. data/lib/osuny_api/models/communication_block_testimonials.rb +312 -0
  227. data/lib/osuny_api/models/communication_block_testimonials_data.rb +209 -0
  228. data/lib/osuny_api/models/communication_block_testimonials_data_elements.rb +233 -0
  229. data/lib/osuny_api/models/communication_block_timeline.rb +312 -0
  230. data/lib/osuny_api/models/communication_block_timeline_data.rb +252 -0
  231. data/lib/osuny_api/models/communication_block_timeline_data_elements.rb +215 -0
  232. data/lib/osuny_api/models/communication_block_title.rb +312 -0
  233. data/lib/osuny_api/models/communication_block_title_data.rb +241 -0
  234. data/lib/osuny_api/models/communication_block_video.rb +312 -0
  235. data/lib/osuny_api/models/communication_block_video_data.rb +277 -0
  236. data/lib/osuny_api/models/communication_block_volumes.rb +312 -0
  237. data/lib/osuny_api/models/communication_website.rb +282 -0
  238. data/lib/osuny_api/models/communication_website_agenda_category.rb +274 -0
  239. data/lib/osuny_api/models/communication_website_agenda_category_localization.rb +302 -0
  240. data/lib/osuny_api/models/communication_website_agenda_category_localization_featured_image.rb +237 -0
  241. data/lib/osuny_api/models/communication_website_agenda_event.rb +315 -0
  242. data/lib/osuny_api/models/communication_website_agenda_event_localization.rb +380 -0
  243. data/lib/osuny_api/models/communication_website_agenda_event_localization_add_to_calendar_urls.rb +242 -0
  244. data/lib/osuny_api/models/communication_website_agenda_event_time_slot.rb +265 -0
  245. data/lib/osuny_api/models/communication_website_agenda_event_time_slot_localization.rb +263 -0
  246. data/lib/osuny_api/models/communication_website_deuxfleurs.rb +216 -0
  247. data/lib/osuny_api/models/communication_website_features.rb +224 -0
  248. data/lib/osuny_api/models/communication_website_git.rb +237 -0
  249. data/lib/osuny_api/models/communication_website_localization.rb +362 -0
  250. data/lib/osuny_api/models/communication_website_page.rb +306 -0
  251. data/lib/osuny_api/models/communication_website_page_category.rb +274 -0
  252. data/lib/osuny_api/models/communication_website_page_category_localization.rb +302 -0
  253. data/lib/osuny_api/models/communication_website_page_localization.rb +371 -0
  254. data/lib/osuny_api/models/communication_website_post.rb +255 -0
  255. data/lib/osuny_api/models/communication_website_post_localization.rb +341 -0
  256. data/lib/osuny_api/models/communication_website_showcase.rb +226 -0
  257. data/lib/osuny_api/models/communication_website_showcase_tags.rb +224 -0
  258. data/lib/osuny_api/models/events_id_body.rb +211 -0
  259. data/lib/osuny_api/models/events_upsert_body.rb +213 -0
  260. data/lib/osuny_api/models/one_ofcommunication_website_agenda_category_localization_blocks_items.rb +197 -0
  261. data/lib/osuny_api/models/one_ofcommunication_website_agenda_event_localization_blocks_items.rb +197 -0
  262. data/lib/osuny_api/models/one_ofcommunication_website_page_category_localization_blocks_items.rb +197 -0
  263. data/lib/osuny_api/models/one_ofcommunication_website_page_localization_blocks_items.rb +197 -0
  264. data/lib/osuny_api/models/one_ofcommunication_website_post_localization_blocks_items.rb +197 -0
  265. data/lib/osuny_api/models/one_ofuniversity_organization_category_localization_blocks_items.rb +197 -0
  266. data/lib/osuny_api/models/one_ofuniversity_organization_localization_blocks_items.rb +197 -0
  267. data/lib/osuny_api/models/organizations_categories_body.rb +211 -0
  268. data/lib/osuny_api/models/organizations_id_body.rb +211 -0
  269. data/lib/osuny_api/models/organizations_upsert_body.rb +213 -0
  270. data/lib/osuny_api/models/pages_categories_body.rb +211 -0
  271. data/lib/osuny_api/models/pages_id_body.rb +211 -0
  272. data/lib/osuny_api/models/pages_upsert_body.rb +213 -0
  273. data/lib/osuny_api/models/posts_id_body.rb +211 -0
  274. data/lib/osuny_api/models/posts_upsert_body.rb +213 -0
  275. data/lib/osuny_api/models/university_organization.rb +409 -0
  276. data/lib/osuny_api/models/university_organization_category.rb +274 -0
  277. data/lib/osuny_api/models/university_organization_category_localization.rb +292 -0
  278. data/lib/osuny_api/models/university_organization_localization.rb +373 -0
  279. data/lib/osuny_api/models/university_organizations_body.rb +211 -0
  280. data/lib/osuny_api/models/website_id_pages_body.rb +211 -0
  281. data/lib/osuny_api/models/website_id_posts_body.rb +211 -0
  282. data/lib/osuny_api/version.rb +11 -2
  283. data/lib/osuny_api.rb +165 -11
  284. data/osuny_api.gemspec +37 -30
  285. data/pkg/osuny_api-0.2.6.gem +0 -0
  286. data/pkg/osuny_api-1.0.0.gem +0 -0
  287. data/spec/api/communication_website_agenda_category_api_spec.rb +106 -0
  288. data/spec/api/communication_website_agenda_event_api_spec.rb +106 -0
  289. data/spec/api/communication_website_api_spec.rb +55 -0
  290. data/spec/api/communication_website_page_api_spec.rb +106 -0
  291. data/spec/api/communication_website_page_category_api_spec.rb +106 -0
  292. data/spec/api/communication_website_post_api_spec.rb +106 -0
  293. data/spec/api/university_organization_api_spec.rb +100 -0
  294. data/spec/api/university_organization_category_api_spec.rb +100 -0
  295. data/spec/api_client_spec.rb +225 -0
  296. data/spec/base_object_spec.rb +109 -0
  297. data/spec/configuration_spec.rb +41 -0
  298. data/spec/models/agenda_categories_body_spec.rb +40 -0
  299. data/spec/models/agenda_events_body_spec.rb +40 -0
  300. data/spec/models/categories_id_body_1_spec.rb +40 -0
  301. data/spec/models/categories_id_body_2_spec.rb +40 -0
  302. data/spec/models/categories_id_body_spec.rb +40 -0
  303. data/spec/models/categories_upsert_body_1_spec.rb +40 -0
  304. data/spec/models/categories_upsert_body_2_spec.rb +40 -0
  305. data/spec/models/categories_upsert_body_spec.rb +40 -0
  306. data/spec/models/communication_block_agenda_data_elements_spec.rb +40 -0
  307. data/spec/models/communication_block_agenda_data_spec.rb +130 -0
  308. data/spec/models/communication_block_agenda_spec.rb +86 -0
  309. data/spec/models/communication_block_call_to_action_data_elements_spec.rb +52 -0
  310. data/spec/models/communication_block_call_to_action_data_image_spec.rb +52 -0
  311. data/spec/models/communication_block_call_to_action_data_spec.rb +74 -0
  312. data/spec/models/communication_block_call_to_action_spec.rb +86 -0
  313. data/spec/models/communication_block_categories_data_spec.rb +84 -0
  314. data/spec/models/communication_block_categories_spec.rb +86 -0
  315. data/spec/models/communication_block_chapter_data_spec.rb +74 -0
  316. data/spec/models/communication_block_chapter_spec.rb +86 -0
  317. data/spec/models/communication_block_contact_data_elements_spec.rb +52 -0
  318. data/spec/models/communication_block_contact_data_spec.rb +160 -0
  319. data/spec/models/communication_block_contact_data_time_slot_morning_spec.rb +46 -0
  320. data/spec/models/communication_block_contact_spec.rb +86 -0
  321. data/spec/models/communication_block_datatable_data_elements_spec.rb +40 -0
  322. data/spec/models/communication_block_datatable_data_spec.rb +64 -0
  323. data/spec/models/communication_block_datatable_spec.rb +86 -0
  324. data/spec/models/communication_block_definitions_data_elements_spec.rb +46 -0
  325. data/spec/models/communication_block_definitions_data_spec.rb +46 -0
  326. data/spec/models/communication_block_definitions_spec.rb +86 -0
  327. data/spec/models/communication_block_embed_data_spec.rb +52 -0
  328. data/spec/models/communication_block_embed_spec.rb +86 -0
  329. data/spec/models/communication_block_features_data_elements_spec.rb +64 -0
  330. data/spec/models/communication_block_features_data_spec.rb +46 -0
  331. data/spec/models/communication_block_features_spec.rb +86 -0
  332. data/spec/models/communication_block_files_data_elements_spec.rb +52 -0
  333. data/spec/models/communication_block_files_data_spec.rb +46 -0
  334. data/spec/models/communication_block_files_spec.rb +86 -0
  335. data/spec/models/communication_block_gallery_data_elements_spec.rb +58 -0
  336. data/spec/models/communication_block_gallery_data_spec.rb +56 -0
  337. data/spec/models/communication_block_gallery_spec.rb +86 -0
  338. data/spec/models/communication_block_image_data_spec.rb +58 -0
  339. data/spec/models/communication_block_image_spec.rb +86 -0
  340. data/spec/models/communication_block_key_figures_data_elements_spec.rb +58 -0
  341. data/spec/models/communication_block_key_figures_data_spec.rb +46 -0
  342. data/spec/models/communication_block_key_figures_spec.rb +86 -0
  343. data/spec/models/communication_block_license_data_spec.rb +90 -0
  344. data/spec/models/communication_block_license_spec.rb +86 -0
  345. data/spec/models/communication_block_links_data_elements_spec.rb +64 -0
  346. data/spec/models/communication_block_links_data_spec.rb +46 -0
  347. data/spec/models/communication_block_links_spec.rb +86 -0
  348. data/spec/models/communication_block_locations_data_elements_spec.rb +40 -0
  349. data/spec/models/communication_block_locations_data_spec.rb +62 -0
  350. data/spec/models/communication_block_locations_spec.rb +86 -0
  351. data/spec/models/communication_block_organizations_data_elements_spec.rb +58 -0
  352. data/spec/models/communication_block_organizations_data_spec.rb +96 -0
  353. data/spec/models/communication_block_organizations_spec.rb +86 -0
  354. data/spec/models/communication_block_pages_data_spec.rb +96 -0
  355. data/spec/models/communication_block_pages_spec.rb +86 -0
  356. data/spec/models/communication_block_papers_data_spec.rb +56 -0
  357. data/spec/models/communication_block_papers_spec.rb +86 -0
  358. data/spec/models/communication_block_persons_data_elements_spec.rb +46 -0
  359. data/spec/models/communication_block_persons_data_spec.rb +102 -0
  360. data/spec/models/communication_block_persons_spec.rb +86 -0
  361. data/spec/models/communication_block_posts_data_spec.rb +114 -0
  362. data/spec/models/communication_block_posts_spec.rb +86 -0
  363. data/spec/models/communication_block_programs_data_spec.rb +68 -0
  364. data/spec/models/communication_block_programs_spec.rb +86 -0
  365. data/spec/models/communication_block_projects_data_spec.rb +102 -0
  366. data/spec/models/communication_block_projects_spec.rb +86 -0
  367. data/spec/models/communication_block_sound_data_spec.rb +52 -0
  368. data/spec/models/communication_block_sound_spec.rb +86 -0
  369. data/spec/models/communication_block_testimonials_data_elements_spec.rb +58 -0
  370. data/spec/models/communication_block_testimonials_data_spec.rb +40 -0
  371. data/spec/models/communication_block_testimonials_spec.rb +86 -0
  372. data/spec/models/communication_block_timeline_data_elements_spec.rb +46 -0
  373. data/spec/models/communication_block_timeline_data_spec.rb +50 -0
  374. data/spec/models/communication_block_timeline_spec.rb +86 -0
  375. data/spec/models/communication_block_title_data_spec.rb +44 -0
  376. data/spec/models/communication_block_title_spec.rb +86 -0
  377. data/spec/models/communication_block_video_data_spec.rb +68 -0
  378. data/spec/models/communication_block_video_spec.rb +86 -0
  379. data/spec/models/communication_block_volumes_spec.rb +86 -0
  380. data/spec/models/communication_website_agenda_category_localization_featured_image_spec.rb +58 -0
  381. data/spec/models/communication_website_agenda_category_localization_spec.rb +100 -0
  382. data/spec/models/communication_website_agenda_category_spec.rb +82 -0
  383. data/spec/models/communication_website_agenda_event_localization_add_to_calendar_urls_spec.rb +64 -0
  384. data/spec/models/communication_website_agenda_event_localization_spec.rb +148 -0
  385. data/spec/models/communication_website_agenda_event_spec.rb +106 -0
  386. data/spec/models/communication_website_agenda_event_time_slot_localization_spec.rb +76 -0
  387. data/spec/models/communication_website_agenda_event_time_slot_spec.rb +76 -0
  388. data/spec/models/communication_website_deuxfleurs_spec.rb +46 -0
  389. data/spec/models/communication_website_features_spec.rb +52 -0
  390. data/spec/models/communication_website_git_spec.rb +58 -0
  391. data/spec/models/communication_website_localization_spec.rb +136 -0
  392. data/spec/models/communication_website_page_category_localization_spec.rb +100 -0
  393. data/spec/models/communication_website_page_category_spec.rb +82 -0
  394. data/spec/models/communication_website_page_localization_spec.rb +142 -0
  395. data/spec/models/communication_website_page_spec.rb +100 -0
  396. data/spec/models/communication_website_post_localization_spec.rb +124 -0
  397. data/spec/models/communication_website_post_spec.rb +70 -0
  398. data/spec/models/communication_website_showcase_spec.rb +52 -0
  399. data/spec/models/communication_website_showcase_tags_spec.rb +52 -0
  400. data/spec/models/communication_website_spec.rb +88 -0
  401. data/spec/models/events_id_body_spec.rb +40 -0
  402. data/spec/models/events_upsert_body_spec.rb +40 -0
  403. data/spec/models/one_ofcommunication_website_agenda_category_localization_blocks_items_spec.rb +34 -0
  404. data/spec/models/one_ofcommunication_website_agenda_event_localization_blocks_items_spec.rb +34 -0
  405. data/spec/models/one_ofcommunication_website_page_category_localization_blocks_items_spec.rb +34 -0
  406. data/spec/models/one_ofcommunication_website_page_localization_blocks_items_spec.rb +34 -0
  407. data/spec/models/one_ofcommunication_website_post_localization_blocks_items_spec.rb +34 -0
  408. data/spec/models/one_ofuniversity_organization_category_localization_blocks_items_spec.rb +34 -0
  409. data/spec/models/one_ofuniversity_organization_localization_blocks_items_spec.rb +34 -0
  410. data/spec/models/organizations_categories_body_spec.rb +40 -0
  411. data/spec/models/organizations_id_body_spec.rb +40 -0
  412. data/spec/models/organizations_upsert_body_spec.rb +40 -0
  413. data/spec/models/pages_categories_body_spec.rb +40 -0
  414. data/spec/models/pages_id_body_spec.rb +40 -0
  415. data/spec/models/pages_upsert_body_spec.rb +40 -0
  416. data/spec/models/posts_id_body_spec.rb +40 -0
  417. data/spec/models/posts_upsert_body_spec.rb +40 -0
  418. data/spec/models/university_organization_category_localization_spec.rb +94 -0
  419. data/spec/models/university_organization_category_spec.rb +82 -0
  420. data/spec/models/university_organization_localization_spec.rb +142 -0
  421. data/spec/models/university_organization_spec.rb +146 -0
  422. data/spec/models/university_organizations_body_spec.rb +40 -0
  423. data/spec/models/website_id_pages_body_spec.rb +40 -0
  424. data/spec/models/website_id_posts_body_spec.rb +40 -0
  425. data/spec/spec_helper.rb +110 -0
  426. metadata +614 -24
  427. data/lib/osuny_api/client.rb +0 -41
  428. data/lib/osuny_api/communication/website/page.rb +0 -12
  429. data/lib/osuny_api/communication/website/post.rb +0 -12
  430. data/lib/osuny_api/communication/website.rb +0 -18
  431. data/lib/osuny_api/communication.rb +0 -13
  432. data/lib/osuny_api/error.rb +0 -4
  433. data/lib/osuny_api/resource.rb +0 -20
data/README.md CHANGED
@@ -1,30 +1,1093 @@
1
- # Osuny API
1
+ # osuny_api
2
+
3
+ OsunyApi - the Ruby gem for the Osuny
4
+
5
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
6
+
7
+ This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
+
9
+ - API version: v1
10
+ - Package version: 1.0.0
11
+ - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
2
12
 
3
13
  ## Installation
4
14
 
5
- Install the gem and add to the application's Gemfile by executing:
15
+ ### Build a gem
16
+
17
+ To build the Ruby code into a gem:
18
+
19
+ ```shell
20
+ gem build osuny_api.gemspec
21
+ ```
22
+
23
+ Then either install the gem locally:
24
+
25
+ ```shell
26
+ gem install ./osuny_api-1.0.0.gem
27
+ ```
28
+ (for development, run `gem install --dev ./osuny_api-1.0.0.gem` to install the development dependencies)
6
29
 
7
- $ bundle add osuny_api
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
8
31
 
9
- If bundler is not being used to manage dependencies, install the gem by executing:
32
+ Finally add this to the Gemfile:
10
33
 
11
- $ gem install osuny_api
34
+ gem 'osuny_api', '~> 1.0.0'
12
35
 
13
- ## Usage
36
+ ### Install from Git
14
37
 
38
+ gem 'osuny_api', :git => 'https://github.com/osunyorg/api.git'
39
+
40
+ ### Include the Ruby code directly
41
+
42
+ Include the Ruby code directly using `-I` as follows:
43
+
44
+ ```shell
45
+ ruby -Ilib script.rb
15
46
  ```
16
- osuny = OsunyApi.new host: 'https://instance.osuny.org',
17
- token: 'real_token'
18
47
 
19
- post = {
20
- migration_identifier: "identifiant-unique"
21
- title: 'Titre importé'
48
+ ## Getting Started
49
+
50
+ Please follow the [installation](#installation) procedure and then run the following code:
51
+ ```ruby
52
+ # Load the gem
53
+ require 'osuny_api'
54
+ # Setup authorization
55
+ OsunyApi.configure do |config|
56
+ # Configure API key authorization: api_key
57
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
58
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
59
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
60
+ end
61
+
62
+ api_instance = OsunyApi::CommunicationWebsiteApi.new
63
+
64
+ begin
65
+ #Lists the websites
66
+ result = api_instance.communication_websites_get
67
+ p result
68
+ rescue OsunyApi::ApiError => e
69
+ puts "Exception when calling CommunicationWebsiteApi->communication_websites_get: #{e}"
70
+ end
71
+ # Setup authorization
72
+ OsunyApi.configure do |config|
73
+ # Configure API key authorization: api_key
74
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
75
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
76
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
77
+ end
78
+
79
+ api_instance = OsunyApi::CommunicationWebsiteApi.new
80
+ id = 'id_example' # String | Website identifier
81
+
82
+
83
+ begin
84
+ #Shows a website
85
+ result = api_instance.communication_websites_id_get(id)
86
+ p result
87
+ rescue OsunyApi::ApiError => e
88
+ puts "Exception when calling CommunicationWebsiteApi->communication_websites_id_get: #{e}"
89
+ end
90
+ # Setup authorization
91
+ OsunyApi.configure do |config|
92
+ # Configure API key authorization: api_key
93
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
94
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
95
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
96
+ end
97
+
98
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
99
+ website_id = 'website_id_example' # String | Website identifier
100
+
101
+
102
+ begin
103
+ #Lists a website's agenda categories
104
+ result = api_instance.communication_websites_website_id_agenda_categories_get(website_id)
105
+ p result
106
+ rescue OsunyApi::ApiError => e
107
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_get: #{e}"
108
+ end
109
+ # Setup authorization
110
+ OsunyApi.configure do |config|
111
+ # Configure API key authorization: api_key
112
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
113
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
114
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
115
+ end
116
+
117
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
118
+ website_id = 'website_id_example' # String | Website identifier
119
+ id = 'id_example' # String | Category identifier
120
+
121
+
122
+ begin
123
+ #Deletes an agenda category
124
+ api_instance.communication_websites_website_id_agenda_categories_id_delete(website_id, id)
125
+ rescue OsunyApi::ApiError => e
126
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_delete: #{e}"
127
+ end
128
+ # Setup authorization
129
+ OsunyApi.configure do |config|
130
+ # Configure API key authorization: api_key
131
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
132
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
133
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
134
+ end
135
+
136
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
137
+ website_id = 'website_id_example' # String | Website identifier
138
+ id = 'id_example' # String | Category identifier
139
+
140
+
141
+ begin
142
+ #Shows an agenda category
143
+ api_instance.communication_websites_website_id_agenda_categories_id_get(website_id, id)
144
+ rescue OsunyApi::ApiError => e
145
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_get: #{e}"
146
+ end
147
+ # Setup authorization
148
+ OsunyApi.configure do |config|
149
+ # Configure API key authorization: api_key
150
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
151
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
152
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
153
+ end
154
+
155
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
156
+ website_id = 'website_id_example' # String | Website identifier
157
+ id = 'id_example' # String | Category identifier
158
+ opts = {
159
+ body: OsunyApi::CategoriesIdBody.new # CategoriesIdBody |
160
+ }
161
+
162
+ begin
163
+ #Updates an agenda category
164
+ api_instance.communication_websites_website_id_agenda_categories_id_patch(website_id, id, opts)
165
+ rescue OsunyApi::ApiError => e
166
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_patch: #{e}"
167
+ end
168
+ # Setup authorization
169
+ OsunyApi.configure do |config|
170
+ # Configure API key authorization: api_key
171
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
172
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
173
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
174
+ end
175
+
176
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
177
+ website_id = 'website_id_example' # String | Website identifier
178
+ opts = {
179
+ body: OsunyApi::AgendaCategoriesBody.new # AgendaCategoriesBody |
180
+ }
181
+
182
+ begin
183
+ #Creates an agenda category
184
+ api_instance.communication_websites_website_id_agenda_categories_post(website_id, opts)
185
+ rescue OsunyApi::ApiError => e
186
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_post: #{e}"
187
+ end
188
+ # Setup authorization
189
+ OsunyApi.configure do |config|
190
+ # Configure API key authorization: api_key
191
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
192
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
193
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
194
+ end
195
+
196
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
197
+ website_id = 'website_id_example' # String | Website identifier
198
+ opts = {
199
+ body: OsunyApi::CategoriesUpsertBody.new # CategoriesUpsertBody |
200
+ }
201
+
202
+ begin
203
+ #Upsert agenda categories
204
+ api_instance.communication_websites_website_id_agenda_categories_upsert_post(website_id, opts)
205
+ rescue OsunyApi::ApiError => e
206
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_upsert_post: #{e}"
207
+ end
208
+ # Setup authorization
209
+ OsunyApi.configure do |config|
210
+ # Configure API key authorization: api_key
211
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
212
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
213
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
214
+ end
215
+
216
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
217
+ website_id = 'website_id_example' # String | Website identifier
218
+
219
+
220
+ begin
221
+ #Lists a website's events
222
+ result = api_instance.communication_websites_website_id_agenda_events_get(website_id)
223
+ p result
224
+ rescue OsunyApi::ApiError => e
225
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_get: #{e}"
226
+ end
227
+ # Setup authorization
228
+ OsunyApi.configure do |config|
229
+ # Configure API key authorization: api_key
230
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
231
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
232
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
233
+ end
234
+
235
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
236
+ website_id = 'website_id_example' # String | Website identifier
237
+ id = 'id_example' # String | Event identifier
238
+
239
+
240
+ begin
241
+ #Deletes an event
242
+ api_instance.communication_websites_website_id_agenda_events_id_delete(website_id, id)
243
+ rescue OsunyApi::ApiError => e
244
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_delete: #{e}"
245
+ end
246
+ # Setup authorization
247
+ OsunyApi.configure do |config|
248
+ # Configure API key authorization: api_key
249
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
250
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
251
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
252
+ end
253
+
254
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
255
+ website_id = 'website_id_example' # String | Website identifier
256
+ id = 'id_example' # String | Event identifier
257
+
258
+
259
+ begin
260
+ #Shows an event
261
+ api_instance.communication_websites_website_id_agenda_events_id_get(website_id, id)
262
+ rescue OsunyApi::ApiError => e
263
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_get: #{e}"
264
+ end
265
+ # Setup authorization
266
+ OsunyApi.configure do |config|
267
+ # Configure API key authorization: api_key
268
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
269
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
270
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
271
+ end
272
+
273
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
274
+ website_id = 'website_id_example' # String | Website identifier
275
+ id = 'id_example' # String | Event identifier
276
+ opts = {
277
+ body: OsunyApi::EventsIdBody.new # EventsIdBody |
278
+ }
279
+
280
+ begin
281
+ #Updates an event
282
+ api_instance.communication_websites_website_id_agenda_events_id_patch(website_id, id, opts)
283
+ rescue OsunyApi::ApiError => e
284
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_patch: #{e}"
285
+ end
286
+ # Setup authorization
287
+ OsunyApi.configure do |config|
288
+ # Configure API key authorization: api_key
289
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
290
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
291
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
292
+ end
293
+
294
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
295
+ website_id = 'website_id_example' # String | Website identifier
296
+ opts = {
297
+ body: OsunyApi::AgendaEventsBody.new # AgendaEventsBody |
298
+ }
299
+
300
+ begin
301
+ #Creates an event
302
+ api_instance.communication_websites_website_id_agenda_events_post(website_id, opts)
303
+ rescue OsunyApi::ApiError => e
304
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_post: #{e}"
305
+ end
306
+ # Setup authorization
307
+ OsunyApi.configure do |config|
308
+ # Configure API key authorization: api_key
309
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
310
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
311
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
312
+ end
313
+
314
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
315
+ website_id = 'website_id_example' # String | Website identifier
316
+ opts = {
317
+ body: OsunyApi::EventsUpsertBody.new # EventsUpsertBody |
318
+ }
319
+
320
+ begin
321
+ #Upsert events
322
+ api_instance.communication_websites_website_id_agenda_events_upsert_post(website_id, opts)
323
+ rescue OsunyApi::ApiError => e
324
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_upsert_post: #{e}"
325
+ end
326
+ # Setup authorization
327
+ OsunyApi.configure do |config|
328
+ # Configure API key authorization: api_key
329
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
330
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
331
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
332
+ end
333
+
334
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
335
+ website_id = 'website_id_example' # String | Website identifier
336
+
337
+
338
+ begin
339
+ #Lists a website's pages
340
+ result = api_instance.communication_websites_website_id_pages_get(website_id)
341
+ p result
342
+ rescue OsunyApi::ApiError => e
343
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_get: #{e}"
344
+ end
345
+ # Setup authorization
346
+ OsunyApi.configure do |config|
347
+ # Configure API key authorization: api_key
348
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
349
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
350
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
351
+ end
352
+
353
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
354
+ website_id = 'website_id_example' # String | Website identifier
355
+ id = 'id_example' # String | Page identifier
356
+
357
+
358
+ begin
359
+ #Deletes a page
360
+ api_instance.communication_websites_website_id_pages_id_delete(website_id, id)
361
+ rescue OsunyApi::ApiError => e
362
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_delete: #{e}"
363
+ end
364
+ # Setup authorization
365
+ OsunyApi.configure do |config|
366
+ # Configure API key authorization: api_key
367
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
368
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
369
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
370
+ end
371
+
372
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
373
+ website_id = 'website_id_example' # String | Website identifier
374
+ id = 'id_example' # String | Page identifier
375
+
376
+
377
+ begin
378
+ #Shows a page
379
+ api_instance.communication_websites_website_id_pages_id_get(website_id, id)
380
+ rescue OsunyApi::ApiError => e
381
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_get: #{e}"
382
+ end
383
+ # Setup authorization
384
+ OsunyApi.configure do |config|
385
+ # Configure API key authorization: api_key
386
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
387
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
388
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
389
+ end
390
+
391
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
392
+ website_id = 'website_id_example' # String | Website identifier
393
+ id = 'id_example' # String | Page identifier
394
+ opts = {
395
+ body: OsunyApi::PagesIdBody.new # PagesIdBody |
22
396
  }
23
- osuny.communication
24
- .website('real_website_id')
25
- .post
26
- .import(post)
397
+
398
+ begin
399
+ #Updates a page
400
+ api_instance.communication_websites_website_id_pages_id_patch(website_id, id, opts)
401
+ rescue OsunyApi::ApiError => e
402
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_patch: #{e}"
403
+ end
404
+ # Setup authorization
405
+ OsunyApi.configure do |config|
406
+ # Configure API key authorization: api_key
407
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
408
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
409
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
410
+ end
411
+
412
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
413
+ website_id = 'website_id_example' # String | Website identifier
414
+ opts = {
415
+ body: OsunyApi::WebsiteIdPagesBody.new # WebsiteIdPagesBody |
416
+ }
417
+
418
+ begin
419
+ #Creates a page
420
+ api_instance.communication_websites_website_id_pages_post(website_id, opts)
421
+ rescue OsunyApi::ApiError => e
422
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_post: #{e}"
423
+ end
424
+ # Setup authorization
425
+ OsunyApi.configure do |config|
426
+ # Configure API key authorization: api_key
427
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
428
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
429
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
430
+ end
431
+
432
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
433
+ website_id = 'website_id_example' # String | Website identifier
434
+ opts = {
435
+ body: OsunyApi::PagesUpsertBody.new # PagesUpsertBody |
436
+ }
437
+
438
+ begin
439
+ #Upsert pages
440
+ api_instance.communication_websites_website_id_pages_upsert_post(website_id, opts)
441
+ rescue OsunyApi::ApiError => e
442
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_upsert_post: #{e}"
443
+ end
444
+ # Setup authorization
445
+ OsunyApi.configure do |config|
446
+ # Configure API key authorization: api_key
447
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
448
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
449
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
450
+ end
451
+
452
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
453
+ website_id = 'website_id_example' # String | Website identifier
454
+
455
+
456
+ begin
457
+ #Lists a website's page categories
458
+ result = api_instance.communication_websites_website_id_pages_categories_get(website_id)
459
+ p result
460
+ rescue OsunyApi::ApiError => e
461
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_get: #{e}"
462
+ end
463
+ # Setup authorization
464
+ OsunyApi.configure do |config|
465
+ # Configure API key authorization: api_key
466
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
467
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
468
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
469
+ end
470
+
471
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
472
+ website_id = 'website_id_example' # String | Website identifier
473
+ id = 'id_example' # String | Category identifier
474
+
475
+
476
+ begin
477
+ #Deletes a page category
478
+ api_instance.communication_websites_website_id_pages_categories_id_delete(website_id, id)
479
+ rescue OsunyApi::ApiError => e
480
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_delete: #{e}"
481
+ end
482
+ # Setup authorization
483
+ OsunyApi.configure do |config|
484
+ # Configure API key authorization: api_key
485
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
486
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
487
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
488
+ end
489
+
490
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
491
+ website_id = 'website_id_example' # String | Website identifier
492
+ id = 'id_example' # String | Category identifier
493
+
494
+
495
+ begin
496
+ #Shows a page category
497
+ api_instance.communication_websites_website_id_pages_categories_id_get(website_id, id)
498
+ rescue OsunyApi::ApiError => e
499
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_get: #{e}"
500
+ end
501
+ # Setup authorization
502
+ OsunyApi.configure do |config|
503
+ # Configure API key authorization: api_key
504
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
505
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
506
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
507
+ end
508
+
509
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
510
+ website_id = 'website_id_example' # String | Website identifier
511
+ id = 'id_example' # String | Category identifier
512
+ opts = {
513
+ body: OsunyApi::CategoriesIdBody1.new # CategoriesIdBody1 |
514
+ }
515
+
516
+ begin
517
+ #Updates a page category
518
+ api_instance.communication_websites_website_id_pages_categories_id_patch(website_id, id, opts)
519
+ rescue OsunyApi::ApiError => e
520
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_patch: #{e}"
521
+ end
522
+ # Setup authorization
523
+ OsunyApi.configure do |config|
524
+ # Configure API key authorization: api_key
525
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
526
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
527
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
528
+ end
529
+
530
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
531
+ website_id = 'website_id_example' # String | Website identifier
532
+ opts = {
533
+ body: OsunyApi::PagesCategoriesBody.new # PagesCategoriesBody |
534
+ }
535
+
536
+ begin
537
+ #Creates a page category
538
+ api_instance.communication_websites_website_id_pages_categories_post(website_id, opts)
539
+ rescue OsunyApi::ApiError => e
540
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_post: #{e}"
541
+ end
542
+ # Setup authorization
543
+ OsunyApi.configure do |config|
544
+ # Configure API key authorization: api_key
545
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
546
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
547
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
548
+ end
549
+
550
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
551
+ website_id = 'website_id_example' # String | Website identifier
552
+ opts = {
553
+ body: OsunyApi::CategoriesUpsertBody1.new # CategoriesUpsertBody1 |
554
+ }
555
+
556
+ begin
557
+ #Upsert page categories
558
+ api_instance.communication_websites_website_id_pages_categories_upsert_post(website_id, opts)
559
+ rescue OsunyApi::ApiError => e
560
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_upsert_post: #{e}"
561
+ end
562
+ # Setup authorization
563
+ OsunyApi.configure do |config|
564
+ # Configure API key authorization: api_key
565
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
566
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
567
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
568
+ end
569
+
570
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
571
+ website_id = 'website_id_example' # String | Website identifier
572
+
573
+
574
+ begin
575
+ #Lists a website's posts
576
+ result = api_instance.communication_websites_website_id_posts_get(website_id)
577
+ p result
578
+ rescue OsunyApi::ApiError => e
579
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_get: #{e}"
580
+ end
581
+ # Setup authorization
582
+ OsunyApi.configure do |config|
583
+ # Configure API key authorization: api_key
584
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
585
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
586
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
587
+ end
588
+
589
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
590
+ website_id = 'website_id_example' # String | Website identifier
591
+ id = 'id_example' # String | Post identifier
592
+
593
+
594
+ begin
595
+ #Deletes a post
596
+ api_instance.communication_websites_website_id_posts_id_delete(website_id, id)
597
+ rescue OsunyApi::ApiError => e
598
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_delete: #{e}"
599
+ end
600
+ # Setup authorization
601
+ OsunyApi.configure do |config|
602
+ # Configure API key authorization: api_key
603
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
604
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
605
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
606
+ end
607
+
608
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
609
+ website_id = 'website_id_example' # String | Website identifier
610
+ id = 'id_example' # String | Post identifier
611
+
612
+
613
+ begin
614
+ #Shows a post
615
+ api_instance.communication_websites_website_id_posts_id_get(website_id, id)
616
+ rescue OsunyApi::ApiError => e
617
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_get: #{e}"
618
+ end
619
+ # Setup authorization
620
+ OsunyApi.configure do |config|
621
+ # Configure API key authorization: api_key
622
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
623
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
624
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
625
+ end
626
+
627
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
628
+ website_id = 'website_id_example' # String | Website identifier
629
+ id = 'id_example' # String | Post identifier
630
+ opts = {
631
+ body: OsunyApi::PostsIdBody.new # PostsIdBody |
632
+ }
633
+
634
+ begin
635
+ #Updates a post
636
+ api_instance.communication_websites_website_id_posts_id_patch(website_id, id, opts)
637
+ rescue OsunyApi::ApiError => e
638
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_patch: #{e}"
639
+ end
640
+ # Setup authorization
641
+ OsunyApi.configure do |config|
642
+ # Configure API key authorization: api_key
643
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
644
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
645
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
646
+ end
647
+
648
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
649
+ website_id = 'website_id_example' # String | Website identifier
650
+ opts = {
651
+ body: OsunyApi::WebsiteIdPostsBody.new # WebsiteIdPostsBody |
652
+ }
653
+
654
+ begin
655
+ #Creates a post
656
+ api_instance.communication_websites_website_id_posts_post(website_id, opts)
657
+ rescue OsunyApi::ApiError => e
658
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_post: #{e}"
659
+ end
660
+ # Setup authorization
661
+ OsunyApi.configure do |config|
662
+ # Configure API key authorization: api_key
663
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
664
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
665
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
666
+ end
667
+
668
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
669
+ website_id = 'website_id_example' # String | Website identifier
670
+ opts = {
671
+ body: OsunyApi::PostsUpsertBody.new # PostsUpsertBody |
672
+ }
673
+
674
+ begin
675
+ #Upsert posts
676
+ api_instance.communication_websites_website_id_posts_upsert_post(website_id, opts)
677
+ rescue OsunyApi::ApiError => e
678
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_upsert_post: #{e}"
679
+ end
680
+ # Setup authorization
681
+ OsunyApi.configure do |config|
682
+ # Configure API key authorization: api_key
683
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
684
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
685
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
686
+ end
687
+
688
+ api_instance = OsunyApi::UniversityOrganizationApi.new
689
+
690
+ begin
691
+ #Lists organizations
692
+ result = api_instance.university_organizations_get
693
+ p result
694
+ rescue OsunyApi::ApiError => e
695
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_get: #{e}"
696
+ end
697
+ # Setup authorization
698
+ OsunyApi.configure do |config|
699
+ # Configure API key authorization: api_key
700
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
701
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
702
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
703
+ end
704
+
705
+ api_instance = OsunyApi::UniversityOrganizationApi.new
706
+ id = 'id_example' # String | Organization identifier
707
+
708
+
709
+ begin
710
+ #Deletes an organization
711
+ api_instance.university_organizations_id_delete(id)
712
+ rescue OsunyApi::ApiError => e
713
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_delete: #{e}"
714
+ end
715
+ # Setup authorization
716
+ OsunyApi.configure do |config|
717
+ # Configure API key authorization: api_key
718
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
719
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
720
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
721
+ end
722
+
723
+ api_instance = OsunyApi::UniversityOrganizationApi.new
724
+ id = 'id_example' # String | Organization identifier
725
+
726
+
727
+ begin
728
+ #Shows an organization
729
+ api_instance.university_organizations_id_get(id)
730
+ rescue OsunyApi::ApiError => e
731
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_get: #{e}"
732
+ end
733
+ # Setup authorization
734
+ OsunyApi.configure do |config|
735
+ # Configure API key authorization: api_key
736
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
737
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
738
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
739
+ end
740
+
741
+ api_instance = OsunyApi::UniversityOrganizationApi.new
742
+ id = 'id_example' # String | Organization identifier
743
+ opts = {
744
+ body: OsunyApi::OrganizationsIdBody.new # OrganizationsIdBody |
745
+ }
746
+
747
+ begin
748
+ #Updates an organization
749
+ api_instance.university_organizations_id_patch(id, opts)
750
+ rescue OsunyApi::ApiError => e
751
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_patch: #{e}"
752
+ end
753
+ # Setup authorization
754
+ OsunyApi.configure do |config|
755
+ # Configure API key authorization: api_key
756
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
757
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
758
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
759
+ end
760
+
761
+ api_instance = OsunyApi::UniversityOrganizationApi.new
762
+ opts = {
763
+ body: OsunyApi::UniversityOrganizationsBody.new # UniversityOrganizationsBody |
764
+ }
765
+
766
+ begin
767
+ #Creates a organization
768
+ api_instance.university_organizations_post(opts)
769
+ rescue OsunyApi::ApiError => e
770
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_post: #{e}"
771
+ end
772
+ # Setup authorization
773
+ OsunyApi.configure do |config|
774
+ # Configure API key authorization: api_key
775
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
776
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
777
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
778
+ end
779
+
780
+ api_instance = OsunyApi::UniversityOrganizationApi.new
781
+ opts = {
782
+ body: OsunyApi::OrganizationsUpsertBody.new # OrganizationsUpsertBody |
783
+ }
784
+
785
+ begin
786
+ #Upsert organizations
787
+ api_instance.university_organizations_upsert_post(opts)
788
+ rescue OsunyApi::ApiError => e
789
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_upsert_post: #{e}"
790
+ end
791
+ # Setup authorization
792
+ OsunyApi.configure do |config|
793
+ # Configure API key authorization: api_key
794
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
795
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
796
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
797
+ end
798
+
799
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
800
+
801
+ begin
802
+ #Lists organization categories
803
+ result = api_instance.university_organizations_categories_get
804
+ p result
805
+ rescue OsunyApi::ApiError => e
806
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_get: #{e}"
807
+ end
808
+ # Setup authorization
809
+ OsunyApi.configure do |config|
810
+ # Configure API key authorization: api_key
811
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
812
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
813
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
814
+ end
815
+
816
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
817
+ id = 'id_example' # String | Category identifier
818
+
819
+
820
+ begin
821
+ #Deletes a organization category
822
+ api_instance.university_organizations_categories_id_delete(id)
823
+ rescue OsunyApi::ApiError => e
824
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_delete: #{e}"
825
+ end
826
+ # Setup authorization
827
+ OsunyApi.configure do |config|
828
+ # Configure API key authorization: api_key
829
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
830
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
831
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
832
+ end
833
+
834
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
835
+ id = 'id_example' # String | Category identifier
836
+
837
+
838
+ begin
839
+ #Shows a organization category
840
+ api_instance.university_organizations_categories_id_get(id)
841
+ rescue OsunyApi::ApiError => e
842
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_get: #{e}"
843
+ end
844
+ # Setup authorization
845
+ OsunyApi.configure do |config|
846
+ # Configure API key authorization: api_key
847
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
848
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
849
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
850
+ end
851
+
852
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
853
+ id = 'id_example' # String | Category identifier
854
+ opts = {
855
+ body: OsunyApi::CategoriesIdBody2.new # CategoriesIdBody2 |
856
+ }
857
+
858
+ begin
859
+ #Updates a organization category
860
+ api_instance.university_organizations_categories_id_patch(id, opts)
861
+ rescue OsunyApi::ApiError => e
862
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_patch: #{e}"
863
+ end
864
+ # Setup authorization
865
+ OsunyApi.configure do |config|
866
+ # Configure API key authorization: api_key
867
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
868
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
869
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
870
+ end
871
+
872
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
873
+ opts = {
874
+ body: OsunyApi::OrganizationsCategoriesBody.new # OrganizationsCategoriesBody |
875
+ }
876
+
877
+ begin
878
+ #Creates a organization category
879
+ api_instance.university_organizations_categories_post(opts)
880
+ rescue OsunyApi::ApiError => e
881
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_post: #{e}"
882
+ end
883
+ # Setup authorization
884
+ OsunyApi.configure do |config|
885
+ # Configure API key authorization: api_key
886
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
887
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
888
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
889
+ end
890
+
891
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
892
+ opts = {
893
+ body: OsunyApi::CategoriesUpsertBody2.new # CategoriesUpsertBody2 |
894
+ }
895
+
896
+ begin
897
+ #Upsert organization categories
898
+ api_instance.university_organizations_categories_upsert_post(opts)
899
+ rescue OsunyApi::ApiError => e
900
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_upsert_post: #{e}"
901
+ end
27
902
  ```
28
- ## License
29
903
 
30
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
904
+ ## Documentation for API Endpoints
905
+
906
+ All URIs are relative to *https://demo.osuny.org/api/osuny/v1*
907
+
908
+ Class | Method | HTTP request | Description
909
+ ------------ | ------------- | ------------- | -------------
910
+ *OsunyApi::CommunicationWebsiteApi* | [**communication_websites_get**](docs/CommunicationWebsiteApi.md#communication_websites_get) | **GET** /communication/websites | Lists the websites
911
+ *OsunyApi::CommunicationWebsiteApi* | [**communication_websites_id_get**](docs/CommunicationWebsiteApi.md#communication_websites_id_get) | **GET** /communication/websites/{id} | Shows a website
912
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_get**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_get) | **GET** /communication/websites/{website_id}/agenda/categories | Lists a website's agenda categories
913
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_id_delete**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_id_delete) | **DELETE** /communication/websites/{website_id}/agenda/categories/{id} | Deletes an agenda category
914
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_id_get**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_id_get) | **GET** /communication/websites/{website_id}/agenda/categories/{id} | Shows an agenda category
915
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_id_patch**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_id_patch) | **PATCH** /communication/websites/{website_id}/agenda/categories/{id} | Updates an agenda category
916
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_post**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_post) | **POST** /communication/websites/{website_id}/agenda/categories | Creates an agenda category
917
+ *OsunyApi::CommunicationWebsiteAgendaCategoryApi* | [**communication_websites_website_id_agenda_categories_upsert_post**](docs/CommunicationWebsiteAgendaCategoryApi.md#communication_websites_website_id_agenda_categories_upsert_post) | **POST** /communication/websites/{website_id}/agenda/categories/upsert | Upsert agenda categories
918
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_get**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_get) | **GET** /communication/websites/{website_id}/agenda/events | Lists a website's events
919
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_id_delete**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_id_delete) | **DELETE** /communication/websites/{website_id}/agenda/events/{id} | Deletes an event
920
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_id_get**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_id_get) | **GET** /communication/websites/{website_id}/agenda/events/{id} | Shows an event
921
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_id_patch**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_id_patch) | **PATCH** /communication/websites/{website_id}/agenda/events/{id} | Updates an event
922
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_post**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_post) | **POST** /communication/websites/{website_id}/agenda/events | Creates an event
923
+ *OsunyApi::CommunicationWebsiteAgendaEventApi* | [**communication_websites_website_id_agenda_events_upsert_post**](docs/CommunicationWebsiteAgendaEventApi.md#communication_websites_website_id_agenda_events_upsert_post) | **POST** /communication/websites/{website_id}/agenda/events/upsert | Upsert events
924
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_get**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_get) | **GET** /communication/websites/{website_id}/pages | Lists a website's pages
925
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_id_delete**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_id_delete) | **DELETE** /communication/websites/{website_id}/pages/{id} | Deletes a page
926
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_id_get**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_id_get) | **GET** /communication/websites/{website_id}/pages/{id} | Shows a page
927
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_id_patch**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_id_patch) | **PATCH** /communication/websites/{website_id}/pages/{id} | Updates a page
928
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_post**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_post) | **POST** /communication/websites/{website_id}/pages | Creates a page
929
+ *OsunyApi::CommunicationWebsitePageApi* | [**communication_websites_website_id_pages_upsert_post**](docs/CommunicationWebsitePageApi.md#communication_websites_website_id_pages_upsert_post) | **POST** /communication/websites/{website_id}/pages/upsert | Upsert pages
930
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_get**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_get) | **GET** /communication/websites/{website_id}/pages/categories | Lists a website's page categories
931
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_id_delete**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_id_delete) | **DELETE** /communication/websites/{website_id}/pages/categories/{id} | Deletes a page category
932
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_id_get**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_id_get) | **GET** /communication/websites/{website_id}/pages/categories/{id} | Shows a page category
933
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_id_patch**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_id_patch) | **PATCH** /communication/websites/{website_id}/pages/categories/{id} | Updates a page category
934
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_post**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_post) | **POST** /communication/websites/{website_id}/pages/categories | Creates a page category
935
+ *OsunyApi::CommunicationWebsitePageCategoryApi* | [**communication_websites_website_id_pages_categories_upsert_post**](docs/CommunicationWebsitePageCategoryApi.md#communication_websites_website_id_pages_categories_upsert_post) | **POST** /communication/websites/{website_id}/pages/categories/upsert | Upsert page categories
936
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_get**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_get) | **GET** /communication/websites/{website_id}/posts | Lists a website's posts
937
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_id_delete**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_id_delete) | **DELETE** /communication/websites/{website_id}/posts/{id} | Deletes a post
938
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_id_get**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_id_get) | **GET** /communication/websites/{website_id}/posts/{id} | Shows a post
939
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_id_patch**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_id_patch) | **PATCH** /communication/websites/{website_id}/posts/{id} | Updates a post
940
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_post**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_post) | **POST** /communication/websites/{website_id}/posts | Creates a post
941
+ *OsunyApi::CommunicationWebsitePostApi* | [**communication_websites_website_id_posts_upsert_post**](docs/CommunicationWebsitePostApi.md#communication_websites_website_id_posts_upsert_post) | **POST** /communication/websites/{website_id}/posts/upsert | Upsert posts
942
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_get**](docs/UniversityOrganizationApi.md#university_organizations_get) | **GET** /university/organizations | Lists organizations
943
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_delete**](docs/UniversityOrganizationApi.md#university_organizations_id_delete) | **DELETE** /university/organizations/{id} | Deletes an organization
944
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_get**](docs/UniversityOrganizationApi.md#university_organizations_id_get) | **GET** /university/organizations/{id} | Shows an organization
945
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_patch**](docs/UniversityOrganizationApi.md#university_organizations_id_patch) | **PATCH** /university/organizations/{id} | Updates an organization
946
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_post**](docs/UniversityOrganizationApi.md#university_organizations_post) | **POST** /university/organizations | Creates a organization
947
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_upsert_post**](docs/UniversityOrganizationApi.md#university_organizations_upsert_post) | **POST** /university/organizations/upsert | Upsert organizations
948
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_get**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_get) | **GET** /university/organizations/categories | Lists organization categories
949
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_delete**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_delete) | **DELETE** /university/organizations/categories/{id} | Deletes a organization category
950
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_get**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_get) | **GET** /university/organizations/categories/{id} | Shows a organization category
951
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_patch**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_patch) | **PATCH** /university/organizations/categories/{id} | Updates a organization category
952
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_post**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_post) | **POST** /university/organizations/categories | Creates a organization category
953
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_upsert_post**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_upsert_post) | **POST** /university/organizations/categories/upsert | Upsert organization categories
954
+
955
+ ## Documentation for Models
956
+
957
+ - [OsunyApi::AgendaCategoriesBody](docs/AgendaCategoriesBody.md)
958
+ - [OsunyApi::AgendaEventsBody](docs/AgendaEventsBody.md)
959
+ - [OsunyApi::CategoriesIdBody](docs/CategoriesIdBody.md)
960
+ - [OsunyApi::CategoriesIdBody1](docs/CategoriesIdBody1.md)
961
+ - [OsunyApi::CategoriesIdBody2](docs/CategoriesIdBody2.md)
962
+ - [OsunyApi::CategoriesUpsertBody](docs/CategoriesUpsertBody.md)
963
+ - [OsunyApi::CategoriesUpsertBody1](docs/CategoriesUpsertBody1.md)
964
+ - [OsunyApi::CategoriesUpsertBody2](docs/CategoriesUpsertBody2.md)
965
+ - [OsunyApi::CommunicationBlockAgenda](docs/CommunicationBlockAgenda.md)
966
+ - [OsunyApi::CommunicationBlockAgendaData](docs/CommunicationBlockAgendaData.md)
967
+ - [OsunyApi::CommunicationBlockAgendaDataElements](docs/CommunicationBlockAgendaDataElements.md)
968
+ - [OsunyApi::CommunicationBlockCallToAction](docs/CommunicationBlockCallToAction.md)
969
+ - [OsunyApi::CommunicationBlockCallToActionData](docs/CommunicationBlockCallToActionData.md)
970
+ - [OsunyApi::CommunicationBlockCallToActionDataElements](docs/CommunicationBlockCallToActionDataElements.md)
971
+ - [OsunyApi::CommunicationBlockCallToActionDataImage](docs/CommunicationBlockCallToActionDataImage.md)
972
+ - [OsunyApi::CommunicationBlockCategories](docs/CommunicationBlockCategories.md)
973
+ - [OsunyApi::CommunicationBlockCategoriesData](docs/CommunicationBlockCategoriesData.md)
974
+ - [OsunyApi::CommunicationBlockChapter](docs/CommunicationBlockChapter.md)
975
+ - [OsunyApi::CommunicationBlockChapterData](docs/CommunicationBlockChapterData.md)
976
+ - [OsunyApi::CommunicationBlockContact](docs/CommunicationBlockContact.md)
977
+ - [OsunyApi::CommunicationBlockContactData](docs/CommunicationBlockContactData.md)
978
+ - [OsunyApi::CommunicationBlockContactDataElements](docs/CommunicationBlockContactDataElements.md)
979
+ - [OsunyApi::CommunicationBlockContactDataTimeSlotMorning](docs/CommunicationBlockContactDataTimeSlotMorning.md)
980
+ - [OsunyApi::CommunicationBlockDatatable](docs/CommunicationBlockDatatable.md)
981
+ - [OsunyApi::CommunicationBlockDatatableData](docs/CommunicationBlockDatatableData.md)
982
+ - [OsunyApi::CommunicationBlockDatatableDataElements](docs/CommunicationBlockDatatableDataElements.md)
983
+ - [OsunyApi::CommunicationBlockDefinitions](docs/CommunicationBlockDefinitions.md)
984
+ - [OsunyApi::CommunicationBlockDefinitionsData](docs/CommunicationBlockDefinitionsData.md)
985
+ - [OsunyApi::CommunicationBlockDefinitionsDataElements](docs/CommunicationBlockDefinitionsDataElements.md)
986
+ - [OsunyApi::CommunicationBlockEmbed](docs/CommunicationBlockEmbed.md)
987
+ - [OsunyApi::CommunicationBlockEmbedData](docs/CommunicationBlockEmbedData.md)
988
+ - [OsunyApi::CommunicationBlockFeatures](docs/CommunicationBlockFeatures.md)
989
+ - [OsunyApi::CommunicationBlockFeaturesData](docs/CommunicationBlockFeaturesData.md)
990
+ - [OsunyApi::CommunicationBlockFeaturesDataElements](docs/CommunicationBlockFeaturesDataElements.md)
991
+ - [OsunyApi::CommunicationBlockFiles](docs/CommunicationBlockFiles.md)
992
+ - [OsunyApi::CommunicationBlockFilesData](docs/CommunicationBlockFilesData.md)
993
+ - [OsunyApi::CommunicationBlockFilesDataElements](docs/CommunicationBlockFilesDataElements.md)
994
+ - [OsunyApi::CommunicationBlockGallery](docs/CommunicationBlockGallery.md)
995
+ - [OsunyApi::CommunicationBlockGalleryData](docs/CommunicationBlockGalleryData.md)
996
+ - [OsunyApi::CommunicationBlockGalleryDataElements](docs/CommunicationBlockGalleryDataElements.md)
997
+ - [OsunyApi::CommunicationBlockImage](docs/CommunicationBlockImage.md)
998
+ - [OsunyApi::CommunicationBlockImageData](docs/CommunicationBlockImageData.md)
999
+ - [OsunyApi::CommunicationBlockKeyFigures](docs/CommunicationBlockKeyFigures.md)
1000
+ - [OsunyApi::CommunicationBlockKeyFiguresData](docs/CommunicationBlockKeyFiguresData.md)
1001
+ - [OsunyApi::CommunicationBlockKeyFiguresDataElements](docs/CommunicationBlockKeyFiguresDataElements.md)
1002
+ - [OsunyApi::CommunicationBlockLicense](docs/CommunicationBlockLicense.md)
1003
+ - [OsunyApi::CommunicationBlockLicenseData](docs/CommunicationBlockLicenseData.md)
1004
+ - [OsunyApi::CommunicationBlockLinks](docs/CommunicationBlockLinks.md)
1005
+ - [OsunyApi::CommunicationBlockLinksData](docs/CommunicationBlockLinksData.md)
1006
+ - [OsunyApi::CommunicationBlockLinksDataElements](docs/CommunicationBlockLinksDataElements.md)
1007
+ - [OsunyApi::CommunicationBlockLocations](docs/CommunicationBlockLocations.md)
1008
+ - [OsunyApi::CommunicationBlockLocationsData](docs/CommunicationBlockLocationsData.md)
1009
+ - [OsunyApi::CommunicationBlockLocationsDataElements](docs/CommunicationBlockLocationsDataElements.md)
1010
+ - [OsunyApi::CommunicationBlockOrganizations](docs/CommunicationBlockOrganizations.md)
1011
+ - [OsunyApi::CommunicationBlockOrganizationsData](docs/CommunicationBlockOrganizationsData.md)
1012
+ - [OsunyApi::CommunicationBlockOrganizationsDataElements](docs/CommunicationBlockOrganizationsDataElements.md)
1013
+ - [OsunyApi::CommunicationBlockPages](docs/CommunicationBlockPages.md)
1014
+ - [OsunyApi::CommunicationBlockPagesData](docs/CommunicationBlockPagesData.md)
1015
+ - [OsunyApi::CommunicationBlockPapers](docs/CommunicationBlockPapers.md)
1016
+ - [OsunyApi::CommunicationBlockPapersData](docs/CommunicationBlockPapersData.md)
1017
+ - [OsunyApi::CommunicationBlockPersons](docs/CommunicationBlockPersons.md)
1018
+ - [OsunyApi::CommunicationBlockPersonsData](docs/CommunicationBlockPersonsData.md)
1019
+ - [OsunyApi::CommunicationBlockPersonsDataElements](docs/CommunicationBlockPersonsDataElements.md)
1020
+ - [OsunyApi::CommunicationBlockPosts](docs/CommunicationBlockPosts.md)
1021
+ - [OsunyApi::CommunicationBlockPostsData](docs/CommunicationBlockPostsData.md)
1022
+ - [OsunyApi::CommunicationBlockPrograms](docs/CommunicationBlockPrograms.md)
1023
+ - [OsunyApi::CommunicationBlockProgramsData](docs/CommunicationBlockProgramsData.md)
1024
+ - [OsunyApi::CommunicationBlockProjects](docs/CommunicationBlockProjects.md)
1025
+ - [OsunyApi::CommunicationBlockProjectsData](docs/CommunicationBlockProjectsData.md)
1026
+ - [OsunyApi::CommunicationBlockSound](docs/CommunicationBlockSound.md)
1027
+ - [OsunyApi::CommunicationBlockSoundData](docs/CommunicationBlockSoundData.md)
1028
+ - [OsunyApi::CommunicationBlockTestimonials](docs/CommunicationBlockTestimonials.md)
1029
+ - [OsunyApi::CommunicationBlockTestimonialsData](docs/CommunicationBlockTestimonialsData.md)
1030
+ - [OsunyApi::CommunicationBlockTestimonialsDataElements](docs/CommunicationBlockTestimonialsDataElements.md)
1031
+ - [OsunyApi::CommunicationBlockTimeline](docs/CommunicationBlockTimeline.md)
1032
+ - [OsunyApi::CommunicationBlockTimelineData](docs/CommunicationBlockTimelineData.md)
1033
+ - [OsunyApi::CommunicationBlockTimelineDataElements](docs/CommunicationBlockTimelineDataElements.md)
1034
+ - [OsunyApi::CommunicationBlockTitle](docs/CommunicationBlockTitle.md)
1035
+ - [OsunyApi::CommunicationBlockTitleData](docs/CommunicationBlockTitleData.md)
1036
+ - [OsunyApi::CommunicationBlockVideo](docs/CommunicationBlockVideo.md)
1037
+ - [OsunyApi::CommunicationBlockVideoData](docs/CommunicationBlockVideoData.md)
1038
+ - [OsunyApi::CommunicationBlockVolumes](docs/CommunicationBlockVolumes.md)
1039
+ - [OsunyApi::CommunicationWebsite](docs/CommunicationWebsite.md)
1040
+ - [OsunyApi::CommunicationWebsiteAgendaCategory](docs/CommunicationWebsiteAgendaCategory.md)
1041
+ - [OsunyApi::CommunicationWebsiteAgendaCategoryLocalization](docs/CommunicationWebsiteAgendaCategoryLocalization.md)
1042
+ - [OsunyApi::CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage](docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md)
1043
+ - [OsunyApi::CommunicationWebsiteAgendaEvent](docs/CommunicationWebsiteAgendaEvent.md)
1044
+ - [OsunyApi::CommunicationWebsiteAgendaEventLocalization](docs/CommunicationWebsiteAgendaEventLocalization.md)
1045
+ - [OsunyApi::CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls](docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md)
1046
+ - [OsunyApi::CommunicationWebsiteAgendaEventTimeSlot](docs/CommunicationWebsiteAgendaEventTimeSlot.md)
1047
+ - [OsunyApi::CommunicationWebsiteAgendaEventTimeSlotLocalization](docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md)
1048
+ - [OsunyApi::CommunicationWebsiteDeuxfleurs](docs/CommunicationWebsiteDeuxfleurs.md)
1049
+ - [OsunyApi::CommunicationWebsiteFeatures](docs/CommunicationWebsiteFeatures.md)
1050
+ - [OsunyApi::CommunicationWebsiteGit](docs/CommunicationWebsiteGit.md)
1051
+ - [OsunyApi::CommunicationWebsiteLocalization](docs/CommunicationWebsiteLocalization.md)
1052
+ - [OsunyApi::CommunicationWebsitePage](docs/CommunicationWebsitePage.md)
1053
+ - [OsunyApi::CommunicationWebsitePageCategory](docs/CommunicationWebsitePageCategory.md)
1054
+ - [OsunyApi::CommunicationWebsitePageCategoryLocalization](docs/CommunicationWebsitePageCategoryLocalization.md)
1055
+ - [OsunyApi::CommunicationWebsitePageLocalization](docs/CommunicationWebsitePageLocalization.md)
1056
+ - [OsunyApi::CommunicationWebsitePost](docs/CommunicationWebsitePost.md)
1057
+ - [OsunyApi::CommunicationWebsitePostLocalization](docs/CommunicationWebsitePostLocalization.md)
1058
+ - [OsunyApi::CommunicationWebsiteShowcase](docs/CommunicationWebsiteShowcase.md)
1059
+ - [OsunyApi::CommunicationWebsiteShowcaseTags](docs/CommunicationWebsiteShowcaseTags.md)
1060
+ - [OsunyApi::EventsIdBody](docs/EventsIdBody.md)
1061
+ - [OsunyApi::EventsUpsertBody](docs/EventsUpsertBody.md)
1062
+ - [OsunyApi::OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md)
1063
+ - [OsunyApi::OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems](docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md)
1064
+ - [OsunyApi::OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md)
1065
+ - [OsunyApi::OneOfcommunicationWebsitePageLocalizationBlocksItems](docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md)
1066
+ - [OsunyApi::OneOfcommunicationWebsitePostLocalizationBlocksItems](docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md)
1067
+ - [OsunyApi::OneOfuniversityOrganizationCategoryLocalizationBlocksItems](docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md)
1068
+ - [OsunyApi::OneOfuniversityOrganizationLocalizationBlocksItems](docs/OneOfuniversityOrganizationLocalizationBlocksItems.md)
1069
+ - [OsunyApi::OrganizationsCategoriesBody](docs/OrganizationsCategoriesBody.md)
1070
+ - [OsunyApi::OrganizationsIdBody](docs/OrganizationsIdBody.md)
1071
+ - [OsunyApi::OrganizationsUpsertBody](docs/OrganizationsUpsertBody.md)
1072
+ - [OsunyApi::PagesCategoriesBody](docs/PagesCategoriesBody.md)
1073
+ - [OsunyApi::PagesIdBody](docs/PagesIdBody.md)
1074
+ - [OsunyApi::PagesUpsertBody](docs/PagesUpsertBody.md)
1075
+ - [OsunyApi::PostsIdBody](docs/PostsIdBody.md)
1076
+ - [OsunyApi::PostsUpsertBody](docs/PostsUpsertBody.md)
1077
+ - [OsunyApi::UniversityOrganization](docs/UniversityOrganization.md)
1078
+ - [OsunyApi::UniversityOrganizationCategory](docs/UniversityOrganizationCategory.md)
1079
+ - [OsunyApi::UniversityOrganizationCategoryLocalization](docs/UniversityOrganizationCategoryLocalization.md)
1080
+ - [OsunyApi::UniversityOrganizationLocalization](docs/UniversityOrganizationLocalization.md)
1081
+ - [OsunyApi::UniversityOrganizationsBody](docs/UniversityOrganizationsBody.md)
1082
+ - [OsunyApi::WebsiteIdPagesBody](docs/WebsiteIdPagesBody.md)
1083
+ - [OsunyApi::WebsiteIdPostsBody](docs/WebsiteIdPostsBody.md)
1084
+
1085
+ ## Documentation for Authorization
1086
+
1087
+
1088
+ ### api_key
1089
+
1090
+ - **Type**: API key
1091
+ - **API key parameter name**: X-Osuny-Token
1092
+ - **Location**: HTTP header
1093
+