docs/ProjectApi.md in ory-client-1.2.11 vs docs/ProjectApi.md in ory-client-1.2.14
- old
+ new
@@ -674,12 +674,12 @@
api_instance = OryClient::ProjectApi.new
project_id = 'project_id_example' # String | Project ID
event_type = 'event_type_example' # String | The event type to query for
resolution = 'resolution_example' # String | The resolution of the buckets The minimum resolution is 1 hour.
-from = Time.parse('2013-10-20T19:20:30+01:00') # Time | The start time of the time window
-to = Time.parse('2013-10-20T19:20:30+01:00') # Time | The end time of the time window
+from = Time.parse('2013-10-20T19:20:30+01:00') # Time | The start RFC3339 date of the time window
+to = Time.parse('2013-10-20T19:20:30+01:00') # Time | The end RFC3339 date of the time window
begin
result = api_instance.get_project_metrics(project_id, event_type, resolution, from, to)
p result
@@ -711,12 +711,12 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **project_id** | **String** | Project ID | |
| **event_type** | **String** | The event type to query for | |
| **resolution** | **String** | The resolution of the buckets The minimum resolution is 1 hour. | |
-| **from** | **Time** | The start time of the time window | |
-| **to** | **Time** | The end time of the time window | |
+| **from** | **Time** | The start RFC3339 date of the time window | |
+| **to** | **Time** | The end RFC3339 date of the time window | |
### Return type
[**GetProjectMetricsResponse**](GetProjectMetricsResponse.md)
@@ -1233,10 +1233,10 @@
end
api_instance = OryClient::ProjectApi.new
project_id = 'project_id_example' # String | Project ID The project's ID.
opts = {
- set_project: OryClient::SetProject.new({cors_admin: OryClient::CORS.new({enabled: false, origins: ['origins_example']}), cors_public: OryClient::CORS.new({enabled: false, origins: ['origins_example']}), name: 'name_example', services: OryClient::ProjectServices.new}) # SetProject |
+ set_project: OryClient::SetProject.new({cors_admin: OryClient::ProjectCors.new({enabled: false, origins: ['origins_example']}), cors_public: OryClient::ProjectCors.new({enabled: false, origins: ['origins_example']}), name: 'name_example', services: OryClient::ProjectServices.new}) # SetProject |
}
begin
# Update an Ory Network Project Configuration
result = api_instance.set_project(project_id, opts)