osuny_api 0.2.6 → 1.1.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 (530) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +6 -7
  3. data/Gemfile.lock +65 -31
  4. data/README.md +1535 -17
  5. data/Rakefile +8 -7
  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/CategoriesIdBody3.md +7 -0
  13. data/docs/CategoriesIdBody4.md +7 -0
  14. data/docs/CategoriesUpsertBody.md +7 -0
  15. data/docs/CategoriesUpsertBody1.md +7 -0
  16. data/docs/CategoriesUpsertBody2.md +7 -0
  17. data/docs/CategoriesUpsertBody3.md +7 -0
  18. data/docs/CategoriesUpsertBody4.md +7 -0
  19. data/docs/CommunicationBlockAgenda.md +14 -0
  20. data/docs/CommunicationBlockAgendaData.md +23 -0
  21. data/docs/CommunicationBlockAgendaDataElements.md +7 -0
  22. data/docs/CommunicationBlockCallToAction.md +14 -0
  23. data/docs/CommunicationBlockCallToActionData.md +12 -0
  24. data/docs/CommunicationBlockCallToActionDataElements.md +9 -0
  25. data/docs/CommunicationBlockCallToActionDataImage.md +9 -0
  26. data/docs/CommunicationBlockCategories.md +14 -0
  27. data/docs/CommunicationBlockCategoriesData.md +13 -0
  28. data/docs/CommunicationBlockChapter.md +14 -0
  29. data/docs/CommunicationBlockChapterData.md +12 -0
  30. data/docs/CommunicationBlockChapterDataImage.md +9 -0
  31. data/docs/CommunicationBlockContact.md +14 -0
  32. data/docs/CommunicationBlockContactData.md +27 -0
  33. data/docs/CommunicationBlockContactDataElements.md +9 -0
  34. data/docs/CommunicationBlockContactDataTimeSlotMorning.md +8 -0
  35. data/docs/CommunicationBlockDatatable.md +14 -0
  36. data/docs/CommunicationBlockDatatableData.md +11 -0
  37. data/docs/CommunicationBlockDatatableDataElements.md +7 -0
  38. data/docs/CommunicationBlockDefinitions.md +14 -0
  39. data/docs/CommunicationBlockDefinitionsData.md +8 -0
  40. data/docs/CommunicationBlockDefinitionsDataElements.md +8 -0
  41. data/docs/CommunicationBlockEmbed.md +14 -0
  42. data/docs/CommunicationBlockEmbedData.md +9 -0
  43. data/docs/CommunicationBlockExhibitions.md +14 -0
  44. data/docs/CommunicationBlockExhibitionsData.md +20 -0
  45. data/docs/CommunicationBlockFeatures.md +14 -0
  46. data/docs/CommunicationBlockFeaturesData.md +8 -0
  47. data/docs/CommunicationBlockFeaturesDataElements.md +11 -0
  48. data/docs/CommunicationBlockFiles.md +14 -0
  49. data/docs/CommunicationBlockFilesData.md +8 -0
  50. data/docs/CommunicationBlockFilesDataElements.md +9 -0
  51. data/docs/CommunicationBlockGallery.md +14 -0
  52. data/docs/CommunicationBlockGalleryData.md +9 -0
  53. data/docs/CommunicationBlockGalleryDataElements.md +10 -0
  54. data/docs/CommunicationBlockImage.md +14 -0
  55. data/docs/CommunicationBlockImageData.md +10 -0
  56. data/docs/CommunicationBlockJobs.md +14 -0
  57. data/docs/CommunicationBlockJobsData.md +18 -0
  58. data/docs/CommunicationBlockKeyFigures.md +14 -0
  59. data/docs/CommunicationBlockKeyFiguresData.md +8 -0
  60. data/docs/CommunicationBlockKeyFiguresDataElements.md +10 -0
  61. data/docs/CommunicationBlockLicense.md +14 -0
  62. data/docs/CommunicationBlockLicenseData.md +12 -0
  63. data/docs/CommunicationBlockLinks.md +14 -0
  64. data/docs/CommunicationBlockLinksData.md +10 -0
  65. data/docs/CommunicationBlockLinksDataElements.md +10 -0
  66. data/docs/CommunicationBlockLocations.md +14 -0
  67. data/docs/CommunicationBlockLocationsData.md +10 -0
  68. data/docs/CommunicationBlockLocationsDataElements.md +7 -0
  69. data/docs/CommunicationBlockOrganizations.md +14 -0
  70. data/docs/CommunicationBlockOrganizationsData.md +17 -0
  71. data/docs/CommunicationBlockOrganizationsDataElements.md +11 -0
  72. data/docs/CommunicationBlockPages.md +14 -0
  73. data/docs/CommunicationBlockPagesData.md +16 -0
  74. data/docs/CommunicationBlockPapers.md +14 -0
  75. data/docs/CommunicationBlockPapersData.md +9 -0
  76. data/docs/CommunicationBlockPersons.md +14 -0
  77. data/docs/CommunicationBlockPersonsData.md +16 -0
  78. data/docs/CommunicationBlockPersonsDataElements.md +8 -0
  79. data/docs/CommunicationBlockPosts.md +14 -0
  80. data/docs/CommunicationBlockPostsData.md +18 -0
  81. data/docs/CommunicationBlockPrograms.md +14 -0
  82. data/docs/CommunicationBlockProgramsData.md +11 -0
  83. data/docs/CommunicationBlockProgramsDataElements.md +7 -0
  84. data/docs/CommunicationBlockProjects.md +14 -0
  85. data/docs/CommunicationBlockProjectsData.md +16 -0
  86. data/docs/CommunicationBlockSound.md +14 -0
  87. data/docs/CommunicationBlockSoundData.md +9 -0
  88. data/docs/CommunicationBlockTestimonials.md +14 -0
  89. data/docs/CommunicationBlockTestimonialsData.md +8 -0
  90. data/docs/CommunicationBlockTestimonialsDataElements.md +10 -0
  91. data/docs/CommunicationBlockTimeline.md +14 -0
  92. data/docs/CommunicationBlockTimelineData.md +8 -0
  93. data/docs/CommunicationBlockTimelineDataElements.md +8 -0
  94. data/docs/CommunicationBlockTitle.md +14 -0
  95. data/docs/CommunicationBlockTitleData.md +7 -0
  96. data/docs/CommunicationBlockVideo.md +14 -0
  97. data/docs/CommunicationBlockVideoData.md +11 -0
  98. data/docs/CommunicationBlockVolumes.md +14 -0
  99. data/docs/CommunicationMedia.md +17 -0
  100. data/docs/CommunicationMediaLocalization.md +13 -0
  101. data/docs/CommunicationMediaOriginalBlob.md +10 -0
  102. data/docs/CommunicationMediasBody.md +8 -0
  103. data/docs/CommunicationWebsite.md +16 -0
  104. data/docs/CommunicationWebsiteAgendaCategory.md +14 -0
  105. data/docs/CommunicationWebsiteAgendaCategoryApi.md +334 -0
  106. data/docs/CommunicationWebsiteAgendaCategoryLocalization.md +23 -0
  107. data/docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md +10 -0
  108. data/docs/CommunicationWebsiteAgendaEvent.md +18 -0
  109. data/docs/CommunicationWebsiteAgendaEventApi.md +334 -0
  110. data/docs/CommunicationWebsiteAgendaEventLocalization.md +26 -0
  111. data/docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md +11 -0
  112. data/docs/CommunicationWebsiteAgendaEventTimeSlot.md +13 -0
  113. data/docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md +13 -0
  114. data/docs/CommunicationWebsiteApi.md +114 -0
  115. data/docs/CommunicationWebsiteDeuxfleurs.md +8 -0
  116. data/docs/CommunicationWebsiteFeatures.md +9 -0
  117. data/docs/CommunicationWebsiteGit.md +10 -0
  118. data/docs/CommunicationWebsiteLocalization.md +23 -0
  119. data/docs/CommunicationWebsiteMediaApi.md +61 -0
  120. data/docs/CommunicationWebsitePage.md +17 -0
  121. data/docs/CommunicationWebsitePageApi.md +334 -0
  122. data/docs/CommunicationWebsitePageCategory.md +14 -0
  123. data/docs/CommunicationWebsitePageCategoryApi.md +334 -0
  124. data/docs/CommunicationWebsitePageCategoryLocalization.md +23 -0
  125. data/docs/CommunicationWebsitePageLocalization.md +26 -0
  126. data/docs/CommunicationWebsitePermalink.md +8 -0
  127. data/docs/CommunicationWebsitePortfolioCategory.md +15 -0
  128. data/docs/CommunicationWebsitePortfolioCategoryApi.md +334 -0
  129. data/docs/CommunicationWebsitePortfolioCategoryLocalization.md +23 -0
  130. data/docs/CommunicationWebsitePortfolioProject.md +15 -0
  131. data/docs/CommunicationWebsitePortfolioProjectApi.md +334 -0
  132. data/docs/CommunicationWebsitePortfolioProjectLocalization.md +23 -0
  133. data/docs/CommunicationWebsitePost.md +13 -0
  134. data/docs/CommunicationWebsitePostApi.md +334 -0
  135. data/docs/CommunicationWebsitePostCategory.md +14 -0
  136. data/docs/CommunicationWebsitePostCategoryApi.md +334 -0
  137. data/docs/CommunicationWebsitePostCategoryLocalization.md +23 -0
  138. data/docs/CommunicationWebsitePostLocalization.md +21 -0
  139. data/docs/CommunicationWebsiteShowcase.md +9 -0
  140. data/docs/CommunicationWebsiteShowcaseTags.md +9 -0
  141. data/docs/EventsIdBody.md +7 -0
  142. data/docs/EventsUpsertBody.md +7 -0
  143. data/docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md +6 -0
  144. data/docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md +6 -0
  145. data/docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md +6 -0
  146. data/docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md +6 -0
  147. data/docs/OneOfcommunicationWebsitePortfolioCategoryLocalizationBlocksItems.md +6 -0
  148. data/docs/OneOfcommunicationWebsitePortfolioProjectLocalizationBlocksItems.md +6 -0
  149. data/docs/OneOfcommunicationWebsitePostCategoryLocalizationBlocksItems.md +6 -0
  150. data/docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md +6 -0
  151. data/docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md +6 -0
  152. data/docs/OneOfuniversityOrganizationLocalizationBlocksItems.md +6 -0
  153. data/docs/OrganizationsCategoriesBody.md +7 -0
  154. data/docs/OrganizationsIdBody.md +7 -0
  155. data/docs/OrganizationsUpsertBody.md +7 -0
  156. data/docs/PagesCategoriesBody.md +7 -0
  157. data/docs/PagesIdBody.md +7 -0
  158. data/docs/PagesUpsertBody.md +7 -0
  159. data/docs/PortfolioCategoriesBody.md +7 -0
  160. data/docs/PortfolioProjectsBody.md +7 -0
  161. data/docs/PostsCategoriesBody.md +7 -0
  162. data/docs/PostsIdBody.md +7 -0
  163. data/docs/PostsUpsertBody.md +7 -0
  164. data/docs/ProjectsIdBody.md +7 -0
  165. data/docs/ProjectsUpsertBody.md +7 -0
  166. data/docs/UniversityOrganization.md +23 -0
  167. data/docs/UniversityOrganizationApi.md +322 -0
  168. data/docs/UniversityOrganizationCategory.md +14 -0
  169. data/docs/UniversityOrganizationCategoryApi.md +322 -0
  170. data/docs/UniversityOrganizationCategoryLocalization.md +22 -0
  171. data/docs/UniversityOrganizationLocalization.md +26 -0
  172. data/docs/UniversityOrganizationsBody.md +7 -0
  173. data/docs/WebsiteIdPagesBody.md +7 -0
  174. data/docs/WebsiteIdPostsBody.md +7 -0
  175. data/generate.sh +2 -0
  176. data/git_push.sh +55 -0
  177. data/lib/osuny_api/api/communication_website_agenda_category_api.rb +380 -0
  178. data/lib/osuny_api/api/communication_website_agenda_event_api.rb +380 -0
  179. data/lib/osuny_api/api/communication_website_api.rb +128 -0
  180. data/lib/osuny_api/api/communication_website_media_api.rb +76 -0
  181. data/lib/osuny_api/api/communication_website_page_api.rb +380 -0
  182. data/lib/osuny_api/api/communication_website_page_category_api.rb +380 -0
  183. data/lib/osuny_api/api/communication_website_portfolio_category_api.rb +380 -0
  184. data/lib/osuny_api/api/communication_website_portfolio_project_api.rb +380 -0
  185. data/lib/osuny_api/api/communication_website_post_api.rb +380 -0
  186. data/lib/osuny_api/api/communication_website_post_category_api.rb +380 -0
  187. data/lib/osuny_api/api/university_organization_api.rb +344 -0
  188. data/lib/osuny_api/api/university_organization_category_api.rb +344 -0
  189. data/lib/osuny_api/api_client.rb +388 -0
  190. data/lib/osuny_api/api_error.rb +57 -0
  191. data/lib/osuny_api/configuration.rb +205 -0
  192. data/lib/osuny_api/models/agenda_categories_body.rb +211 -0
  193. data/lib/osuny_api/models/agenda_events_body.rb +211 -0
  194. data/lib/osuny_api/models/categories_id_body.rb +211 -0
  195. data/lib/osuny_api/models/categories_id_body_1.rb +211 -0
  196. data/lib/osuny_api/models/categories_id_body_2.rb +211 -0
  197. data/lib/osuny_api/models/categories_id_body_3.rb +211 -0
  198. data/lib/osuny_api/models/categories_id_body_4.rb +211 -0
  199. data/lib/osuny_api/models/categories_upsert_body.rb +213 -0
  200. data/lib/osuny_api/models/categories_upsert_body_1.rb +213 -0
  201. data/lib/osuny_api/models/categories_upsert_body_2.rb +213 -0
  202. data/lib/osuny_api/models/categories_upsert_body_3.rb +213 -0
  203. data/lib/osuny_api/models/categories_upsert_body_4.rb +213 -0
  204. data/lib/osuny_api/models/communication_block_agenda.rb +312 -0
  205. data/lib/osuny_api/models/communication_block_agenda_data.rb +411 -0
  206. data/lib/osuny_api/models/communication_block_agenda_data_elements.rb +206 -0
  207. data/lib/osuny_api/models/communication_block_call_to_action.rb +312 -0
  208. data/lib/osuny_api/models/communication_block_call_to_action_data.rb +288 -0
  209. data/lib/osuny_api/models/communication_block_call_to_action_data_elements.rb +224 -0
  210. data/lib/osuny_api/models/communication_block_call_to_action_data_image.rb +227 -0
  211. data/lib/osuny_api/models/communication_block_categories.rb +312 -0
  212. data/lib/osuny_api/models/communication_block_categories_data.rb +307 -0
  213. data/lib/osuny_api/models/communication_block_chapter.rb +312 -0
  214. data/lib/osuny_api/models/communication_block_chapter_data.rb +286 -0
  215. data/lib/osuny_api/models/communication_block_chapter_data_image.rb +227 -0
  216. data/lib/osuny_api/models/communication_block_contact.rb +312 -0
  217. data/lib/osuny_api/models/communication_block_contact_data.rb +393 -0
  218. data/lib/osuny_api/models/communication_block_contact_data_elements.rb +224 -0
  219. data/lib/osuny_api/models/communication_block_contact_data_time_slot_morning.rb +215 -0
  220. data/lib/osuny_api/models/communication_block_datatable.rb +312 -0
  221. data/lib/osuny_api/models/communication_block_datatable_data.rb +247 -0
  222. data/lib/osuny_api/models/communication_block_datatable_data_elements.rb +208 -0
  223. data/lib/osuny_api/models/communication_block_definitions.rb +312 -0
  224. data/lib/osuny_api/models/communication_block_definitions_data.rb +218 -0
  225. data/lib/osuny_api/models/communication_block_definitions_data_elements.rb +215 -0
  226. data/lib/osuny_api/models/communication_block_embed.rb +312 -0
  227. data/lib/osuny_api/models/communication_block_embed_data.rb +225 -0
  228. data/lib/osuny_api/models/communication_block_exhibitions.rb +312 -0
  229. data/lib/osuny_api/models/communication_block_exhibitions_data.rb +384 -0
  230. data/lib/osuny_api/models/communication_block_features.rb +312 -0
  231. data/lib/osuny_api/models/communication_block_features_data.rb +218 -0
  232. data/lib/osuny_api/models/communication_block_features_data_elements.rb +242 -0
  233. data/lib/osuny_api/models/communication_block_files.rb +312 -0
  234. data/lib/osuny_api/models/communication_block_files_data.rb +218 -0
  235. data/lib/osuny_api/models/communication_block_files_data_elements.rb +224 -0
  236. data/lib/osuny_api/models/communication_block_gallery.rb +312 -0
  237. data/lib/osuny_api/models/communication_block_gallery_data.rb +261 -0
  238. data/lib/osuny_api/models/communication_block_gallery_data_elements.rb +233 -0
  239. data/lib/osuny_api/models/communication_block_image.rb +312 -0
  240. data/lib/osuny_api/models/communication_block_image_data.rb +234 -0
  241. data/lib/osuny_api/models/communication_block_jobs.rb +312 -0
  242. data/lib/osuny_api/models/communication_block_jobs_data.rb +354 -0
  243. data/lib/osuny_api/models/communication_block_key_figures.rb +312 -0
  244. data/lib/osuny_api/models/communication_block_key_figures_data.rb +218 -0
  245. data/lib/osuny_api/models/communication_block_key_figures_data_elements.rb +233 -0
  246. data/lib/osuny_api/models/communication_block_license.rb +312 -0
  247. data/lib/osuny_api/models/communication_block_license_data.rb +334 -0
  248. data/lib/osuny_api/models/communication_block_links.rb +312 -0
  249. data/lib/osuny_api/models/communication_block_links_data.rb +270 -0
  250. data/lib/osuny_api/models/communication_block_links_data_elements.rb +233 -0
  251. data/lib/osuny_api/models/communication_block_locations.rb +312 -0
  252. data/lib/osuny_api/models/communication_block_locations_data.rb +270 -0
  253. data/lib/osuny_api/models/communication_block_locations_data_elements.rb +206 -0
  254. data/lib/osuny_api/models/communication_block_organizations.rb +312 -0
  255. data/lib/osuny_api/models/communication_block_organizations_data.rb +345 -0
  256. data/lib/osuny_api/models/communication_block_organizations_data_elements.rb +242 -0
  257. data/lib/osuny_api/models/communication_block_pages.rb +312 -0
  258. data/lib/osuny_api/models/communication_block_pages_data.rb +336 -0
  259. data/lib/osuny_api/models/communication_block_papers.rb +312 -0
  260. data/lib/osuny_api/models/communication_block_papers_data.rb +261 -0
  261. data/lib/osuny_api/models/communication_block_persons.rb +312 -0
  262. data/lib/osuny_api/models/communication_block_persons_data.rb +336 -0
  263. data/lib/osuny_api/models/communication_block_persons_data_elements.rb +215 -0
  264. data/lib/osuny_api/models/communication_block_posts.rb +312 -0
  265. data/lib/osuny_api/models/communication_block_posts_data.rb +354 -0
  266. data/lib/osuny_api/models/communication_block_programs.rb +312 -0
  267. data/lib/osuny_api/models/communication_block_programs_data.rb +279 -0
  268. data/lib/osuny_api/models/communication_block_programs_data_elements.rb +206 -0
  269. data/lib/osuny_api/models/communication_block_projects.rb +312 -0
  270. data/lib/osuny_api/models/communication_block_projects_data.rb +336 -0
  271. data/lib/osuny_api/models/communication_block_sound.rb +312 -0
  272. data/lib/osuny_api/models/communication_block_sound_data.rb +225 -0
  273. data/lib/osuny_api/models/communication_block_testimonials.rb +312 -0
  274. data/lib/osuny_api/models/communication_block_testimonials_data.rb +252 -0
  275. data/lib/osuny_api/models/communication_block_testimonials_data_elements.rb +233 -0
  276. data/lib/osuny_api/models/communication_block_timeline.rb +312 -0
  277. data/lib/osuny_api/models/communication_block_timeline_data.rb +252 -0
  278. data/lib/osuny_api/models/communication_block_timeline_data_elements.rb +215 -0
  279. data/lib/osuny_api/models/communication_block_title.rb +312 -0
  280. data/lib/osuny_api/models/communication_block_title_data.rb +241 -0
  281. data/lib/osuny_api/models/communication_block_video.rb +312 -0
  282. data/lib/osuny_api/models/communication_block_video_data.rb +277 -0
  283. data/lib/osuny_api/models/communication_block_volumes.rb +312 -0
  284. data/lib/osuny_api/models/communication_media.rb +339 -0
  285. data/lib/osuny_api/models/communication_media_localization.rb +265 -0
  286. data/lib/osuny_api/models/communication_media_original_blob.rb +237 -0
  287. data/lib/osuny_api/models/communication_medias_body.rb +215 -0
  288. data/lib/osuny_api/models/communication_website.rb +326 -0
  289. data/lib/osuny_api/models/communication_website_agenda_category.rb +274 -0
  290. data/lib/osuny_api/models/communication_website_agenda_category_localization.rb +362 -0
  291. data/lib/osuny_api/models/communication_website_agenda_category_localization_featured_image.rb +237 -0
  292. data/lib/osuny_api/models/communication_website_agenda_event.rb +315 -0
  293. data/lib/osuny_api/models/communication_website_agenda_event_localization.rb +391 -0
  294. data/lib/osuny_api/models/communication_website_agenda_event_localization_add_to_calendar_urls.rb +242 -0
  295. data/lib/osuny_api/models/communication_website_agenda_event_time_slot.rb +265 -0
  296. data/lib/osuny_api/models/communication_website_agenda_event_time_slot_localization.rb +263 -0
  297. data/lib/osuny_api/models/communication_website_deuxfleurs.rb +216 -0
  298. data/lib/osuny_api/models/communication_website_features.rb +224 -0
  299. data/lib/osuny_api/models/communication_website_git.rb +237 -0
  300. data/lib/osuny_api/models/communication_website_localization.rb +362 -0
  301. data/lib/osuny_api/models/communication_website_page.rb +306 -0
  302. data/lib/osuny_api/models/communication_website_page_category.rb +274 -0
  303. data/lib/osuny_api/models/communication_website_page_category_localization.rb +362 -0
  304. data/lib/osuny_api/models/communication_website_page_localization.rb +392 -0
  305. data/lib/osuny_api/models/communication_website_permalink.rb +215 -0
  306. data/lib/osuny_api/models/communication_website_portfolio_category.rb +284 -0
  307. data/lib/osuny_api/models/communication_website_portfolio_category_localization.rb +362 -0
  308. data/lib/osuny_api/models/communication_website_portfolio_project.rb +285 -0
  309. data/lib/osuny_api/models/communication_website_portfolio_project_localization.rb +362 -0
  310. data/lib/osuny_api/models/communication_website_post.rb +266 -0
  311. data/lib/osuny_api/models/communication_website_post_category.rb +274 -0
  312. data/lib/osuny_api/models/communication_website_post_category_localization.rb +362 -0
  313. data/lib/osuny_api/models/communication_website_post_localization.rb +342 -0
  314. data/lib/osuny_api/models/communication_website_showcase.rb +226 -0
  315. data/lib/osuny_api/models/communication_website_showcase_tags.rb +224 -0
  316. data/lib/osuny_api/models/events_id_body.rb +211 -0
  317. data/lib/osuny_api/models/events_upsert_body.rb +213 -0
  318. data/lib/osuny_api/models/one_ofcommunication_website_agenda_category_localization_blocks_items.rb +197 -0
  319. data/lib/osuny_api/models/one_ofcommunication_website_agenda_event_localization_blocks_items.rb +197 -0
  320. data/lib/osuny_api/models/one_ofcommunication_website_page_category_localization_blocks_items.rb +197 -0
  321. data/lib/osuny_api/models/one_ofcommunication_website_page_localization_blocks_items.rb +197 -0
  322. data/lib/osuny_api/models/one_ofcommunication_website_portfolio_category_localization_blocks_items.rb +197 -0
  323. data/lib/osuny_api/models/one_ofcommunication_website_portfolio_project_localization_blocks_items.rb +197 -0
  324. data/lib/osuny_api/models/one_ofcommunication_website_post_category_localization_blocks_items.rb +197 -0
  325. data/lib/osuny_api/models/one_ofcommunication_website_post_localization_blocks_items.rb +197 -0
  326. data/lib/osuny_api/models/one_ofuniversity_organization_category_localization_blocks_items.rb +197 -0
  327. data/lib/osuny_api/models/one_ofuniversity_organization_localization_blocks_items.rb +197 -0
  328. data/lib/osuny_api/models/organizations_categories_body.rb +211 -0
  329. data/lib/osuny_api/models/organizations_id_body.rb +211 -0
  330. data/lib/osuny_api/models/organizations_upsert_body.rb +213 -0
  331. data/lib/osuny_api/models/pages_categories_body.rb +211 -0
  332. data/lib/osuny_api/models/pages_id_body.rb +211 -0
  333. data/lib/osuny_api/models/pages_upsert_body.rb +213 -0
  334. data/lib/osuny_api/models/portfolio_categories_body.rb +211 -0
  335. data/lib/osuny_api/models/portfolio_projects_body.rb +211 -0
  336. data/lib/osuny_api/models/posts_categories_body.rb +211 -0
  337. data/lib/osuny_api/models/posts_id_body.rb +211 -0
  338. data/lib/osuny_api/models/posts_upsert_body.rb +213 -0
  339. data/lib/osuny_api/models/projects_id_body.rb +211 -0
  340. data/lib/osuny_api/models/projects_upsert_body.rb +213 -0
  341. data/lib/osuny_api/models/university_organization.rb +400 -0
  342. data/lib/osuny_api/models/university_organization_category.rb +274 -0
  343. data/lib/osuny_api/models/university_organization_category_localization.rb +352 -0
  344. data/lib/osuny_api/models/university_organization_localization.rb +392 -0
  345. data/lib/osuny_api/models/university_organizations_body.rb +211 -0
  346. data/lib/osuny_api/models/website_id_pages_body.rb +211 -0
  347. data/lib/osuny_api/models/website_id_posts_body.rb +211 -0
  348. data/lib/osuny_api/version.rb +11 -2
  349. data/lib/osuny_api.rb +196 -11
  350. data/osuny_api.gemspec +38 -30
  351. data/spec/api/communication_website_agenda_category_api_spec.rb +106 -0
  352. data/spec/api/communication_website_agenda_event_api_spec.rb +106 -0
  353. data/spec/api/communication_website_api_spec.rb +55 -0
  354. data/spec/api/communication_website_media_api_spec.rb +46 -0
  355. data/spec/api/communication_website_page_api_spec.rb +106 -0
  356. data/spec/api/communication_website_page_category_api_spec.rb +106 -0
  357. data/spec/api/communication_website_portfolio_category_api_spec.rb +108 -0
  358. data/spec/api/communication_website_portfolio_project_api_spec.rb +108 -0
  359. data/spec/api/communication_website_post_api_spec.rb +106 -0
  360. data/spec/api/communication_website_post_category_api_spec.rb +108 -0
  361. data/spec/api/university_organization_api_spec.rb +100 -0
  362. data/spec/api/university_organization_category_api_spec.rb +100 -0
  363. data/spec/api_client_spec.rb +225 -0
  364. data/spec/base_object_spec.rb +109 -0
  365. data/spec/configuration_spec.rb +41 -0
  366. data/spec/models/agenda_categories_body_spec.rb +40 -0
  367. data/spec/models/agenda_events_body_spec.rb +40 -0
  368. data/spec/models/categories_id_body_1_spec.rb +40 -0
  369. data/spec/models/categories_id_body_2_spec.rb +40 -0
  370. data/spec/models/categories_id_body_3_spec.rb +40 -0
  371. data/spec/models/categories_id_body_4_spec.rb +40 -0
  372. data/spec/models/categories_id_body_spec.rb +40 -0
  373. data/spec/models/categories_upsert_body_1_spec.rb +40 -0
  374. data/spec/models/categories_upsert_body_2_spec.rb +40 -0
  375. data/spec/models/categories_upsert_body_3_spec.rb +40 -0
  376. data/spec/models/categories_upsert_body_4_spec.rb +40 -0
  377. data/spec/models/categories_upsert_body_spec.rb +40 -0
  378. data/spec/models/communication_block_agenda_data_elements_spec.rb +40 -0
  379. data/spec/models/communication_block_agenda_data_spec.rb +130 -0
  380. data/spec/models/communication_block_agenda_spec.rb +86 -0
  381. data/spec/models/communication_block_call_to_action_data_elements_spec.rb +52 -0
  382. data/spec/models/communication_block_call_to_action_data_image_spec.rb +52 -0
  383. data/spec/models/communication_block_call_to_action_data_spec.rb +74 -0
  384. data/spec/models/communication_block_call_to_action_spec.rb +86 -0
  385. data/spec/models/communication_block_categories_data_spec.rb +84 -0
  386. data/spec/models/communication_block_categories_spec.rb +86 -0
  387. data/spec/models/communication_block_chapter_data_image_spec.rb +52 -0
  388. data/spec/models/communication_block_chapter_data_spec.rb +74 -0
  389. data/spec/models/communication_block_chapter_spec.rb +86 -0
  390. data/spec/models/communication_block_contact_data_elements_spec.rb +52 -0
  391. data/spec/models/communication_block_contact_data_spec.rb +160 -0
  392. data/spec/models/communication_block_contact_data_time_slot_morning_spec.rb +46 -0
  393. data/spec/models/communication_block_contact_spec.rb +86 -0
  394. data/spec/models/communication_block_datatable_data_elements_spec.rb +40 -0
  395. data/spec/models/communication_block_datatable_data_spec.rb +64 -0
  396. data/spec/models/communication_block_datatable_spec.rb +86 -0
  397. data/spec/models/communication_block_definitions_data_elements_spec.rb +46 -0
  398. data/spec/models/communication_block_definitions_data_spec.rb +46 -0
  399. data/spec/models/communication_block_definitions_spec.rb +86 -0
  400. data/spec/models/communication_block_embed_data_spec.rb +52 -0
  401. data/spec/models/communication_block_embed_spec.rb +86 -0
  402. data/spec/models/communication_block_exhibitions_data_spec.rb +130 -0
  403. data/spec/models/communication_block_exhibitions_spec.rb +86 -0
  404. data/spec/models/communication_block_features_data_elements_spec.rb +64 -0
  405. data/spec/models/communication_block_features_data_spec.rb +46 -0
  406. data/spec/models/communication_block_features_spec.rb +86 -0
  407. data/spec/models/communication_block_files_data_elements_spec.rb +52 -0
  408. data/spec/models/communication_block_files_data_spec.rb +46 -0
  409. data/spec/models/communication_block_files_spec.rb +86 -0
  410. data/spec/models/communication_block_gallery_data_elements_spec.rb +58 -0
  411. data/spec/models/communication_block_gallery_data_spec.rb +56 -0
  412. data/spec/models/communication_block_gallery_spec.rb +86 -0
  413. data/spec/models/communication_block_image_data_spec.rb +58 -0
  414. data/spec/models/communication_block_image_spec.rb +86 -0
  415. data/spec/models/communication_block_jobs_data_spec.rb +114 -0
  416. data/spec/models/communication_block_jobs_spec.rb +86 -0
  417. data/spec/models/communication_block_key_figures_data_elements_spec.rb +58 -0
  418. data/spec/models/communication_block_key_figures_data_spec.rb +46 -0
  419. data/spec/models/communication_block_key_figures_spec.rb +86 -0
  420. data/spec/models/communication_block_license_data_spec.rb +90 -0
  421. data/spec/models/communication_block_license_spec.rb +86 -0
  422. data/spec/models/communication_block_links_data_elements_spec.rb +64 -0
  423. data/spec/models/communication_block_links_data_spec.rb +46 -0
  424. data/spec/models/communication_block_links_spec.rb +86 -0
  425. data/spec/models/communication_block_locations_data_elements_spec.rb +40 -0
  426. data/spec/models/communication_block_locations_data_spec.rb +62 -0
  427. data/spec/models/communication_block_locations_spec.rb +86 -0
  428. data/spec/models/communication_block_organizations_data_elements_spec.rb +58 -0
  429. data/spec/models/communication_block_organizations_data_spec.rb +96 -0
  430. data/spec/models/communication_block_organizations_spec.rb +86 -0
  431. data/spec/models/communication_block_pages_data_spec.rb +96 -0
  432. data/spec/models/communication_block_pages_spec.rb +86 -0
  433. data/spec/models/communication_block_papers_data_spec.rb +56 -0
  434. data/spec/models/communication_block_papers_spec.rb +86 -0
  435. data/spec/models/communication_block_persons_data_elements_spec.rb +46 -0
  436. data/spec/models/communication_block_persons_data_spec.rb +102 -0
  437. data/spec/models/communication_block_persons_spec.rb +86 -0
  438. data/spec/models/communication_block_posts_data_spec.rb +114 -0
  439. data/spec/models/communication_block_posts_spec.rb +86 -0
  440. data/spec/models/communication_block_programs_data_elements_spec.rb +40 -0
  441. data/spec/models/communication_block_programs_data_spec.rb +68 -0
  442. data/spec/models/communication_block_programs_spec.rb +86 -0
  443. data/spec/models/communication_block_projects_data_spec.rb +102 -0
  444. data/spec/models/communication_block_projects_spec.rb +86 -0
  445. data/spec/models/communication_block_sound_data_spec.rb +52 -0
  446. data/spec/models/communication_block_sound_spec.rb +86 -0
  447. data/spec/models/communication_block_testimonials_data_elements_spec.rb +58 -0
  448. data/spec/models/communication_block_testimonials_data_spec.rb +40 -0
  449. data/spec/models/communication_block_testimonials_spec.rb +86 -0
  450. data/spec/models/communication_block_timeline_data_elements_spec.rb +46 -0
  451. data/spec/models/communication_block_timeline_data_spec.rb +50 -0
  452. data/spec/models/communication_block_timeline_spec.rb +86 -0
  453. data/spec/models/communication_block_title_data_spec.rb +44 -0
  454. data/spec/models/communication_block_title_spec.rb +86 -0
  455. data/spec/models/communication_block_video_data_spec.rb +68 -0
  456. data/spec/models/communication_block_video_spec.rb +86 -0
  457. data/spec/models/communication_block_volumes_spec.rb +86 -0
  458. data/spec/models/communication_media_localization_spec.rb +76 -0
  459. data/spec/models/communication_media_original_blob_spec.rb +58 -0
  460. data/spec/models/communication_media_spec.rb +104 -0
  461. data/spec/models/communication_medias_body_spec.rb +46 -0
  462. data/spec/models/communication_website_agenda_category_localization_featured_image_spec.rb +58 -0
  463. data/spec/models/communication_website_agenda_category_localization_spec.rb +100 -0
  464. data/spec/models/communication_website_agenda_category_spec.rb +82 -0
  465. data/spec/models/communication_website_agenda_event_localization_add_to_calendar_urls_spec.rb +64 -0
  466. data/spec/models/communication_website_agenda_event_localization_spec.rb +148 -0
  467. data/spec/models/communication_website_agenda_event_spec.rb +106 -0
  468. data/spec/models/communication_website_agenda_event_time_slot_localization_spec.rb +76 -0
  469. data/spec/models/communication_website_agenda_event_time_slot_spec.rb +76 -0
  470. data/spec/models/communication_website_deuxfleurs_spec.rb +46 -0
  471. data/spec/models/communication_website_features_spec.rb +52 -0
  472. data/spec/models/communication_website_git_spec.rb +58 -0
  473. data/spec/models/communication_website_localization_spec.rb +136 -0
  474. data/spec/models/communication_website_page_category_localization_spec.rb +100 -0
  475. data/spec/models/communication_website_page_category_spec.rb +82 -0
  476. data/spec/models/communication_website_page_localization_spec.rb +142 -0
  477. data/spec/models/communication_website_page_spec.rb +100 -0
  478. data/spec/models/communication_website_permalink_spec.rb +46 -0
  479. data/spec/models/communication_website_portfolio_category_localization_spec.rb +136 -0
  480. data/spec/models/communication_website_portfolio_category_spec.rb +88 -0
  481. data/spec/models/communication_website_portfolio_project_localization_spec.rb +136 -0
  482. data/spec/models/communication_website_portfolio_project_spec.rb +88 -0
  483. data/spec/models/communication_website_post_category_localization_spec.rb +136 -0
  484. data/spec/models/communication_website_post_category_spec.rb +82 -0
  485. data/spec/models/communication_website_post_localization_spec.rb +124 -0
  486. data/spec/models/communication_website_post_spec.rb +70 -0
  487. data/spec/models/communication_website_showcase_spec.rb +52 -0
  488. data/spec/models/communication_website_showcase_tags_spec.rb +52 -0
  489. data/spec/models/communication_website_spec.rb +88 -0
  490. data/spec/models/events_id_body_spec.rb +40 -0
  491. data/spec/models/events_upsert_body_spec.rb +40 -0
  492. data/spec/models/one_ofcommunication_website_agenda_category_localization_blocks_items_spec.rb +34 -0
  493. data/spec/models/one_ofcommunication_website_agenda_event_localization_blocks_items_spec.rb +34 -0
  494. data/spec/models/one_ofcommunication_website_page_category_localization_blocks_items_spec.rb +34 -0
  495. data/spec/models/one_ofcommunication_website_page_localization_blocks_items_spec.rb +34 -0
  496. data/spec/models/one_ofcommunication_website_portfolio_category_localization_blocks_items_spec.rb +34 -0
  497. data/spec/models/one_ofcommunication_website_portfolio_project_localization_blocks_items_spec.rb +34 -0
  498. data/spec/models/one_ofcommunication_website_post_category_localization_blocks_items_spec.rb +34 -0
  499. data/spec/models/one_ofcommunication_website_post_localization_blocks_items_spec.rb +34 -0
  500. data/spec/models/one_ofuniversity_organization_category_localization_blocks_items_spec.rb +34 -0
  501. data/spec/models/one_ofuniversity_organization_localization_blocks_items_spec.rb +34 -0
  502. data/spec/models/organizations_categories_body_spec.rb +40 -0
  503. data/spec/models/organizations_id_body_spec.rb +40 -0
  504. data/spec/models/organizations_upsert_body_spec.rb +40 -0
  505. data/spec/models/pages_categories_body_spec.rb +40 -0
  506. data/spec/models/pages_id_body_spec.rb +40 -0
  507. data/spec/models/pages_upsert_body_spec.rb +40 -0
  508. data/spec/models/portfolio_categories_body_spec.rb +40 -0
  509. data/spec/models/portfolio_projects_body_spec.rb +40 -0
  510. data/spec/models/posts_categories_body_spec.rb +40 -0
  511. data/spec/models/posts_id_body_spec.rb +40 -0
  512. data/spec/models/posts_upsert_body_spec.rb +40 -0
  513. data/spec/models/projects_id_body_spec.rb +40 -0
  514. data/spec/models/projects_upsert_body_spec.rb +40 -0
  515. data/spec/models/university_organization_category_localization_spec.rb +94 -0
  516. data/spec/models/university_organization_category_spec.rb +82 -0
  517. data/spec/models/university_organization_localization_spec.rb +142 -0
  518. data/spec/models/university_organization_spec.rb +146 -0
  519. data/spec/models/university_organizations_body_spec.rb +40 -0
  520. data/spec/models/website_id_pages_body_spec.rb +40 -0
  521. data/spec/models/website_id_posts_body_spec.rb +40 -0
  522. data/spec/spec_helper.rb +110 -0
  523. metadata +764 -24
  524. data/lib/osuny_api/client.rb +0 -41
  525. data/lib/osuny_api/communication/website/page.rb +0 -12
  526. data/lib/osuny_api/communication/website/post.rb +0 -12
  527. data/lib/osuny_api/communication/website.rb +0 -18
  528. data/lib/osuny_api/communication.rb +0 -13
  529. data/lib/osuny_api/error.rb +0 -4
  530. data/lib/osuny_api/resource.rb +0 -20
