docs/DefaultApi.md in moonlogs-ruby-0.6.0 vs docs/DefaultApi.md in moonlogs-ruby-0.6.1
- old
+ new
@@ -654,11 +654,11 @@
end
api_instance = MoonlogsRuby::DefaultApi.new
id = 56 # Integer |
opts = {
- body: MoonlogsRuby::Schema.new # Schema |
+ body: MoonlogsRuby::SchemaRequest.new # SchemaRequest |
}
begin
result = api_instance.api_schemas_id_put(id, opts)
p result
@@ -670,11 +670,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| |
- **body** | [**Schema**](Schema.md)| | [optional]
+ **body** | [**SchemaRequest**](SchemaRequest.md)| | [optional]
### Return type
[**InlineResponse2001**](InlineResponse2001.md)
@@ -702,11 +702,11 @@
MoonlogsRuby.configure do |config|
end
api_instance = MoonlogsRuby::DefaultApi.new
opts = {
- body: MoonlogsRuby::Schema.new # Schema |
+ body: MoonlogsRuby::SchemaRequest.new # SchemaRequest |
}
begin
result = api_instance.api_schemas_post(opts)
p result
@@ -717,11 +717,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**Schema**](Schema.md)| | [optional]
+ **body** | [**SchemaRequest**](SchemaRequest.md)| | [optional]
### Return type
[**InlineResponse2001**](InlineResponse2001.md)
@@ -817,22 +817,22 @@
- **Accept**: application/json
# **api_setup_register_admin_post**
-> User api_setup_register_admin_post(opts)
+> UserResponse api_setup_register_admin_post(opts)
### Example
```ruby
# load the gem
require 'moonlogs-ruby'
api_instance = MoonlogsRuby::DefaultApi.new
opts = {
- body: MoonlogsRuby::User.new # User |
+ body: MoonlogsRuby::UserResponse.new # UserResponse |
}
begin
result = api_instance.api_setup_register_admin_post(opts)
p result
@@ -843,15 +843,15 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| | [optional]
+ **body** | [**UserResponse**](UserResponse.md)| | [optional]
### Return type
-[**User**](User.md)
+[**UserResponse**](UserResponse.md)
### Authorization
No authorization required
@@ -1238,11 +1238,11 @@
end
api_instance = MoonlogsRuby::DefaultApi.new
id = 56 # Integer |
opts = {
- body: MoonlogsRuby::User.new # User |
+ body: MoonlogsRuby::UserRequest.new # UserRequest |
}
begin
result = api_instance.api_users_id_put(id, opts)
p result
@@ -1254,11 +1254,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **Integer**| |
- **body** | [**User**](User.md)| | [optional]
+ **body** | [**UserRequest**](UserRequest.md)| | [optional]
### Return type
[**InlineResponse2006**](InlineResponse2006.md)
@@ -1286,11 +1286,11 @@
MoonlogsRuby.configure do |config|
end
api_instance = MoonlogsRuby::DefaultApi.new
opts = {
- body: MoonlogsRuby::User.new # User |
+ body: MoonlogsRuby::UserRequest.new # UserRequest |
}
begin
result = api_instance.api_users_post(opts)
p result
@@ -1301,10 +1301,10 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
- **body** | [**User**](User.md)| | [optional]
+ **body** | [**UserRequest**](UserRequest.md)| | [optional]
### Return type
[**InlineResponse2006**](InlineResponse2006.md)