ory-client 0.0.1.alpha134 → 0.0.1.alpha140

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/README.md +14 -5
  4. data/docs/ProjectMetadata.md +32 -0
  5. data/docs/V0alpha2Api.md +567 -0
  6. data/lib/ory-client/api/metadata_api.rb +1 -1
  7. data/lib/ory-client/api/v0alpha2_api.rb +520 -1
  8. data/lib/ory-client/api_client.rb +1 -1
  9. data/lib/ory-client/api_error.rb +1 -1
  10. data/lib/ory-client/configuration.rb +1 -1
  11. data/lib/ory-client/models/active_project.rb +1 -1
  12. data/lib/ory-client/models/admin_create_identity_body.rb +1 -1
  13. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc.rb +1 -1
  14. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_config.rb +1 -1
  15. data/lib/ory-client/models/admin_create_identity_import_credentials_oidc_provider.rb +1 -1
  16. data/lib/ory-client/models/admin_create_identity_import_credentials_password.rb +1 -1
  17. data/lib/ory-client/models/admin_create_identity_import_credentials_password_config.rb +1 -1
  18. data/lib/ory-client/models/admin_create_self_service_recovery_link_body.rb +1 -1
  19. data/lib/ory-client/models/admin_identity_import_credentials.rb +1 -1
  20. data/lib/ory-client/models/admin_update_identity_body.rb +1 -1
  21. data/lib/ory-client/models/api_token.rb +1 -1
  22. data/lib/ory-client/models/authenticator_assurance_level.rb +1 -1
  23. data/lib/ory-client/models/cloud_account.rb +1 -1
  24. data/lib/ory-client/models/cname_settings.rb +1 -1
  25. data/lib/ory-client/models/create_custom_hostname_body.rb +1 -1
  26. data/lib/ory-client/models/create_project_body.rb +1 -1
  27. data/lib/ory-client/models/create_subscription_payload.rb +1 -1
  28. data/lib/ory-client/models/error_authenticator_assurance_level_not_satisfied.rb +1 -1
  29. data/lib/ory-client/models/generic_error.rb +1 -1
  30. data/lib/ory-client/models/generic_error_content.rb +1 -1
  31. data/lib/ory-client/models/health_not_ready_status.rb +1 -1
  32. data/lib/ory-client/models/health_status.rb +1 -1
  33. data/lib/ory-client/models/identity.rb +1 -1
  34. data/lib/ory-client/models/identity_credentials.rb +1 -1
  35. data/lib/ory-client/models/identity_credentials_oidc.rb +1 -1
  36. data/lib/ory-client/models/identity_credentials_oidc_provider.rb +1 -1
  37. data/lib/ory-client/models/identity_credentials_password.rb +1 -1
  38. data/lib/ory-client/models/identity_credentials_type.rb +1 -1
  39. data/lib/ory-client/models/identity_schema.rb +1 -1
  40. data/lib/ory-client/models/identity_schema_location.rb +1 -1
  41. data/lib/ory-client/models/identity_schema_preset.rb +1 -1
  42. data/lib/ory-client/models/identity_schema_validation_result.rb +1 -1
  43. data/lib/ory-client/models/identity_state.rb +1 -1
  44. data/lib/ory-client/models/inline_response200.rb +1 -1
  45. data/lib/ory-client/models/inline_response2001.rb +1 -1
  46. data/lib/ory-client/models/inline_response503.rb +1 -1
  47. data/lib/ory-client/models/invite_payload.rb +1 -1
  48. data/lib/ory-client/models/is_owner_for_project_by_slug.rb +1 -1
  49. data/lib/ory-client/models/is_owner_for_project_by_slug_payload.rb +1 -1
  50. data/lib/ory-client/models/json_error.rb +1 -1
  51. data/lib/ory-client/models/json_patch.rb +1 -1
  52. data/lib/ory-client/models/needs_privileged_session_error.rb +1 -1
  53. data/lib/ory-client/models/normalized_project.rb +1 -1
  54. data/lib/ory-client/models/normalized_project_revision.rb +1 -1
  55. data/lib/ory-client/models/normalized_project_revision_hook.rb +1 -1
  56. data/lib/ory-client/models/normalized_project_revision_identity_schema.rb +1 -1
  57. data/lib/ory-client/models/normalized_project_revision_third_party_provider.rb +1 -1
  58. data/lib/ory-client/models/null_plan.rb +1 -1
  59. data/lib/ory-client/models/pagination.rb +1 -1
  60. data/lib/ory-client/models/project.rb +1 -1
  61. data/lib/ory-client/models/project_host.rb +1 -1
  62. data/lib/ory-client/models/project_invite.rb +1 -1
  63. data/lib/ory-client/models/project_metadata.rb +352 -0
  64. data/lib/ory-client/models/project_service_identity.rb +1 -1
  65. data/lib/ory-client/models/project_services.rb +1 -1
  66. data/lib/ory-client/models/project_slug.rb +1 -1
  67. data/lib/ory-client/models/provision_mock_subscription_payload.rb +1 -1
  68. data/lib/ory-client/models/quota_project_member_seats.rb +1 -1
  69. data/lib/ory-client/models/recovery_address.rb +1 -1
  70. data/lib/ory-client/models/revoked_sessions.rb +1 -1
  71. data/lib/ory-client/models/schema_patch.rb +1 -1
  72. data/lib/ory-client/models/self_service_browser_location_change_required_error.rb +1 -1
  73. data/lib/ory-client/models/self_service_error.rb +1 -1
  74. data/lib/ory-client/models/self_service_flow_expired_error.rb +1 -1
  75. data/lib/ory-client/models/self_service_login_flow.rb +1 -1
  76. data/lib/ory-client/models/self_service_logout_url.rb +1 -1
  77. data/lib/ory-client/models/self_service_recovery_flow.rb +1 -1
  78. data/lib/ory-client/models/self_service_recovery_flow_state.rb +1 -1
  79. data/lib/ory-client/models/self_service_recovery_link.rb +1 -1
  80. data/lib/ory-client/models/self_service_registration_flow.rb +1 -1
  81. data/lib/ory-client/models/self_service_settings_flow.rb +1 -1
  82. data/lib/ory-client/models/self_service_settings_flow_state.rb +1 -1
  83. data/lib/ory-client/models/self_service_verification_flow.rb +1 -1
  84. data/lib/ory-client/models/self_service_verification_flow_state.rb +1 -1
  85. data/lib/ory-client/models/session.rb +1 -1
  86. data/lib/ory-client/models/session_authentication_method.rb +1 -1
  87. data/lib/ory-client/models/session_device.rb +1 -1
  88. data/lib/ory-client/models/settings_profile_form_config.rb +1 -1
  89. data/lib/ory-client/models/stripe_customer_response.rb +1 -1
  90. data/lib/ory-client/models/submit_self_service_flow_with_web_authn_registration_method.rb +1 -1
  91. data/lib/ory-client/models/submit_self_service_login_flow_body.rb +1 -1
  92. data/lib/ory-client/models/submit_self_service_login_flow_with_lookup_secret_method_body.rb +1 -1
  93. data/lib/ory-client/models/submit_self_service_login_flow_with_oidc_method_body.rb +1 -1
  94. data/lib/ory-client/models/submit_self_service_login_flow_with_password_method_body.rb +1 -1
  95. data/lib/ory-client/models/submit_self_service_login_flow_with_totp_method_body.rb +1 -1
  96. data/lib/ory-client/models/submit_self_service_login_flow_with_web_authn_method_body.rb +1 -1
  97. data/lib/ory-client/models/submit_self_service_logout_flow_without_browser_body.rb +1 -1
  98. data/lib/ory-client/models/submit_self_service_recovery_flow_body.rb +1 -1
  99. data/lib/ory-client/models/submit_self_service_recovery_flow_with_link_method_body.rb +1 -1
  100. data/lib/ory-client/models/submit_self_service_registration_flow_body.rb +1 -1
  101. data/lib/ory-client/models/submit_self_service_registration_flow_with_oidc_method_body.rb +1 -1
  102. data/lib/ory-client/models/submit_self_service_registration_flow_with_password_method_body.rb +1 -1
  103. data/lib/ory-client/models/submit_self_service_registration_flow_with_web_authn_method_body.rb +1 -1
  104. data/lib/ory-client/models/submit_self_service_settings_flow_body.rb +1 -1
  105. data/lib/ory-client/models/submit_self_service_settings_flow_with_lookup_method_body.rb +1 -1
  106. data/lib/ory-client/models/submit_self_service_settings_flow_with_oidc_method_body.rb +1 -1
  107. data/lib/ory-client/models/submit_self_service_settings_flow_with_password_method_body.rb +1 -1
  108. data/lib/ory-client/models/submit_self_service_settings_flow_with_profile_method_body.rb +1 -1
  109. data/lib/ory-client/models/submit_self_service_settings_flow_with_totp_method_body.rb +1 -1
  110. data/lib/ory-client/models/submit_self_service_settings_flow_with_web_authn_method_body.rb +1 -1
  111. data/lib/ory-client/models/submit_self_service_verification_flow_body.rb +1 -1
  112. data/lib/ory-client/models/submit_self_service_verification_flow_with_link_method_body.rb +1 -1
  113. data/lib/ory-client/models/subscription.rb +1 -1
  114. data/lib/ory-client/models/successful_project_update.rb +1 -1
  115. data/lib/ory-client/models/successful_self_service_login_without_browser.rb +1 -1
  116. data/lib/ory-client/models/successful_self_service_registration_without_browser.rb +1 -1
  117. data/lib/ory-client/models/ui_container.rb +1 -1
  118. data/lib/ory-client/models/ui_node.rb +1 -1
  119. data/lib/ory-client/models/ui_node_anchor_attributes.rb +1 -1
  120. data/lib/ory-client/models/ui_node_attributes.rb +1 -1
  121. data/lib/ory-client/models/ui_node_image_attributes.rb +1 -1
  122. data/lib/ory-client/models/ui_node_input_attributes.rb +1 -1
  123. data/lib/ory-client/models/ui_node_meta.rb +1 -1
  124. data/lib/ory-client/models/ui_node_script_attributes.rb +1 -1
  125. data/lib/ory-client/models/ui_node_text_attributes.rb +1 -1
  126. data/lib/ory-client/models/ui_text.rb +1 -1
  127. data/lib/ory-client/models/update_custom_hostname_body.rb +1 -1
  128. data/lib/ory-client/models/update_project.rb +1 -1
  129. data/lib/ory-client/models/update_subscription_payload.rb +1 -1
  130. data/lib/ory-client/models/verifiable_identity_address.rb +1 -1
  131. data/lib/ory-client/models/version.rb +1 -1
  132. data/lib/ory-client/models/warning.rb +1 -1
  133. data/lib/ory-client/version.rb +2 -2
  134. data/lib/ory-client.rb +2 -1
  135. data/ory-client.gemspec +1 -1
  136. data/spec/api/metadata_api_spec.rb +1 -1
  137. data/spec/api/v0alpha2_api_spec.rb +99 -1
  138. data/spec/api_client_spec.rb +1 -1
  139. data/spec/configuration_spec.rb +1 -1
  140. data/spec/models/active_project_spec.rb +1 -1
  141. data/spec/models/admin_create_identity_body_spec.rb +1 -1
  142. data/spec/models/admin_create_identity_import_credentials_oidc_config_spec.rb +1 -1
  143. data/spec/models/admin_create_identity_import_credentials_oidc_provider_spec.rb +1 -1
  144. data/spec/models/admin_create_identity_import_credentials_oidc_spec.rb +1 -1
  145. data/spec/models/admin_create_identity_import_credentials_password_config_spec.rb +1 -1
  146. data/spec/models/admin_create_identity_import_credentials_password_spec.rb +1 -1
  147. data/spec/models/admin_create_self_service_recovery_link_body_spec.rb +1 -1
  148. data/spec/models/admin_identity_import_credentials_spec.rb +1 -1
  149. data/spec/models/admin_update_identity_body_spec.rb +1 -1
  150. data/spec/models/api_token_spec.rb +1 -1
  151. data/spec/models/authenticator_assurance_level_spec.rb +1 -1
  152. data/spec/models/cloud_account_spec.rb +1 -1
  153. data/spec/models/cname_settings_spec.rb +1 -1
  154. data/spec/models/create_custom_hostname_body_spec.rb +1 -1
  155. data/spec/models/create_project_body_spec.rb +1 -1
  156. data/spec/models/create_subscription_payload_spec.rb +1 -1
  157. data/spec/models/error_authenticator_assurance_level_not_satisfied_spec.rb +1 -1
  158. data/spec/models/generic_error_content_spec.rb +1 -1
  159. data/spec/models/generic_error_spec.rb +1 -1
  160. data/spec/models/health_not_ready_status_spec.rb +1 -1
  161. data/spec/models/health_status_spec.rb +1 -1
  162. data/spec/models/identity_credentials_oidc_provider_spec.rb +1 -1
  163. data/spec/models/identity_credentials_oidc_spec.rb +1 -1
  164. data/spec/models/identity_credentials_password_spec.rb +1 -1
  165. data/spec/models/identity_credentials_spec.rb +1 -1
  166. data/spec/models/identity_credentials_type_spec.rb +1 -1
  167. data/spec/models/identity_schema_location_spec.rb +1 -1
  168. data/spec/models/identity_schema_preset_spec.rb +1 -1
  169. data/spec/models/identity_schema_spec.rb +1 -1
  170. data/spec/models/identity_schema_validation_result_spec.rb +1 -1
  171. data/spec/models/identity_spec.rb +1 -1
  172. data/spec/models/identity_state_spec.rb +1 -1
  173. data/spec/models/inline_response2001_spec.rb +1 -1
  174. data/spec/models/inline_response200_spec.rb +1 -1
  175. data/spec/models/inline_response503_spec.rb +1 -1
  176. data/spec/models/invite_payload_spec.rb +1 -1
  177. data/spec/models/is_owner_for_project_by_slug_payload_spec.rb +1 -1
  178. data/spec/models/is_owner_for_project_by_slug_spec.rb +1 -1
  179. data/spec/models/json_error_spec.rb +1 -1
  180. data/spec/models/json_patch_spec.rb +1 -1
  181. data/spec/models/needs_privileged_session_error_spec.rb +1 -1
  182. data/spec/models/normalized_project_revision_hook_spec.rb +1 -1
  183. data/spec/models/normalized_project_revision_identity_schema_spec.rb +1 -1
  184. data/spec/models/normalized_project_revision_spec.rb +1 -1
  185. data/spec/models/normalized_project_revision_third_party_provider_spec.rb +1 -1
  186. data/spec/models/normalized_project_spec.rb +1 -1
  187. data/spec/models/null_plan_spec.rb +1 -1
  188. data/spec/models/pagination_spec.rb +1 -1
  189. data/spec/models/project_host_spec.rb +1 -1
  190. data/spec/models/project_invite_spec.rb +1 -1
  191. data/spec/models/project_metadata_spec.rb +80 -0
  192. data/spec/models/project_service_identity_spec.rb +1 -1
  193. data/spec/models/project_services_spec.rb +1 -1
  194. data/spec/models/project_slug_spec.rb +1 -1
  195. data/spec/models/project_spec.rb +1 -1
  196. data/spec/models/provision_mock_subscription_payload_spec.rb +1 -1
  197. data/spec/models/quota_project_member_seats_spec.rb +1 -1
  198. data/spec/models/recovery_address_spec.rb +1 -1
  199. data/spec/models/revoked_sessions_spec.rb +1 -1
  200. data/spec/models/schema_patch_spec.rb +1 -1
  201. data/spec/models/self_service_browser_location_change_required_error_spec.rb +1 -1
  202. data/spec/models/self_service_error_spec.rb +1 -1
  203. data/spec/models/self_service_flow_expired_error_spec.rb +1 -1
  204. data/spec/models/self_service_login_flow_spec.rb +1 -1
  205. data/spec/models/self_service_logout_url_spec.rb +1 -1
  206. data/spec/models/self_service_recovery_flow_spec.rb +1 -1
  207. data/spec/models/self_service_recovery_flow_state_spec.rb +1 -1
  208. data/spec/models/self_service_recovery_link_spec.rb +1 -1
  209. data/spec/models/self_service_registration_flow_spec.rb +1 -1
  210. data/spec/models/self_service_settings_flow_spec.rb +1 -1
  211. data/spec/models/self_service_settings_flow_state_spec.rb +1 -1
  212. data/spec/models/self_service_verification_flow_spec.rb +1 -1
  213. data/spec/models/self_service_verification_flow_state_spec.rb +1 -1
  214. data/spec/models/session_authentication_method_spec.rb +1 -1
  215. data/spec/models/session_device_spec.rb +1 -1
  216. data/spec/models/session_spec.rb +1 -1
  217. data/spec/models/settings_profile_form_config_spec.rb +1 -1
  218. data/spec/models/stripe_customer_response_spec.rb +1 -1
  219. data/spec/models/submit_self_service_flow_with_web_authn_registration_method_spec.rb +1 -1
  220. data/spec/models/submit_self_service_login_flow_body_spec.rb +1 -1
  221. data/spec/models/submit_self_service_login_flow_with_lookup_secret_method_body_spec.rb +1 -1
  222. data/spec/models/submit_self_service_login_flow_with_oidc_method_body_spec.rb +1 -1
  223. data/spec/models/submit_self_service_login_flow_with_password_method_body_spec.rb +1 -1
  224. data/spec/models/submit_self_service_login_flow_with_totp_method_body_spec.rb +1 -1
  225. data/spec/models/submit_self_service_login_flow_with_web_authn_method_body_spec.rb +1 -1
  226. data/spec/models/submit_self_service_logout_flow_without_browser_body_spec.rb +1 -1
  227. data/spec/models/submit_self_service_recovery_flow_body_spec.rb +1 -1
  228. data/spec/models/submit_self_service_recovery_flow_with_link_method_body_spec.rb +1 -1
  229. data/spec/models/submit_self_service_registration_flow_body_spec.rb +1 -1
  230. data/spec/models/submit_self_service_registration_flow_with_oidc_method_body_spec.rb +1 -1
  231. data/spec/models/submit_self_service_registration_flow_with_password_method_body_spec.rb +1 -1
  232. data/spec/models/submit_self_service_registration_flow_with_web_authn_method_body_spec.rb +1 -1
  233. data/spec/models/submit_self_service_settings_flow_body_spec.rb +1 -1
  234. data/spec/models/submit_self_service_settings_flow_with_lookup_method_body_spec.rb +1 -1
  235. data/spec/models/submit_self_service_settings_flow_with_oidc_method_body_spec.rb +1 -1
  236. data/spec/models/submit_self_service_settings_flow_with_password_method_body_spec.rb +1 -1
  237. data/spec/models/submit_self_service_settings_flow_with_profile_method_body_spec.rb +1 -1
  238. data/spec/models/submit_self_service_settings_flow_with_totp_method_body_spec.rb +1 -1
  239. data/spec/models/submit_self_service_settings_flow_with_web_authn_method_body_spec.rb +1 -1
  240. data/spec/models/submit_self_service_verification_flow_body_spec.rb +1 -1
  241. data/spec/models/submit_self_service_verification_flow_with_link_method_body_spec.rb +1 -1
  242. data/spec/models/subscription_spec.rb +1 -1
  243. data/spec/models/successful_project_update_spec.rb +1 -1
  244. data/spec/models/successful_self_service_login_without_browser_spec.rb +1 -1
  245. data/spec/models/successful_self_service_registration_without_browser_spec.rb +1 -1
  246. data/spec/models/ui_container_spec.rb +1 -1
  247. data/spec/models/ui_node_anchor_attributes_spec.rb +1 -1
  248. data/spec/models/ui_node_attributes_spec.rb +1 -1
  249. data/spec/models/ui_node_image_attributes_spec.rb +1 -1
  250. data/spec/models/ui_node_input_attributes_spec.rb +1 -1
  251. data/spec/models/ui_node_meta_spec.rb +1 -1
  252. data/spec/models/ui_node_script_attributes_spec.rb +1 -1
  253. data/spec/models/ui_node_spec.rb +1 -1
  254. data/spec/models/ui_node_text_attributes_spec.rb +1 -1
  255. data/spec/models/ui_text_spec.rb +1 -1
  256. data/spec/models/update_custom_hostname_body_spec.rb +1 -1
  257. data/spec/models/update_project_spec.rb +1 -1
  258. data/spec/models/update_subscription_payload_spec.rb +1 -1
  259. data/spec/models/verifiable_identity_address_spec.rb +1 -1
  260. data/spec/models/version_spec.rb +1 -1
  261. data/spec/models/warning_spec.rb +1 -1
  262. data/spec/spec_helper.rb +1 -1
  263. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.22.0.gem +0 -0
  264. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/byebug-11.1.3/gem_make.out +2 -2
  265. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/ffi-1.15.5/gem_make.out +2 -2
  266. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/jaro_winkler-1.5.4/gem_make.out +2 -2
  267. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/psych-4.0.3/gem_make.out +2 -2
  268. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/gem_make.out +2 -2
  269. data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/stringio-3.0.1/mkmf.log +1 -1
  270. data/vendor/bundle/ruby/2.5.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
  271. data/vendor/bundle/ruby/2.5.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
  272. data/vendor/bundle/ruby/2.5.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
  273. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.0}/MIT-LICENSE.txt +0 -0
  274. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.0}/lib/parallel/processor_count.rb +1 -1
  275. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.22.0/lib/parallel/version.rb +4 -0
  276. data/vendor/bundle/ruby/2.5.0/gems/{parallel-1.21.0 → parallel-1.22.0}/lib/parallel.rb +84 -4
  277. data/vendor/bundle/ruby/2.5.0/gems/psych-4.0.3/ext/psych/Makefile +2 -2
  278. data/vendor/bundle/ruby/2.5.0/gems/stringio-3.0.1/ext/stringio/Makefile +2 -2
  279. data/vendor/bundle/ruby/2.5.0/specifications/{parallel-1.21.0.gemspec → parallel-1.22.0.gemspec} +4 -4
  280. metadata +13 -9
  281. data/vendor/bundle/ruby/2.5.0/cache/parallel-1.21.0.gem +0 -0
  282. data/vendor/bundle/ruby/2.5.0/gems/parallel-1.21.0/lib/parallel/version.rb +0 -4
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -568,6 +568,70 @@ module OryClient
568
568
  return data, status_code, headers