data/README.md CHANGED
@@ -1,30 +1,1548 @@
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)
29
+
30
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
6
31
 
7
- $ bundle add osuny_api
32
+ Finally add this to the Gemfile:
8
33
 
9
- If bundler is not being used to manage dependencies, install the gem by executing:
34
+ gem 'osuny_api', '~> 1.0.0'
10
35
 
11
- $ gem install osuny_api
36
+ ### Install from Git
12
37
 
13
- ## Usage
38
+ gem 'osuny_api', :git => 'https://github.com/osunyorg/api.git'
14
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
+ opts = {
64
+ page_num: 1, # Integer | Page number
65
+ per_page: 10000 # Integer | Number of items per page
66
+ }
67
+
68
+ begin
69
+ #Lists the websites
70
+ result = api_instance.communication_websites_get(opts)
71
+ p result
72
+ rescue OsunyApi::ApiError => e
73
+ puts "Exception when calling CommunicationWebsiteApi->communication_websites_get: #{e}"
74
+ end
75
+ # Setup authorization
76
+ OsunyApi.configure do |config|
77
+ # Configure API key authorization: api_key
78
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
79
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
80
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
81
+ end
82
+
83
+ api_instance = OsunyApi::CommunicationWebsiteApi.new
84
+ id = 'id_example' # String | Website identifier
85
+
86
+
87
+ begin
88
+ #Shows a website
89
+ result = api_instance.communication_websites_id_get(id)
90
+ p result
91
+ rescue OsunyApi::ApiError => e
92
+ puts "Exception when calling CommunicationWebsiteApi->communication_websites_id_get: #{e}"
93
+ end
94
+ # Setup authorization
95
+ OsunyApi.configure do |config|
96
+ # Configure API key authorization: api_key
97
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
98
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
99
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
100
+ end
101
+
102
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
103
+ website_id = 'website_id_example' # String | Website identifier
104
+ opts = {
105
+ page_num: 1, # Integer | Page number
106
+ per_page: 10000 # Integer | Number of items per page
107
+ }
108
+
109
+ begin
110
+ #Lists a website's agenda categories
111
+ result = api_instance.communication_websites_website_id_agenda_categories_get(website_id, opts)
112
+ p result
113
+ rescue OsunyApi::ApiError => e
114
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_get: #{e}"
115
+ end
116
+ # Setup authorization
117
+ OsunyApi.configure do |config|
118
+ # Configure API key authorization: api_key
119
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
120
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
121
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
122
+ end
123
+
124
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
125
+ website_id = 'website_id_example' # String | Website identifier
126
+ id = 'id_example' # String | Category identifier
127
+
128
+
129
+ begin
130
+ #Deletes an agenda category
131
+ api_instance.communication_websites_website_id_agenda_categories_id_delete(website_id, id)
132
+ rescue OsunyApi::ApiError => e
133
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_delete: #{e}"
134
+ end
135
+ # Setup authorization
136
+ OsunyApi.configure do |config|
137
+ # Configure API key authorization: api_key
138
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
139
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
140
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
141
+ end
142
+
143
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
144
+ website_id = 'website_id_example' # String | Website identifier
145
+ id = 'id_example' # String | Category identifier
146
+
147
+
148
+ begin
149
+ #Shows an agenda category
150
+ api_instance.communication_websites_website_id_agenda_categories_id_get(website_id, id)
151
+ rescue OsunyApi::ApiError => e
152
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_get: #{e}"
153
+ end
154
+ # Setup authorization
155
+ OsunyApi.configure do |config|
156
+ # Configure API key authorization: api_key
157
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
158
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
159
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
160
+ end
161
+
162
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
163
+ website_id = 'website_id_example' # String | Website identifier
164
+ id = 'id_example' # String | Category identifier
165
+ opts = {
166
+ body: OsunyApi::CategoriesIdBody.new # CategoriesIdBody |
167
+ }
168
+
169
+ begin
170
+ #Updates an agenda category
171
+ api_instance.communication_websites_website_id_agenda_categories_id_patch(website_id, id, opts)
172
+ rescue OsunyApi::ApiError => e
173
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_id_patch: #{e}"
174
+ end
175
+ # Setup authorization
176
+ OsunyApi.configure do |config|
177
+ # Configure API key authorization: api_key
178
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
179
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
180
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
181
+ end
182
+
183
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
184
+ website_id = 'website_id_example' # String | Website identifier
185
+ opts = {
186
+ body: OsunyApi::AgendaCategoriesBody.new # AgendaCategoriesBody |
187
+ }
188
+
189
+ begin
190
+ #Creates an agenda category
191
+ api_instance.communication_websites_website_id_agenda_categories_post(website_id, opts)
192
+ rescue OsunyApi::ApiError => e
193
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_post: #{e}"
194
+ end
195
+ # Setup authorization
196
+ OsunyApi.configure do |config|
197
+ # Configure API key authorization: api_key
198
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
199
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
200
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
201
+ end
202
+
203
+ api_instance = OsunyApi::CommunicationWebsiteAgendaCategoryApi.new
204
+ website_id = 'website_id_example' # String | Website identifier
205
+ opts = {
206
+ body: OsunyApi::CategoriesUpsertBody.new # CategoriesUpsertBody |
207
+ }
208
+
209
+ begin
210
+ #Upsert agenda categories
211
+ api_instance.communication_websites_website_id_agenda_categories_upsert_post(website_id, opts)
212
+ rescue OsunyApi::ApiError => e
213
+ puts "Exception when calling CommunicationWebsiteAgendaCategoryApi->communication_websites_website_id_agenda_categories_upsert_post: #{e}"
214
+ end
215
+ # Setup authorization
216
+ OsunyApi.configure do |config|
217
+ # Configure API key authorization: api_key
218
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
219
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
220
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
221
+ end
222
+
223
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
224
+ website_id = 'website_id_example' # String | Website identifier
225
+ opts = {
226
+ page_num: 1, # Integer | Page number
227
+ per_page: 10000 # Integer | Number of items per page
228
+ }
229
+
230
+ begin
231
+ #Lists a website's events
232
+ result = api_instance.communication_websites_website_id_agenda_events_get(website_id, opts)
233
+ p result
234
+ rescue OsunyApi::ApiError => e
235
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_get: #{e}"
236
+ end
237
+ # Setup authorization
238
+ OsunyApi.configure do |config|
239
+ # Configure API key authorization: api_key
240
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
241
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
242
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
243
+ end
244
+
245
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
246
+ website_id = 'website_id_example' # String | Website identifier
247
+ id = 'id_example' # String | Event identifier
248
+
249
+
250
+ begin
251
+ #Deletes an event
252
+ api_instance.communication_websites_website_id_agenda_events_id_delete(website_id, id)
253
+ rescue OsunyApi::ApiError => e
254
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_delete: #{e}"
255
+ end
256
+ # Setup authorization
257
+ OsunyApi.configure do |config|
258
+ # Configure API key authorization: api_key
259
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
260
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
261
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
262
+ end
263
+
264
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
265
+ website_id = 'website_id_example' # String | Website identifier
266
+ id = 'id_example' # String | Event identifier
267
+
268
+
269
+ begin
270
+ #Shows an event
271
+ api_instance.communication_websites_website_id_agenda_events_id_get(website_id, id)
272
+ rescue OsunyApi::ApiError => e
273
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_get: #{e}"
274
+ end
275
+ # Setup authorization
276
+ OsunyApi.configure do |config|
277
+ # Configure API key authorization: api_key
278
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
279
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
280
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
281
+ end
282
+
283
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
284
+ website_id = 'website_id_example' # String | Website identifier
285
+ id = 'id_example' # String | Event identifier
286
+ opts = {
287
+ body: OsunyApi::EventsIdBody.new # EventsIdBody |
288
+ }
289
+
290
+ begin
291
+ #Updates an event
292
+ api_instance.communication_websites_website_id_agenda_events_id_patch(website_id, id, opts)
293
+ rescue OsunyApi::ApiError => e
294
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_id_patch: #{e}"
295
+ end
296
+ # Setup authorization
297
+ OsunyApi.configure do |config|
298
+ # Configure API key authorization: api_key
299
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
300
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
301
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
302
+ end
303
+
304
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
305
+ website_id = 'website_id_example' # String | Website identifier
306
+ opts = {
307
+ body: OsunyApi::AgendaEventsBody.new # AgendaEventsBody |
308
+ }
309
+
310
+ begin
311
+ #Creates an event
312
+ api_instance.communication_websites_website_id_agenda_events_post(website_id, opts)
313
+ rescue OsunyApi::ApiError => e
314
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_post: #{e}"
315
+ end
316
+ # Setup authorization
317
+ OsunyApi.configure do |config|
318
+ # Configure API key authorization: api_key
319
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
320
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
321
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
322
+ end
323
+
324
+ api_instance = OsunyApi::CommunicationWebsiteAgendaEventApi.new
325
+ website_id = 'website_id_example' # String | Website identifier
326
+ opts = {
327
+ body: OsunyApi::EventsUpsertBody.new # EventsUpsertBody |
328
+ }
329
+
330
+ begin
331
+ #Upsert events
332
+ api_instance.communication_websites_website_id_agenda_events_upsert_post(website_id, opts)
333
+ rescue OsunyApi::ApiError => e
334
+ puts "Exception when calling CommunicationWebsiteAgendaEventApi->communication_websites_website_id_agenda_events_upsert_post: #{e}"
335
+ end
336
+ # Setup authorization
337
+ OsunyApi.configure do |config|
338
+ # Configure API key authorization: api_key
339
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
340
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
341
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
342
+ end
343
+
344
+ api_instance = OsunyApi::CommunicationWebsiteMediaApi.new
345
+ opts = {
346
+ url: 'url_example', # String |
347
+ file: 'file_example' # String |
348
+ }
349
+
350
+ begin
351
+ #Create a media
352
+ api_instance.communication_medias_post(opts)
353
+ rescue OsunyApi::ApiError => e
354
+ puts "Exception when calling CommunicationWebsiteMediaApi->communication_medias_post: #{e}"
355
+ end
356
+ # Setup authorization
357
+ OsunyApi.configure do |config|
358
+ # Configure API key authorization: api_key
359
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
360
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
361
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
362
+ end
363
+
364
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
365
+ website_id = 'website_id_example' # String | Website identifier
366
+ opts = {
367
+ page_num: 1, # Integer | Page number
368
+ per_page: 10000 # Integer | Number of items per page
369
+ }
370
+
371
+ begin
372
+ #Lists a website's pages
373
+ result = api_instance.communication_websites_website_id_pages_get(website_id, opts)
374
+ p result
375
+ rescue OsunyApi::ApiError => e
376
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_get: #{e}"
377
+ end
378
+ # Setup authorization
379
+ OsunyApi.configure do |config|
380
+ # Configure API key authorization: api_key
381
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
382
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
383
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
384
+ end
385
+
386
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
387
+ website_id = 'website_id_example' # String | Website identifier
388
+ id = 'id_example' # String | Page identifier
389
+
390
+
391
+ begin
392
+ #Deletes a page
393
+ api_instance.communication_websites_website_id_pages_id_delete(website_id, id)
394
+ rescue OsunyApi::ApiError => e
395
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_delete: #{e}"
396
+ end
397
+ # Setup authorization
398
+ OsunyApi.configure do |config|
399
+ # Configure API key authorization: api_key
400
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
401
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
402
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
403
+ end
404
+
405
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
406
+ website_id = 'website_id_example' # String | Website identifier
407
+ id = 'id_example' # String | Page identifier
408
+
409
+
410
+ begin
411
+ #Shows a page
412
+ api_instance.communication_websites_website_id_pages_id_get(website_id, id)
413
+ rescue OsunyApi::ApiError => e
414
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_get: #{e}"
415
+ end
416
+ # Setup authorization
417
+ OsunyApi.configure do |config|
418
+ # Configure API key authorization: api_key
419
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
420
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
421
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
422
+ end
423
+
424
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
425
+ website_id = 'website_id_example' # String | Website identifier
426
+ id = 'id_example' # String | Page identifier
427
+ opts = {
428
+ body: OsunyApi::PagesIdBody.new # PagesIdBody |
429
+ }
430
+
431
+ begin
432
+ #Updates a page
433
+ api_instance.communication_websites_website_id_pages_id_patch(website_id, id, opts)
434
+ rescue OsunyApi::ApiError => e
435
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_id_patch: #{e}"
436
+ end
437
+ # Setup authorization
438
+ OsunyApi.configure do |config|
439
+ # Configure API key authorization: api_key
440
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
441
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
442
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
443
+ end
444
+
445
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
446
+ website_id = 'website_id_example' # String | Website identifier
447
+ opts = {
448
+ body: OsunyApi::WebsiteIdPagesBody.new # WebsiteIdPagesBody |
449
+ }
450
+
451
+ begin
452
+ #Creates a page
453
+ api_instance.communication_websites_website_id_pages_post(website_id, opts)
454
+ rescue OsunyApi::ApiError => e
455
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_post: #{e}"
456
+ end
457
+ # Setup authorization
458
+ OsunyApi.configure do |config|
459
+ # Configure API key authorization: api_key
460
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
461
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
462
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
463
+ end
464
+
465
+ api_instance = OsunyApi::CommunicationWebsitePageApi.new
466
+ website_id = 'website_id_example' # String | Website identifier
467
+ opts = {
468
+ body: OsunyApi::PagesUpsertBody.new # PagesUpsertBody |
469
+ }
470
+
471
+ begin
472
+ #Upsert pages
473
+ api_instance.communication_websites_website_id_pages_upsert_post(website_id, opts)
474
+ rescue OsunyApi::ApiError => e
475
+ puts "Exception when calling CommunicationWebsitePageApi->communication_websites_website_id_pages_upsert_post: #{e}"
476
+ end
477
+ # Setup authorization
478
+ OsunyApi.configure do |config|
479
+ # Configure API key authorization: api_key
480
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
481
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
482
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
483
+ end
484
+
485
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
486
+ website_id = 'website_id_example' # String | Website identifier
487
+ opts = {
488
+ page_num: 1, # Integer | Page number
489
+ per_page: 10000 # Integer | Number of items per page
490
+ }
491
+
492
+ begin
493
+ #Lists a website's page categories
494
+ result = api_instance.communication_websites_website_id_pages_categories_get(website_id, opts)
495
+ p result
496
+ rescue OsunyApi::ApiError => e
497
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_get: #{e}"
498
+ end
499
+ # Setup authorization
500
+ OsunyApi.configure do |config|
501
+ # Configure API key authorization: api_key
502
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
503
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
504
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
505
+ end
506
+
507
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
508
+ website_id = 'website_id_example' # String | Website identifier
509
+ id = 'id_example' # String | Category identifier
510
+
511
+
512
+ begin
513
+ #Deletes a page category
514
+ api_instance.communication_websites_website_id_pages_categories_id_delete(website_id, id)
515
+ rescue OsunyApi::ApiError => e
516
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_delete: #{e}"
517
+ end
518
+ # Setup authorization
519
+ OsunyApi.configure do |config|
520
+ # Configure API key authorization: api_key
521
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
522
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
523
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
524
+ end
525
+
526
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
527
+ website_id = 'website_id_example' # String | Website identifier
528
+ id = 'id_example' # String | Category identifier
529
+
530
+
531
+ begin
532
+ #Shows a page category
533
+ api_instance.communication_websites_website_id_pages_categories_id_get(website_id, id)
534
+ rescue OsunyApi::ApiError => e
535
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_get: #{e}"
536
+ end
537
+ # Setup authorization
538
+ OsunyApi.configure do |config|
539
+ # Configure API key authorization: api_key
540
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
541
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
542
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
543
+ end
544
+
545
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
546
+ website_id = 'website_id_example' # String | Website identifier
547
+ id = 'id_example' # String | Category identifier
548
+ opts = {
549
+ body: OsunyApi::CategoriesIdBody1.new # CategoriesIdBody1 |
550
+ }
551
+
552
+ begin
553
+ #Updates a page category
554
+ api_instance.communication_websites_website_id_pages_categories_id_patch(website_id, id, opts)
555
+ rescue OsunyApi::ApiError => e
556
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_id_patch: #{e}"
557
+ end
558
+ # Setup authorization
559
+ OsunyApi.configure do |config|
560
+ # Configure API key authorization: api_key
561
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
562
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
563
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
564
+ end
565
+
566
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
567
+ website_id = 'website_id_example' # String | Website identifier
568
+ opts = {
569
+ body: OsunyApi::PagesCategoriesBody.new # PagesCategoriesBody |
570
+ }
571
+
572
+ begin
573
+ #Creates a page category
574
+ api_instance.communication_websites_website_id_pages_categories_post(website_id, opts)
575
+ rescue OsunyApi::ApiError => e
576
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_post: #{e}"
577
+ end
578
+ # Setup authorization
579
+ OsunyApi.configure do |config|
580
+ # Configure API key authorization: api_key
581
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
582
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
583
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
584
+ end
585
+
586
+ api_instance = OsunyApi::CommunicationWebsitePageCategoryApi.new
587
+ website_id = 'website_id_example' # String | Website identifier
588
+ opts = {
589
+ body: OsunyApi::CategoriesUpsertBody1.new # CategoriesUpsertBody1 |
590
+ }
591
+
592
+ begin
593
+ #Upsert page categories
594
+ api_instance.communication_websites_website_id_pages_categories_upsert_post(website_id, opts)
595
+ rescue OsunyApi::ApiError => e
596
+ puts "Exception when calling CommunicationWebsitePageCategoryApi->communication_websites_website_id_pages_categories_upsert_post: #{e}"
597
+ end
598
+ # Setup authorization
599
+ OsunyApi.configure do |config|
600
+ # Configure API key authorization: api_key
601
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
602
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
603
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
604
+ end
605
+
606
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
607
+ website_id = 'website_id_example' # String | Website identifier
608
+ opts = {
609
+ page_num: 1, # Integer | Page number
610
+ per_page: 10000 # Integer | Number of items per page
611
+ }
612
+
613
+ begin
614
+ #Lists a website's portfolio categories
615
+ result = api_instance.communication_websites_website_id_portfolio_categories_get(website_id, opts)
616
+ p result
617
+ rescue OsunyApi::ApiError => e
618
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_get: #{e}"
619
+ end
620
+ # Setup authorization
621
+ OsunyApi.configure do |config|
622
+ # Configure API key authorization: api_key
623
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
624
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
625
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
626
+ end
627
+
628
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
629
+ website_id = 'website_id_example' # String | Website identifier
630
+ id = 'id_example' # String | Category identifier
631
+
632
+
633
+ begin
634
+ #Deletes a portfolio category
635
+ api_instance.communication_websites_website_id_portfolio_categories_id_delete(website_id, id)
636
+ rescue OsunyApi::ApiError => e
637
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_id_delete: #{e}"
638
+ end
639
+ # Setup authorization
640
+ OsunyApi.configure do |config|
641
+ # Configure API key authorization: api_key
642
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
643
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
644
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
645
+ end
646
+
647
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
648
+ website_id = 'website_id_example' # String | Website identifier
649
+ id = 'id_example' # String | Category identifier
650
+
651
+
652
+ begin
653
+ #Shows a portfolio category
654
+ api_instance.communication_websites_website_id_portfolio_categories_id_get(website_id, id)
655
+ rescue OsunyApi::ApiError => e
656
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_id_get: #{e}"
657
+ end
658
+ # Setup authorization
659
+ OsunyApi.configure do |config|
660
+ # Configure API key authorization: api_key
661
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
662
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
663
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
664
+ end
665
+
666
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
667
+ website_id = 'website_id_example' # String | Website identifier
668
+ id = 'id_example' # String | Category identifier
669
+ opts = {
670
+ body: OsunyApi::CategoriesIdBody2.new # CategoriesIdBody2 |
22
671
  }
