docs/OrgsApi.md in cloudsmith-api-1.142.3 vs docs/OrgsApi.md in cloudsmith-api-2.0.0
- old
+ new
@@ -6,27 +6,35 @@
------------- | ------------- | -------------
[**orgs_invites_create**](OrgsApi.md#orgs_invites_create) | **POST** /orgs/{org}/invites/ | Create an organization invite for a specific user
[**orgs_invites_delete**](OrgsApi.md#orgs_invites_delete) | **DELETE** /orgs/{org}/invites/{slug_perm}/ | Delete a specific organization invite
[**orgs_invites_extend**](OrgsApi.md#orgs_invites_extend) | **POST** /orgs/{org}/invites/{slug_perm}/extend/ | Extend an organization invite.
[**orgs_invites_list**](OrgsApi.md#orgs_invites_list) | **GET** /orgs/{org}/invites/ | Get a list of all invites for an organization.
+[**orgs_invites_partial_update**](OrgsApi.md#orgs_invites_partial_update) | **PATCH** /orgs/{org}/invites/{slug_perm}/ | Update a specific organization invite.
+[**orgs_invites_resend**](OrgsApi.md#orgs_invites_resend) | **POST** /orgs/{org}/invites/{slug_perm}/resend/ | Resend an organization invite.
[**orgs_list**](OrgsApi.md#orgs_list) | **GET** /orgs/ | Get a list of all the organizations you are associated with.
[**orgs_members_delete**](OrgsApi.md#orgs_members_delete) | **DELETE** /orgs/{org}/members/{member}/ | Removes a member from the organization.
[**orgs_members_list**](OrgsApi.md#orgs_members_list) | **GET** /orgs/{org}/members/ | Get the details for all organization members.
[**orgs_members_read**](OrgsApi.md#orgs_members_read) | **GET** /orgs/{org}/members/{member}/ | Get the details for a specific organization member.
[**orgs_members_remove**](OrgsApi.md#orgs_members_remove) | **GET** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization (deprecated, use DELETE instead).
[**orgs_read**](OrgsApi.md#orgs_read) | **GET** /orgs/{org}/ | Get the details for the specific organization.
[**orgs_saml_group_sync_create**](OrgsApi.md#orgs_saml_group_sync_create) | **POST** /orgs/{org}/saml-group-sync/ | Create a new SAML Group Sync mapping within an organization.
[**orgs_saml_group_sync_delete**](OrgsApi.md#orgs_saml_group_sync_delete) | **DELETE** /orgs/{org}/saml-group-sync/{slug_perm}/ | Delete a SAML Group Sync mapping from an organization.
[**orgs_saml_group_sync_list**](OrgsApi.md#orgs_saml_group_sync_list) | **GET** /orgs/{org}/saml-group-sync/ | Get the details of all SAML Group Sync mapping within an organization.
+[**orgs_services_create**](OrgsApi.md#orgs_services_create) | **POST** /orgs/{org}/services/ | Create a service within an organization.
+[**orgs_services_delete**](OrgsApi.md#orgs_services_delete) | **DELETE** /orgs/{org}/services/{service}/ | Delete a specific service
+[**orgs_services_list**](OrgsApi.md#orgs_services_list) | **GET** /orgs/{org}/services/ | Get a list of all services within an organization.
+[**orgs_services_partial_update**](OrgsApi.md#orgs_services_partial_update) | **PATCH** /orgs/{org}/services/{service}/ | Update a service within an organization.
+[**orgs_services_read**](OrgsApi.md#orgs_services_read) | **GET** /orgs/{org}/services/{service}/ | Retrieve details of a single service within an organization.
+[**orgs_services_refresh**](OrgsApi.md#orgs_services_refresh) | **POST** /orgs/{org}/services/{service}/refresh/ | Refresh service API token.
[**orgs_teams_create**](OrgsApi.md#orgs_teams_create) | **POST** /orgs/{org}/teams/ | Create a team for this organization.
[**orgs_teams_delete**](OrgsApi.md#orgs_teams_delete) | **DELETE** /orgs/{org}/teams/{team}/ | Delete a specific team in a organization.
[**orgs_teams_list**](OrgsApi.md#orgs_teams_list) | **GET** /orgs/{org}/teams/ | Get the details of all teams within an organization.
[**orgs_teams_members_create**](OrgsApi.md#orgs_teams_members_create) | **POST** /orgs/{org}/teams/{team}/members | Add users to a team.
[**orgs_teams_members_list**](OrgsApi.md#orgs_teams_members_list) | **GET** /orgs/{org}/teams/{team}/members | List all members for the team.
[**orgs_teams_members_update**](OrgsApi.md#orgs_teams_members_update) | **PUT** /orgs/{org}/teams/{team}/members | Replace all team members.
[**orgs_teams_partial_update**](OrgsApi.md#orgs_teams_partial_update) | **PATCH** /orgs/{org}/teams/{team}/ | Update a specific team in a organization.
-[**orgs_teams_read**](OrgsApi.md#orgs_teams_read) | **GET** /orgs/{org}/teams/{team}/ | Get the details for the specific team.
+[**orgs_teams_read**](OrgsApi.md#orgs_teams_read) | **GET** /orgs/{org}/teams/{team}/ | Get the details of a specific team within an organization.
# **orgs_invites_create**
> OrganizationInvite orgs_invites_create(org, opts)
@@ -49,11 +57,11 @@
api_instance = CloudsmithApi::OrgsApi.new
org = 'org_example' # String |
opts = {
- data: CloudsmithApi::OrgsInvitesCreate.new # OrgsInvitesCreate |
+ data: CloudsmithApi::OrganizationInviteRequest.new # OrganizationInviteRequest |
}
begin
#Create an organization invite for a specific user
result = api_instance.orgs_invites_create(org, opts)
@@ -66,11 +74,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
- **data** | [**OrgsInvitesCreate**](OrgsInvitesCreate.md)| | [optional]
+ **data** | [**OrganizationInviteRequest**](OrganizationInviteRequest.md)| | [optional]
### Return type
[**OrganizationInvite**](OrganizationInvite.md)
@@ -79,11 +87,11 @@
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_invites_delete**
> orgs_invites_delete(org, slug_perm)
@@ -134,17 +142,17 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_invites_extend**
-> OrganizationInvite orgs_invites_extend(org, slug_perm, opts)
+> OrganizationInviteExtend orgs_invites_extend(org, slug_perm)
Extend an organization invite.
Extend an organization invite.
@@ -164,17 +172,14 @@
org = 'org_example' # String |
slug_perm = 'slug_perm_example' # String |
-opts = {
- data: CloudsmithApi::OrgsInvitesExtend.new # OrgsInvitesExtend |
-}
begin
#Extend an organization invite.
- result = api_instance.orgs_invites_extend(org, slug_perm, opts)
+ result = api_instance.orgs_invites_extend(org, slug_perm)
p result
rescue CloudsmithApi::ApiError => e
puts "Exception when calling OrgsApi->orgs_invites_extend: #{e}"
end
```
@@ -183,24 +188,23 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**slug_perm** | **String**| |
- **data** | [**OrgsInvitesExtend**](OrgsInvitesExtend.md)| | [optional]
### Return type
-[**OrganizationInvite**](OrganizationInvite.md)
+[**OrganizationInviteExtend**](OrganizationInviteExtend.md)
### Authorization
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_invites_list**
> Array<OrganizationInvite> orgs_invites_list(org, opts)
@@ -255,15 +259,133 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+# **orgs_invites_partial_update**
+> OrganizationInvite orgs_invites_partial_update(org, slug_perm, opts)
+
+Update a specific organization invite.
+
+Update a specific organization invite.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+slug_perm = 'slug_perm_example' # String |
+
+opts = {
+ data: CloudsmithApi::OrganizationInviteUpdateRequestPatch.new # OrganizationInviteUpdateRequestPatch |
+}
+
+begin
+ #Update a specific organization invite.
+ result = api_instance.orgs_invites_partial_update(org, slug_perm, opts)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_invites_partial_update: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **slug_perm** | **String**| |
+ **data** | [**OrganizationInviteUpdateRequestPatch**](OrganizationInviteUpdateRequestPatch.md)| | [optional]
+
+### Return type
+
+[**OrganizationInvite**](OrganizationInvite.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_invites_resend**
+> OrganizationInviteExtend orgs_invites_resend(org, slug_perm)
+
+Resend an organization invite.
+
+Resend an organization invite.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+slug_perm = 'slug_perm_example' # String |
+
+
+begin
+ #Resend an organization invite.
+ result = api_instance.orgs_invites_resend(org, slug_perm)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_invites_resend: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **slug_perm** | **String**| |
+
+### Return type
+
+[**OrganizationInviteExtend**](OrganizationInviteExtend.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
# **orgs_list**
> Array<Organization> orgs_list(opts)
Get a list of all the organizations you are associated with.
@@ -312,12 +434,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_members_delete**
> orgs_members_delete(org, member)
@@ -368,12 +490,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_members_list**
> Array<OrganizationMembership> orgs_members_list(org, opts)
@@ -428,12 +550,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_members_read**
> OrganizationMembership orgs_members_read(org, member)
@@ -485,12 +607,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_members_remove**
> orgs_members_remove(org, member)
@@ -541,12 +663,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_read**
> Organization orgs_read(org)
@@ -595,12 +717,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_saml_group_sync_create**
> OrganizationGroupSync orgs_saml_group_sync_create(org, opts)
@@ -624,11 +746,11 @@
api_instance = CloudsmithApi::OrgsApi.new
org = 'org_example' # String |
opts = {
- data: CloudsmithApi::OrgsSamlgroupsyncCreate.new # OrgsSamlgroupsyncCreate |
+ data: CloudsmithApi::OrganizationGroupSyncRequest.new # OrganizationGroupSyncRequest |
}
begin
#Create a new SAML Group Sync mapping within an organization.
result = api_instance.orgs_saml_group_sync_create(org, opts)
@@ -641,11 +763,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
- **data** | [**OrgsSamlgroupsyncCreate**](OrgsSamlgroupsyncCreate.md)| | [optional]
+ **data** | [**OrganizationGroupSyncRequest**](OrganizationGroupSyncRequest.md)| | [optional]
### Return type
[**OrganizationGroupSync**](OrganizationGroupSync.md)
@@ -654,11 +776,11 @@
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_saml_group_sync_delete**
> orgs_saml_group_sync_delete(org, slug_perm)
@@ -709,12 +831,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_saml_group_sync_list**
> Array<OrganizationGroupSync> orgs_saml_group_sync_list(org, opts)
@@ -769,15 +891,364 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+# **orgs_services_create**
+> Service orgs_services_create(org, opts)
+
+Create a service within an organization.
+
+Create a service within an organization.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+opts = {
+ data: CloudsmithApi::ServiceRequest.new # ServiceRequest |
+}
+
+begin
+ #Create a service within an organization.
+ result = api_instance.orgs_services_create(org, opts)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_create: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **data** | [**ServiceRequest**](ServiceRequest.md)| | [optional]
+
+### Return type
+
+[**Service**](Service.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_services_delete**
+> orgs_services_delete(org, service)
+
+Delete a specific service
+
+Delete a specific service
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+service = 'service_example' # String |
+
+
+begin
+ #Delete a specific service
+ api_instance.orgs_services_delete(org, service)
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_delete: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **service** | **String**| |
+
+### Return type
+
+nil (empty response body)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_services_list**
+> Array<Service> orgs_services_list(org, opts)
+
+Get a list of all services within an organization.
+
+Get a list of all services within an organization.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+opts = {
+ page: 56, # Integer | A page number within the paginated result set.
+ page_size: 56 # Integer | Number of results to return per page.
+}
+
+begin
+ #Get a list of all services within an organization.
+ result = api_instance.orgs_services_list(org, opts)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_list: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **page** | **Integer**| A page number within the paginated result set. | [optional]
+ **page_size** | **Integer**| Number of results to return per page. | [optional]
+
+### Return type
+
+[**Array<Service>**](Service.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_services_partial_update**
+> Service orgs_services_partial_update(org, service, opts)
+
+Update a service within an organization.
+
+Update a service within an organization.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+service = 'service_example' # String |
+
+opts = {
+ data: CloudsmithApi::ServiceRequestPatch.new # ServiceRequestPatch |
+}
+
+begin
+ #Update a service within an organization.
+ result = api_instance.orgs_services_partial_update(org, service, opts)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_partial_update: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **service** | **String**| |
+ **data** | [**ServiceRequestPatch**](ServiceRequestPatch.md)| | [optional]
+
+### Return type
+
+[**Service**](Service.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_services_read**
+> Service orgs_services_read(org, service)
+
+Retrieve details of a single service within an organization.
+
+Retrieve details of a single service within an organization.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+service = 'service_example' # String |
+
+
+begin
+ #Retrieve details of a single service within an organization.
+ result = api_instance.orgs_services_read(org, service)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_read: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **service** | **String**| |
+
+### Return type
+
+[**Service**](Service.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
+# **orgs_services_refresh**
+> Service orgs_services_refresh(org, service)
+
+Refresh service API token.
+
+Refresh service API token.
+
+### Example
+```ruby
+# load the gem
+require 'cloudsmith-api'
+# setup authorization
+CloudsmithApi.configure do |config|
+ # Configure API key authorization: apikey
+ config.api_key['X-Api-Key'] = 'YOUR API KEY'
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
+ #config.api_key_prefix['X-Api-Key'] = 'Bearer'
+end
+
+api_instance = CloudsmithApi::OrgsApi.new
+
+org = 'org_example' # String |
+
+service = 'service_example' # String |
+
+
+begin
+ #Refresh service API token.
+ result = api_instance.orgs_services_refresh(org, service)
+ p result
+rescue CloudsmithApi::ApiError => e
+ puts "Exception when calling OrgsApi->orgs_services_refresh: #{e}"
+end
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **org** | **String**| |
+ **service** | **String**| |
+
+### Return type
+
+[**Service**](Service.md)
+
+### Authorization
+
+[apikey](../README.md#apikey)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+
+
# **orgs_teams_create**
> OrganizationTeam orgs_teams_create(org, opts)
Create a team for this organization.
@@ -798,11 +1269,11 @@
api_instance = CloudsmithApi::OrgsApi.new
org = 'org_example' # String |
opts = {
- data: CloudsmithApi::OrgsTeamsCreate.new # OrgsTeamsCreate |
+ data: CloudsmithApi::OrganizationTeamRequest.new # OrganizationTeamRequest |
}
begin
#Create a team for this organization.
result = api_instance.orgs_teams_create(org, opts)
@@ -815,11 +1286,11 @@
### Parameters
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
- **data** | [**OrgsTeamsCreate**](OrgsTeamsCreate.md)| | [optional]
+ **data** | [**OrganizationTeamRequest**](OrganizationTeamRequest.md)| | [optional]
### Return type
[**OrganizationTeam**](OrganizationTeam.md)
@@ -828,11 +1299,11 @@
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_teams_delete**
> orgs_teams_delete(org, team)
@@ -883,12 +1354,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_teams_list**
> Array<OrganizationTeam> orgs_teams_list(org, opts)
@@ -943,12 +1414,12 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_teams_members_create**
> OrganizationTeamMembers orgs_teams_members_create(org, team, opts)
@@ -974,11 +1445,11 @@
org = 'org_example' # String |
team = 'team_example' # String |
opts = {
- data: CloudsmithApi::OrgsTeamsMembersCreate.new # OrgsTeamsMembersCreate |
+ data: CloudsmithApi::OrganizationTeamMembers.new # OrganizationTeamMembers |
}
begin
#Add users to a team.
result = api_instance.orgs_teams_members_create(org, team, opts)
@@ -992,11 +1463,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**team** | **String**| |
- **data** | [**OrgsTeamsMembersCreate**](OrgsTeamsMembersCreate.md)| | [optional]
+ **data** | [**OrganizationTeamMembers**](OrganizationTeamMembers.md)| | [optional]
### Return type
[**OrganizationTeamMembers**](OrganizationTeamMembers.md)
@@ -1005,11 +1476,11 @@
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_teams_members_list**
> OrganizationTeamMembers orgs_teams_members_list(org, team)
@@ -1061,17 +1532,17 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json
# **orgs_teams_members_update**
-> orgs_teams_members_update(org, team, opts)
+> OrganizationTeamMembers orgs_teams_members_update(org, team)
Replace all team members.
Replace all team members.
@@ -1091,17 +1562,15 @@
org = 'org_example' # String |
team = 'team_example' # String |
-opts = {
- data: CloudsmithApi::OrgsTeamsMembersUpdate.new # OrgsTeamsMembersUpdate |
-}
begin
#Replace all team members.
- api_instance.orgs_teams_members_update(org, team, opts)
+ result = api_instance.orgs_teams_members_update(org, team)
+ p result
rescue CloudsmithApi::ApiError => e
puts "Exception when calling OrgsApi->orgs_teams_members_update: #{e}"
end
```
@@ -1109,24 +1578,23 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**team** | **String**| |
- **data** | [**OrgsTeamsMembersUpdate**](OrgsTeamsMembersUpdate.md)| | [optional]
### Return type
-nil (empty response body)
+[**OrganizationTeamMembers**](OrganizationTeamMembers.md)
### Authorization
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_teams_partial_update**
> OrganizationTeam orgs_teams_partial_update(org, team, opts)
@@ -1152,11 +1620,11 @@
org = 'org_example' # String |
team = 'team_example' # String |
opts = {
- data: CloudsmithApi::OrgsTeamsPartialUpdate.new # OrgsTeamsPartialUpdate |
+ data: CloudsmithApi::OrganizationTeamRequestPatch.new # OrganizationTeamRequestPatch |
}
begin
#Update a specific team in a organization.
result = api_instance.orgs_teams_partial_update(org, team, opts)
@@ -1170,11 +1638,11 @@
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**org** | **String**| |
**team** | **String**| |
- **data** | [**OrgsTeamsPartialUpdate**](OrgsTeamsPartialUpdate.md)| | [optional]
+ **data** | [**OrganizationTeamRequestPatch**](OrganizationTeamRequestPatch.md)| | [optional]
### Return type
[**OrganizationTeam**](OrganizationTeam.md)
@@ -1183,20 +1651,20 @@
[apikey](../README.md#apikey)
### HTTP request headers
- **Content-Type**: application/json
- - **Accept**: Not defined
+ - **Accept**: application/json
# **orgs_teams_read**
> OrganizationTeam orgs_teams_read(org, team)
-Get the details for the specific team.
+Get the details of a specific team within an organization.
-Get the details for the specific team.
+Get the details of a specific team within an organization.
### Example
```ruby
# load the gem
require 'cloudsmith-api'
@@ -1214,11 +1682,11 @@
team = 'team_example' # String |
begin
- #Get the details for the specific team.
+ #Get the details of a specific team within an organization.
result = api_instance.orgs_teams_read(org, team)
p result
rescue CloudsmithApi::ApiError => e
puts "Exception when calling OrgsApi->orgs_teams_read: #{e}"
end
@@ -1239,10 +1707,10 @@
[apikey](../README.md#apikey)
### HTTP request headers
- - **Content-Type**: Not defined
- - **Accept**: Not defined
+ - **Content-Type**: application/json
+ - **Accept**: application/json