569
569
  end
570
570
 
571
+ # Create a Project
572
+ # Creates a new project.
573
+ # @param [Hash] opts the optional parameters
574
+ # @option opts [CreateProjectBody] :create_project_body
575
+ # @return [Project]
576
+ def create_project(opts = {})
577
+ data, _status_code, _headers = create_project_with_http_info(opts)
578
+ data
579
+ end
580
+
581
+ # Create a Project
582
+ # Creates a new project.
583
+ # @param [Hash] opts the optional parameters
584
+ # @option opts [CreateProjectBody] :create_project_body
585
+ # @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
586
+ def create_project_with_http_info(opts = {})
587
+ if @api_client.config.debugging
588
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.create_project ...'
589
+ end
590
+ # resource path
591
+ local_var_path = '/projects'
592
+
593
+ # query parameters
594
+ query_params = opts[:query_params] || {}
595
+
596
+ # header parameters
597
+ header_params = opts[:header_params] || {}
598
+ # HTTP header 'Accept' (if needed)
599
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
600
+ # HTTP header 'Content-Type'
601
+ content_type = @api_client.select_header_content_type(['application/json'])
602
+ if !content_type.nil?
603
+ header_params['Content-Type'] = content_type
604
+ end
605
+
606
+ # form parameters
607
+ form_params = opts[:form_params] || {}
608
+
609
+ # http body (model)
610
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_project_body'])
611
+
612
+ # return_type
613
+ return_type = opts[:debug_return_type] || 'Project'
614
+
615
+ # auth_names
616
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
617
+
618
+ new_options = opts.merge(
619
+ :operation => :"V0alpha2Api.create_project",
620
+ :header_params => header_params,
621
+ :query_params => query_params,
622
+ :form_params => form_params,
623
+ :body => post_body,
624
+ :auth_names => auth_names,
625
+ :return_type => return_type
626
+ )
627
+
628
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
629
+ if @api_client.config.debugging
630
+ @api_client.config.logger.debug "API called: V0alpha2Api#create_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
631
+ end
632
+ return data, status_code, headers
633
+ end
634
+
571
635
  # Create a Logout URL for Browsers