23
- osuny.communication
24
- .website('real_website_id')
25
- .post
26
- .import(post)
672
+
673
+ begin
674
+ #Updates a portfolio category
675
+ api_instance.communication_websites_website_id_portfolio_categories_id_patch(website_id, id, opts)
676
+ rescue OsunyApi::ApiError => e
677
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_id_patch: #{e}"
678
+ end
679
+ # Setup authorization
680
+ OsunyApi.configure do |config|
681
+ # Configure API key authorization: api_key
682
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
683
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
684
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
685
+ end
686
+
687
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
688
+ website_id = 'website_id_example' # String | Website identifier
689
+ opts = {
690
+ body: OsunyApi::PortfolioCategoriesBody.new # PortfolioCategoriesBody |
691
+ }
692
+
693
+ begin
694
+ #Creates a portfolio category
695
+ api_instance.communication_websites_website_id_portfolio_categories_post(website_id, opts)
696
+ rescue OsunyApi::ApiError => e
697
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_post: #{e}"
698
+ end
699
+ # Setup authorization
700
+ OsunyApi.configure do |config|
701
+ # Configure API key authorization: api_key
702
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
703
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
704
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
705
+ end
706
+
707
+ api_instance = OsunyApi::CommunicationWebsitePortfolioCategoryApi.new
708
+ website_id = 'website_id_example' # String | Website identifier
709
+ opts = {
710
+ body: OsunyApi::CategoriesUpsertBody2.new # CategoriesUpsertBody2 |
711
+ }
712
+
713
+ begin
714
+ #Upsert portfolio categories
715
+ api_instance.communication_websites_website_id_portfolio_categories_upsert_post(website_id, opts)
716
+ rescue OsunyApi::ApiError => e
717
+ puts "Exception when calling CommunicationWebsitePortfolioCategoryApi->communication_websites_website_id_portfolio_categories_upsert_post: #{e}"
718
+ end
719
+ # Setup authorization
720
+ OsunyApi.configure do |config|
721
+ # Configure API key authorization: api_key
722
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
723
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
724
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
725
+ end
726
+
727
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
728
+ website_id = 'website_id_example' # String | Website identifier
729
+ opts = {
730
+ page_num: 1, # Integer | Page number
731
+ per_page: 10000 # Integer | Number of items per page
732
+ }
733
+
734
+ begin
735
+ #Lists a website's projects
736
+ result = api_instance.communication_websites_website_id_portfolio_projects_get(website_id, opts)
737
+ p result
738
+ rescue OsunyApi::ApiError => e
739
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_get: #{e}"
740
+ end
741
+ # Setup authorization
742
+ OsunyApi.configure do |config|
743
+ # Configure API key authorization: api_key
744
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
745
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
746
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
747
+ end
748
+
749
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
750
+ website_id = 'website_id_example' # String | Website identifier
751
+ id = 'id_example' # String | Project identifier
752
+
753
+
754
+ begin
755
+ #Deletes a project
756
+ api_instance.communication_websites_website_id_portfolio_projects_id_delete(website_id, id)
757
+ rescue OsunyApi::ApiError => e
758
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_id_delete: #{e}"
759
+ end
760
+ # Setup authorization
761
+ OsunyApi.configure do |config|
762
+ # Configure API key authorization: api_key
763
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
764
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
765
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
766
+ end
767
+
768
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
769
+ website_id = 'website_id_example' # String | Website identifier
770
+ id = 'id_example' # String | Project identifier
771
+
772
+
773
+ begin
774
+ #Shows a project
775
+ api_instance.communication_websites_website_id_portfolio_projects_id_get(website_id, id)
776
+ rescue OsunyApi::ApiError => e
777
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_id_get: #{e}"
778
+ end
779
+ # Setup authorization
780
+ OsunyApi.configure do |config|
781
+ # Configure API key authorization: api_key
782
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
783
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
784
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
785
+ end
786
+
787
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
788
+ website_id = 'website_id_example' # String | Website identifier
789
+ id = 'id_example' # String | Project identifier
790
+ opts = {
791
+ body: OsunyApi::ProjectsIdBody.new # ProjectsIdBody |
792
+ }
793
+
794
+ begin
795
+ #Updates a project
796
+ api_instance.communication_websites_website_id_portfolio_projects_id_patch(website_id, id, opts)
797
+ rescue OsunyApi::ApiError => e
798
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_id_patch: #{e}"
799
+ end
800
+ # Setup authorization
801
+ OsunyApi.configure do |config|
802
+ # Configure API key authorization: api_key
803
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
804
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
805
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
806
+ end
807
+
808
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
809
+ website_id = 'website_id_example' # String | Website identifier
810
+ opts = {
811
+ body: OsunyApi::PortfolioProjectsBody.new # PortfolioProjectsBody |
812
+ }
813
+
814
+ begin
815
+ #Creates a project
816
+ api_instance.communication_websites_website_id_portfolio_projects_post(website_id, opts)
817
+ rescue OsunyApi::ApiError => e
818
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_post: #{e}"
819
+ end
820
+ # Setup authorization
821
+ OsunyApi.configure do |config|
822
+ # Configure API key authorization: api_key
823
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
824
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
825
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
826
+ end
827
+
828
+ api_instance = OsunyApi::CommunicationWebsitePortfolioProjectApi.new
829
+ website_id = 'website_id_example' # String | Website identifier
830
+ opts = {
831
+ body: OsunyApi::ProjectsUpsertBody.new # ProjectsUpsertBody |
832
+ }
833
+
834
+ begin
835
+ #Upsert projects
836
+ api_instance.communication_websites_website_id_portfolio_projects_upsert_post(website_id, opts)
837
+ rescue OsunyApi::ApiError => e
838
+ puts "Exception when calling CommunicationWebsitePortfolioProjectApi->communication_websites_website_id_portfolio_projects_upsert_post: #{e}"
839
+ end
840
+ # Setup authorization
841
+ OsunyApi.configure do |config|
842
+ # Configure API key authorization: api_key
843
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
844
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
845
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
846
+ end
847
+
848
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
849
+ website_id = 'website_id_example' # String | Website identifier
850
+ opts = {
851
+ page_num: 1, # Integer | Page number
852
+ per_page: 10000 # Integer | Number of items per page
853
+ }
854
+
855
+ begin
856
+ #Lists a website's posts
857
+ result = api_instance.communication_websites_website_id_posts_get(website_id, opts)
858
+ p result
859
+ rescue OsunyApi::ApiError => e
860
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_get: #{e}"
861
+ end
862
+ # Setup authorization
863
+ OsunyApi.configure do |config|
864
+ # Configure API key authorization: api_key
865
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
866
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
867
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
868
+ end
869
+
870
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
871
+ website_id = 'website_id_example' # String | Website identifier
872
+ id = 'id_example' # String | Post identifier
873
+
874
+
875
+ begin
876
+ #Deletes a post
877
+ api_instance.communication_websites_website_id_posts_id_delete(website_id, id)
878
+ rescue OsunyApi::ApiError => e
879
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_delete: #{e}"
880
+ end
881
+ # Setup authorization
882
+ OsunyApi.configure do |config|
883
+ # Configure API key authorization: api_key
884
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
885
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
886
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
887
+ end
888
+
889
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
890
+ website_id = 'website_id_example' # String | Website identifier
891
+ id = 'id_example' # String | Post identifier
892
+
893
+
894
+ begin
895
+ #Shows a post
896
+ api_instance.communication_websites_website_id_posts_id_get(website_id, id)
897
+ rescue OsunyApi::ApiError => e
898
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_get: #{e}"
899
+ end
900
+ # Setup authorization
901
+ OsunyApi.configure do |config|
902
+ # Configure API key authorization: api_key
903
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
904
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
905
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
906
+ end
907
+
908
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
909
+ website_id = 'website_id_example' # String | Website identifier
910
+ id = 'id_example' # String | Post identifier
911
+ opts = {
912
+ body: OsunyApi::PostsIdBody.new # PostsIdBody |
913
+ }
914
+
915
+ begin
916
+ #Updates a post
917
+ api_instance.communication_websites_website_id_posts_id_patch(website_id, id, opts)
918
+ rescue OsunyApi::ApiError => e
919
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_id_patch: #{e}"
920
+ end
921
+ # Setup authorization
922
+ OsunyApi.configure do |config|
923
+ # Configure API key authorization: api_key
924
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
925
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
926
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
927
+ end
928
+
929
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
930
+ website_id = 'website_id_example' # String | Website identifier
931
+ opts = {
932
+ body: OsunyApi::WebsiteIdPostsBody.new # WebsiteIdPostsBody |
933
+ }
934
+
935
+ begin
936
+ #Creates a post
937
+ api_instance.communication_websites_website_id_posts_post(website_id, opts)
938
+ rescue OsunyApi::ApiError => e
939
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_post: #{e}"
940
+ end
941
+ # Setup authorization
942
+ OsunyApi.configure do |config|
943
+ # Configure API key authorization: api_key
944
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
945
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
946
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
947
+ end
948
+
949
+ api_instance = OsunyApi::CommunicationWebsitePostApi.new
950
+ website_id = 'website_id_example' # String | Website identifier
951
+ opts = {
952
+ body: OsunyApi::PostsUpsertBody.new # PostsUpsertBody |
953
+ }
954
+
955
+ begin
956
+ #Upsert posts
957
+ api_instance.communication_websites_website_id_posts_upsert_post(website_id, opts)
958
+ rescue OsunyApi::ApiError => e
959
+ puts "Exception when calling CommunicationWebsitePostApi->communication_websites_website_id_posts_upsert_post: #{e}"
960
+ end
961
+ # Setup authorization
962
+ OsunyApi.configure do |config|
963
+ # Configure API key authorization: api_key
964
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
965
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
966
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
967
+ end
968
+
969
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
970
+ website_id = 'website_id_example' # String | Website identifier
971
+ opts = {
972
+ page_num: 1, # Integer | Page number
973
+ per_page: 10000 # Integer | Number of items per page
974
+ }
975
+
976
+ begin
977
+ #Lists a website's post categories
978
+ result = api_instance.communication_websites_website_id_posts_categories_get(website_id, opts)
979
+ p result
980
+ rescue OsunyApi::ApiError => e
981
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_get: #{e}"
982
+ end
983
+ # Setup authorization
984
+ OsunyApi.configure do |config|
985
+ # Configure API key authorization: api_key
986
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
987
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
988
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
989
+ end
990
+
991
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
992
+ website_id = 'website_id_example' # String | Website identifier
993
+ id = 'id_example' # String | Category identifier
994
+
995
+
996
+ begin
997
+ #Deletes a post category
998
+ api_instance.communication_websites_website_id_posts_categories_id_delete(website_id, id)
999
+ rescue OsunyApi::ApiError => e
1000
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_id_delete: #{e}"
1001
+ end
1002
+ # Setup authorization
1003
+ OsunyApi.configure do |config|
1004
+ # Configure API key authorization: api_key
1005
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1006
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1007
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1008
+ end
1009
+
1010
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
1011
+ website_id = 'website_id_example' # String | Website identifier
1012
+ id = 'id_example' # String | Category identifier
1013
+
1014
+
1015
+ begin
1016
+ #Shows a post category
1017
+ api_instance.communication_websites_website_id_posts_categories_id_get(website_id, id)
1018
+ rescue OsunyApi::ApiError => e
1019
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_id_get: #{e}"
1020
+ end
1021
+ # Setup authorization
1022
+ OsunyApi.configure do |config|
1023
+ # Configure API key authorization: api_key
1024
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1025
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1026
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1027
+ end
1028
+
1029
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
1030
+ website_id = 'website_id_example' # String | Website identifier
1031
+ id = 'id_example' # String | Category identifier
1032
+ opts = {
1033
+ body: OsunyApi::CategoriesIdBody3.new # CategoriesIdBody3 |
1034
+ }
1035
+
1036
+ begin
1037
+ #Updates a post category
1038
+ api_instance.communication_websites_website_id_posts_categories_id_patch(website_id, id, opts)
1039
+ rescue OsunyApi::ApiError => e
1040
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_id_patch: #{e}"
1041
+ end
1042
+ # Setup authorization
1043
+ OsunyApi.configure do |config|
1044
+ # Configure API key authorization: api_key
1045
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1046
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1047
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1048
+ end
1049
+
1050
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
1051
+ website_id = 'website_id_example' # String | Website identifier
1052
+ opts = {
1053
+ body: OsunyApi::PostsCategoriesBody.new # PostsCategoriesBody |
1054
+ }
1055
+
1056
+ begin
1057
+ #Creates a post category
1058
+ api_instance.communication_websites_website_id_posts_categories_post(website_id, opts)
1059
+ rescue OsunyApi::ApiError => e
1060
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_post: #{e}"
1061
+ end
1062
+ # Setup authorization
1063
+ OsunyApi.configure do |config|
1064
+ # Configure API key authorization: api_key
1065
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1066
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1067
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1068
+ end
1069
+
1070
+ api_instance = OsunyApi::CommunicationWebsitePostCategoryApi.new
1071
+ website_id = 'website_id_example' # String | Website identifier
1072
+ opts = {
1073
+ body: OsunyApi::CategoriesUpsertBody3.new # CategoriesUpsertBody3 |
1074
+ }
1075
+
1076
+ begin
1077
+ #Upsert post categories
1078
+ api_instance.communication_websites_website_id_posts_categories_upsert_post(website_id, opts)
1079
+ rescue OsunyApi::ApiError => e
1080
+ puts "Exception when calling CommunicationWebsitePostCategoryApi->communication_websites_website_id_posts_categories_upsert_post: #{e}"
1081
+ end
1082
+ # Setup authorization
1083
+ OsunyApi.configure do |config|
1084
+ # Configure API key authorization: api_key
1085
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1086
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1087
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1088
+ end
1089
+
1090
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1091
+ opts = {
1092
+ page_num: 1, # Integer | Page number
1093
+ per_page: 10000 # Integer | Number of items per page
1094
+ }
1095
+
1096
+ begin
1097
+ #Lists organizations
1098
+ result = api_instance.university_organizations_get(opts)
1099
+ p result
1100
+ rescue OsunyApi::ApiError => e
1101
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_get: #{e}"
1102
+ end
1103
+ # Setup authorization
1104
+ OsunyApi.configure do |config|
1105
+ # Configure API key authorization: api_key
1106
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1107
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1108
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1109
+ end
1110
+
1111
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1112
+ id = 'id_example' # String | Organization identifier
1113
+
1114
+
1115
+ begin
1116
+ #Deletes an organization
1117
+ api_instance.university_organizations_id_delete(id)
1118
+ rescue OsunyApi::ApiError => e
1119
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_delete: #{e}"
1120
+ end
1121
+ # Setup authorization
1122
+ OsunyApi.configure do |config|
1123
+ # Configure API key authorization: api_key
1124
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1125
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1126
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1127
+ end
1128
+
1129
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1130
+ id = 'id_example' # String | Organization identifier
1131
+
1132
+
1133
+ begin
1134
+ #Shows an organization
1135
+ api_instance.university_organizations_id_get(id)
1136
+ rescue OsunyApi::ApiError => e
1137
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_get: #{e}"
1138
+ end
1139
+ # Setup authorization
1140
+ OsunyApi.configure do |config|
1141
+ # Configure API key authorization: api_key
1142
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1143
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1144
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1145
+ end
1146
+
1147
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1148
+ id = 'id_example' # String | Organization identifier
1149
+ opts = {
1150
+ body: OsunyApi::OrganizationsIdBody.new # OrganizationsIdBody |
1151
+ }
1152
+
1153
+ begin
1154
+ #Updates an organization
1155
+ api_instance.university_organizations_id_patch(id, opts)
1156
+ rescue OsunyApi::ApiError => e
1157
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_id_patch: #{e}"
1158
+ end
1159
+ # Setup authorization
1160
+ OsunyApi.configure do |config|
1161
+ # Configure API key authorization: api_key
1162
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1163
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1164
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1165
+ end
1166
+
1167
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1168
+ opts = {
1169
+ body: OsunyApi::UniversityOrganizationsBody.new # UniversityOrganizationsBody |
1170
+ }
1171
+
1172
+ begin
1173
+ #Creates a organization
1174
+ api_instance.university_organizations_post(opts)
1175
+ rescue OsunyApi::ApiError => e
1176
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_post: #{e}"
1177
+ end
1178
+ # Setup authorization
1179
+ OsunyApi.configure do |config|
1180
+ # Configure API key authorization: api_key
1181
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1182
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1183
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1184
+ end
1185
+
1186
+ api_instance = OsunyApi::UniversityOrganizationApi.new
1187
+ opts = {
1188
+ body: OsunyApi::OrganizationsUpsertBody.new # OrganizationsUpsertBody |
1189
+ }
1190
+
1191
+ begin
1192
+ #Upsert organizations
1193
+ api_instance.university_organizations_upsert_post(opts)
1194
+ rescue OsunyApi::ApiError => e
1195
+ puts "Exception when calling UniversityOrganizationApi->university_organizations_upsert_post: #{e}"
1196
+ end
1197
+ # Setup authorization
1198
+ OsunyApi.configure do |config|
1199
+ # Configure API key authorization: api_key
1200
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1201
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1202
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1203
+ end
1204
+
1205
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1206
+ opts = {
1207
+ page_num: 1, # Integer | Page number
1208
+ per_page: 10000 # Integer | Number of items per page
1209
+ }
1210
+
1211
+ begin
1212
+ #Lists organization categories
1213
+ result = api_instance.university_organizations_categories_get(opts)
1214
+ p result
1215
+ rescue OsunyApi::ApiError => e
1216
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_get: #{e}"
1217
+ end
1218
+ # Setup authorization
1219
+ OsunyApi.configure do |config|
1220
+ # Configure API key authorization: api_key
1221
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1222
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1223
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1224
+ end
1225
+
1226
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1227
+ id = 'id_example' # String | Category identifier
1228
+
1229
+
1230
+ begin
1231
+ #Deletes a organization category
1232
+ api_instance.university_organizations_categories_id_delete(id)
1233
+ rescue OsunyApi::ApiError => e
1234
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_delete: #{e}"
1235
+ end
1236
+ # Setup authorization
1237
+ OsunyApi.configure do |config|
1238
+ # Configure API key authorization: api_key
1239
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1240
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1241
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1242
+ end
1243
+
1244
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1245
+ id = 'id_example' # String | Category identifier
1246
+
1247
+
1248
+ begin
1249
+ #Shows a organization category
1250
+ api_instance.university_organizations_categories_id_get(id)
1251
+ rescue OsunyApi::ApiError => e
1252
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_get: #{e}"
1253
+ end
1254
+ # Setup authorization
1255
+ OsunyApi.configure do |config|
1256
+ # Configure API key authorization: api_key
1257
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1258
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1259
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1260
+ end
1261
+
1262
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1263
+ id = 'id_example' # String | Category identifier
1264
+ opts = {
1265
+ body: OsunyApi::CategoriesIdBody4.new # CategoriesIdBody4 |
1266
+ }
1267
+
1268
+ begin
1269
+ #Updates a organization category
1270
+ api_instance.university_organizations_categories_id_patch(id, opts)
1271
+ rescue OsunyApi::ApiError => e
1272
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_id_patch: #{e}"
1273
+ end
1274
+ # Setup authorization
1275
+ OsunyApi.configure do |config|
1276
+ # Configure API key authorization: api_key
1277
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1278
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1279
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1280
+ end
1281
+
1282
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1283
+ opts = {
1284
+ body: OsunyApi::OrganizationsCategoriesBody.new # OrganizationsCategoriesBody |
1285
+ }
1286
+
1287
+ begin
1288
+ #Creates a organization category
1289
+ api_instance.university_organizations_categories_post(opts)
1290
+ rescue OsunyApi::ApiError => e
1291
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_post: #{e}"
1292
+ end
1293
+ # Setup authorization
1294
+ OsunyApi.configure do |config|
1295
+ # Configure API key authorization: api_key
1296
+ config.api_key['X-Osuny-Token'] = 'YOUR API KEY'
1297
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1298
+ #config.api_key_prefix['X-Osuny-Token'] = 'Bearer'
1299
+ end
1300
+
1301
+ api_instance = OsunyApi::UniversityOrganizationCategoryApi.new
1302
+ opts = {
1303
+ body: OsunyApi::CategoriesUpsertBody4.new # CategoriesUpsertBody4 |
1304
+ }
1305
+
1306
+ begin
1307
+ #Upsert organization categories
1308
+ api_instance.university_organizations_categories_upsert_post(opts)
1309
+ rescue OsunyApi::ApiError => e
1310
+ puts "Exception when calling UniversityOrganizationCategoryApi->university_organizations_categories_upsert_post: #{e}"
1311
+ end
27
1312
  ```
28
- ## License
29
1313
 
30
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
1314
+ ## Documentation for API Endpoints
1315
+
1316
+ All URIs are relative to *https://demo.osuny.org/api/osuny/v1*
1317
+
1318
+ Class | Method | HTTP request | Description
1319
+ ------------ | ------------- | ------------- | -------------
1320
+ *OsunyApi::CommunicationWebsiteApi* | [**communication_websites_get**](docs/CommunicationWebsiteApi.md#communication_websites_get) | **GET** /communication/websites | Lists the websites
1321
+ *OsunyApi::CommunicationWebsiteApi* | [**communication_websites_id_get**](docs/CommunicationWebsiteApi.md#communication_websites_id_get) | **GET** /communication/websites/{id} | Shows a website
1322
+ *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
1323
+ *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
1324
+ *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
1325
+ *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
1326
+ *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
1327
+ *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
1328
+ *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
1329
+ *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
1330
+ *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
1331
+ *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
1332
+ *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
1333
+ *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
1334
+ *OsunyApi::CommunicationWebsiteMediaApi* | [**communication_medias_post**](docs/CommunicationWebsiteMediaApi.md#communication_medias_post) | **POST** /communication/medias | Create a media
1335
+ *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
1336
+ *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
1337
+ *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
1338
+ *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
1339
+ *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
1340
+ *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
1341
+ *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
1342
+ *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
1343
+ *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
1344
+ *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
1345
+ *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
1346
+ *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
1347
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_get**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_get) | **GET** /communication/websites/{website_id}/portfolio/categories | Lists a website's portfolio categories
1348
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_id_delete**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_id_delete) | **DELETE** /communication/websites/{website_id}/portfolio/categories/{id} | Deletes a portfolio category
1349
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_id_get**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_id_get) | **GET** /communication/websites/{website_id}/portfolio/categories/{id} | Shows a portfolio category
1350
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_id_patch**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_id_patch) | **PATCH** /communication/websites/{website_id}/portfolio/categories/{id} | Updates a portfolio category
1351
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_post**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_post) | **POST** /communication/websites/{website_id}/portfolio/categories | Creates a portfolio category
1352
+ *OsunyApi::CommunicationWebsitePortfolioCategoryApi* | [**communication_websites_website_id_portfolio_categories_upsert_post**](docs/CommunicationWebsitePortfolioCategoryApi.md#communication_websites_website_id_portfolio_categories_upsert_post) | **POST** /communication/websites/{website_id}/portfolio/categories/upsert | Upsert portfolio categories
1353
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_get**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_get) | **GET** /communication/websites/{website_id}/portfolio/projects | Lists a website's projects
1354
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_id_delete**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_id_delete) | **DELETE** /communication/websites/{website_id}/portfolio/projects/{id} | Deletes a project
1355
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_id_get**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_id_get) | **GET** /communication/websites/{website_id}/portfolio/projects/{id} | Shows a project
1356
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_id_patch**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_id_patch) | **PATCH** /communication/websites/{website_id}/portfolio/projects/{id} | Updates a project
1357
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_post**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_post) | **POST** /communication/websites/{website_id}/portfolio/projects | Creates a project
1358
+ *OsunyApi::CommunicationWebsitePortfolioProjectApi* | [**communication_websites_website_id_portfolio_projects_upsert_post**](docs/CommunicationWebsitePortfolioProjectApi.md#communication_websites_website_id_portfolio_projects_upsert_post) | **POST** /communication/websites/{website_id}/portfolio/projects/upsert | Upsert projects
1359
+ *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
1360
+ *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
1361
+ *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
1362
+ *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
1363
+ *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
1364
+ *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
1365
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_get**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_get) | **GET** /communication/websites/{website_id}/posts/categories | Lists a website's post categories
1366
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_id_delete**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_id_delete) | **DELETE** /communication/websites/{website_id}/posts/categories/{id} | Deletes a post category
1367
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_id_get**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_id_get) | **GET** /communication/websites/{website_id}/posts/categories/{id} | Shows a post category
1368
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_id_patch**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_id_patch) | **PATCH** /communication/websites/{website_id}/posts/categories/{id} | Updates a post category
1369
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_post**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_post) | **POST** /communication/websites/{website_id}/posts/categories | Creates a post category
1370
+ *OsunyApi::CommunicationWebsitePostCategoryApi* | [**communication_websites_website_id_posts_categories_upsert_post**](docs/CommunicationWebsitePostCategoryApi.md#communication_websites_website_id_posts_categories_upsert_post) | **POST** /communication/websites/{website_id}/posts/categories/upsert | Upsert post categories
1371
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_get**](docs/UniversityOrganizationApi.md#university_organizations_get) | **GET** /university/organizations | Lists organizations
1372
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_delete**](docs/UniversityOrganizationApi.md#university_organizations_id_delete) | **DELETE** /university/organizations/{id} | Deletes an organization
1373
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_get**](docs/UniversityOrganizationApi.md#university_organizations_id_get) | **GET** /university/organizations/{id} | Shows an organization
1374
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_id_patch**](docs/UniversityOrganizationApi.md#university_organizations_id_patch) | **PATCH** /university/organizations/{id} | Updates an organization
1375
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_post**](docs/UniversityOrganizationApi.md#university_organizations_post) | **POST** /university/organizations | Creates a organization
1376
+ *OsunyApi::UniversityOrganizationApi* | [**university_organizations_upsert_post**](docs/UniversityOrganizationApi.md#university_organizations_upsert_post) | **POST** /university/organizations/upsert | Upsert organizations
1377
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_get**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_get) | **GET** /university/organizations/categories | Lists organization categories
1378
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_delete**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_delete) | **DELETE** /university/organizations/categories/{id} | Deletes a organization category
1379
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_get**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_get) | **GET** /university/organizations/categories/{id} | Shows a organization category
1380
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_id_patch**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_id_patch) | **PATCH** /university/organizations/categories/{id} | Updates a organization category
1381
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_post**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_post) | **POST** /university/organizations/categories | Creates a organization category
1382
+ *OsunyApi::UniversityOrganizationCategoryApi* | [**university_organizations_categories_upsert_post**](docs/UniversityOrganizationCategoryApi.md#university_organizations_categories_upsert_post) | **POST** /university/organizations/categories/upsert | Upsert organization categories
1383
+
1384
+ ## Documentation for Models
1385
+
1386
+ - [OsunyApi::AgendaCategoriesBody](docs/AgendaCategoriesBody.md)
1387
+ - [OsunyApi::AgendaEventsBody](docs/AgendaEventsBody.md)
1388
+ - [OsunyApi::CategoriesIdBody](docs/CategoriesIdBody.md)
1389
+ - [OsunyApi::CategoriesIdBody1](docs/CategoriesIdBody1.md)
1390
+ - [OsunyApi::CategoriesIdBody2](docs/CategoriesIdBody2.md)
1391
+ - [OsunyApi::CategoriesIdBody3](docs/CategoriesIdBody3.md)
1392
+ - [OsunyApi::CategoriesIdBody4](docs/CategoriesIdBody4.md)
1393
+ - [OsunyApi::CategoriesUpsertBody](docs/CategoriesUpsertBody.md)
1394
+ - [OsunyApi::CategoriesUpsertBody1](docs/CategoriesUpsertBody1.md)
1395
+ - [OsunyApi::CategoriesUpsertBody2](docs/CategoriesUpsertBody2.md)
1396
+ - [OsunyApi::CategoriesUpsertBody3](docs/CategoriesUpsertBody3.md)
1397
+ - [OsunyApi::CategoriesUpsertBody4](docs/CategoriesUpsertBody4.md)
1398
+ - [OsunyApi::CommunicationBlockAgenda](docs/CommunicationBlockAgenda.md)
1399
+ - [OsunyApi::CommunicationBlockAgendaData](docs/CommunicationBlockAgendaData.md)
1400
+ - [OsunyApi::CommunicationBlockAgendaDataElements](docs/CommunicationBlockAgendaDataElements.md)
1401
+ - [OsunyApi::CommunicationBlockCallToAction](docs/CommunicationBlockCallToAction.md)
1402
+ - [OsunyApi::CommunicationBlockCallToActionData](docs/CommunicationBlockCallToActionData.md)
1403
+ - [OsunyApi::CommunicationBlockCallToActionDataElements](docs/CommunicationBlockCallToActionDataElements.md)
1404
+ - [OsunyApi::CommunicationBlockCategories](docs/CommunicationBlockCategories.md)
1405
+ - [OsunyApi::CommunicationBlockCategoriesData](docs/CommunicationBlockCategoriesData.md)
1406
+ - [OsunyApi::CommunicationBlockChapter](docs/CommunicationBlockChapter.md)
1407
+ - [OsunyApi::CommunicationBlockChapterData](docs/CommunicationBlockChapterData.md)
1408
+ - [OsunyApi::CommunicationBlockChapterDataImage](docs/CommunicationBlockChapterDataImage.md)
1409
+ - [OsunyApi::CommunicationBlockContact](docs/CommunicationBlockContact.md)
1410
+ - [OsunyApi::CommunicationBlockContactData](docs/CommunicationBlockContactData.md)
1411
+ - [OsunyApi::CommunicationBlockContactDataElements](docs/CommunicationBlockContactDataElements.md)
1412
+ - [OsunyApi::CommunicationBlockContactDataTimeSlotMorning](docs/CommunicationBlockContactDataTimeSlotMorning.md)
1413
+ - [OsunyApi::CommunicationBlockDatatable](docs/CommunicationBlockDatatable.md)
1414
+ - [OsunyApi::CommunicationBlockDatatableData](docs/CommunicationBlockDatatableData.md)
1415
+ - [OsunyApi::CommunicationBlockDatatableDataElements](docs/CommunicationBlockDatatableDataElements.md)
1416
+ - [OsunyApi::CommunicationBlockDefinitions](docs/CommunicationBlockDefinitions.md)
1417
+ - [OsunyApi::CommunicationBlockDefinitionsData](docs/CommunicationBlockDefinitionsData.md)
1418
+ - [OsunyApi::CommunicationBlockDefinitionsDataElements](docs/CommunicationBlockDefinitionsDataElements.md)
1419
+ - [OsunyApi::CommunicationBlockEmbed](docs/CommunicationBlockEmbed.md)
1420
+ - [OsunyApi::CommunicationBlockEmbedData](docs/CommunicationBlockEmbedData.md)
1421
+ - [OsunyApi::CommunicationBlockExhibitions](docs/CommunicationBlockExhibitions.md)
1422
+ - [OsunyApi::CommunicationBlockExhibitionsData](docs/CommunicationBlockExhibitionsData.md)
1423
+ - [OsunyApi::CommunicationBlockFeatures](docs/CommunicationBlockFeatures.md)
1424
+ - [OsunyApi::CommunicationBlockFeaturesData](docs/CommunicationBlockFeaturesData.md)
1425
+ - [OsunyApi::CommunicationBlockFeaturesDataElements](docs/CommunicationBlockFeaturesDataElements.md)
1426
+ - [OsunyApi::CommunicationBlockFiles](docs/CommunicationBlockFiles.md)
1427
+ - [OsunyApi::CommunicationBlockFilesData](docs/CommunicationBlockFilesData.md)
1428
+ - [OsunyApi::CommunicationBlockFilesDataElements](docs/CommunicationBlockFilesDataElements.md)
1429
+ - [OsunyApi::CommunicationBlockGallery](docs/CommunicationBlockGallery.md)
1430
+ - [OsunyApi::CommunicationBlockGalleryData](docs/CommunicationBlockGalleryData.md)
1431
+ - [OsunyApi::CommunicationBlockGalleryDataElements](docs/CommunicationBlockGalleryDataElements.md)
1432
+ - [OsunyApi::CommunicationBlockImage](docs/CommunicationBlockImage.md)
1433
+ - [OsunyApi::CommunicationBlockImageData](docs/CommunicationBlockImageData.md)
1434
+ - [OsunyApi::CommunicationBlockJobs](docs/CommunicationBlockJobs.md)
1435
+ - [OsunyApi::CommunicationBlockJobsData](docs/CommunicationBlockJobsData.md)
1436
+ - [OsunyApi::CommunicationBlockKeyFigures](docs/CommunicationBlockKeyFigures.md)
1437
+ - [OsunyApi::CommunicationBlockKeyFiguresData](docs/CommunicationBlockKeyFiguresData.md)
1438
+ - [OsunyApi::CommunicationBlockKeyFiguresDataElements](docs/CommunicationBlockKeyFiguresDataElements.md)
1439
+ - [OsunyApi::CommunicationBlockLicense](docs/CommunicationBlockLicense.md)
1440
+ - [OsunyApi::CommunicationBlockLicenseData](docs/CommunicationBlockLicenseData.md)
1441
+ - [OsunyApi::CommunicationBlockLinks](docs/CommunicationBlockLinks.md)
1442
+ - [OsunyApi::CommunicationBlockLinksData](docs/CommunicationBlockLinksData.md)
1443
+ - [OsunyApi::CommunicationBlockLinksDataElements](docs/CommunicationBlockLinksDataElements.md)
1444
+ - [OsunyApi::CommunicationBlockLocations](docs/CommunicationBlockLocations.md)
1445
+ - [OsunyApi::CommunicationBlockLocationsData](docs/CommunicationBlockLocationsData.md)
1446
+ - [OsunyApi::CommunicationBlockOrganizations](docs/CommunicationBlockOrganizations.md)
1447
+ - [OsunyApi::CommunicationBlockOrganizationsData](docs/CommunicationBlockOrganizationsData.md)
1448
+ - [OsunyApi::CommunicationBlockOrganizationsDataElements](docs/CommunicationBlockOrganizationsDataElements.md)
1449
+ - [OsunyApi::CommunicationBlockPages](docs/CommunicationBlockPages.md)
1450
+ - [OsunyApi::CommunicationBlockPagesData](docs/CommunicationBlockPagesData.md)
1451
+ - [OsunyApi::CommunicationBlockPapers](docs/CommunicationBlockPapers.md)
1452
+ - [OsunyApi::CommunicationBlockPapersData](docs/CommunicationBlockPapersData.md)
1453
+ - [OsunyApi::CommunicationBlockPersons](docs/CommunicationBlockPersons.md)
1454
+ - [OsunyApi::CommunicationBlockPersonsData](docs/CommunicationBlockPersonsData.md)
1455
+ - [OsunyApi::CommunicationBlockPersonsDataElements](docs/CommunicationBlockPersonsDataElements.md)
1456
+ - [OsunyApi::CommunicationBlockPosts](docs/CommunicationBlockPosts.md)
1457
+ - [OsunyApi::CommunicationBlockPostsData](docs/CommunicationBlockPostsData.md)
1458
+ - [OsunyApi::CommunicationBlockPrograms](docs/CommunicationBlockPrograms.md)
1459
+ - [OsunyApi::CommunicationBlockProgramsData](docs/CommunicationBlockProgramsData.md)
1460
+ - [OsunyApi::CommunicationBlockProgramsDataElements](docs/CommunicationBlockProgramsDataElements.md)
1461
+ - [OsunyApi::CommunicationBlockProjects](docs/CommunicationBlockProjects.md)
1462
+ - [OsunyApi::CommunicationBlockProjectsData](docs/CommunicationBlockProjectsData.md)
1463
+ - [OsunyApi::CommunicationBlockSound](docs/CommunicationBlockSound.md)
1464
+ - [OsunyApi::CommunicationBlockSoundData](docs/CommunicationBlockSoundData.md)
1465
+ - [OsunyApi::CommunicationBlockTestimonials](docs/CommunicationBlockTestimonials.md)
1466
+ - [OsunyApi::CommunicationBlockTestimonialsData](docs/CommunicationBlockTestimonialsData.md)
1467
+ - [OsunyApi::CommunicationBlockTestimonialsDataElements](docs/CommunicationBlockTestimonialsDataElements.md)
1468
+ - [OsunyApi::CommunicationBlockTimeline](docs/CommunicationBlockTimeline.md)
1469
+ - [OsunyApi::CommunicationBlockTimelineData](docs/CommunicationBlockTimelineData.md)
1470
+ - [OsunyApi::CommunicationBlockTimelineDataElements](docs/CommunicationBlockTimelineDataElements.md)
1471
+ - [OsunyApi::CommunicationBlockTitle](docs/CommunicationBlockTitle.md)
1472
+ - [OsunyApi::CommunicationBlockTitleData](docs/CommunicationBlockTitleData.md)
1473
+ - [OsunyApi::CommunicationBlockVideo](docs/CommunicationBlockVideo.md)
1474
+ - [OsunyApi::CommunicationBlockVideoData](docs/CommunicationBlockVideoData.md)
1475
+ - [OsunyApi::CommunicationBlockVolumes](docs/CommunicationBlockVolumes.md)
1476
+ - [OsunyApi::CommunicationMedia](docs/CommunicationMedia.md)
1477
+ - [OsunyApi::CommunicationMediaLocalization](docs/CommunicationMediaLocalization.md)
1478
+ - [OsunyApi::CommunicationMediaOriginalBlob](docs/CommunicationMediaOriginalBlob.md)
1479
+ - [OsunyApi::CommunicationMediasBody](docs/CommunicationMediasBody.md)
1480
+ - [OsunyApi::CommunicationWebsite](docs/CommunicationWebsite.md)
1481
+ - [OsunyApi::CommunicationWebsiteAgendaCategory](docs/CommunicationWebsiteAgendaCategory.md)
1482
+ - [OsunyApi::CommunicationWebsiteAgendaCategoryLocalization](docs/CommunicationWebsiteAgendaCategoryLocalization.md)
1483
+ - [OsunyApi::CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage](docs/CommunicationWebsiteAgendaCategoryLocalizationFeaturedImage.md)
1484
+ - [OsunyApi::CommunicationWebsiteAgendaEvent](docs/CommunicationWebsiteAgendaEvent.md)
1485
+ - [OsunyApi::CommunicationWebsiteAgendaEventLocalization](docs/CommunicationWebsiteAgendaEventLocalization.md)
1486
+ - [OsunyApi::CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls](docs/CommunicationWebsiteAgendaEventLocalizationAddToCalendarUrls.md)
1487
+ - [OsunyApi::CommunicationWebsiteAgendaEventTimeSlot](docs/CommunicationWebsiteAgendaEventTimeSlot.md)
1488
+ - [OsunyApi::CommunicationWebsiteAgendaEventTimeSlotLocalization](docs/CommunicationWebsiteAgendaEventTimeSlotLocalization.md)
1489
+ - [OsunyApi::CommunicationWebsiteDeuxfleurs](docs/CommunicationWebsiteDeuxfleurs.md)
1490
+ - [OsunyApi::CommunicationWebsiteFeatures](docs/CommunicationWebsiteFeatures.md)
1491
+ - [OsunyApi::CommunicationWebsiteGit](docs/CommunicationWebsiteGit.md)
1492
+ - [OsunyApi::CommunicationWebsiteLocalization](docs/CommunicationWebsiteLocalization.md)
1493
+ - [OsunyApi::CommunicationWebsitePage](docs/CommunicationWebsitePage.md)
1494
+ - [OsunyApi::CommunicationWebsitePageCategory](docs/CommunicationWebsitePageCategory.md)
1495
+ - [OsunyApi::CommunicationWebsitePageCategoryLocalization](docs/CommunicationWebsitePageCategoryLocalization.md)
1496
+ - [OsunyApi::CommunicationWebsitePageLocalization](docs/CommunicationWebsitePageLocalization.md)
1497
+ - [OsunyApi::CommunicationWebsitePermalink](docs/CommunicationWebsitePermalink.md)
1498
+ - [OsunyApi::CommunicationWebsitePortfolioCategory](docs/CommunicationWebsitePortfolioCategory.md)
1499
+ - [OsunyApi::CommunicationWebsitePortfolioCategoryLocalization](docs/CommunicationWebsitePortfolioCategoryLocalization.md)
1500
+ - [OsunyApi::CommunicationWebsitePortfolioProject](docs/CommunicationWebsitePortfolioProject.md)
1501
+ - [OsunyApi::CommunicationWebsitePortfolioProjectLocalization](docs/CommunicationWebsitePortfolioProjectLocalization.md)
1502
+ - [OsunyApi::CommunicationWebsitePost](docs/CommunicationWebsitePost.md)
1503
+ - [OsunyApi::CommunicationWebsitePostCategory](docs/CommunicationWebsitePostCategory.md)
1504
+ - [OsunyApi::CommunicationWebsitePostCategoryLocalization](docs/CommunicationWebsitePostCategoryLocalization.md)
1505
+ - [OsunyApi::CommunicationWebsitePostLocalization](docs/CommunicationWebsitePostLocalization.md)
1506
+ - [OsunyApi::CommunicationWebsiteShowcase](docs/CommunicationWebsiteShowcase.md)
1507
+ - [OsunyApi::CommunicationWebsiteShowcaseTags](docs/CommunicationWebsiteShowcaseTags.md)
1508
+ - [OsunyApi::EventsIdBody](docs/EventsIdBody.md)
1509
+ - [OsunyApi::EventsUpsertBody](docs/EventsUpsertBody.md)
1510
+ - [OsunyApi::OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsiteAgendaCategoryLocalizationBlocksItems.md)
1511
+ - [OsunyApi::OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems](docs/OneOfcommunicationWebsiteAgendaEventLocalizationBlocksItems.md)
1512
+ - [OsunyApi::OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsitePageCategoryLocalizationBlocksItems.md)
1513
+ - [OsunyApi::OneOfcommunicationWebsitePageLocalizationBlocksItems](docs/OneOfcommunicationWebsitePageLocalizationBlocksItems.md)
1514
+ - [OsunyApi::OneOfcommunicationWebsitePortfolioCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsitePortfolioCategoryLocalizationBlocksItems.md)
1515
+ - [OsunyApi::OneOfcommunicationWebsitePortfolioProjectLocalizationBlocksItems](docs/OneOfcommunicationWebsitePortfolioProjectLocalizationBlocksItems.md)
1516
+ - [OsunyApi::OneOfcommunicationWebsitePostCategoryLocalizationBlocksItems](docs/OneOfcommunicationWebsitePostCategoryLocalizationBlocksItems.md)
1517
+ - [OsunyApi::OneOfcommunicationWebsitePostLocalizationBlocksItems](docs/OneOfcommunicationWebsitePostLocalizationBlocksItems.md)
1518
+ - [OsunyApi::OneOfuniversityOrganizationCategoryLocalizationBlocksItems](docs/OneOfuniversityOrganizationCategoryLocalizationBlocksItems.md)
1519
+ - [OsunyApi::OneOfuniversityOrganizationLocalizationBlocksItems](docs/OneOfuniversityOrganizationLocalizationBlocksItems.md)
1520
+ - [OsunyApi::OrganizationsCategoriesBody](docs/OrganizationsCategoriesBody.md)
1521
+ - [OsunyApi::OrganizationsIdBody](docs/OrganizationsIdBody.md)
1522
+ - [OsunyApi::OrganizationsUpsertBody](docs/OrganizationsUpsertBody.md)
1523
+ - [OsunyApi::PagesCategoriesBody](docs/PagesCategoriesBody.md)
1524
+ - [OsunyApi::PagesIdBody](docs/PagesIdBody.md)
1525
+ - [OsunyApi::PagesUpsertBody](docs/PagesUpsertBody.md)
1526
+ - [OsunyApi::PortfolioCategoriesBody](docs/PortfolioCategoriesBody.md)
1527
+ - [OsunyApi::PortfolioProjectsBody](docs/PortfolioProjectsBody.md)
1528
+ - [OsunyApi::PostsCategoriesBody](docs/PostsCategoriesBody.md)
1529
+ - [OsunyApi::PostsIdBody](docs/PostsIdBody.md)
1530
+ - [OsunyApi::PostsUpsertBody](docs/PostsUpsertBody.md)
1531
+ - [OsunyApi::ProjectsIdBody](docs/ProjectsIdBody.md)
1532
+ - [OsunyApi::ProjectsUpsertBody](docs/ProjectsUpsertBody.md)
1533
+ - [OsunyApi::UniversityOrganization](docs/UniversityOrganization.md)
1534
+ - [OsunyApi::UniversityOrganizationCategory](docs/UniversityOrganizationCategory.md)
1535
+ - [OsunyApi::UniversityOrganizationCategoryLocalization](docs/UniversityOrganizationCategoryLocalization.md)
1536
+ - [OsunyApi::UniversityOrganizationLocalization](docs/UniversityOrganizationLocalization.md)
1537
+ - [OsunyApi::UniversityOrganizationsBody](docs/UniversityOrganizationsBody.md)
1538
+ - [OsunyApi::WebsiteIdPagesBody](docs/WebsiteIdPagesBody.md)
1539
+ - [OsunyApi::WebsiteIdPostsBody](docs/WebsiteIdPostsBody.md)
1540
+
1541
+ ## Documentation for Authorization
1542
+
1543
+
1544
+ ### api_key
1545
+
1546
+ - **Type**: API key
1547
+ - **API key parameter name**: X-Osuny-Token
1548
+ - **Location**: HTTP header