cloudsmith-api 1.61.3 → 1.120.3
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +51 -30
- data/build.json +1 -1
- data/docs/AuditLogApi.md +137 -0
- data/docs/FilesApi.md +13 -6
- data/docs/NamespaceAuditLog.md +23 -0
- data/docs/OrganizationGroupSync.md +12 -0
- data/docs/OrganizationInvite.md +16 -0
- data/docs/OrganizationTeam.md +12 -0
- data/docs/OrgsApi.md +713 -0
- data/docs/OrgsInvitesCreate.md +12 -0
- data/docs/OrgsInvitesExtend.md +11 -0
- data/docs/OrgsSamlgroupsyncCreate.md +12 -0
- data/docs/OrgsTeamsCreate.md +11 -0
- data/docs/OrgsTeamsPartialUpdate.md +11 -0
- data/docs/ReposApi.md +586 -0
- data/docs/ReposCreate.md +29 -1
- data/docs/ReposGpgCreate.md +9 -0
- data/docs/ReposPartialUpdate.md +28 -0
- data/docs/ReposRsaCreate.md +9 -0
- data/docs/Repository.md +28 -0
- data/docs/RepositoryAuditLog.md +20 -0
- data/docs/RepositoryCreate.md +29 -1
- data/docs/RepositoryGpgKey.md +14 -0
- data/docs/RepositoryPrivilegeList.md +8 -0
- data/docs/RepositoryRsaKey.md +13 -0
- data/lib/cloudsmith-api/api/audit_log_api.rb +147 -0
- data/lib/cloudsmith-api/api/files_api.rb +17 -7
- data/lib/cloudsmith-api/api/orgs_api.rb +671 -0
- data/lib/cloudsmith-api/api/repos_api.rb +566 -0
- data/lib/cloudsmith-api/models/alpine_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/conan_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/entitlements_create.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_partial_update.rb +46 -0
- data/lib/cloudsmith-api/models/entitlements_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/files_abort.rb +34 -0
- data/lib/cloudsmith-api/models/files_complete.rb +34 -0
- data/lib/cloudsmith-api/models/files_create.rb +34 -0
- data/lib/cloudsmith-api/models/files_validate.rb +34 -0
- data/lib/cloudsmith-api/models/maven_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/namespace_audit_log.rb +395 -0
- data/lib/cloudsmith-api/models/organization_group_sync.rb +240 -0
- data/lib/cloudsmith-api/models/organization_invite.rb +299 -0
- data/lib/cloudsmith-api/models/organization_membership.rb +46 -0
- data/lib/cloudsmith-api/models/organization_team.rb +264 -0
- data/lib/cloudsmith-api/models/orgs_invites_create.rb +259 -0
- data/lib/cloudsmith-api/models/orgs_invites_extend.rb +249 -0
- data/lib/cloudsmith-api/models/orgs_samlgroupsync_create.rb +245 -0
- data/lib/cloudsmith-api/models/orgs_teams_create.rb +254 -0
- data/lib/cloudsmith-api/models/orgs_teams_partial_update.rb +249 -0
- data/lib/cloudsmith-api/models/package.rb +34 -0
- data/lib/cloudsmith-api/models/package_copy.rb +34 -0
- data/lib/cloudsmith-api/models/package_move.rb +34 -0
- data/lib/cloudsmith-api/models/packages_tag.rb +34 -0
- data/lib/cloudsmith-api/models/raw_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/repos_create.rb +403 -5
- data/lib/cloudsmith-api/models/repos_gpg_create.rb +200 -0
- data/lib/cloudsmith-api/models/repos_partial_update.rb +414 -4
- data/lib/cloudsmith-api/models/repos_rsa_create.rb +200 -0
- data/lib/cloudsmith-api/models/repository.rb +414 -4
- data/lib/cloudsmith-api/models/repository_audit_log.rb +355 -0
- data/lib/cloudsmith-api/models/repository_create.rb +403 -5
- data/lib/cloudsmith-api/models/repository_gpg_key.rb +250 -0
- data/lib/cloudsmith-api/models/repository_privilege_list.rb +185 -0
- data/lib/cloudsmith-api/models/repository_rsa_key.rb +235 -0
- data/lib/cloudsmith-api/models/repository_token.rb +46 -0
- data/lib/cloudsmith-api/models/repository_token_refresh.rb +46 -0
- data/lib/cloudsmith-api/models/vagrant_package_upload.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results.rb +34 -0
- data/lib/cloudsmith-api/models/vulnerability_scan_results_list.rb +34 -0
- data/lib/cloudsmith-api/version.rb +1 -1
- data/lib/cloudsmith-api.rb +16 -0
- data/spec/api/audit_log_api_spec.rb +66 -0
- data/spec/api/files_api_spec.rb +4 -2
- data/spec/api/orgs_api_spec.rb +161 -0
- data/spec/api/repos_api_spec.rb +132 -0
- data/spec/models/alpine_package_upload_spec.rb +4 -0
- data/spec/models/conan_package_upload_spec.rb +4 -0
- data/spec/models/entitlements_create_spec.rb +8 -0
- data/spec/models/entitlements_partial_update_spec.rb +8 -0
- data/spec/models/entitlements_refresh_spec.rb +8 -0
- data/spec/models/files_abort_spec.rb +4 -0
- data/spec/models/files_complete_spec.rb +4 -0
- data/spec/models/files_create_spec.rb +4 -0
- data/spec/models/files_validate_spec.rb +4 -0
- data/spec/models/maven_package_upload_spec.rb +4 -0
- data/spec/models/namespace_audit_log_spec.rb +131 -0
- data/spec/models/organization_group_sync_spec.rb +65 -0
- data/spec/models/organization_invite_spec.rb +93 -0
- data/spec/models/organization_membership_spec.rb +8 -0
- data/spec/models/organization_team_spec.rb +69 -0
- data/spec/models/orgs_invites_create_spec.rb +69 -0
- data/spec/models/orgs_invites_extend_spec.rb +63 -0
- data/spec/models/orgs_samlgroupsync_create_spec.rb +65 -0
- data/spec/models/orgs_teams_create_spec.rb +63 -0
- data/spec/models/orgs_teams_partial_update_spec.rb +63 -0
- data/spec/models/package_copy_spec.rb +4 -0
- data/spec/models/package_move_spec.rb +4 -0
- data/spec/models/package_spec.rb +4 -0
- data/spec/models/packages_tag_spec.rb +4 -0
- data/spec/models/raw_package_upload_spec.rb +4 -0
- data/spec/models/repos_create_spec.rb +200 -0
- data/spec/models/repos_gpg_create_spec.rb +47 -0
- data/spec/models/repos_partial_update_spec.rb +204 -0
- data/spec/models/repos_rsa_create_spec.rb +47 -0
- data/spec/models/repository_audit_log_spec.rb +113 -0
- data/spec/models/repository_create_spec.rb +200 -0
- data/spec/models/repository_gpg_key_spec.rb +77 -0
- data/spec/models/repository_privilege_list_spec.rb +41 -0
- data/spec/models/repository_rsa_key_spec.rb +71 -0
- data/spec/models/repository_spec.rb +204 -0
- data/spec/models/repository_token_refresh_spec.rb +8 -0
- data/spec/models/repository_token_spec.rb +8 -0
- data/spec/models/vagrant_package_upload_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_list_spec.rb +4 -0
- data/spec/models/vulnerability_scan_results_spec.rb +4 -0
- data/vendor/bundle/ruby/2.6.0/bin/htmldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/ldiff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multigem +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/multiruby +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/rake +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/rspec +2 -0
- data/vendor/bundle/ruby/2.6.0/bin/unit_diff +3 -3
- data/vendor/bundle/ruby/2.6.0/bin/zentest +3 -3
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/autotest-fsevent-0.2.19/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/gem_make.out +5 -5
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/ffi-1.15.5/mkmf.log +9 -9
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/gem_make.out +4 -4
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0/json-2.6.2/mkmf.log +7 -7
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/AbstractMemory.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ArrayType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Buffer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Call.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ClosurePool.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/DynamicLibrary.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Function.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/FunctionInfo.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LastError.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/LongDouble.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MappedType.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MemoryPointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/MethodHandle.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Platform.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Pointer.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Struct.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructByValue.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/StructLayout.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Thread.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Type.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Types.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/Variadic.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/ext/ffi_c/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/ffi-1.15.5/lib/ffi_c.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/generator/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/Makefile +3 -3
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.o +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/ext/json/ext/parser/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/generator.so +0 -0
- data/vendor/bundle/ruby/2.6.0/gems/json-2.6.2/lib/json/ext/parser.so +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/ZenTest-4.12.1.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/addressable-2.8.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-4.4.6.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-fsevent-0.2.19.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-growl-0.2.16.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/autotest-rails-pure-4.1.2.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/crack-0.4.5.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/diff-lcs-1.5.0.gemspec +12 -21
- data/vendor/bundle/ruby/2.6.0/specifications/ethon-0.15.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/ffi-1.15.5.gemspec +8 -13
- data/vendor/bundle/ruby/2.6.0/specifications/hashdiff-1.0.1.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/json-2.6.2.gemspec +0 -0
- data/vendor/bundle/ruby/2.6.0/specifications/public_suffix-4.0.7.gemspec +2 -2
- data/vendor/bundle/ruby/2.6.0/specifications/rake-12.3.3.gemspec +9 -15
- data/vendor/bundle/ruby/2.6.0/specifications/rexml-3.2.5.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-3.11.0.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-core-3.11.0.gemspec +13 -23
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-expectations-3.11.0.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-mocks-3.11.1.gemspec +10 -17
- data/vendor/bundle/ruby/2.6.0/specifications/rspec-support-3.11.0.gemspec +6 -9
- data/vendor/bundle/ruby/2.6.0/specifications/sys-uname-1.2.2.gemspec +7 -11
- data/vendor/bundle/ruby/2.6.0/specifications/typhoeus-1.4.0.gemspec +5 -7
- data/vendor/bundle/ruby/2.6.0/specifications/vcr-3.0.3.gemspec +26 -49
- data/vendor/bundle/ruby/2.6.0/specifications/webmock-1.24.6.gemspec +19 -35
- metadata +85 -21
data/docs/OrgsApi.md
CHANGED
@@ -4,11 +4,258 @@ All URIs are relative to *https://api.cloudsmith.io/v1*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**orgs_invites_create**](OrgsApi.md#orgs_invites_create) | **POST** /orgs/{org}/invites/ | Create an organization invite for a specific user
|
8
|
+
[**orgs_invites_delete**](OrgsApi.md#orgs_invites_delete) | **DELETE** /orgs/{org}/invites/{slug_perm}/ | Delete a specific organization invite
|
9
|
+
[**orgs_invites_extend**](OrgsApi.md#orgs_invites_extend) | **POST** /orgs/{org}/invites/{slug_perm}/extend/ | Extend an organization invite.
|
10
|
+
[**orgs_invites_list**](OrgsApi.md#orgs_invites_list) | **GET** /orgs/{org}/invites/ | Get a list of all invites for an organization.
|
7
11
|
[**orgs_list**](OrgsApi.md#orgs_list) | **GET** /orgs/ | Get a list of all the organizations you are associated with.
|
8
12
|
[**orgs_members_list**](OrgsApi.md#orgs_members_list) | **GET** /orgs/{org}/members/ | Get the details for all organization members.
|
9
13
|
[**orgs_members_read**](OrgsApi.md#orgs_members_read) | **GET** /orgs/{org}/members/{member}/ | Get the details for a specific organization member.
|
10
14
|
[**orgs_members_remove**](OrgsApi.md#orgs_members_remove) | **GET** /orgs/{org}/members/{member}/remove/ | Removes a member from the organization.
|
11
15
|
[**orgs_read**](OrgsApi.md#orgs_read) | **GET** /orgs/{org}/ | Get the details for the specific organization.
|
16
|
+
[**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.
|
17
|
+
[**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.
|
18
|
+
[**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.
|
19
|
+
[**orgs_teams_create**](OrgsApi.md#orgs_teams_create) | **POST** /orgs/{org}/teams/ | Create a team for this organization.
|
20
|
+
[**orgs_teams_delete**](OrgsApi.md#orgs_teams_delete) | **DELETE** /orgs/{org}/teams/{slug_perm}/ | Delete a specific team in a organization.
|
21
|
+
[**orgs_teams_list**](OrgsApi.md#orgs_teams_list) | **GET** /orgs/{org}/teams/ | Get the details of all teams within an organization.
|
22
|
+
[**orgs_teams_partial_update**](OrgsApi.md#orgs_teams_partial_update) | **PATCH** /orgs/{org}/teams/{slug_perm}/ | Update a specific team in a organization.
|
23
|
+
[**orgs_teams_read**](OrgsApi.md#orgs_teams_read) | **GET** /orgs/{org}/teams/{slug_perm}/ | Viewset for working with Organization teams.
|
24
|
+
|
25
|
+
|
26
|
+
# **orgs_invites_create**
|
27
|
+
> OrganizationInvite orgs_invites_create(org, opts)
|
28
|
+
|
29
|
+
Create an organization invite for a specific user
|
30
|
+
|
31
|
+
Create an organization invite for a specific user
|
32
|
+
|
33
|
+
### Example
|
34
|
+
```ruby
|
35
|
+
# load the gem
|
36
|
+
require 'cloudsmith-api'
|
37
|
+
# setup authorization
|
38
|
+
CloudsmithApi.configure do |config|
|
39
|
+
# Configure API key authorization: apikey
|
40
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
41
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
42
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
43
|
+
end
|
44
|
+
|
45
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
46
|
+
|
47
|
+
org = 'org_example' # String |
|
48
|
+
|
49
|
+
opts = {
|
50
|
+
data: CloudsmithApi::OrgsInvitesCreate.new # OrgsInvitesCreate |
|
51
|
+
}
|
52
|
+
|
53
|
+
begin
|
54
|
+
#Create an organization invite for a specific user
|
55
|
+
result = api_instance.orgs_invites_create(org, opts)
|
56
|
+
p result
|
57
|
+
rescue CloudsmithApi::ApiError => e
|
58
|
+
puts "Exception when calling OrgsApi->orgs_invites_create: #{e}"
|
59
|
+
end
|
60
|
+
```
|
61
|
+
|
62
|
+
### Parameters
|
63
|
+
|
64
|
+
Name | Type | Description | Notes
|
65
|
+
------------- | ------------- | ------------- | -------------
|
66
|
+
**org** | **String**| |
|
67
|
+
**data** | [**OrgsInvitesCreate**](OrgsInvitesCreate.md)| | [optional]
|
68
|
+
|
69
|
+
### Return type
|
70
|
+
|
71
|
+
[**OrganizationInvite**](OrganizationInvite.md)
|
72
|
+
|
73
|
+
### Authorization
|
74
|
+
|
75
|
+
[apikey](../README.md#apikey)
|
76
|
+
|
77
|
+
### HTTP request headers
|
78
|
+
|
79
|
+
- **Content-Type**: application/json
|
80
|
+
- **Accept**: Not defined
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
# **orgs_invites_delete**
|
85
|
+
> orgs_invites_delete(org, slug_perm)
|
86
|
+
|
87
|
+
Delete a specific organization invite
|
88
|
+
|
89
|
+
Delete a specific organization invite
|
90
|
+
|
91
|
+
### Example
|
92
|
+
```ruby
|
93
|
+
# load the gem
|
94
|
+
require 'cloudsmith-api'
|
95
|
+
# setup authorization
|
96
|
+
CloudsmithApi.configure do |config|
|
97
|
+
# Configure API key authorization: apikey
|
98
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
99
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
100
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
101
|
+
end
|
102
|
+
|
103
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
104
|
+
|
105
|
+
org = 'org_example' # String |
|
106
|
+
|
107
|
+
slug_perm = 'slug_perm_example' # String |
|
108
|
+
|
109
|
+
|
110
|
+
begin
|
111
|
+
#Delete a specific organization invite
|
112
|
+
api_instance.orgs_invites_delete(org, slug_perm)
|
113
|
+
rescue CloudsmithApi::ApiError => e
|
114
|
+
puts "Exception when calling OrgsApi->orgs_invites_delete: #{e}"
|
115
|
+
end
|
116
|
+
```
|
117
|
+
|
118
|
+
### Parameters
|
119
|
+
|
120
|
+
Name | Type | Description | Notes
|
121
|
+
------------- | ------------- | ------------- | -------------
|
122
|
+
**org** | **String**| |
|
123
|
+
**slug_perm** | **String**| |
|
124
|
+
|
125
|
+
### Return type
|
126
|
+
|
127
|
+
nil (empty response body)
|
128
|
+
|
129
|
+
### Authorization
|
130
|
+
|
131
|
+
[apikey](../README.md#apikey)
|
132
|
+
|
133
|
+
### HTTP request headers
|
134
|
+
|
135
|
+
- **Content-Type**: Not defined
|
136
|
+
- **Accept**: Not defined
|
137
|
+
|
138
|
+
|
139
|
+
|
140
|
+
# **orgs_invites_extend**
|
141
|
+
> OrganizationInvite orgs_invites_extend(org, slug_perm, opts)
|
142
|
+
|
143
|
+
Extend an organization invite.
|
144
|
+
|
145
|
+
Extend an organization invite.
|
146
|
+
|
147
|
+
### Example
|
148
|
+
```ruby
|
149
|
+
# load the gem
|
150
|
+
require 'cloudsmith-api'
|
151
|
+
# setup authorization
|
152
|
+
CloudsmithApi.configure do |config|
|
153
|
+
# Configure API key authorization: apikey
|
154
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
155
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
156
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
157
|
+
end
|
158
|
+
|
159
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
160
|
+
|
161
|
+
org = 'org_example' # String |
|
162
|
+
|
163
|
+
slug_perm = 'slug_perm_example' # String |
|
164
|
+
|
165
|
+
opts = {
|
166
|
+
data: CloudsmithApi::OrgsInvitesExtend.new # OrgsInvitesExtend |
|
167
|
+
}
|
168
|
+
|
169
|
+
begin
|
170
|
+
#Extend an organization invite.
|
171
|
+
result = api_instance.orgs_invites_extend(org, slug_perm, opts)
|
172
|
+
p result
|
173
|
+
rescue CloudsmithApi::ApiError => e
|
174
|
+
puts "Exception when calling OrgsApi->orgs_invites_extend: #{e}"
|
175
|
+
end
|
176
|
+
```
|
177
|
+
|
178
|
+
### Parameters
|
179
|
+
|
180
|
+
Name | Type | Description | Notes
|
181
|
+
------------- | ------------- | ------------- | -------------
|
182
|
+
**org** | **String**| |
|
183
|
+
**slug_perm** | **String**| |
|
184
|
+
**data** | [**OrgsInvitesExtend**](OrgsInvitesExtend.md)| | [optional]
|
185
|
+
|
186
|
+
### Return type
|
187
|
+
|
188
|
+
[**OrganizationInvite**](OrganizationInvite.md)
|
189
|
+
|
190
|
+
### Authorization
|
191
|
+
|
192
|
+
[apikey](../README.md#apikey)
|
193
|
+
|
194
|
+
### HTTP request headers
|
195
|
+
|
196
|
+
- **Content-Type**: application/json
|
197
|
+
- **Accept**: Not defined
|
198
|
+
|
199
|
+
|
200
|
+
|
201
|
+
# **orgs_invites_list**
|
202
|
+
> Array<OrganizationInvite> orgs_invites_list(org, opts)
|
203
|
+
|
204
|
+
Get a list of all invites for an organization.
|
205
|
+
|
206
|
+
Get a list of all invites for an organization.
|
207
|
+
|
208
|
+
### Example
|
209
|
+
```ruby
|
210
|
+
# load the gem
|
211
|
+
require 'cloudsmith-api'
|
212
|
+
# setup authorization
|
213
|
+
CloudsmithApi.configure do |config|
|
214
|
+
# Configure API key authorization: apikey
|
215
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
216
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
217
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
218
|
+
end
|
219
|
+
|
220
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
221
|
+
|
222
|
+
org = 'org_example' # String |
|
223
|
+
|
224
|
+
opts = {
|
225
|
+
page: 56, # Integer | A page number within the paginated result set.
|
226
|
+
page_size: 56 # Integer | Number of results to return per page.
|
227
|
+
}
|
228
|
+
|
229
|
+
begin
|
230
|
+
#Get a list of all invites for an organization.
|
231
|
+
result = api_instance.orgs_invites_list(org, opts)
|
232
|
+
p result
|
233
|
+
rescue CloudsmithApi::ApiError => e
|
234
|
+
puts "Exception when calling OrgsApi->orgs_invites_list: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
Name | Type | Description | Notes
|
241
|
+
------------- | ------------- | ------------- | -------------
|
242
|
+
**org** | **String**| |
|
243
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
244
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
245
|
+
|
246
|
+
### Return type
|
247
|
+
|
248
|
+
[**Array<OrganizationInvite>**](OrganizationInvite.md)
|
249
|
+
|
250
|
+
### Authorization
|
251
|
+
|
252
|
+
[apikey](../README.md#apikey)
|
253
|
+
|
254
|
+
### HTTP request headers
|
255
|
+
|
256
|
+
- **Content-Type**: Not defined
|
257
|
+
- **Accept**: Not defined
|
258
|
+
|
12
259
|
|
13
260
|
|
14
261
|
# **orgs_list**
|
@@ -296,3 +543,469 @@ Name | Type | Description | Notes
|
|
296
543
|
|
297
544
|
|
298
545
|
|
546
|
+
# **orgs_saml_group_sync_create**
|
547
|
+
> OrganizationGroupSync orgs_saml_group_sync_create(org, opts)
|
548
|
+
|
549
|
+
Create a new SAML Group Sync mapping within an organization.
|
550
|
+
|
551
|
+
Create a new SAML Group Sync mapping within an organization.
|
552
|
+
|
553
|
+
### Example
|
554
|
+
```ruby
|
555
|
+
# load the gem
|
556
|
+
require 'cloudsmith-api'
|
557
|
+
# setup authorization
|
558
|
+
CloudsmithApi.configure do |config|
|
559
|
+
# Configure API key authorization: apikey
|
560
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
561
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
562
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
563
|
+
end
|
564
|
+
|
565
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
566
|
+
|
567
|
+
org = 'org_example' # String |
|
568
|
+
|
569
|
+
opts = {
|
570
|
+
data: CloudsmithApi::OrgsSamlgroupsyncCreate.new # OrgsSamlgroupsyncCreate |
|
571
|
+
}
|
572
|
+
|
573
|
+
begin
|
574
|
+
#Create a new SAML Group Sync mapping within an organization.
|
575
|
+
result = api_instance.orgs_saml_group_sync_create(org, opts)
|
576
|
+
p result
|
577
|
+
rescue CloudsmithApi::ApiError => e
|
578
|
+
puts "Exception when calling OrgsApi->orgs_saml_group_sync_create: #{e}"
|
579
|
+
end
|
580
|
+
```
|
581
|
+
|
582
|
+
### Parameters
|
583
|
+
|
584
|
+
Name | Type | Description | Notes
|
585
|
+
------------- | ------------- | ------------- | -------------
|
586
|
+
**org** | **String**| |
|
587
|
+
**data** | [**OrgsSamlgroupsyncCreate**](OrgsSamlgroupsyncCreate.md)| | [optional]
|
588
|
+
|
589
|
+
### Return type
|
590
|
+
|
591
|
+
[**OrganizationGroupSync**](OrganizationGroupSync.md)
|
592
|
+
|
593
|
+
### Authorization
|
594
|
+
|
595
|
+
[apikey](../README.md#apikey)
|
596
|
+
|
597
|
+
### HTTP request headers
|
598
|
+
|
599
|
+
- **Content-Type**: application/json
|
600
|
+
- **Accept**: Not defined
|
601
|
+
|
602
|
+
|
603
|
+
|
604
|
+
# **orgs_saml_group_sync_delete**
|
605
|
+
> orgs_saml_group_sync_delete(org, slug_perm)
|
606
|
+
|
607
|
+
Delete a SAML Group Sync mapping from an organization.
|
608
|
+
|
609
|
+
Delete a SAML Group Sync mapping from an organization.
|
610
|
+
|
611
|
+
### Example
|
612
|
+
```ruby
|
613
|
+
# load the gem
|
614
|
+
require 'cloudsmith-api'
|
615
|
+
# setup authorization
|
616
|
+
CloudsmithApi.configure do |config|
|
617
|
+
# Configure API key authorization: apikey
|
618
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
619
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
620
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
621
|
+
end
|
622
|
+
|
623
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
624
|
+
|
625
|
+
org = 'org_example' # String |
|
626
|
+
|
627
|
+
slug_perm = 'slug_perm_example' # String |
|
628
|
+
|
629
|
+
|
630
|
+
begin
|
631
|
+
#Delete a SAML Group Sync mapping from an organization.
|
632
|
+
api_instance.orgs_saml_group_sync_delete(org, slug_perm)
|
633
|
+
rescue CloudsmithApi::ApiError => e
|
634
|
+
puts "Exception when calling OrgsApi->orgs_saml_group_sync_delete: #{e}"
|
635
|
+
end
|
636
|
+
```
|
637
|
+
|
638
|
+
### Parameters
|
639
|
+
|
640
|
+
Name | Type | Description | Notes
|
641
|
+
------------- | ------------- | ------------- | -------------
|
642
|
+
**org** | **String**| |
|
643
|
+
**slug_perm** | **String**| |
|
644
|
+
|
645
|
+
### Return type
|
646
|
+
|
647
|
+
nil (empty response body)
|
648
|
+
|
649
|
+
### Authorization
|
650
|
+
|
651
|
+
[apikey](../README.md#apikey)
|
652
|
+
|
653
|
+
### HTTP request headers
|
654
|
+
|
655
|
+
- **Content-Type**: Not defined
|
656
|
+
- **Accept**: Not defined
|
657
|
+
|
658
|
+
|
659
|
+
|
660
|
+
# **orgs_saml_group_sync_list**
|
661
|
+
> Array<OrganizationGroupSync> orgs_saml_group_sync_list(org, opts)
|
662
|
+
|
663
|
+
Get the details of all SAML Group Sync mapping within an organization.
|
664
|
+
|
665
|
+
Get the details of all SAML Group Sync mapping within an organization.
|
666
|
+
|
667
|
+
### Example
|
668
|
+
```ruby
|
669
|
+
# load the gem
|
670
|
+
require 'cloudsmith-api'
|
671
|
+
# setup authorization
|
672
|
+
CloudsmithApi.configure do |config|
|
673
|
+
# Configure API key authorization: apikey
|
674
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
675
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
676
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
677
|
+
end
|
678
|
+
|
679
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
680
|
+
|
681
|
+
org = 'org_example' # String |
|
682
|
+
|
683
|
+
opts = {
|
684
|
+
page: 56, # Integer | A page number within the paginated result set.
|
685
|
+
page_size: 56 # Integer | Number of results to return per page.
|
686
|
+
}
|
687
|
+
|
688
|
+
begin
|
689
|
+
#Get the details of all SAML Group Sync mapping within an organization.
|
690
|
+
result = api_instance.orgs_saml_group_sync_list(org, opts)
|
691
|
+
p result
|
692
|
+
rescue CloudsmithApi::ApiError => e
|
693
|
+
puts "Exception when calling OrgsApi->orgs_saml_group_sync_list: #{e}"
|
694
|
+
end
|
695
|
+
```
|
696
|
+
|
697
|
+
### Parameters
|
698
|
+
|
699
|
+
Name | Type | Description | Notes
|
700
|
+
------------- | ------------- | ------------- | -------------
|
701
|
+
**org** | **String**| |
|
702
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
703
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
704
|
+
|
705
|
+
### Return type
|
706
|
+
|
707
|
+
[**Array<OrganizationGroupSync>**](OrganizationGroupSync.md)
|
708
|
+
|
709
|
+
### Authorization
|
710
|
+
|
711
|
+
[apikey](../README.md#apikey)
|
712
|
+
|
713
|
+
### HTTP request headers
|
714
|
+
|
715
|
+
- **Content-Type**: Not defined
|
716
|
+
- **Accept**: Not defined
|
717
|
+
|
718
|
+
|
719
|
+
|
720
|
+
# **orgs_teams_create**
|
721
|
+
> OrganizationTeam orgs_teams_create(org, opts)
|
722
|
+
|
723
|
+
Create a team for this organization.
|
724
|
+
|
725
|
+
Create a team for this organization.
|
726
|
+
|
727
|
+
### Example
|
728
|
+
```ruby
|
729
|
+
# load the gem
|
730
|
+
require 'cloudsmith-api'
|
731
|
+
# setup authorization
|
732
|
+
CloudsmithApi.configure do |config|
|
733
|
+
# Configure API key authorization: apikey
|
734
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
735
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
736
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
737
|
+
end
|
738
|
+
|
739
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
740
|
+
|
741
|
+
org = 'org_example' # String |
|
742
|
+
|
743
|
+
opts = {
|
744
|
+
data: CloudsmithApi::OrgsTeamsCreate.new # OrgsTeamsCreate |
|
745
|
+
}
|
746
|
+
|
747
|
+
begin
|
748
|
+
#Create a team for this organization.
|
749
|
+
result = api_instance.orgs_teams_create(org, opts)
|
750
|
+
p result
|
751
|
+
rescue CloudsmithApi::ApiError => e
|
752
|
+
puts "Exception when calling OrgsApi->orgs_teams_create: #{e}"
|
753
|
+
end
|
754
|
+
```
|
755
|
+
|
756
|
+
### Parameters
|
757
|
+
|
758
|
+
Name | Type | Description | Notes
|
759
|
+
------------- | ------------- | ------------- | -------------
|
760
|
+
**org** | **String**| |
|
761
|
+
**data** | [**OrgsTeamsCreate**](OrgsTeamsCreate.md)| | [optional]
|
762
|
+
|
763
|
+
### Return type
|
764
|
+
|
765
|
+
[**OrganizationTeam**](OrganizationTeam.md)
|
766
|
+
|
767
|
+
### Authorization
|
768
|
+
|
769
|
+
[apikey](../README.md#apikey)
|
770
|
+
|
771
|
+
### HTTP request headers
|
772
|
+
|
773
|
+
- **Content-Type**: application/json
|
774
|
+
- **Accept**: Not defined
|
775
|
+
|
776
|
+
|
777
|
+
|
778
|
+
# **orgs_teams_delete**
|
779
|
+
> orgs_teams_delete(org, slug_perm)
|
780
|
+
|
781
|
+
Delete a specific team in a organization.
|
782
|
+
|
783
|
+
Delete a specific team in a organization.
|
784
|
+
|
785
|
+
### Example
|
786
|
+
```ruby
|
787
|
+
# load the gem
|
788
|
+
require 'cloudsmith-api'
|
789
|
+
# setup authorization
|
790
|
+
CloudsmithApi.configure do |config|
|
791
|
+
# Configure API key authorization: apikey
|
792
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
793
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
794
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
795
|
+
end
|
796
|
+
|
797
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
798
|
+
|
799
|
+
org = 'org_example' # String |
|
800
|
+
|
801
|
+
slug_perm = 'slug_perm_example' # String |
|
802
|
+
|
803
|
+
|
804
|
+
begin
|
805
|
+
#Delete a specific team in a organization.
|
806
|
+
api_instance.orgs_teams_delete(org, slug_perm)
|
807
|
+
rescue CloudsmithApi::ApiError => e
|
808
|
+
puts "Exception when calling OrgsApi->orgs_teams_delete: #{e}"
|
809
|
+
end
|
810
|
+
```
|
811
|
+
|
812
|
+
### Parameters
|
813
|
+
|
814
|
+
Name | Type | Description | Notes
|
815
|
+
------------- | ------------- | ------------- | -------------
|
816
|
+
**org** | **String**| |
|
817
|
+
**slug_perm** | **String**| |
|
818
|
+
|
819
|
+
### Return type
|
820
|
+
|
821
|
+
nil (empty response body)
|
822
|
+
|
823
|
+
### Authorization
|
824
|
+
|
825
|
+
[apikey](../README.md#apikey)
|
826
|
+
|
827
|
+
### HTTP request headers
|
828
|
+
|
829
|
+
- **Content-Type**: Not defined
|
830
|
+
- **Accept**: Not defined
|
831
|
+
|
832
|
+
|
833
|
+
|
834
|
+
# **orgs_teams_list**
|
835
|
+
> Array<OrganizationTeam> orgs_teams_list(org, opts)
|
836
|
+
|
837
|
+
Get the details of all teams within an organization.
|
838
|
+
|
839
|
+
Get the details of all teams within an organization.
|
840
|
+
|
841
|
+
### Example
|
842
|
+
```ruby
|
843
|
+
# load the gem
|
844
|
+
require 'cloudsmith-api'
|
845
|
+
# setup authorization
|
846
|
+
CloudsmithApi.configure do |config|
|
847
|
+
# Configure API key authorization: apikey
|
848
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
849
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
850
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
851
|
+
end
|
852
|
+
|
853
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
854
|
+
|
855
|
+
org = 'org_example' # String |
|
856
|
+
|
857
|
+
opts = {
|
858
|
+
page: 56, # Integer | A page number within the paginated result set.
|
859
|
+
page_size: 56 # Integer | Number of results to return per page.
|
860
|
+
}
|
861
|
+
|
862
|
+
begin
|
863
|
+
#Get the details of all teams within an organization.
|
864
|
+
result = api_instance.orgs_teams_list(org, opts)
|
865
|
+
p result
|
866
|
+
rescue CloudsmithApi::ApiError => e
|
867
|
+
puts "Exception when calling OrgsApi->orgs_teams_list: #{e}"
|
868
|
+
end
|
869
|
+
```
|
870
|
+
|
871
|
+
### Parameters
|
872
|
+
|
873
|
+
Name | Type | Description | Notes
|
874
|
+
------------- | ------------- | ------------- | -------------
|
875
|
+
**org** | **String**| |
|
876
|
+
**page** | **Integer**| A page number within the paginated result set. | [optional]
|
877
|
+
**page_size** | **Integer**| Number of results to return per page. | [optional]
|
878
|
+
|
879
|
+
### Return type
|
880
|
+
|
881
|
+
[**Array<OrganizationTeam>**](OrganizationTeam.md)
|
882
|
+
|
883
|
+
### Authorization
|
884
|
+
|
885
|
+
[apikey](../README.md#apikey)
|
886
|
+
|
887
|
+
### HTTP request headers
|
888
|
+
|
889
|
+
- **Content-Type**: Not defined
|
890
|
+
- **Accept**: Not defined
|
891
|
+
|
892
|
+
|
893
|
+
|
894
|
+
# **orgs_teams_partial_update**
|
895
|
+
> OrganizationTeam orgs_teams_partial_update(org, slug_perm, opts)
|
896
|
+
|
897
|
+
Update a specific team in a organization.
|
898
|
+
|
899
|
+
Update a specific team in a organization.
|
900
|
+
|
901
|
+
### Example
|
902
|
+
```ruby
|
903
|
+
# load the gem
|
904
|
+
require 'cloudsmith-api'
|
905
|
+
# setup authorization
|
906
|
+
CloudsmithApi.configure do |config|
|
907
|
+
# Configure API key authorization: apikey
|
908
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
909
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
910
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
911
|
+
end
|
912
|
+
|
913
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
914
|
+
|
915
|
+
org = 'org_example' # String |
|
916
|
+
|
917
|
+
slug_perm = 'slug_perm_example' # String |
|
918
|
+
|
919
|
+
opts = {
|
920
|
+
data: CloudsmithApi::OrgsTeamsPartialUpdate.new # OrgsTeamsPartialUpdate |
|
921
|
+
}
|
922
|
+
|
923
|
+
begin
|
924
|
+
#Update a specific team in a organization.
|
925
|
+
result = api_instance.orgs_teams_partial_update(org, slug_perm, opts)
|
926
|
+
p result
|
927
|
+
rescue CloudsmithApi::ApiError => e
|
928
|
+
puts "Exception when calling OrgsApi->orgs_teams_partial_update: #{e}"
|
929
|
+
end
|
930
|
+
```
|
931
|
+
|
932
|
+
### Parameters
|
933
|
+
|
934
|
+
Name | Type | Description | Notes
|
935
|
+
------------- | ------------- | ------------- | -------------
|
936
|
+
**org** | **String**| |
|
937
|
+
**slug_perm** | **String**| |
|
938
|
+
**data** | [**OrgsTeamsPartialUpdate**](OrgsTeamsPartialUpdate.md)| | [optional]
|
939
|
+
|
940
|
+
### Return type
|
941
|
+
|
942
|
+
[**OrganizationTeam**](OrganizationTeam.md)
|
943
|
+
|
944
|
+
### Authorization
|
945
|
+
|
946
|
+
[apikey](../README.md#apikey)
|
947
|
+
|
948
|
+
### HTTP request headers
|
949
|
+
|
950
|
+
- **Content-Type**: application/json
|
951
|
+
- **Accept**: Not defined
|
952
|
+
|
953
|
+
|
954
|
+
|
955
|
+
# **orgs_teams_read**
|
956
|
+
> OrganizationTeam orgs_teams_read(org, slug_perm)
|
957
|
+
|
958
|
+
Viewset for working with Organization teams.
|
959
|
+
|
960
|
+
Viewset for working with Organization teams.
|
961
|
+
|
962
|
+
### Example
|
963
|
+
```ruby
|
964
|
+
# load the gem
|
965
|
+
require 'cloudsmith-api'
|
966
|
+
# setup authorization
|
967
|
+
CloudsmithApi.configure do |config|
|
968
|
+
# Configure API key authorization: apikey
|
969
|
+
config.api_key['X-Api-Key'] = 'YOUR API KEY'
|
970
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
971
|
+
#config.api_key_prefix['X-Api-Key'] = 'Bearer'
|
972
|
+
end
|
973
|
+
|
974
|
+
api_instance = CloudsmithApi::OrgsApi.new
|
975
|
+
|
976
|
+
org = 'org_example' # String |
|
977
|
+
|
978
|
+
slug_perm = 'slug_perm_example' # String |
|
979
|
+
|
980
|
+
|
981
|
+
begin
|
982
|
+
#Viewset for working with Organization teams.
|
983
|
+
result = api_instance.orgs_teams_read(org, slug_perm)
|
984
|
+
p result
|
985
|
+
rescue CloudsmithApi::ApiError => e
|
986
|
+
puts "Exception when calling OrgsApi->orgs_teams_read: #{e}"
|
987
|
+
end
|
988
|
+
```
|
989
|
+
|
990
|
+
### Parameters
|
991
|
+
|
992
|
+
Name | Type | Description | Notes
|
993
|
+
------------- | ------------- | ------------- | -------------
|
994
|
+
**org** | **String**| |
|
995
|
+
**slug_perm** | **String**| |
|
996
|
+
|
997
|
+
### Return type
|
998
|
+
|
999
|
+
[**OrganizationTeam**](OrganizationTeam.md)
|
1000
|
+
|
1001
|
+
### Authorization
|
1002
|
+
|
1003
|
+
[apikey](../README.md#apikey)
|
1004
|
+
|
1005
|
+
### HTTP request headers
|
1006
|
+
|
1007
|
+
- **Content-Type**: Not defined
|
1008
|
+
- **Accept**: Not defined
|
1009
|
+
|
1010
|
+
|
1011
|
+
|