572
636
  # This endpoint initializes a browser-based user logout flow and a URL which can be used to log out the user. This endpoint is NOT INTENDED for API clients and only works with browsers (Chrome, Firefox, ...). For API clients you can call the `/self-service/logout/api` URL directly with the Ory Session Token. The URL is only valid for the currently signed in user. If no user is signed in, this endpoint returns a 401 error. When calling this endpoint from a backend, please ensure to properly forward the HTTP cookies.
573
637
  # @param [Hash] opts the optional parameters
@@ -689,6 +753,132 @@ module OryClient
689
753
  return data, status_code, headers
690
754
  end
691
755
 
756
+ # Get a Project
757
+ # Get a projects you have access to by its ID.
758
+ # @param project_id [String] Project ID The project&#39;s ID.
759
+ # @param [Hash] opts the optional parameters
760
+ # @return [Project]
761
+ def get_project(project_id, opts = {})
762
+ data, _status_code, _headers = get_project_with_http_info(project_id, opts)
763
+ data
764
+ end
765
+
766
+ # Get a Project
767
+ # Get a projects you have access to by its ID.
768
+ # @param project_id [String] Project ID The project&#39;s ID.
769
+ # @param [Hash] opts the optional parameters
770
+ # @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
771
+ def get_project_with_http_info(project_id, opts = {})
772
+ if @api_client.config.debugging
773
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.get_project ...'
774
+ end
775
+ # verify the required parameter 'project_id' is set
776
+ if @api_client.config.client_side_validation && project_id.nil?
777
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.get_project"
778
+ end
779
+ # resource path
780
+ local_var_path = '/projects/{project_id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
781
+
782
+ # query parameters
783
+ query_params = opts[:query_params] || {}
784
+
785
+ # header parameters
786
+ header_params = opts[:header_params] || {}
787
+ # HTTP header 'Accept' (if needed)
788
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
789
+
790
+ # form parameters
791
+ form_params = opts[:form_params] || {}
792
+
793
+ # http body (model)
794
+ post_body = opts[:debug_body]
795
+
796
+ # return_type
797
+ return_type = opts[:debug_return_type] || 'Project'
798
+
799
+ # auth_names
800
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
801
+
802
+ new_options = opts.merge(
803
+ :operation => :"V0alpha2Api.get_project",
804
+ :header_params => header_params,
805
+ :query_params => query_params,
806
+ :form_params => form_params,
807
+ :body => post_body,
808
+ :auth_names => auth_names,
809
+ :return_type => return_type
810
+ )
811
+
812
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
813
+ if @api_client.config.debugging
814
+ @api_client.config.logger.debug "API called: V0alpha2Api#get_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
815
+ end
816
+ return data, status_code, headers
817
+ end
818
+
819
+ # Get all members associated with this project.
820
+ # This endpoint requires the user to be a member of the project with the role `OWNER` or `DEVELOPER`.
821
+ # @param project_id [String] Project ID The project&#39;s ID.
822
+ # @param [Hash] opts the optional parameters
823
+ # @return [Array<CloudAccount>]
824
+ def get_project_members(project_id, opts = {})
825
+ data, _status_code, _headers = get_project_members_with_http_info(project_id, opts)
826
+ data
827
+ end
828
+
829
+ # Get all members associated with this project.
830
+ # This endpoint requires the user to be a member of the project with the role &#x60;OWNER&#x60; or &#x60;DEVELOPER&#x60;.
831
+ # @param project_id [String] Project ID The project&#39;s ID.
832
+ # @param [Hash] opts the optional parameters
833
+ # @return [Array<(Array<CloudAccount>, Integer, Hash)>] Array<CloudAccount> data, response status code and response headers
834
+ def get_project_members_with_http_info(project_id, opts = {})
835
+ if @api_client.config.debugging
836
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.get_project_members ...'
837
+ end
838
+ # verify the required parameter 'project_id' is set
839
+ if @api_client.config.client_side_validation && project_id.nil?
840
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.get_project_members"
841
+ end
842
+ # resource path
843
+ local_var_path = '/projects/{project_id}/members'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
844
+
845
+ # query parameters
846
+ query_params = opts[:query_params] || {}
847
+
848
+ # header parameters
849
+ header_params = opts[:header_params] || {}
850
+ # HTTP header 'Accept' (if needed)
851
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
852
+
853
+ # form parameters
854
+ form_params = opts[:form_params] || {}
855
+
856
+ # http body (model)
857
+ post_body = opts[:debug_body]
858
+
859
+ # return_type
860
+ return_type = opts[:debug_return_type] || 'Array<CloudAccount>'
861
+
862
+ # auth_names
863
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
864
+
865
+ new_options = opts.merge(
866
+ :operation => :"V0alpha2Api.get_project_members",
867
+ :header_params => header_params,
868
+ :query_params => query_params,
869
+ :form_params => form_params,
870
+ :body => post_body,
871
+ :auth_names => auth_names,
872
+ :return_type => return_type
873
+ )
874
+
875
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
876
+ if @api_client.config.debugging
877
+ @api_client.config.logger.debug "API called: V0alpha2Api#get_project_members\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
878
+ end
879
+ return data, status_code, headers
880
+ end
881
+
692
882
  # Get Self-Service Errors
693
883
  # This endpoint returns the error associated with a user-facing self service errors. This endpoint supports stub values to help you implement the error UI: `?id=stub:500` - returns a stub 500 (Internal Server Error) error. More information can be found at [Ory Kratos User User Facing Error Documentation](https://www.ory.sh/docs/kratos/self-service/flows/user-facing-errors).
694
884
  # @param id [String] Error is the error&#39;s ID
@@ -1824,6 +2014,63 @@ module OryClient
1824
2014
  return data, status_code, headers
1825
2015
  end
1826
2016
 
2017
+ # List All Projects
2018
+ # Lists all projects you have access to.
2019
+ # @param [Hash] opts the optional parameters
2020
+ # @return [Array<ProjectMetadata>]
2021
+ def list_projects(opts = {})
2022
+ data, _status_code, _headers = list_projects_with_http_info(opts)
2023
+ data
2024
+ end
2025
+
2026
+ # List All Projects
2027
+ # Lists all projects you have access to.
2028
+ # @param [Hash] opts the optional parameters
2029
+ # @return [Array<(Array<ProjectMetadata>, Integer, Hash)>] Array<ProjectMetadata> data, response status code and response headers
2030
+ def list_projects_with_http_info(opts = {})
2031
+ if @api_client.config.debugging
2032
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.list_projects ...'
2033
+ end
2034
+ # resource path
2035
+ local_var_path = '/projects'
2036
+
2037
+ # query parameters
2038
+ query_params = opts[:query_params] || {}
2039
+
2040
+ # header parameters
2041
+ header_params = opts[:header_params] || {}
2042
+ # HTTP header 'Accept' (if needed)
2043
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2044
+
2045
+ # form parameters
2046
+ form_params = opts[:form_params] || {}
2047
+
2048
+ # http body (model)
2049
+ post_body = opts[:debug_body]
2050
+
2051
+ # return_type
2052
+ return_type = opts[:debug_return_type] || 'Array<ProjectMetadata>'
2053
+
2054
+ # auth_names
2055
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
2056
+
2057
+ new_options = opts.merge(
2058
+ :operation => :"V0alpha2Api.list_projects",
2059
+ :header_params => header_params,
2060
+ :query_params => query_params,
2061
+ :form_params => form_params,
2062
+ :body => post_body,
2063
+ :auth_names => auth_names,
2064
+ :return_type => return_type
2065
+ )
2066
+
2067
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2068
+ if @api_client.config.debugging
2069
+ @api_client.config.logger.debug "API called: V0alpha2Api#list_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2070
+ end
2071
+ return data, status_code, headers
2072
+ end
2073
+
1827
2074
  # This endpoints returns all other active sessions that belong to the logged-in user. The current session can be retrieved by calling the `/sessions/whoami` endpoint.
1828
2075
  # This endpoint is useful for: Displaying all other sessions that belong to the logged-in user
1829
2076
  # @param [Hash] opts the optional parameters
@@ -1905,6 +2152,208 @@ module OryClient
1905
2152
  return data, status_code, headers
1906
2153
  end
1907
2154
 
2155
+ # Patch an Ory Cloud Project Configuration
2156
+ # This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory's services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
2157
+ # @param project_id [String] Project ID The project&#39;s ID.
2158
+ # @param [Hash] opts the optional parameters
2159
+ # @option opts [Array<JsonPatch>] :json_patch
2160
+ # @return [SuccessfulProjectUpdate]
2161
+ def patch_project(project_id, opts = {})
2162
+ data, _status_code, _headers = patch_project_with_http_info(project_id, opts)
2163
+ data
2164
+ end
2165
+
2166
+ # Patch an Ory Cloud Project Configuration
2167
+ # This endpoints allows you to patch individual Ory Cloud Project configuration keys for Ory&#39;s services (identity, permission, ...). The configuration format is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the &#x60;version&#x60; key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed.
2168
+ # @param project_id [String] Project ID The project&#39;s ID.
2169
+ # @param [Hash] opts the optional parameters
2170
+ # @option opts [Array<JsonPatch>] :json_patch
2171
+ # @return [Array<(SuccessfulProjectUpdate, Integer, Hash)>] SuccessfulProjectUpdate data, response status code and response headers
2172
+ def patch_project_with_http_info(project_id, opts = {})
2173
+ if @api_client.config.debugging
2174
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.patch_project ...'
2175
+ end
2176
+ # verify the required parameter 'project_id' is set
2177
+ if @api_client.config.client_side_validation && project_id.nil?
2178
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.patch_project"
2179
+ end
2180
+ # resource path
2181
+ local_var_path = '/projects/{project_id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
2182
+
2183
+ # query parameters
2184
+ query_params = opts[:query_params] || {}
2185
+
2186
+ # header parameters
2187
+ header_params = opts[:header_params] || {}
2188
+ # HTTP header 'Accept' (if needed)
2189
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2190
+ # HTTP header 'Content-Type'
2191
+ content_type = @api_client.select_header_content_type(['application/json'])
2192
+ if !content_type.nil?
2193
+ header_params['Content-Type'] = content_type
2194
+ end
2195
+
2196
+ # form parameters
2197
+ form_params = opts[:form_params] || {}
2198
+
2199
+ # http body (model)
2200
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'json_patch'])
2201
+
2202
+ # return_type
2203
+ return_type = opts[:debug_return_type] || 'SuccessfulProjectUpdate'
2204
+
2205
+ # auth_names
2206
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
2207
+
2208
+ new_options = opts.merge(
2209
+ :operation => :"V0alpha2Api.patch_project",
2210
+ :header_params => header_params,
2211
+ :query_params => query_params,
2212
+ :form_params => form_params,
2213
+ :body => post_body,
2214
+ :auth_names => auth_names,
2215
+ :return_type => return_type
2216
+ )
2217
+
2218
+ data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
2219
+ if @api_client.config.debugging
2220
+ @api_client.config.logger.debug "API called: V0alpha2Api#patch_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2221
+ end
2222
+ return data, status_code, headers
2223
+ end
2224
+
2225
+ # Irrecoverably Purge a Project
2226
+ # !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
2227
+ # @param project_id [String] Project ID The project&#39;s ID.
2228
+ # @param [Hash] opts the optional parameters
2229
+ # @return [nil]
2230
+ def purge_project(project_id, opts = {})
2231
+ purge_project_with_http_info(project_id, opts)
2232
+ nil
2233
+ end
2234
+
2235
+ # Irrecoverably Purge a Project
2236
+ # !! Use with extreme caution !! Using this API endpoint you can purge (completely delete) a project and its data. This action can not be undone and will delete ALL your data. !! Use with extreme caution !!
2237
+ # @param project_id [String] Project ID The project&#39;s ID.
2238
+ # @param [Hash] opts the optional parameters
2239
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2240
+ def purge_project_with_http_info(project_id, opts = {})
2241
+ if @api_client.config.debugging
2242
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.purge_project ...'
2243
+ end
2244
+ # verify the required parameter 'project_id' is set
2245
+ if @api_client.config.client_side_validation && project_id.nil?
2246
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.purge_project"
2247
+ end
2248
+ # resource path
2249
+ local_var_path = '/projects/{project_id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
2250
+
2251
+ # query parameters
2252
+ query_params = opts[:query_params] || {}
2253
+
2254
+ # header parameters
2255
+ header_params = opts[:header_params] || {}
2256
+ # HTTP header 'Accept' (if needed)
2257
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2258
+
2259
+ # form parameters
2260
+ form_params = opts[:form_params] || {}
2261
+
2262
+ # http body (model)
2263
+ post_body = opts[:debug_body]
2264
+
2265
+ # return_type
2266
+ return_type = opts[:debug_return_type]
2267
+
2268
+ # auth_names
2269
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
2270
+
2271
+ new_options = opts.merge(
2272
+ :operation => :"V0alpha2Api.purge_project",
2273
+ :header_params => header_params,
2274
+ :query_params => query_params,
2275
+ :form_params => form_params,
2276
+ :body => post_body,
2277
+ :auth_names => auth_names,
2278
+ :return_type => return_type
2279
+ )
2280
+
2281
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
2282
+ if @api_client.config.debugging
2283
+ @api_client.config.logger.debug "API called: V0alpha2Api#purge_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2284
+ end
2285
+ return data, status_code, headers
2286
+ end
2287
+
2288
+ # Remove a member associated with this project. This also sets their invite status to `REMOVED`.
2289
+ # This endpoint requires the user to be a member of the project with the role `OWNER`.
2290
+ # @param project_id [String] Project ID The project&#39;s ID.
2291
+ # @param member_id [String] Member ID
2292
+ # @param [Hash] opts the optional parameters
2293
+ # @return [nil]
2294
+ def remove_project_member(project_id, member_id, opts = {})
2295
+ remove_project_member_with_http_info(project_id, member_id, opts)
2296
+ nil
2297
+ end
2298
+
2299
+ # Remove a member associated with this project. This also sets their invite status to &#x60;REMOVED&#x60;.
2300
+ # This endpoint requires the user to be a member of the project with the role &#x60;OWNER&#x60;.
2301
+ # @param project_id [String] Project ID The project&#39;s ID.
2302
+ # @param member_id [String] Member ID
2303
+ # @param [Hash] opts the optional parameters
2304
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
2305
+ def remove_project_member_with_http_info(project_id, member_id, opts = {})
2306
+ if @api_client.config.debugging
2307
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.remove_project_member ...'
2308
+ end
2309
+ # verify the required parameter 'project_id' is set
2310
+ if @api_client.config.client_side_validation && project_id.nil?
2311
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.remove_project_member"
2312
+ end
2313
+ # verify the required parameter 'member_id' is set
2314
+ if @api_client.config.client_side_validation && member_id.nil?
2315
+ fail ArgumentError, "Missing the required parameter 'member_id' when calling V0alpha2Api.remove_project_member"
2316
+ end
2317
+ # resource path
2318
+ local_var_path = '/projects/{project_id}/members/{member_id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s)).sub('{' + 'member_id' + '}', CGI.escape(member_id.to_s))
2319
+
2320
+ # query parameters
2321
+ query_params = opts[:query_params] || {}
2322
+
2323
+ # header parameters
2324
+ header_params = opts[:header_params] || {}
2325
+ # HTTP header 'Accept' (if needed)
2326
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2327
+
2328
+ # form parameters
2329
+ form_params = opts[:form_params] || {}
2330
+
2331
+ # http body (model)
2332
+ post_body = opts[:debug_body]
2333
+
2334
+ # return_type
2335
+ return_type = opts[:debug_return_type]
2336
+
2337
+ # auth_names
2338
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
2339
+
2340
+ new_options = opts.merge(
2341
+ :operation => :"V0alpha2Api.remove_project_member",
2342
+ :header_params => header_params,
2343
+ :query_params => query_params,
2344
+ :form_params => form_params,
2345
+ :body => post_body,
2346
+ :auth_names => auth_names,
2347
+ :return_type => return_type
2348
+ )
2349
+
2350
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
2351
+ if @api_client.config.debugging
2352
+ @api_client.config.logger.debug "API called: V0alpha2Api#remove_project_member\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2353
+ end
2354
+ return data, status_code, headers
2355
+ end
2356
+
1908
2357
  # Calling this endpoint invalidates the specified session. The current session cannot be revoked. Session data are not deleted.
1909
2358
  # This endpoint is useful for: To forcefully logout the current user from another device or session
1910
2359
  # @param id [String] ID is the session&#39;s ID.
@@ -2591,5 +3040,75 @@ module OryClient
2591
3040
  end
2592
3041
  return data, status_code, headers
2593
3042
  end
3043
+
3044
+ # Update an Ory Cloud Project Configuration
3045
+ # This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the `version` key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service's configuration will completely override your current configuration for that service!
3046
+ # @param project_id [String] Project ID The project&#39;s ID.
3047
+ # @param [Hash] opts the optional parameters
3048
+ # @option opts [UpdateProject] :update_project
3049
+ # @return [SuccessfulProjectUpdate]
3050
+ def update_project(project_id, opts = {})
3051
+ data, _status_code, _headers = update_project_with_http_info(project_id, opts)
3052
+ data
3053
+ end
3054
+
3055
+ # Update an Ory Cloud Project Configuration
3056
+ # This endpoints allows you to update the Ory Cloud Project configuration for individual services (identity, permission, ...). The configuration is fully compatible with the open source projects for the respective services (e.g. Ory Kratos for Identity, Ory Keto for Permissions). This endpoint expects the &#x60;version&#x60; key to be set in the payload. If it is unset, it will try to import the config as if it is from the most recent version. If you have an older version of a configuration, you should set the version key in the payload! While this endpoint is able to process all configuration items related to features (e.g. password reset), it does not support operational configuration items (e.g. port, tracing, logging) otherwise available in the open source. For configuration items that can not be translated to Ory Cloud, this endpoint will return a list of warnings to help you understand which parts of your config could not be processed. Be aware that updating any service&#39;s configuration will completely override your current configuration for that service!
3057
+ # @param project_id [String] Project ID The project&#39;s ID.
3058
+ # @param [Hash] opts the optional parameters
3059
+ # @option opts [UpdateProject] :update_project
3060
+ # @return [Array<(SuccessfulProjectUpdate, Integer, Hash)>] SuccessfulProjectUpdate data, response status code and response headers
3061
+ def update_project_with_http_info(project_id, opts = {})
3062
+ if @api_client.config.debugging
3063
+ @api_client.config.logger.debug 'Calling API: V0alpha2Api.update_project ...'
3064
+ end
3065
+ # verify the required parameter 'project_id' is set
3066
+ if @api_client.config.client_side_validation && project_id.nil?
3067
+ fail ArgumentError, "Missing the required parameter 'project_id' when calling V0alpha2Api.update_project"
3068
+ end
3069
+ # resource path
3070
+ local_var_path = '/projects/{project_id}'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
3071
+
3072
+ # query parameters
3073
+ query_params = opts[:query_params] || {}
3074
+
3075
+ # header parameters
3076
+ header_params = opts[:header_params] || {}
3077
+ # HTTP header 'Accept' (if needed)
3078
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
3079
+ # HTTP header 'Content-Type'
3080
+ content_type = @api_client.select_header_content_type(['application/json'])
3081
+ if !content_type.nil?
3082
+ header_params['Content-Type'] = content_type
3083
+ end
3084
+
3085
+ # form parameters
3086
+ form_params = opts[:form_params] || {}
3087
+
3088
+ # http body (model)
3089
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_project'])
3090
+
3091
+ # return_type
3092
+ return_type = opts[:debug_return_type] || 'SuccessfulProjectUpdate'
3093
+
3094
+ # auth_names
3095
+ auth_names = opts[:debug_auth_names] || ['oryAccessToken']
3096
+
3097
+ new_options = opts.merge(
3098
+ :operation => :"V0alpha2Api.update_project",
3099
+ :header_params => header_params,
3100
+ :query_params => query_params,
3101
+ :form_params => form_params,
3102
+ :body => post_body,
3103
+ :auth_names => auth_names,
3104
+ :return_type => return_type
3105
+ )
3106
+
3107
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
3108
+ if @api_client.config.debugging
3109
+ @api_client.config.logger.debug "API called: V0alpha2Api#update_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
3110
+ end
3111
+ return data, status_code, headers
3112
+ end
2594
3113
  end
2595
3114
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.
5
5
 
6
- The version of the OpenAPI document: v0.0.1-alpha.134
6
+ The version of the OpenAPI document: v0.0.1-alpha.140
7
7
  Contact: support@ory.sh
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.4.0