bt_test 3.0.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 +7 -0
- data/Gemfile +9 -0
- data/README.md +187 -0
- data/Rakefile +10 -0
- data/bt_test.gemspec +38 -0
- data/docs/CreateGoalRequest.md +18 -0
- data/docs/CreateProjectRequest.md +26 -0
- data/docs/CreateProjectsTagRequest.md +18 -0
- data/docs/CreateScaffoldingAbsolutelyAbstractCreativeConceptRequest.md +20 -0
- data/docs/CreateTeamRequest.md +20 -0
- data/docs/CreateWebhooksOutgoingEndpointRequest.md +22 -0
- data/docs/Goal.md +18 -0
- data/docs/GoalData.md +24 -0
- data/docs/GoalDataAttributes.md +24 -0
- data/docs/GoalDataRelationships.md +18 -0
- data/docs/Me.md +18 -0
- data/docs/MeData.md +24 -0
- data/docs/MeDataAttributes.md +38 -0
- data/docs/MeDataRelationships.md +20 -0
- data/docs/PlatformApi.md +2834 -0
- data/docs/Project.md +18 -0
- data/docs/ProjectData.md +24 -0
- data/docs/ProjectDataAttributes.md +24 -0
- data/docs/ProjectDataRelationships.md +26 -0
- data/docs/ProjectDataRelationshipsTags.md +18 -0
- data/docs/ProjectsTag.md +18 -0
- data/docs/ProjectsTagData.md +24 -0
- data/docs/ProjectsTagDataAttributes.md +22 -0
- data/docs/ProjectsTagDataRelationships.md +20 -0
- data/docs/ProjectsTagDataRelationshipsTeam.md +18 -0
- data/docs/ProjectsTagDataRelationshipsTeamData.md +20 -0
- data/docs/ScaffoldingAbsolutelyAbstractCreativeConcept.md +18 -0
- data/docs/ScaffoldingAbsolutelyAbstractCreativeConceptData.md +24 -0
- data/docs/ScaffoldingAbsolutelyAbstractCreativeConceptDataAttributes.md +28 -0
- data/docs/ScaffoldingAbsolutelyAbstractCreativeConceptDataRelationships.md +20 -0
- data/docs/ScaffoldingCompletelyConcreteTangibleThing.md +18 -0
- data/docs/ScaffoldingCompletelyConcreteTangibleThingData.md +24 -0
- data/docs/ScaffoldingCompletelyConcreteTangibleThingDataAttributes.md +46 -0
- data/docs/ScaffoldingCompletelyConcreteTangibleThingDataRelationships.md +18 -0
- data/docs/Team.md +18 -0
- data/docs/TeamData.md +24 -0
- data/docs/TeamDataAttributes.md +28 -0
- data/docs/TeamDataRelationships.md +18 -0
- data/docs/UpdateScaffoldingCompletelyConcreteTangibleThingRequest.md +46 -0
- data/docs/WebhooksOutgoingDelivery.md +18 -0
- data/docs/WebhooksOutgoingDeliveryAttempt.md +18 -0
- data/docs/WebhooksOutgoingDeliveryAttemptData.md +24 -0
- data/docs/WebhooksOutgoingDeliveryAttemptDataAttributes.md +34 -0
- data/docs/WebhooksOutgoingDeliveryAttemptDataRelationships.md +18 -0
- data/docs/WebhooksOutgoingDeliveryData.md +24 -0
- data/docs/WebhooksOutgoingDeliveryDataAttributes.md +30 -0
- data/docs/WebhooksOutgoingDeliveryDataRelationships.md +18 -0
- data/docs/WebhooksOutgoingEndpoint.md +18 -0
- data/docs/WebhooksOutgoingEndpointData.md +24 -0
- data/docs/WebhooksOutgoingEndpointDataAttributes.md +28 -0
- data/docs/WebhooksOutgoingEndpointDataRelationships.md +18 -0
- data/git_push.sh +57 -0
- data/lib/bt_test/api/platform_api.rb +2523 -0
- data/lib/bt_test/api_client.rb +392 -0
- data/lib/bt_test/api_error.rb +57 -0
- data/lib/bt_test/configuration.rb +280 -0
- data/lib/bt_test/models/create_goal_request.rb +220 -0
- data/lib/bt_test/models/create_project_request.rb +262 -0
- data/lib/bt_test/models/create_projects_tag_request.rb +220 -0
- data/lib/bt_test/models/create_scaffolding_absolutely_abstract_creative_concept_request.rb +230 -0
- data/lib/bt_test/models/create_team_request.rb +230 -0
- data/lib/bt_test/models/create_webhooks_outgoing_endpoint_request.rb +242 -0
- data/lib/bt_test/models/goal.rb +220 -0
- data/lib/bt_test/models/goal_data.rb +246 -0
- data/lib/bt_test/models/goal_data_attributes.rb +246 -0
- data/lib/bt_test/models/goal_data_relationships.rb +219 -0
- data/lib/bt_test/models/me.rb +220 -0
- data/lib/bt_test/models/me_data.rb +246 -0
- data/lib/bt_test/models/me_data_attributes.rb +309 -0
- data/lib/bt_test/models/me_data_relationships.rb +228 -0
- data/lib/bt_test/models/project.rb +220 -0
- data/lib/bt_test/models/project_data.rb +246 -0
- data/lib/bt_test/models/project_data_attributes.rb +246 -0
- data/lib/bt_test/models/project_data_relationships.rb +255 -0
- data/lib/bt_test/models/project_data_relationships_tags.rb +221 -0
- data/lib/bt_test/models/projects_tag.rb +220 -0
- data/lib/bt_test/models/projects_tag_data.rb +246 -0
- data/lib/bt_test/models/projects_tag_data_attributes.rb +237 -0
- data/lib/bt_test/models/projects_tag_data_relationships.rb +228 -0
- data/lib/bt_test/models/projects_tag_data_relationships_team.rb +219 -0
- data/lib/bt_test/models/projects_tag_data_relationships_team_data.rb +228 -0
- data/lib/bt_test/models/scaffolding_absolutely_abstract_creative_concept.rb +220 -0
- data/lib/bt_test/models/scaffolding_absolutely_abstract_creative_concept_data.rb +246 -0
- data/lib/bt_test/models/scaffolding_absolutely_abstract_creative_concept_data_attributes.rb +264 -0
- data/lib/bt_test/models/scaffolding_absolutely_abstract_creative_concept_data_relationships.rb +228 -0
- data/lib/bt_test/models/scaffolding_completely_concrete_tangible_thing.rb +220 -0
- data/lib/bt_test/models/scaffolding_completely_concrete_tangible_thing_data.rb +246 -0
- data/lib/bt_test/models/scaffolding_completely_concrete_tangible_thing_data_attributes.rb +345 -0
- data/lib/bt_test/models/scaffolding_completely_concrete_tangible_thing_data_relationships.rb +219 -0
- data/lib/bt_test/models/team.rb +220 -0
- data/lib/bt_test/models/team_data.rb +246 -0
- data/lib/bt_test/models/team_data_attributes.rb +264 -0
- data/lib/bt_test/models/team_data_relationships.rb +219 -0
- data/lib/bt_test/models/update_scaffolding_completely_concrete_tangible_thing_request.rb +366 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery.rb +220 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_attempt.rb +220 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_attempt_data.rb +246 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_attempt_data_attributes.rb +291 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_attempt_data_relationships.rb +219 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_data.rb +246 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_data_attributes.rb +273 -0
- data/lib/bt_test/models/webhooks_outgoing_delivery_data_relationships.rb +219 -0
- data/lib/bt_test/models/webhooks_outgoing_endpoint.rb +220 -0
- data/lib/bt_test/models/webhooks_outgoing_endpoint_data.rb +246 -0
- data/lib/bt_test/models/webhooks_outgoing_endpoint_data_attributes.rb +264 -0
- data/lib/bt_test/models/webhooks_outgoing_endpoint_data_relationships.rb +219 -0
- data/lib/bt_test/version.rb +15 -0
- data/lib/bt_test.rb +90 -0
- data/spec/api/platform_api_spec.rb +493 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/create_goal_request_spec.rb +34 -0
- data/spec/models/create_project_request_spec.rb +58 -0
- data/spec/models/create_projects_tag_request_spec.rb +34 -0
- data/spec/models/create_scaffolding_absolutely_abstract_creative_concept_request_spec.rb +40 -0
- data/spec/models/create_team_request_spec.rb +40 -0
- data/spec/models/create_webhooks_outgoing_endpoint_request_spec.rb +46 -0
- data/spec/models/goal_data_attributes_spec.rb +52 -0
- data/spec/models/goal_data_relationships_spec.rb +34 -0
- data/spec/models/goal_data_spec.rb +52 -0
- data/spec/models/goal_spec.rb +34 -0
- data/spec/models/me_data_attributes_spec.rb +94 -0
- data/spec/models/me_data_relationships_spec.rb +40 -0
- data/spec/models/me_data_spec.rb +52 -0
- data/spec/models/me_spec.rb +34 -0
- data/spec/models/project_data_attributes_spec.rb +52 -0
- data/spec/models/project_data_relationships_spec.rb +58 -0
- data/spec/models/project_data_relationships_tags_spec.rb +34 -0
- data/spec/models/project_data_spec.rb +52 -0
- data/spec/models/project_spec.rb +34 -0
- data/spec/models/projects_tag_data_attributes_spec.rb +46 -0
- data/spec/models/projects_tag_data_relationships_spec.rb +40 -0
- data/spec/models/projects_tag_data_relationships_team_data_spec.rb +40 -0
- data/spec/models/projects_tag_data_relationships_team_spec.rb +34 -0
- data/spec/models/projects_tag_data_spec.rb +52 -0
- data/spec/models/projects_tag_spec.rb +34 -0
- data/spec/models/scaffolding_absolutely_abstract_creative_concept_data_attributes_spec.rb +64 -0
- data/spec/models/scaffolding_absolutely_abstract_creative_concept_data_relationships_spec.rb +40 -0
- data/spec/models/scaffolding_absolutely_abstract_creative_concept_data_spec.rb +52 -0
- data/spec/models/scaffolding_absolutely_abstract_creative_concept_spec.rb +34 -0
- data/spec/models/scaffolding_completely_concrete_tangible_thing_data_attributes_spec.rb +118 -0
- data/spec/models/scaffolding_completely_concrete_tangible_thing_data_relationships_spec.rb +34 -0
- data/spec/models/scaffolding_completely_concrete_tangible_thing_data_spec.rb +52 -0
- data/spec/models/scaffolding_completely_concrete_tangible_thing_spec.rb +34 -0
- data/spec/models/team_data_attributes_spec.rb +64 -0
- data/spec/models/team_data_relationships_spec.rb +34 -0
- data/spec/models/team_data_spec.rb +52 -0
- data/spec/models/team_spec.rb +34 -0
- data/spec/models/update_scaffolding_completely_concrete_tangible_thing_request_spec.rb +118 -0
- data/spec/models/webhooks_outgoing_delivery_attempt_data_attributes_spec.rb +82 -0
- data/spec/models/webhooks_outgoing_delivery_attempt_data_relationships_spec.rb +34 -0
- data/spec/models/webhooks_outgoing_delivery_attempt_data_spec.rb +52 -0
- data/spec/models/webhooks_outgoing_delivery_attempt_spec.rb +34 -0
- data/spec/models/webhooks_outgoing_delivery_data_attributes_spec.rb +70 -0
- data/spec/models/webhooks_outgoing_delivery_data_relationships_spec.rb +34 -0
- data/spec/models/webhooks_outgoing_delivery_data_spec.rb +52 -0
- data/spec/models/webhooks_outgoing_delivery_spec.rb +34 -0
- data/spec/models/webhooks_outgoing_endpoint_data_attributes_spec.rb +64 -0
- data/spec/models/webhooks_outgoing_endpoint_data_relationships_spec.rb +34 -0
- data/spec/models/webhooks_outgoing_endpoint_data_spec.rb +52 -0
- data/spec/models/webhooks_outgoing_endpoint_spec.rb +34 -0
- data/spec/spec_helper.rb +111 -0
- metadata +303 -0
|
@@ -0,0 +1,2523 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
#BT Test
|
|
3
|
+
|
|
4
|
+
#You can update this description in `config/locales/en/application.en.yml`.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 1.0
|
|
7
|
+
|
|
8
|
+
Generated by: https://openapi-generator.tech
|
|
9
|
+
OpenAPI Generator version: 6.0.0
|
|
10
|
+
|
|
11
|
+
=end
|
|
12
|
+
|
|
13
|
+
require 'cgi'
|
|
14
|
+
|
|
15
|
+
module BtTest
|
|
16
|
+
class PlatformApi
|
|
17
|
+
attr_accessor :api_client
|
|
18
|
+
|
|
19
|
+
def initialize(api_client = ApiClient.default)
|
|
20
|
+
@api_client = api_client
|
|
21
|
+
end
|
|
22
|
+
# Add a New Goal
|
|
23
|
+
# @param project_id [Integer] Project ID
|
|
24
|
+
# @param [Hash] opts the optional parameters
|
|
25
|
+
# @option opts [CreateGoalRequest] :create_goal_request
|
|
26
|
+
# @return [Goal]
|
|
27
|
+
def create_goal(project_id, opts = {})
|
|
28
|
+
data, _status_code, _headers = create_goal_with_http_info(project_id, opts)
|
|
29
|
+
data
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Add a New Goal
|
|
33
|
+
# @param project_id [Integer] Project ID
|
|
34
|
+
# @param [Hash] opts the optional parameters
|
|
35
|
+
# @option opts [CreateGoalRequest] :create_goal_request
|
|
36
|
+
# @return [Array<(Goal, Integer, Hash)>] Goal data, response status code and response headers
|
|
37
|
+
def create_goal_with_http_info(project_id, opts = {})
|
|
38
|
+
if @api_client.config.debugging
|
|
39
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_goal ...'
|
|
40
|
+
end
|
|
41
|
+
# verify the required parameter 'project_id' is set
|
|
42
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
43
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling PlatformApi.create_goal"
|
|
44
|
+
end
|
|
45
|
+
# resource path
|
|
46
|
+
local_var_path = '/projects/{project_id}/goals'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
|
|
47
|
+
|
|
48
|
+
# query parameters
|
|
49
|
+
query_params = opts[:query_params] || {}
|
|
50
|
+
|
|
51
|
+
# header parameters
|
|
52
|
+
header_params = opts[:header_params] || {}
|
|
53
|
+
# HTTP header 'Accept' (if needed)
|
|
54
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
55
|
+
# HTTP header 'Content-Type'
|
|
56
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
57
|
+
if !content_type.nil?
|
|
58
|
+
header_params['Content-Type'] = content_type
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
# form parameters
|
|
62
|
+
form_params = opts[:form_params] || {}
|
|
63
|
+
|
|
64
|
+
# http body (model)
|
|
65
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_goal_request'])
|
|
66
|
+
|
|
67
|
+
# return_type
|
|
68
|
+
return_type = opts[:debug_return_type] || 'Goal'
|
|
69
|
+
|
|
70
|
+
# auth_names
|
|
71
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
72
|
+
|
|
73
|
+
new_options = opts.merge(
|
|
74
|
+
:operation => :"PlatformApi.create_goal",
|
|
75
|
+
:header_params => header_params,
|
|
76
|
+
:query_params => query_params,
|
|
77
|
+
:form_params => form_params,
|
|
78
|
+
:body => post_body,
|
|
79
|
+
:auth_names => auth_names,
|
|
80
|
+
:return_type => return_type
|
|
81
|
+
)
|
|
82
|
+
|
|
83
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
84
|
+
if @api_client.config.debugging
|
|
85
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_goal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
86
|
+
end
|
|
87
|
+
return data, status_code, headers
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Add a New Project
|
|
91
|
+
# @param team_id [Integer] Team ID
|
|
92
|
+
# @param [Hash] opts the optional parameters
|
|
93
|
+
# @option opts [CreateProjectRequest] :create_project_request
|
|
94
|
+
# @return [Project]
|
|
95
|
+
def create_project(team_id, opts = {})
|
|
96
|
+
data, _status_code, _headers = create_project_with_http_info(team_id, opts)
|
|
97
|
+
data
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# Add a New Project
|
|
101
|
+
# @param team_id [Integer] Team ID
|
|
102
|
+
# @param [Hash] opts the optional parameters
|
|
103
|
+
# @option opts [CreateProjectRequest] :create_project_request
|
|
104
|
+
# @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
|
|
105
|
+
def create_project_with_http_info(team_id, opts = {})
|
|
106
|
+
if @api_client.config.debugging
|
|
107
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_project ...'
|
|
108
|
+
end
|
|
109
|
+
# verify the required parameter 'team_id' is set
|
|
110
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
111
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.create_project"
|
|
112
|
+
end
|
|
113
|
+
# resource path
|
|
114
|
+
local_var_path = '/teams/{team_id}/projects'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
115
|
+
|
|
116
|
+
# query parameters
|
|
117
|
+
query_params = opts[:query_params] || {}
|
|
118
|
+
|
|
119
|
+
# header parameters
|
|
120
|
+
header_params = opts[:header_params] || {}
|
|
121
|
+
# HTTP header 'Accept' (if needed)
|
|
122
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
123
|
+
# HTTP header 'Content-Type'
|
|
124
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
125
|
+
if !content_type.nil?
|
|
126
|
+
header_params['Content-Type'] = content_type
|
|
127
|
+
end
|
|
128
|
+
|
|
129
|
+
# form parameters
|
|
130
|
+
form_params = opts[:form_params] || {}
|
|
131
|
+
|
|
132
|
+
# http body (model)
|
|
133
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_project_request'])
|
|
134
|
+
|
|
135
|
+
# return_type
|
|
136
|
+
return_type = opts[:debug_return_type] || 'Project'
|
|
137
|
+
|
|
138
|
+
# auth_names
|
|
139
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
140
|
+
|
|
141
|
+
new_options = opts.merge(
|
|
142
|
+
:operation => :"PlatformApi.create_project",
|
|
143
|
+
:header_params => header_params,
|
|
144
|
+
:query_params => query_params,
|
|
145
|
+
:form_params => form_params,
|
|
146
|
+
:body => post_body,
|
|
147
|
+
:auth_names => auth_names,
|
|
148
|
+
:return_type => return_type
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
152
|
+
if @api_client.config.debugging
|
|
153
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
154
|
+
end
|
|
155
|
+
return data, status_code, headers
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Add a New Tag
|
|
159
|
+
# @param team_id [Integer] Team ID
|
|
160
|
+
# @param [Hash] opts the optional parameters
|
|
161
|
+
# @option opts [CreateProjectsTagRequest] :create_projects_tag_request
|
|
162
|
+
# @return [ProjectsTag]
|
|
163
|
+
def create_projects_tag(team_id, opts = {})
|
|
164
|
+
data, _status_code, _headers = create_projects_tag_with_http_info(team_id, opts)
|
|
165
|
+
data
|
|
166
|
+
end
|
|
167
|
+
|
|
168
|
+
# Add a New Tag
|
|
169
|
+
# @param team_id [Integer] Team ID
|
|
170
|
+
# @param [Hash] opts the optional parameters
|
|
171
|
+
# @option opts [CreateProjectsTagRequest] :create_projects_tag_request
|
|
172
|
+
# @return [Array<(ProjectsTag, Integer, Hash)>] ProjectsTag data, response status code and response headers
|
|
173
|
+
def create_projects_tag_with_http_info(team_id, opts = {})
|
|
174
|
+
if @api_client.config.debugging
|
|
175
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_projects_tag ...'
|
|
176
|
+
end
|
|
177
|
+
# verify the required parameter 'team_id' is set
|
|
178
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
179
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.create_projects_tag"
|
|
180
|
+
end
|
|
181
|
+
# resource path
|
|
182
|
+
local_var_path = '/teams/{team_id}/projects/tags'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
183
|
+
|
|
184
|
+
# query parameters
|
|
185
|
+
query_params = opts[:query_params] || {}
|
|
186
|
+
|
|
187
|
+
# header parameters
|
|
188
|
+
header_params = opts[:header_params] || {}
|
|
189
|
+
# HTTP header 'Accept' (if needed)
|
|
190
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
191
|
+
# HTTP header 'Content-Type'
|
|
192
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
193
|
+
if !content_type.nil?
|
|
194
|
+
header_params['Content-Type'] = content_type
|
|
195
|
+
end
|
|
196
|
+
|
|
197
|
+
# form parameters
|
|
198
|
+
form_params = opts[:form_params] || {}
|
|
199
|
+
|
|
200
|
+
# http body (model)
|
|
201
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_projects_tag_request'])
|
|
202
|
+
|
|
203
|
+
# return_type
|
|
204
|
+
return_type = opts[:debug_return_type] || 'ProjectsTag'
|
|
205
|
+
|
|
206
|
+
# auth_names
|
|
207
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
208
|
+
|
|
209
|
+
new_options = opts.merge(
|
|
210
|
+
:operation => :"PlatformApi.create_projects_tag",
|
|
211
|
+
:header_params => header_params,
|
|
212
|
+
:query_params => query_params,
|
|
213
|
+
:form_params => form_params,
|
|
214
|
+
:body => post_body,
|
|
215
|
+
:auth_names => auth_names,
|
|
216
|
+
:return_type => return_type
|
|
217
|
+
)
|
|
218
|
+
|
|
219
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
220
|
+
if @api_client.config.debugging
|
|
221
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_projects_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
222
|
+
end
|
|
223
|
+
return data, status_code, headers
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Add a New Creative Concept
|
|
227
|
+
# @param team_id [Integer] Team ID
|
|
228
|
+
# @param [Hash] opts the optional parameters
|
|
229
|
+
# @option opts [CreateScaffoldingAbsolutelyAbstractCreativeConceptRequest] :create_scaffolding_absolutely_abstract_creative_concept_request
|
|
230
|
+
# @return [ScaffoldingAbsolutelyAbstractCreativeConcept]
|
|
231
|
+
def create_scaffolding_absolutely_abstract_creative_concept(team_id, opts = {})
|
|
232
|
+
data, _status_code, _headers = create_scaffolding_absolutely_abstract_creative_concept_with_http_info(team_id, opts)
|
|
233
|
+
data
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
# Add a New Creative Concept
|
|
237
|
+
# @param team_id [Integer] Team ID
|
|
238
|
+
# @param [Hash] opts the optional parameters
|
|
239
|
+
# @option opts [CreateScaffoldingAbsolutelyAbstractCreativeConceptRequest] :create_scaffolding_absolutely_abstract_creative_concept_request
|
|
240
|
+
# @return [Array<(ScaffoldingAbsolutelyAbstractCreativeConcept, Integer, Hash)>] ScaffoldingAbsolutelyAbstractCreativeConcept data, response status code and response headers
|
|
241
|
+
def create_scaffolding_absolutely_abstract_creative_concept_with_http_info(team_id, opts = {})
|
|
242
|
+
if @api_client.config.debugging
|
|
243
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_scaffolding_absolutely_abstract_creative_concept ...'
|
|
244
|
+
end
|
|
245
|
+
# verify the required parameter 'team_id' is set
|
|
246
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
247
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.create_scaffolding_absolutely_abstract_creative_concept"
|
|
248
|
+
end
|
|
249
|
+
# resource path
|
|
250
|
+
local_var_path = '/teams/{team_id}/scaffolding/absolutely_abstract/creative_concepts'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
251
|
+
|
|
252
|
+
# query parameters
|
|
253
|
+
query_params = opts[:query_params] || {}
|
|
254
|
+
|
|
255
|
+
# header parameters
|
|
256
|
+
header_params = opts[:header_params] || {}
|
|
257
|
+
# HTTP header 'Accept' (if needed)
|
|
258
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
259
|
+
# HTTP header 'Content-Type'
|
|
260
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
261
|
+
if !content_type.nil?
|
|
262
|
+
header_params['Content-Type'] = content_type
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
# form parameters
|
|
266
|
+
form_params = opts[:form_params] || {}
|
|
267
|
+
|
|
268
|
+
# http body (model)
|
|
269
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_scaffolding_absolutely_abstract_creative_concept_request'])
|
|
270
|
+
|
|
271
|
+
# return_type
|
|
272
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingAbsolutelyAbstractCreativeConcept'
|
|
273
|
+
|
|
274
|
+
# auth_names
|
|
275
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
276
|
+
|
|
277
|
+
new_options = opts.merge(
|
|
278
|
+
:operation => :"PlatformApi.create_scaffolding_absolutely_abstract_creative_concept",
|
|
279
|
+
:header_params => header_params,
|
|
280
|
+
:query_params => query_params,
|
|
281
|
+
:form_params => form_params,
|
|
282
|
+
:body => post_body,
|
|
283
|
+
:auth_names => auth_names,
|
|
284
|
+
:return_type => return_type
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
288
|
+
if @api_client.config.debugging
|
|
289
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_scaffolding_absolutely_abstract_creative_concept\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
290
|
+
end
|
|
291
|
+
return data, status_code, headers
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Add a New Tangible Thing
|
|
295
|
+
# @param absolutely_abstract_creative_concept_id [Integer] Creative Concept ID
|
|
296
|
+
# @param [Hash] opts the optional parameters
|
|
297
|
+
# @option opts [UpdateScaffoldingCompletelyConcreteTangibleThingRequest] :update_scaffolding_completely_concrete_tangible_thing_request
|
|
298
|
+
# @return [ScaffoldingCompletelyConcreteTangibleThing]
|
|
299
|
+
def create_scaffolding_completely_concrete_tangible_thing(absolutely_abstract_creative_concept_id, opts = {})
|
|
300
|
+
data, _status_code, _headers = create_scaffolding_completely_concrete_tangible_thing_with_http_info(absolutely_abstract_creative_concept_id, opts)
|
|
301
|
+
data
|
|
302
|
+
end
|
|
303
|
+
|
|
304
|
+
# Add a New Tangible Thing
|
|
305
|
+
# @param absolutely_abstract_creative_concept_id [Integer] Creative Concept ID
|
|
306
|
+
# @param [Hash] opts the optional parameters
|
|
307
|
+
# @option opts [UpdateScaffoldingCompletelyConcreteTangibleThingRequest] :update_scaffolding_completely_concrete_tangible_thing_request
|
|
308
|
+
# @return [Array<(ScaffoldingCompletelyConcreteTangibleThing, Integer, Hash)>] ScaffoldingCompletelyConcreteTangibleThing data, response status code and response headers
|
|
309
|
+
def create_scaffolding_completely_concrete_tangible_thing_with_http_info(absolutely_abstract_creative_concept_id, opts = {})
|
|
310
|
+
if @api_client.config.debugging
|
|
311
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_scaffolding_completely_concrete_tangible_thing ...'
|
|
312
|
+
end
|
|
313
|
+
# verify the required parameter 'absolutely_abstract_creative_concept_id' is set
|
|
314
|
+
if @api_client.config.client_side_validation && absolutely_abstract_creative_concept_id.nil?
|
|
315
|
+
fail ArgumentError, "Missing the required parameter 'absolutely_abstract_creative_concept_id' when calling PlatformApi.create_scaffolding_completely_concrete_tangible_thing"
|
|
316
|
+
end
|
|
317
|
+
# resource path
|
|
318
|
+
local_var_path = '/scaffolding/absolutely_abstract/creative_concepts/{absolutely_abstract_creative_concept_id}/completely_concrete/tangible_things'.sub('{' + 'absolutely_abstract_creative_concept_id' + '}', CGI.escape(absolutely_abstract_creative_concept_id.to_s))
|
|
319
|
+
|
|
320
|
+
# query parameters
|
|
321
|
+
query_params = opts[:query_params] || {}
|
|
322
|
+
|
|
323
|
+
# header parameters
|
|
324
|
+
header_params = opts[:header_params] || {}
|
|
325
|
+
# HTTP header 'Accept' (if needed)
|
|
326
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
327
|
+
# HTTP header 'Content-Type'
|
|
328
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
329
|
+
if !content_type.nil?
|
|
330
|
+
header_params['Content-Type'] = content_type
|
|
331
|
+
end
|
|
332
|
+
|
|
333
|
+
# form parameters
|
|
334
|
+
form_params = opts[:form_params] || {}
|
|
335
|
+
|
|
336
|
+
# http body (model)
|
|
337
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_scaffolding_completely_concrete_tangible_thing_request'])
|
|
338
|
+
|
|
339
|
+
# return_type
|
|
340
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingCompletelyConcreteTangibleThing'
|
|
341
|
+
|
|
342
|
+
# auth_names
|
|
343
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
344
|
+
|
|
345
|
+
new_options = opts.merge(
|
|
346
|
+
:operation => :"PlatformApi.create_scaffolding_completely_concrete_tangible_thing",
|
|
347
|
+
:header_params => header_params,
|
|
348
|
+
:query_params => query_params,
|
|
349
|
+
:form_params => form_params,
|
|
350
|
+
:body => post_body,
|
|
351
|
+
:auth_names => auth_names,
|
|
352
|
+
:return_type => return_type
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
356
|
+
if @api_client.config.debugging
|
|
357
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_scaffolding_completely_concrete_tangible_thing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
358
|
+
end
|
|
359
|
+
return data, status_code, headers
|
|
360
|
+
end
|
|
361
|
+
|
|
362
|
+
# Add a New Team
|
|
363
|
+
# @param [Hash] opts the optional parameters
|
|
364
|
+
# @option opts [CreateTeamRequest] :create_team_request
|
|
365
|
+
# @return [Team]
|
|
366
|
+
def create_team(opts = {})
|
|
367
|
+
data, _status_code, _headers = create_team_with_http_info(opts)
|
|
368
|
+
data
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# Add a New Team
|
|
372
|
+
# @param [Hash] opts the optional parameters
|
|
373
|
+
# @option opts [CreateTeamRequest] :create_team_request
|
|
374
|
+
# @return [Array<(Team, Integer, Hash)>] Team data, response status code and response headers
|
|
375
|
+
def create_team_with_http_info(opts = {})
|
|
376
|
+
if @api_client.config.debugging
|
|
377
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_team ...'
|
|
378
|
+
end
|
|
379
|
+
# resource path
|
|
380
|
+
local_var_path = '/teams'
|
|
381
|
+
|
|
382
|
+
# query parameters
|
|
383
|
+
query_params = opts[:query_params] || {}
|
|
384
|
+
|
|
385
|
+
# header parameters
|
|
386
|
+
header_params = opts[:header_params] || {}
|
|
387
|
+
# HTTP header 'Accept' (if needed)
|
|
388
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
389
|
+
# HTTP header 'Content-Type'
|
|
390
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
391
|
+
if !content_type.nil?
|
|
392
|
+
header_params['Content-Type'] = content_type
|
|
393
|
+
end
|
|
394
|
+
|
|
395
|
+
# form parameters
|
|
396
|
+
form_params = opts[:form_params] || {}
|
|
397
|
+
|
|
398
|
+
# http body (model)
|
|
399
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_team_request'])
|
|
400
|
+
|
|
401
|
+
# return_type
|
|
402
|
+
return_type = opts[:debug_return_type] || 'Team'
|
|
403
|
+
|
|
404
|
+
# auth_names
|
|
405
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
406
|
+
|
|
407
|
+
new_options = opts.merge(
|
|
408
|
+
:operation => :"PlatformApi.create_team",
|
|
409
|
+
:header_params => header_params,
|
|
410
|
+
:query_params => query_params,
|
|
411
|
+
:form_params => form_params,
|
|
412
|
+
:body => post_body,
|
|
413
|
+
:auth_names => auth_names,
|
|
414
|
+
:return_type => return_type
|
|
415
|
+
)
|
|
416
|
+
|
|
417
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
418
|
+
if @api_client.config.debugging
|
|
419
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_team\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
420
|
+
end
|
|
421
|
+
return data, status_code, headers
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
# Add a New Endpoint
|
|
425
|
+
# @param team_id [Integer] Team ID
|
|
426
|
+
# @param [Hash] opts the optional parameters
|
|
427
|
+
# @option opts [CreateWebhooksOutgoingEndpointRequest] :create_webhooks_outgoing_endpoint_request
|
|
428
|
+
# @return [WebhooksOutgoingEndpoint]
|
|
429
|
+
def create_webhooks_outgoing_endpoint(team_id, opts = {})
|
|
430
|
+
data, _status_code, _headers = create_webhooks_outgoing_endpoint_with_http_info(team_id, opts)
|
|
431
|
+
data
|
|
432
|
+
end
|
|
433
|
+
|
|
434
|
+
# Add a New Endpoint
|
|
435
|
+
# @param team_id [Integer] Team ID
|
|
436
|
+
# @param [Hash] opts the optional parameters
|
|
437
|
+
# @option opts [CreateWebhooksOutgoingEndpointRequest] :create_webhooks_outgoing_endpoint_request
|
|
438
|
+
# @return [Array<(WebhooksOutgoingEndpoint, Integer, Hash)>] WebhooksOutgoingEndpoint data, response status code and response headers
|
|
439
|
+
def create_webhooks_outgoing_endpoint_with_http_info(team_id, opts = {})
|
|
440
|
+
if @api_client.config.debugging
|
|
441
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.create_webhooks_outgoing_endpoint ...'
|
|
442
|
+
end
|
|
443
|
+
# verify the required parameter 'team_id' is set
|
|
444
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
445
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.create_webhooks_outgoing_endpoint"
|
|
446
|
+
end
|
|
447
|
+
# resource path
|
|
448
|
+
local_var_path = '/teams/{team_id}/webhooks/outgoing/endpoints'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
449
|
+
|
|
450
|
+
# query parameters
|
|
451
|
+
query_params = opts[:query_params] || {}
|
|
452
|
+
|
|
453
|
+
# header parameters
|
|
454
|
+
header_params = opts[:header_params] || {}
|
|
455
|
+
# HTTP header 'Accept' (if needed)
|
|
456
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
457
|
+
# HTTP header 'Content-Type'
|
|
458
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
459
|
+
if !content_type.nil?
|
|
460
|
+
header_params['Content-Type'] = content_type
|
|
461
|
+
end
|
|
462
|
+
|
|
463
|
+
# form parameters
|
|
464
|
+
form_params = opts[:form_params] || {}
|
|
465
|
+
|
|
466
|
+
# http body (model)
|
|
467
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_webhooks_outgoing_endpoint_request'])
|
|
468
|
+
|
|
469
|
+
# return_type
|
|
470
|
+
return_type = opts[:debug_return_type] || 'WebhooksOutgoingEndpoint'
|
|
471
|
+
|
|
472
|
+
# auth_names
|
|
473
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
474
|
+
|
|
475
|
+
new_options = opts.merge(
|
|
476
|
+
:operation => :"PlatformApi.create_webhooks_outgoing_endpoint",
|
|
477
|
+
:header_params => header_params,
|
|
478
|
+
:query_params => query_params,
|
|
479
|
+
:form_params => form_params,
|
|
480
|
+
:body => post_body,
|
|
481
|
+
:auth_names => auth_names,
|
|
482
|
+
:return_type => return_type
|
|
483
|
+
)
|
|
484
|
+
|
|
485
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
486
|
+
if @api_client.config.debugging
|
|
487
|
+
@api_client.config.logger.debug "API called: PlatformApi#create_webhooks_outgoing_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
488
|
+
end
|
|
489
|
+
return data, status_code, headers
|
|
490
|
+
end
|
|
491
|
+
|
|
492
|
+
# Delete a Goal
|
|
493
|
+
# @param id [Integer] Goal ID
|
|
494
|
+
# @param [Hash] opts the optional parameters
|
|
495
|
+
# @return [nil]
|
|
496
|
+
def delete_goal(id, opts = {})
|
|
497
|
+
delete_goal_with_http_info(id, opts)
|
|
498
|
+
nil
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
# Delete a Goal
|
|
502
|
+
# @param id [Integer] Goal ID
|
|
503
|
+
# @param [Hash] opts the optional parameters
|
|
504
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
505
|
+
def delete_goal_with_http_info(id, opts = {})
|
|
506
|
+
if @api_client.config.debugging
|
|
507
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_goal ...'
|
|
508
|
+
end
|
|
509
|
+
# verify the required parameter 'id' is set
|
|
510
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
511
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_goal"
|
|
512
|
+
end
|
|
513
|
+
# resource path
|
|
514
|
+
local_var_path = '/goals/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
515
|
+
|
|
516
|
+
# query parameters
|
|
517
|
+
query_params = opts[:query_params] || {}
|
|
518
|
+
|
|
519
|
+
# header parameters
|
|
520
|
+
header_params = opts[:header_params] || {}
|
|
521
|
+
|
|
522
|
+
# form parameters
|
|
523
|
+
form_params = opts[:form_params] || {}
|
|
524
|
+
|
|
525
|
+
# http body (model)
|
|
526
|
+
post_body = opts[:debug_body]
|
|
527
|
+
|
|
528
|
+
# return_type
|
|
529
|
+
return_type = opts[:debug_return_type]
|
|
530
|
+
|
|
531
|
+
# auth_names
|
|
532
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
533
|
+
|
|
534
|
+
new_options = opts.merge(
|
|
535
|
+
:operation => :"PlatformApi.delete_goal",
|
|
536
|
+
:header_params => header_params,
|
|
537
|
+
:query_params => query_params,
|
|
538
|
+
:form_params => form_params,
|
|
539
|
+
:body => post_body,
|
|
540
|
+
:auth_names => auth_names,
|
|
541
|
+
:return_type => return_type
|
|
542
|
+
)
|
|
543
|
+
|
|
544
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
545
|
+
if @api_client.config.debugging
|
|
546
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_goal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
547
|
+
end
|
|
548
|
+
return data, status_code, headers
|
|
549
|
+
end
|
|
550
|
+
|
|
551
|
+
# Delete a Project
|
|
552
|
+
# @param id [Integer] Project ID
|
|
553
|
+
# @param [Hash] opts the optional parameters
|
|
554
|
+
# @return [nil]
|
|
555
|
+
def delete_project(id, opts = {})
|
|
556
|
+
delete_project_with_http_info(id, opts)
|
|
557
|
+
nil
|
|
558
|
+
end
|
|
559
|
+
|
|
560
|
+
# Delete a Project
|
|
561
|
+
# @param id [Integer] Project ID
|
|
562
|
+
# @param [Hash] opts the optional parameters
|
|
563
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
564
|
+
def delete_project_with_http_info(id, opts = {})
|
|
565
|
+
if @api_client.config.debugging
|
|
566
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_project ...'
|
|
567
|
+
end
|
|
568
|
+
# verify the required parameter 'id' is set
|
|
569
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
570
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_project"
|
|
571
|
+
end
|
|
572
|
+
# resource path
|
|
573
|
+
local_var_path = '/projects/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
574
|
+
|
|
575
|
+
# query parameters
|
|
576
|
+
query_params = opts[:query_params] || {}
|
|
577
|
+
|
|
578
|
+
# header parameters
|
|
579
|
+
header_params = opts[:header_params] || {}
|
|
580
|
+
|
|
581
|
+
# form parameters
|
|
582
|
+
form_params = opts[:form_params] || {}
|
|
583
|
+
|
|
584
|
+
# http body (model)
|
|
585
|
+
post_body = opts[:debug_body]
|
|
586
|
+
|
|
587
|
+
# return_type
|
|
588
|
+
return_type = opts[:debug_return_type]
|
|
589
|
+
|
|
590
|
+
# auth_names
|
|
591
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
592
|
+
|
|
593
|
+
new_options = opts.merge(
|
|
594
|
+
:operation => :"PlatformApi.delete_project",
|
|
595
|
+
:header_params => header_params,
|
|
596
|
+
:query_params => query_params,
|
|
597
|
+
:form_params => form_params,
|
|
598
|
+
:body => post_body,
|
|
599
|
+
:auth_names => auth_names,
|
|
600
|
+
:return_type => return_type
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
604
|
+
if @api_client.config.debugging
|
|
605
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
606
|
+
end
|
|
607
|
+
return data, status_code, headers
|
|
608
|
+
end
|
|
609
|
+
|
|
610
|
+
# Delete a Tag
|
|
611
|
+
# @param id [Integer] Tag ID
|
|
612
|
+
# @param [Hash] opts the optional parameters
|
|
613
|
+
# @return [nil]
|
|
614
|
+
def delete_projects_tag(id, opts = {})
|
|
615
|
+
delete_projects_tag_with_http_info(id, opts)
|
|
616
|
+
nil
|
|
617
|
+
end
|
|
618
|
+
|
|
619
|
+
# Delete a Tag
|
|
620
|
+
# @param id [Integer] Tag ID
|
|
621
|
+
# @param [Hash] opts the optional parameters
|
|
622
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
623
|
+
def delete_projects_tag_with_http_info(id, opts = {})
|
|
624
|
+
if @api_client.config.debugging
|
|
625
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_projects_tag ...'
|
|
626
|
+
end
|
|
627
|
+
# verify the required parameter 'id' is set
|
|
628
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
629
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_projects_tag"
|
|
630
|
+
end
|
|
631
|
+
# resource path
|
|
632
|
+
local_var_path = '/projects/tags/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
633
|
+
|
|
634
|
+
# query parameters
|
|
635
|
+
query_params = opts[:query_params] || {}
|
|
636
|
+
|
|
637
|
+
# header parameters
|
|
638
|
+
header_params = opts[:header_params] || {}
|
|
639
|
+
|
|
640
|
+
# form parameters
|
|
641
|
+
form_params = opts[:form_params] || {}
|
|
642
|
+
|
|
643
|
+
# http body (model)
|
|
644
|
+
post_body = opts[:debug_body]
|
|
645
|
+
|
|
646
|
+
# return_type
|
|
647
|
+
return_type = opts[:debug_return_type]
|
|
648
|
+
|
|
649
|
+
# auth_names
|
|
650
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
651
|
+
|
|
652
|
+
new_options = opts.merge(
|
|
653
|
+
:operation => :"PlatformApi.delete_projects_tag",
|
|
654
|
+
:header_params => header_params,
|
|
655
|
+
:query_params => query_params,
|
|
656
|
+
:form_params => form_params,
|
|
657
|
+
:body => post_body,
|
|
658
|
+
:auth_names => auth_names,
|
|
659
|
+
:return_type => return_type
|
|
660
|
+
)
|
|
661
|
+
|
|
662
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
663
|
+
if @api_client.config.debugging
|
|
664
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_projects_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
665
|
+
end
|
|
666
|
+
return data, status_code, headers
|
|
667
|
+
end
|
|
668
|
+
|
|
669
|
+
# Delete a Creative Concept
|
|
670
|
+
# @param id [Integer] Creative Concept ID
|
|
671
|
+
# @param [Hash] opts the optional parameters
|
|
672
|
+
# @return [nil]
|
|
673
|
+
def delete_scaffolding_absolutely_abstract_creative_concept(id, opts = {})
|
|
674
|
+
delete_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts)
|
|
675
|
+
nil
|
|
676
|
+
end
|
|
677
|
+
|
|
678
|
+
# Delete a Creative Concept
|
|
679
|
+
# @param id [Integer] Creative Concept ID
|
|
680
|
+
# @param [Hash] opts the optional parameters
|
|
681
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
682
|
+
def delete_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts = {})
|
|
683
|
+
if @api_client.config.debugging
|
|
684
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_scaffolding_absolutely_abstract_creative_concept ...'
|
|
685
|
+
end
|
|
686
|
+
# verify the required parameter 'id' is set
|
|
687
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
688
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_scaffolding_absolutely_abstract_creative_concept"
|
|
689
|
+
end
|
|
690
|
+
# resource path
|
|
691
|
+
local_var_path = '/scaffolding/absolutely_abstract/creative_concepts/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
692
|
+
|
|
693
|
+
# query parameters
|
|
694
|
+
query_params = opts[:query_params] || {}
|
|
695
|
+
|
|
696
|
+
# header parameters
|
|
697
|
+
header_params = opts[:header_params] || {}
|
|
698
|
+
|
|
699
|
+
# form parameters
|
|
700
|
+
form_params = opts[:form_params] || {}
|
|
701
|
+
|
|
702
|
+
# http body (model)
|
|
703
|
+
post_body = opts[:debug_body]
|
|
704
|
+
|
|
705
|
+
# return_type
|
|
706
|
+
return_type = opts[:debug_return_type]
|
|
707
|
+
|
|
708
|
+
# auth_names
|
|
709
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
710
|
+
|
|
711
|
+
new_options = opts.merge(
|
|
712
|
+
:operation => :"PlatformApi.delete_scaffolding_absolutely_abstract_creative_concept",
|
|
713
|
+
:header_params => header_params,
|
|
714
|
+
:query_params => query_params,
|
|
715
|
+
:form_params => form_params,
|
|
716
|
+
:body => post_body,
|
|
717
|
+
:auth_names => auth_names,
|
|
718
|
+
:return_type => return_type
|
|
719
|
+
)
|
|
720
|
+
|
|
721
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
722
|
+
if @api_client.config.debugging
|
|
723
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_scaffolding_absolutely_abstract_creative_concept\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
724
|
+
end
|
|
725
|
+
return data, status_code, headers
|
|
726
|
+
end
|
|
727
|
+
|
|
728
|
+
# Delete a Tangible Thing
|
|
729
|
+
# @param id [Integer] Tangible Thing ID
|
|
730
|
+
# @param [Hash] opts the optional parameters
|
|
731
|
+
# @return [nil]
|
|
732
|
+
def delete_scaffolding_completely_concrete_tangible_thing(id, opts = {})
|
|
733
|
+
delete_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts)
|
|
734
|
+
nil
|
|
735
|
+
end
|
|
736
|
+
|
|
737
|
+
# Delete a Tangible Thing
|
|
738
|
+
# @param id [Integer] Tangible Thing ID
|
|
739
|
+
# @param [Hash] opts the optional parameters
|
|
740
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
741
|
+
def delete_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts = {})
|
|
742
|
+
if @api_client.config.debugging
|
|
743
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_scaffolding_completely_concrete_tangible_thing ...'
|
|
744
|
+
end
|
|
745
|
+
# verify the required parameter 'id' is set
|
|
746
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
747
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_scaffolding_completely_concrete_tangible_thing"
|
|
748
|
+
end
|
|
749
|
+
# resource path
|
|
750
|
+
local_var_path = '/scaffolding/completely_concrete/tangible_things/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
751
|
+
|
|
752
|
+
# query parameters
|
|
753
|
+
query_params = opts[:query_params] || {}
|
|
754
|
+
|
|
755
|
+
# header parameters
|
|
756
|
+
header_params = opts[:header_params] || {}
|
|
757
|
+
|
|
758
|
+
# form parameters
|
|
759
|
+
form_params = opts[:form_params] || {}
|
|
760
|
+
|
|
761
|
+
# http body (model)
|
|
762
|
+
post_body = opts[:debug_body]
|
|
763
|
+
|
|
764
|
+
# return_type
|
|
765
|
+
return_type = opts[:debug_return_type]
|
|
766
|
+
|
|
767
|
+
# auth_names
|
|
768
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
769
|
+
|
|
770
|
+
new_options = opts.merge(
|
|
771
|
+
:operation => :"PlatformApi.delete_scaffolding_completely_concrete_tangible_thing",
|
|
772
|
+
:header_params => header_params,
|
|
773
|
+
:query_params => query_params,
|
|
774
|
+
:form_params => form_params,
|
|
775
|
+
:body => post_body,
|
|
776
|
+
:auth_names => auth_names,
|
|
777
|
+
:return_type => return_type
|
|
778
|
+
)
|
|
779
|
+
|
|
780
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
781
|
+
if @api_client.config.debugging
|
|
782
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_scaffolding_completely_concrete_tangible_thing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
783
|
+
end
|
|
784
|
+
return data, status_code, headers
|
|
785
|
+
end
|
|
786
|
+
|
|
787
|
+
# Delete a Endpoint
|
|
788
|
+
# @param id [Integer] Endpoint ID
|
|
789
|
+
# @param [Hash] opts the optional parameters
|
|
790
|
+
# @return [nil]
|
|
791
|
+
def delete_webhooks_outgoing_endpoint(id, opts = {})
|
|
792
|
+
delete_webhooks_outgoing_endpoint_with_http_info(id, opts)
|
|
793
|
+
nil
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# Delete a Endpoint
|
|
797
|
+
# @param id [Integer] Endpoint ID
|
|
798
|
+
# @param [Hash] opts the optional parameters
|
|
799
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
800
|
+
def delete_webhooks_outgoing_endpoint_with_http_info(id, opts = {})
|
|
801
|
+
if @api_client.config.debugging
|
|
802
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.delete_webhooks_outgoing_endpoint ...'
|
|
803
|
+
end
|
|
804
|
+
# verify the required parameter 'id' is set
|
|
805
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
806
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.delete_webhooks_outgoing_endpoint"
|
|
807
|
+
end
|
|
808
|
+
# resource path
|
|
809
|
+
local_var_path = '/webhooks/outgoing/endpoints/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
810
|
+
|
|
811
|
+
# query parameters
|
|
812
|
+
query_params = opts[:query_params] || {}
|
|
813
|
+
|
|
814
|
+
# header parameters
|
|
815
|
+
header_params = opts[:header_params] || {}
|
|
816
|
+
|
|
817
|
+
# form parameters
|
|
818
|
+
form_params = opts[:form_params] || {}
|
|
819
|
+
|
|
820
|
+
# http body (model)
|
|
821
|
+
post_body = opts[:debug_body]
|
|
822
|
+
|
|
823
|
+
# return_type
|
|
824
|
+
return_type = opts[:debug_return_type]
|
|
825
|
+
|
|
826
|
+
# auth_names
|
|
827
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
828
|
+
|
|
829
|
+
new_options = opts.merge(
|
|
830
|
+
:operation => :"PlatformApi.delete_webhooks_outgoing_endpoint",
|
|
831
|
+
:header_params => header_params,
|
|
832
|
+
:query_params => query_params,
|
|
833
|
+
:form_params => form_params,
|
|
834
|
+
:body => post_body,
|
|
835
|
+
:auth_names => auth_names,
|
|
836
|
+
:return_type => return_type
|
|
837
|
+
)
|
|
838
|
+
|
|
839
|
+
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
|
840
|
+
if @api_client.config.debugging
|
|
841
|
+
@api_client.config.logger.debug "API called: PlatformApi#delete_webhooks_outgoing_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
842
|
+
end
|
|
843
|
+
return data, status_code, headers
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
# Retrieve a Goal
|
|
847
|
+
# @param id [Integer] Goal ID
|
|
848
|
+
# @param [Hash] opts the optional parameters
|
|
849
|
+
# @return [Goal]
|
|
850
|
+
def get_goal(id, opts = {})
|
|
851
|
+
data, _status_code, _headers = get_goal_with_http_info(id, opts)
|
|
852
|
+
data
|
|
853
|
+
end
|
|
854
|
+
|
|
855
|
+
# Retrieve a Goal
|
|
856
|
+
# @param id [Integer] Goal ID
|
|
857
|
+
# @param [Hash] opts the optional parameters
|
|
858
|
+
# @return [Array<(Goal, Integer, Hash)>] Goal data, response status code and response headers
|
|
859
|
+
def get_goal_with_http_info(id, opts = {})
|
|
860
|
+
if @api_client.config.debugging
|
|
861
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_goal ...'
|
|
862
|
+
end
|
|
863
|
+
# verify the required parameter 'id' is set
|
|
864
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
865
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_goal"
|
|
866
|
+
end
|
|
867
|
+
# resource path
|
|
868
|
+
local_var_path = '/goals/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
869
|
+
|
|
870
|
+
# query parameters
|
|
871
|
+
query_params = opts[:query_params] || {}
|
|
872
|
+
|
|
873
|
+
# header parameters
|
|
874
|
+
header_params = opts[:header_params] || {}
|
|
875
|
+
# HTTP header 'Accept' (if needed)
|
|
876
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
877
|
+
|
|
878
|
+
# form parameters
|
|
879
|
+
form_params = opts[:form_params] || {}
|
|
880
|
+
|
|
881
|
+
# http body (model)
|
|
882
|
+
post_body = opts[:debug_body]
|
|
883
|
+
|
|
884
|
+
# return_type
|
|
885
|
+
return_type = opts[:debug_return_type] || 'Goal'
|
|
886
|
+
|
|
887
|
+
# auth_names
|
|
888
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
889
|
+
|
|
890
|
+
new_options = opts.merge(
|
|
891
|
+
:operation => :"PlatformApi.get_goal",
|
|
892
|
+
:header_params => header_params,
|
|
893
|
+
:query_params => query_params,
|
|
894
|
+
:form_params => form_params,
|
|
895
|
+
:body => post_body,
|
|
896
|
+
:auth_names => auth_names,
|
|
897
|
+
:return_type => return_type
|
|
898
|
+
)
|
|
899
|
+
|
|
900
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
901
|
+
if @api_client.config.debugging
|
|
902
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_goal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
903
|
+
end
|
|
904
|
+
return data, status_code, headers
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
# Retrieve info about the current user
|
|
908
|
+
# @param [Hash] opts the optional parameters
|
|
909
|
+
# @return [Me]
|
|
910
|
+
def get_me(opts = {})
|
|
911
|
+
data, _status_code, _headers = get_me_with_http_info(opts)
|
|
912
|
+
data
|
|
913
|
+
end
|
|
914
|
+
|
|
915
|
+
# Retrieve info about the current user
|
|
916
|
+
# @param [Hash] opts the optional parameters
|
|
917
|
+
# @return [Array<(Me, Integer, Hash)>] Me data, response status code and response headers
|
|
918
|
+
def get_me_with_http_info(opts = {})
|
|
919
|
+
if @api_client.config.debugging
|
|
920
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_me ...'
|
|
921
|
+
end
|
|
922
|
+
# resource path
|
|
923
|
+
local_var_path = '/me'
|
|
924
|
+
|
|
925
|
+
# query parameters
|
|
926
|
+
query_params = opts[:query_params] || {}
|
|
927
|
+
|
|
928
|
+
# header parameters
|
|
929
|
+
header_params = opts[:header_params] || {}
|
|
930
|
+
# HTTP header 'Accept' (if needed)
|
|
931
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
932
|
+
|
|
933
|
+
# form parameters
|
|
934
|
+
form_params = opts[:form_params] || {}
|
|
935
|
+
|
|
936
|
+
# http body (model)
|
|
937
|
+
post_body = opts[:debug_body]
|
|
938
|
+
|
|
939
|
+
# return_type
|
|
940
|
+
return_type = opts[:debug_return_type] || 'Me'
|
|
941
|
+
|
|
942
|
+
# auth_names
|
|
943
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
944
|
+
|
|
945
|
+
new_options = opts.merge(
|
|
946
|
+
:operation => :"PlatformApi.get_me",
|
|
947
|
+
:header_params => header_params,
|
|
948
|
+
:query_params => query_params,
|
|
949
|
+
:form_params => form_params,
|
|
950
|
+
:body => post_body,
|
|
951
|
+
:auth_names => auth_names,
|
|
952
|
+
:return_type => return_type
|
|
953
|
+
)
|
|
954
|
+
|
|
955
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
956
|
+
if @api_client.config.debugging
|
|
957
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_me\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
958
|
+
end
|
|
959
|
+
return data, status_code, headers
|
|
960
|
+
end
|
|
961
|
+
|
|
962
|
+
# Retrieve a Project
|
|
963
|
+
# @param id [Integer] Project ID
|
|
964
|
+
# @param [Hash] opts the optional parameters
|
|
965
|
+
# @return [Project]
|
|
966
|
+
def get_project(id, opts = {})
|
|
967
|
+
data, _status_code, _headers = get_project_with_http_info(id, opts)
|
|
968
|
+
data
|
|
969
|
+
end
|
|
970
|
+
|
|
971
|
+
# Retrieve a Project
|
|
972
|
+
# @param id [Integer] Project ID
|
|
973
|
+
# @param [Hash] opts the optional parameters
|
|
974
|
+
# @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
|
|
975
|
+
def get_project_with_http_info(id, opts = {})
|
|
976
|
+
if @api_client.config.debugging
|
|
977
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_project ...'
|
|
978
|
+
end
|
|
979
|
+
# verify the required parameter 'id' is set
|
|
980
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
981
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_project"
|
|
982
|
+
end
|
|
983
|
+
# resource path
|
|
984
|
+
local_var_path = '/projects/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
985
|
+
|
|
986
|
+
# query parameters
|
|
987
|
+
query_params = opts[:query_params] || {}
|
|
988
|
+
|
|
989
|
+
# header parameters
|
|
990
|
+
header_params = opts[:header_params] || {}
|
|
991
|
+
# HTTP header 'Accept' (if needed)
|
|
992
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
993
|
+
|
|
994
|
+
# form parameters
|
|
995
|
+
form_params = opts[:form_params] || {}
|
|
996
|
+
|
|
997
|
+
# http body (model)
|
|
998
|
+
post_body = opts[:debug_body]
|
|
999
|
+
|
|
1000
|
+
# return_type
|
|
1001
|
+
return_type = opts[:debug_return_type] || 'Project'
|
|
1002
|
+
|
|
1003
|
+
# auth_names
|
|
1004
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1005
|
+
|
|
1006
|
+
new_options = opts.merge(
|
|
1007
|
+
:operation => :"PlatformApi.get_project",
|
|
1008
|
+
:header_params => header_params,
|
|
1009
|
+
:query_params => query_params,
|
|
1010
|
+
:form_params => form_params,
|
|
1011
|
+
:body => post_body,
|
|
1012
|
+
:auth_names => auth_names,
|
|
1013
|
+
:return_type => return_type
|
|
1014
|
+
)
|
|
1015
|
+
|
|
1016
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1017
|
+
if @api_client.config.debugging
|
|
1018
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1019
|
+
end
|
|
1020
|
+
return data, status_code, headers
|
|
1021
|
+
end
|
|
1022
|
+
|
|
1023
|
+
# Retrieve a Tag
|
|
1024
|
+
# @param id [Integer] Tag ID
|
|
1025
|
+
# @param [Hash] opts the optional parameters
|
|
1026
|
+
# @return [ProjectsTag]
|
|
1027
|
+
def get_projects_tag(id, opts = {})
|
|
1028
|
+
data, _status_code, _headers = get_projects_tag_with_http_info(id, opts)
|
|
1029
|
+
data
|
|
1030
|
+
end
|
|
1031
|
+
|
|
1032
|
+
# Retrieve a Tag
|
|
1033
|
+
# @param id [Integer] Tag ID
|
|
1034
|
+
# @param [Hash] opts the optional parameters
|
|
1035
|
+
# @return [Array<(ProjectsTag, Integer, Hash)>] ProjectsTag data, response status code and response headers
|
|
1036
|
+
def get_projects_tag_with_http_info(id, opts = {})
|
|
1037
|
+
if @api_client.config.debugging
|
|
1038
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_projects_tag ...'
|
|
1039
|
+
end
|
|
1040
|
+
# verify the required parameter 'id' is set
|
|
1041
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1042
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_projects_tag"
|
|
1043
|
+
end
|
|
1044
|
+
# resource path
|
|
1045
|
+
local_var_path = '/projects/tags/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1046
|
+
|
|
1047
|
+
# query parameters
|
|
1048
|
+
query_params = opts[:query_params] || {}
|
|
1049
|
+
|
|
1050
|
+
# header parameters
|
|
1051
|
+
header_params = opts[:header_params] || {}
|
|
1052
|
+
# HTTP header 'Accept' (if needed)
|
|
1053
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1054
|
+
|
|
1055
|
+
# form parameters
|
|
1056
|
+
form_params = opts[:form_params] || {}
|
|
1057
|
+
|
|
1058
|
+
# http body (model)
|
|
1059
|
+
post_body = opts[:debug_body]
|
|
1060
|
+
|
|
1061
|
+
# return_type
|
|
1062
|
+
return_type = opts[:debug_return_type] || 'ProjectsTag'
|
|
1063
|
+
|
|
1064
|
+
# auth_names
|
|
1065
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1066
|
+
|
|
1067
|
+
new_options = opts.merge(
|
|
1068
|
+
:operation => :"PlatformApi.get_projects_tag",
|
|
1069
|
+
:header_params => header_params,
|
|
1070
|
+
:query_params => query_params,
|
|
1071
|
+
:form_params => form_params,
|
|
1072
|
+
:body => post_body,
|
|
1073
|
+
:auth_names => auth_names,
|
|
1074
|
+
:return_type => return_type
|
|
1075
|
+
)
|
|
1076
|
+
|
|
1077
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1078
|
+
if @api_client.config.debugging
|
|
1079
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_projects_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1080
|
+
end
|
|
1081
|
+
return data, status_code, headers
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1084
|
+
# Retrieve a Creative Concept
|
|
1085
|
+
# @param id [Integer] Creative Concept ID
|
|
1086
|
+
# @param [Hash] opts the optional parameters
|
|
1087
|
+
# @return [ScaffoldingAbsolutelyAbstractCreativeConcept]
|
|
1088
|
+
def get_scaffolding_absolutely_abstract_creative_concept(id, opts = {})
|
|
1089
|
+
data, _status_code, _headers = get_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts)
|
|
1090
|
+
data
|
|
1091
|
+
end
|
|
1092
|
+
|
|
1093
|
+
# Retrieve a Creative Concept
|
|
1094
|
+
# @param id [Integer] Creative Concept ID
|
|
1095
|
+
# @param [Hash] opts the optional parameters
|
|
1096
|
+
# @return [Array<(ScaffoldingAbsolutelyAbstractCreativeConcept, Integer, Hash)>] ScaffoldingAbsolutelyAbstractCreativeConcept data, response status code and response headers
|
|
1097
|
+
def get_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts = {})
|
|
1098
|
+
if @api_client.config.debugging
|
|
1099
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_scaffolding_absolutely_abstract_creative_concept ...'
|
|
1100
|
+
end
|
|
1101
|
+
# verify the required parameter 'id' is set
|
|
1102
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1103
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_scaffolding_absolutely_abstract_creative_concept"
|
|
1104
|
+
end
|
|
1105
|
+
# resource path
|
|
1106
|
+
local_var_path = '/scaffolding/absolutely_abstract/creative_concepts/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1107
|
+
|
|
1108
|
+
# query parameters
|
|
1109
|
+
query_params = opts[:query_params] || {}
|
|
1110
|
+
|
|
1111
|
+
# header parameters
|
|
1112
|
+
header_params = opts[:header_params] || {}
|
|
1113
|
+
# HTTP header 'Accept' (if needed)
|
|
1114
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1115
|
+
|
|
1116
|
+
# form parameters
|
|
1117
|
+
form_params = opts[:form_params] || {}
|
|
1118
|
+
|
|
1119
|
+
# http body (model)
|
|
1120
|
+
post_body = opts[:debug_body]
|
|
1121
|
+
|
|
1122
|
+
# return_type
|
|
1123
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingAbsolutelyAbstractCreativeConcept'
|
|
1124
|
+
|
|
1125
|
+
# auth_names
|
|
1126
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1127
|
+
|
|
1128
|
+
new_options = opts.merge(
|
|
1129
|
+
:operation => :"PlatformApi.get_scaffolding_absolutely_abstract_creative_concept",
|
|
1130
|
+
:header_params => header_params,
|
|
1131
|
+
:query_params => query_params,
|
|
1132
|
+
:form_params => form_params,
|
|
1133
|
+
:body => post_body,
|
|
1134
|
+
:auth_names => auth_names,
|
|
1135
|
+
:return_type => return_type
|
|
1136
|
+
)
|
|
1137
|
+
|
|
1138
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1139
|
+
if @api_client.config.debugging
|
|
1140
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_scaffolding_absolutely_abstract_creative_concept\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1141
|
+
end
|
|
1142
|
+
return data, status_code, headers
|
|
1143
|
+
end
|
|
1144
|
+
|
|
1145
|
+
# Retrieve a Tangible Thing
|
|
1146
|
+
# @param id [Integer] Tangible Thing ID
|
|
1147
|
+
# @param [Hash] opts the optional parameters
|
|
1148
|
+
# @return [ScaffoldingCompletelyConcreteTangibleThing]
|
|
1149
|
+
def get_scaffolding_completely_concrete_tangible_thing(id, opts = {})
|
|
1150
|
+
data, _status_code, _headers = get_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts)
|
|
1151
|
+
data
|
|
1152
|
+
end
|
|
1153
|
+
|
|
1154
|
+
# Retrieve a Tangible Thing
|
|
1155
|
+
# @param id [Integer] Tangible Thing ID
|
|
1156
|
+
# @param [Hash] opts the optional parameters
|
|
1157
|
+
# @return [Array<(ScaffoldingCompletelyConcreteTangibleThing, Integer, Hash)>] ScaffoldingCompletelyConcreteTangibleThing data, response status code and response headers
|
|
1158
|
+
def get_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts = {})
|
|
1159
|
+
if @api_client.config.debugging
|
|
1160
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_scaffolding_completely_concrete_tangible_thing ...'
|
|
1161
|
+
end
|
|
1162
|
+
# verify the required parameter 'id' is set
|
|
1163
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1164
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_scaffolding_completely_concrete_tangible_thing"
|
|
1165
|
+
end
|
|
1166
|
+
# resource path
|
|
1167
|
+
local_var_path = '/scaffolding/completely_concrete/tangible_things/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1168
|
+
|
|
1169
|
+
# query parameters
|
|
1170
|
+
query_params = opts[:query_params] || {}
|
|
1171
|
+
|
|
1172
|
+
# header parameters
|
|
1173
|
+
header_params = opts[:header_params] || {}
|
|
1174
|
+
# HTTP header 'Accept' (if needed)
|
|
1175
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1176
|
+
|
|
1177
|
+
# form parameters
|
|
1178
|
+
form_params = opts[:form_params] || {}
|
|
1179
|
+
|
|
1180
|
+
# http body (model)
|
|
1181
|
+
post_body = opts[:debug_body]
|
|
1182
|
+
|
|
1183
|
+
# return_type
|
|
1184
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingCompletelyConcreteTangibleThing'
|
|
1185
|
+
|
|
1186
|
+
# auth_names
|
|
1187
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1188
|
+
|
|
1189
|
+
new_options = opts.merge(
|
|
1190
|
+
:operation => :"PlatformApi.get_scaffolding_completely_concrete_tangible_thing",
|
|
1191
|
+
:header_params => header_params,
|
|
1192
|
+
:query_params => query_params,
|
|
1193
|
+
:form_params => form_params,
|
|
1194
|
+
:body => post_body,
|
|
1195
|
+
:auth_names => auth_names,
|
|
1196
|
+
:return_type => return_type
|
|
1197
|
+
)
|
|
1198
|
+
|
|
1199
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1200
|
+
if @api_client.config.debugging
|
|
1201
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_scaffolding_completely_concrete_tangible_thing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1202
|
+
end
|
|
1203
|
+
return data, status_code, headers
|
|
1204
|
+
end
|
|
1205
|
+
|
|
1206
|
+
# Retrieve a Team
|
|
1207
|
+
# @param id [Integer] Team ID
|
|
1208
|
+
# @param [Hash] opts the optional parameters
|
|
1209
|
+
# @return [Team]
|
|
1210
|
+
def get_team(id, opts = {})
|
|
1211
|
+
data, _status_code, _headers = get_team_with_http_info(id, opts)
|
|
1212
|
+
data
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1215
|
+
# Retrieve a Team
|
|
1216
|
+
# @param id [Integer] Team ID
|
|
1217
|
+
# @param [Hash] opts the optional parameters
|
|
1218
|
+
# @return [Array<(Team, Integer, Hash)>] Team data, response status code and response headers
|
|
1219
|
+
def get_team_with_http_info(id, opts = {})
|
|
1220
|
+
if @api_client.config.debugging
|
|
1221
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_team ...'
|
|
1222
|
+
end
|
|
1223
|
+
# verify the required parameter 'id' is set
|
|
1224
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1225
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_team"
|
|
1226
|
+
end
|
|
1227
|
+
# resource path
|
|
1228
|
+
local_var_path = '/teams/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1229
|
+
|
|
1230
|
+
# query parameters
|
|
1231
|
+
query_params = opts[:query_params] || {}
|
|
1232
|
+
|
|
1233
|
+
# header parameters
|
|
1234
|
+
header_params = opts[:header_params] || {}
|
|
1235
|
+
# HTTP header 'Accept' (if needed)
|
|
1236
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1237
|
+
|
|
1238
|
+
# form parameters
|
|
1239
|
+
form_params = opts[:form_params] || {}
|
|
1240
|
+
|
|
1241
|
+
# http body (model)
|
|
1242
|
+
post_body = opts[:debug_body]
|
|
1243
|
+
|
|
1244
|
+
# return_type
|
|
1245
|
+
return_type = opts[:debug_return_type] || 'Team'
|
|
1246
|
+
|
|
1247
|
+
# auth_names
|
|
1248
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1249
|
+
|
|
1250
|
+
new_options = opts.merge(
|
|
1251
|
+
:operation => :"PlatformApi.get_team",
|
|
1252
|
+
:header_params => header_params,
|
|
1253
|
+
:query_params => query_params,
|
|
1254
|
+
:form_params => form_params,
|
|
1255
|
+
:body => post_body,
|
|
1256
|
+
:auth_names => auth_names,
|
|
1257
|
+
:return_type => return_type
|
|
1258
|
+
)
|
|
1259
|
+
|
|
1260
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1261
|
+
if @api_client.config.debugging
|
|
1262
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_team\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1263
|
+
end
|
|
1264
|
+
return data, status_code, headers
|
|
1265
|
+
end
|
|
1266
|
+
|
|
1267
|
+
# Retrieve a Delivery
|
|
1268
|
+
# @param id [Integer] Delivery ID
|
|
1269
|
+
# @param [Hash] opts the optional parameters
|
|
1270
|
+
# @return [WebhooksOutgoingDelivery]
|
|
1271
|
+
def get_webhooks_outgoing_delivery(id, opts = {})
|
|
1272
|
+
data, _status_code, _headers = get_webhooks_outgoing_delivery_with_http_info(id, opts)
|
|
1273
|
+
data
|
|
1274
|
+
end
|
|
1275
|
+
|
|
1276
|
+
# Retrieve a Delivery
|
|
1277
|
+
# @param id [Integer] Delivery ID
|
|
1278
|
+
# @param [Hash] opts the optional parameters
|
|
1279
|
+
# @return [Array<(WebhooksOutgoingDelivery, Integer, Hash)>] WebhooksOutgoingDelivery data, response status code and response headers
|
|
1280
|
+
def get_webhooks_outgoing_delivery_with_http_info(id, opts = {})
|
|
1281
|
+
if @api_client.config.debugging
|
|
1282
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_webhooks_outgoing_delivery ...'
|
|
1283
|
+
end
|
|
1284
|
+
# verify the required parameter 'id' is set
|
|
1285
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1286
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_webhooks_outgoing_delivery"
|
|
1287
|
+
end
|
|
1288
|
+
# resource path
|
|
1289
|
+
local_var_path = '/webhooks/outgoing/deliveries/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1290
|
+
|
|
1291
|
+
# query parameters
|
|
1292
|
+
query_params = opts[:query_params] || {}
|
|
1293
|
+
|
|
1294
|
+
# header parameters
|
|
1295
|
+
header_params = opts[:header_params] || {}
|
|
1296
|
+
# HTTP header 'Accept' (if needed)
|
|
1297
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1298
|
+
|
|
1299
|
+
# form parameters
|
|
1300
|
+
form_params = opts[:form_params] || {}
|
|
1301
|
+
|
|
1302
|
+
# http body (model)
|
|
1303
|
+
post_body = opts[:debug_body]
|
|
1304
|
+
|
|
1305
|
+
# return_type
|
|
1306
|
+
return_type = opts[:debug_return_type] || 'WebhooksOutgoingDelivery'
|
|
1307
|
+
|
|
1308
|
+
# auth_names
|
|
1309
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1310
|
+
|
|
1311
|
+
new_options = opts.merge(
|
|
1312
|
+
:operation => :"PlatformApi.get_webhooks_outgoing_delivery",
|
|
1313
|
+
:header_params => header_params,
|
|
1314
|
+
:query_params => query_params,
|
|
1315
|
+
:form_params => form_params,
|
|
1316
|
+
:body => post_body,
|
|
1317
|
+
:auth_names => auth_names,
|
|
1318
|
+
:return_type => return_type
|
|
1319
|
+
)
|
|
1320
|
+
|
|
1321
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1322
|
+
if @api_client.config.debugging
|
|
1323
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_webhooks_outgoing_delivery\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1324
|
+
end
|
|
1325
|
+
return data, status_code, headers
|
|
1326
|
+
end
|
|
1327
|
+
|
|
1328
|
+
# Retrieve a Delivery Attempt
|
|
1329
|
+
# @param id [Integer] Delivery Attempt ID
|
|
1330
|
+
# @param [Hash] opts the optional parameters
|
|
1331
|
+
# @return [WebhooksOutgoingDeliveryAttempt]
|
|
1332
|
+
def get_webhooks_outgoing_delivery_attempt(id, opts = {})
|
|
1333
|
+
data, _status_code, _headers = get_webhooks_outgoing_delivery_attempt_with_http_info(id, opts)
|
|
1334
|
+
data
|
|
1335
|
+
end
|
|
1336
|
+
|
|
1337
|
+
# Retrieve a Delivery Attempt
|
|
1338
|
+
# @param id [Integer] Delivery Attempt ID
|
|
1339
|
+
# @param [Hash] opts the optional parameters
|
|
1340
|
+
# @return [Array<(WebhooksOutgoingDeliveryAttempt, Integer, Hash)>] WebhooksOutgoingDeliveryAttempt data, response status code and response headers
|
|
1341
|
+
def get_webhooks_outgoing_delivery_attempt_with_http_info(id, opts = {})
|
|
1342
|
+
if @api_client.config.debugging
|
|
1343
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_webhooks_outgoing_delivery_attempt ...'
|
|
1344
|
+
end
|
|
1345
|
+
# verify the required parameter 'id' is set
|
|
1346
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1347
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_webhooks_outgoing_delivery_attempt"
|
|
1348
|
+
end
|
|
1349
|
+
# resource path
|
|
1350
|
+
local_var_path = '/webhooks/outgoing/delivery_attempts/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1351
|
+
|
|
1352
|
+
# query parameters
|
|
1353
|
+
query_params = opts[:query_params] || {}
|
|
1354
|
+
|
|
1355
|
+
# header parameters
|
|
1356
|
+
header_params = opts[:header_params] || {}
|
|
1357
|
+
# HTTP header 'Accept' (if needed)
|
|
1358
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1359
|
+
|
|
1360
|
+
# form parameters
|
|
1361
|
+
form_params = opts[:form_params] || {}
|
|
1362
|
+
|
|
1363
|
+
# http body (model)
|
|
1364
|
+
post_body = opts[:debug_body]
|
|
1365
|
+
|
|
1366
|
+
# return_type
|
|
1367
|
+
return_type = opts[:debug_return_type] || 'WebhooksOutgoingDeliveryAttempt'
|
|
1368
|
+
|
|
1369
|
+
# auth_names
|
|
1370
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1371
|
+
|
|
1372
|
+
new_options = opts.merge(
|
|
1373
|
+
:operation => :"PlatformApi.get_webhooks_outgoing_delivery_attempt",
|
|
1374
|
+
:header_params => header_params,
|
|
1375
|
+
:query_params => query_params,
|
|
1376
|
+
:form_params => form_params,
|
|
1377
|
+
:body => post_body,
|
|
1378
|
+
:auth_names => auth_names,
|
|
1379
|
+
:return_type => return_type
|
|
1380
|
+
)
|
|
1381
|
+
|
|
1382
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1383
|
+
if @api_client.config.debugging
|
|
1384
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_webhooks_outgoing_delivery_attempt\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1385
|
+
end
|
|
1386
|
+
return data, status_code, headers
|
|
1387
|
+
end
|
|
1388
|
+
|
|
1389
|
+
# Retrieve a Endpoint
|
|
1390
|
+
# @param id [Integer] Endpoint ID
|
|
1391
|
+
# @param [Hash] opts the optional parameters
|
|
1392
|
+
# @return [WebhooksOutgoingEndpoint]
|
|
1393
|
+
def get_webhooks_outgoing_endpoint(id, opts = {})
|
|
1394
|
+
data, _status_code, _headers = get_webhooks_outgoing_endpoint_with_http_info(id, opts)
|
|
1395
|
+
data
|
|
1396
|
+
end
|
|
1397
|
+
|
|
1398
|
+
# Retrieve a Endpoint
|
|
1399
|
+
# @param id [Integer] Endpoint ID
|
|
1400
|
+
# @param [Hash] opts the optional parameters
|
|
1401
|
+
# @return [Array<(WebhooksOutgoingEndpoint, Integer, Hash)>] WebhooksOutgoingEndpoint data, response status code and response headers
|
|
1402
|
+
def get_webhooks_outgoing_endpoint_with_http_info(id, opts = {})
|
|
1403
|
+
if @api_client.config.debugging
|
|
1404
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.get_webhooks_outgoing_endpoint ...'
|
|
1405
|
+
end
|
|
1406
|
+
# verify the required parameter 'id' is set
|
|
1407
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
1408
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.get_webhooks_outgoing_endpoint"
|
|
1409
|
+
end
|
|
1410
|
+
# resource path
|
|
1411
|
+
local_var_path = '/webhooks/outgoing/endpoints/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
1412
|
+
|
|
1413
|
+
# query parameters
|
|
1414
|
+
query_params = opts[:query_params] || {}
|
|
1415
|
+
|
|
1416
|
+
# header parameters
|
|
1417
|
+
header_params = opts[:header_params] || {}
|
|
1418
|
+
# HTTP header 'Accept' (if needed)
|
|
1419
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1420
|
+
|
|
1421
|
+
# form parameters
|
|
1422
|
+
form_params = opts[:form_params] || {}
|
|
1423
|
+
|
|
1424
|
+
# http body (model)
|
|
1425
|
+
post_body = opts[:debug_body]
|
|
1426
|
+
|
|
1427
|
+
# return_type
|
|
1428
|
+
return_type = opts[:debug_return_type] || 'WebhooksOutgoingEndpoint'
|
|
1429
|
+
|
|
1430
|
+
# auth_names
|
|
1431
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1432
|
+
|
|
1433
|
+
new_options = opts.merge(
|
|
1434
|
+
:operation => :"PlatformApi.get_webhooks_outgoing_endpoint",
|
|
1435
|
+
:header_params => header_params,
|
|
1436
|
+
:query_params => query_params,
|
|
1437
|
+
:form_params => form_params,
|
|
1438
|
+
:body => post_body,
|
|
1439
|
+
:auth_names => auth_names,
|
|
1440
|
+
:return_type => return_type
|
|
1441
|
+
)
|
|
1442
|
+
|
|
1443
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1444
|
+
if @api_client.config.debugging
|
|
1445
|
+
@api_client.config.logger.debug "API called: PlatformApi#get_webhooks_outgoing_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1446
|
+
end
|
|
1447
|
+
return data, status_code, headers
|
|
1448
|
+
end
|
|
1449
|
+
|
|
1450
|
+
# List Goals
|
|
1451
|
+
# @param project_id [Integer] Project ID
|
|
1452
|
+
# @param [Hash] opts the optional parameters
|
|
1453
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1454
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1455
|
+
# @return [Array<Goal>]
|
|
1456
|
+
def list_goals(project_id, opts = {})
|
|
1457
|
+
data, _status_code, _headers = list_goals_with_http_info(project_id, opts)
|
|
1458
|
+
data
|
|
1459
|
+
end
|
|
1460
|
+
|
|
1461
|
+
# List Goals
|
|
1462
|
+
# @param project_id [Integer] Project ID
|
|
1463
|
+
# @param [Hash] opts the optional parameters
|
|
1464
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1465
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1466
|
+
# @return [Array<(Array<Goal>, Integer, Hash)>] Array<Goal> data, response status code and response headers
|
|
1467
|
+
def list_goals_with_http_info(project_id, opts = {})
|
|
1468
|
+
if @api_client.config.debugging
|
|
1469
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_goals ...'
|
|
1470
|
+
end
|
|
1471
|
+
# verify the required parameter 'project_id' is set
|
|
1472
|
+
if @api_client.config.client_side_validation && project_id.nil?
|
|
1473
|
+
fail ArgumentError, "Missing the required parameter 'project_id' when calling PlatformApi.list_goals"
|
|
1474
|
+
end
|
|
1475
|
+
# resource path
|
|
1476
|
+
local_var_path = '/projects/{project_id}/goals'.sub('{' + 'project_id' + '}', CGI.escape(project_id.to_s))
|
|
1477
|
+
|
|
1478
|
+
# query parameters
|
|
1479
|
+
query_params = opts[:query_params] || {}
|
|
1480
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1481
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1482
|
+
|
|
1483
|
+
# header parameters
|
|
1484
|
+
header_params = opts[:header_params] || {}
|
|
1485
|
+
# HTTP header 'Accept' (if needed)
|
|
1486
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1487
|
+
|
|
1488
|
+
# form parameters
|
|
1489
|
+
form_params = opts[:form_params] || {}
|
|
1490
|
+
|
|
1491
|
+
# http body (model)
|
|
1492
|
+
post_body = opts[:debug_body]
|
|
1493
|
+
|
|
1494
|
+
# return_type
|
|
1495
|
+
return_type = opts[:debug_return_type] || 'Array<Goal>'
|
|
1496
|
+
|
|
1497
|
+
# auth_names
|
|
1498
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1499
|
+
|
|
1500
|
+
new_options = opts.merge(
|
|
1501
|
+
:operation => :"PlatformApi.list_goals",
|
|
1502
|
+
:header_params => header_params,
|
|
1503
|
+
:query_params => query_params,
|
|
1504
|
+
:form_params => form_params,
|
|
1505
|
+
:body => post_body,
|
|
1506
|
+
:auth_names => auth_names,
|
|
1507
|
+
:return_type => return_type
|
|
1508
|
+
)
|
|
1509
|
+
|
|
1510
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1511
|
+
if @api_client.config.debugging
|
|
1512
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_goals\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1513
|
+
end
|
|
1514
|
+
return data, status_code, headers
|
|
1515
|
+
end
|
|
1516
|
+
|
|
1517
|
+
# List Projects
|
|
1518
|
+
# @param team_id [Integer] Team ID
|
|
1519
|
+
# @param [Hash] opts the optional parameters
|
|
1520
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1521
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1522
|
+
# @return [Array<Project>]
|
|
1523
|
+
def list_projects(team_id, opts = {})
|
|
1524
|
+
data, _status_code, _headers = list_projects_with_http_info(team_id, opts)
|
|
1525
|
+
data
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
# List Projects
|
|
1529
|
+
# @param team_id [Integer] Team ID
|
|
1530
|
+
# @param [Hash] opts the optional parameters
|
|
1531
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1532
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1533
|
+
# @return [Array<(Array<Project>, Integer, Hash)>] Array<Project> data, response status code and response headers
|
|
1534
|
+
def list_projects_with_http_info(team_id, opts = {})
|
|
1535
|
+
if @api_client.config.debugging
|
|
1536
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_projects ...'
|
|
1537
|
+
end
|
|
1538
|
+
# verify the required parameter 'team_id' is set
|
|
1539
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
1540
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.list_projects"
|
|
1541
|
+
end
|
|
1542
|
+
# resource path
|
|
1543
|
+
local_var_path = '/teams/{team_id}/projects'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
1544
|
+
|
|
1545
|
+
# query parameters
|
|
1546
|
+
query_params = opts[:query_params] || {}
|
|
1547
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1548
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1549
|
+
|
|
1550
|
+
# header parameters
|
|
1551
|
+
header_params = opts[:header_params] || {}
|
|
1552
|
+
# HTTP header 'Accept' (if needed)
|
|
1553
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1554
|
+
|
|
1555
|
+
# form parameters
|
|
1556
|
+
form_params = opts[:form_params] || {}
|
|
1557
|
+
|
|
1558
|
+
# http body (model)
|
|
1559
|
+
post_body = opts[:debug_body]
|
|
1560
|
+
|
|
1561
|
+
# return_type
|
|
1562
|
+
return_type = opts[:debug_return_type] || 'Array<Project>'
|
|
1563
|
+
|
|
1564
|
+
# auth_names
|
|
1565
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1566
|
+
|
|
1567
|
+
new_options = opts.merge(
|
|
1568
|
+
:operation => :"PlatformApi.list_projects",
|
|
1569
|
+
:header_params => header_params,
|
|
1570
|
+
:query_params => query_params,
|
|
1571
|
+
:form_params => form_params,
|
|
1572
|
+
:body => post_body,
|
|
1573
|
+
:auth_names => auth_names,
|
|
1574
|
+
:return_type => return_type
|
|
1575
|
+
)
|
|
1576
|
+
|
|
1577
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1578
|
+
if @api_client.config.debugging
|
|
1579
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_projects\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1580
|
+
end
|
|
1581
|
+
return data, status_code, headers
|
|
1582
|
+
end
|
|
1583
|
+
|
|
1584
|
+
# List Tags
|
|
1585
|
+
# @param team_id [Integer] Team ID
|
|
1586
|
+
# @param [Hash] opts the optional parameters
|
|
1587
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1588
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1589
|
+
# @return [Array<ProjectsTag>]
|
|
1590
|
+
def list_projects_tags(team_id, opts = {})
|
|
1591
|
+
data, _status_code, _headers = list_projects_tags_with_http_info(team_id, opts)
|
|
1592
|
+
data
|
|
1593
|
+
end
|
|
1594
|
+
|
|
1595
|
+
# List Tags
|
|
1596
|
+
# @param team_id [Integer] Team ID
|
|
1597
|
+
# @param [Hash] opts the optional parameters
|
|
1598
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1599
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1600
|
+
# @return [Array<(Array<ProjectsTag>, Integer, Hash)>] Array<ProjectsTag> data, response status code and response headers
|
|
1601
|
+
def list_projects_tags_with_http_info(team_id, opts = {})
|
|
1602
|
+
if @api_client.config.debugging
|
|
1603
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_projects_tags ...'
|
|
1604
|
+
end
|
|
1605
|
+
# verify the required parameter 'team_id' is set
|
|
1606
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
1607
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.list_projects_tags"
|
|
1608
|
+
end
|
|
1609
|
+
# resource path
|
|
1610
|
+
local_var_path = '/teams/{team_id}/projects/tags'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
1611
|
+
|
|
1612
|
+
# query parameters
|
|
1613
|
+
query_params = opts[:query_params] || {}
|
|
1614
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1615
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1616
|
+
|
|
1617
|
+
# header parameters
|
|
1618
|
+
header_params = opts[:header_params] || {}
|
|
1619
|
+
# HTTP header 'Accept' (if needed)
|
|
1620
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1621
|
+
|
|
1622
|
+
# form parameters
|
|
1623
|
+
form_params = opts[:form_params] || {}
|
|
1624
|
+
|
|
1625
|
+
# http body (model)
|
|
1626
|
+
post_body = opts[:debug_body]
|
|
1627
|
+
|
|
1628
|
+
# return_type
|
|
1629
|
+
return_type = opts[:debug_return_type] || 'Array<ProjectsTag>'
|
|
1630
|
+
|
|
1631
|
+
# auth_names
|
|
1632
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1633
|
+
|
|
1634
|
+
new_options = opts.merge(
|
|
1635
|
+
:operation => :"PlatformApi.list_projects_tags",
|
|
1636
|
+
:header_params => header_params,
|
|
1637
|
+
:query_params => query_params,
|
|
1638
|
+
:form_params => form_params,
|
|
1639
|
+
:body => post_body,
|
|
1640
|
+
:auth_names => auth_names,
|
|
1641
|
+
:return_type => return_type
|
|
1642
|
+
)
|
|
1643
|
+
|
|
1644
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1645
|
+
if @api_client.config.debugging
|
|
1646
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_projects_tags\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1647
|
+
end
|
|
1648
|
+
return data, status_code, headers
|
|
1649
|
+
end
|
|
1650
|
+
|
|
1651
|
+
# List Creative Concepts
|
|
1652
|
+
# @param team_id [Integer] Team ID
|
|
1653
|
+
# @param [Hash] opts the optional parameters
|
|
1654
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1655
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1656
|
+
# @return [Array<ScaffoldingAbsolutelyAbstractCreativeConcept>]
|
|
1657
|
+
def list_scaffolding_absolutely_abstract_creative_concepts(team_id, opts = {})
|
|
1658
|
+
data, _status_code, _headers = list_scaffolding_absolutely_abstract_creative_concepts_with_http_info(team_id, opts)
|
|
1659
|
+
data
|
|
1660
|
+
end
|
|
1661
|
+
|
|
1662
|
+
# List Creative Concepts
|
|
1663
|
+
# @param team_id [Integer] Team ID
|
|
1664
|
+
# @param [Hash] opts the optional parameters
|
|
1665
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1666
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1667
|
+
# @return [Array<(Array<ScaffoldingAbsolutelyAbstractCreativeConcept>, Integer, Hash)>] Array<ScaffoldingAbsolutelyAbstractCreativeConcept> data, response status code and response headers
|
|
1668
|
+
def list_scaffolding_absolutely_abstract_creative_concepts_with_http_info(team_id, opts = {})
|
|
1669
|
+
if @api_client.config.debugging
|
|
1670
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_scaffolding_absolutely_abstract_creative_concepts ...'
|
|
1671
|
+
end
|
|
1672
|
+
# verify the required parameter 'team_id' is set
|
|
1673
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
1674
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.list_scaffolding_absolutely_abstract_creative_concepts"
|
|
1675
|
+
end
|
|
1676
|
+
# resource path
|
|
1677
|
+
local_var_path = '/teams/{team_id}/scaffolding/absolutely_abstract/creative_concepts'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
1678
|
+
|
|
1679
|
+
# query parameters
|
|
1680
|
+
query_params = opts[:query_params] || {}
|
|
1681
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1682
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1683
|
+
|
|
1684
|
+
# header parameters
|
|
1685
|
+
header_params = opts[:header_params] || {}
|
|
1686
|
+
# HTTP header 'Accept' (if needed)
|
|
1687
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1688
|
+
|
|
1689
|
+
# form parameters
|
|
1690
|
+
form_params = opts[:form_params] || {}
|
|
1691
|
+
|
|
1692
|
+
# http body (model)
|
|
1693
|
+
post_body = opts[:debug_body]
|
|
1694
|
+
|
|
1695
|
+
# return_type
|
|
1696
|
+
return_type = opts[:debug_return_type] || 'Array<ScaffoldingAbsolutelyAbstractCreativeConcept>'
|
|
1697
|
+
|
|
1698
|
+
# auth_names
|
|
1699
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1700
|
+
|
|
1701
|
+
new_options = opts.merge(
|
|
1702
|
+
:operation => :"PlatformApi.list_scaffolding_absolutely_abstract_creative_concepts",
|
|
1703
|
+
:header_params => header_params,
|
|
1704
|
+
:query_params => query_params,
|
|
1705
|
+
:form_params => form_params,
|
|
1706
|
+
:body => post_body,
|
|
1707
|
+
:auth_names => auth_names,
|
|
1708
|
+
:return_type => return_type
|
|
1709
|
+
)
|
|
1710
|
+
|
|
1711
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1712
|
+
if @api_client.config.debugging
|
|
1713
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_scaffolding_absolutely_abstract_creative_concepts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1714
|
+
end
|
|
1715
|
+
return data, status_code, headers
|
|
1716
|
+
end
|
|
1717
|
+
|
|
1718
|
+
# List Tangible Things
|
|
1719
|
+
# @param absolutely_abstract_creative_concept_id [Integer] Creative Concept ID
|
|
1720
|
+
# @param [Hash] opts the optional parameters
|
|
1721
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1722
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1723
|
+
# @return [Array<ScaffoldingCompletelyConcreteTangibleThing>]
|
|
1724
|
+
def list_scaffolding_completely_concrete_tangible_things(absolutely_abstract_creative_concept_id, opts = {})
|
|
1725
|
+
data, _status_code, _headers = list_scaffolding_completely_concrete_tangible_things_with_http_info(absolutely_abstract_creative_concept_id, opts)
|
|
1726
|
+
data
|
|
1727
|
+
end
|
|
1728
|
+
|
|
1729
|
+
# List Tangible Things
|
|
1730
|
+
# @param absolutely_abstract_creative_concept_id [Integer] Creative Concept ID
|
|
1731
|
+
# @param [Hash] opts the optional parameters
|
|
1732
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1733
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1734
|
+
# @return [Array<(Array<ScaffoldingCompletelyConcreteTangibleThing>, Integer, Hash)>] Array<ScaffoldingCompletelyConcreteTangibleThing> data, response status code and response headers
|
|
1735
|
+
def list_scaffolding_completely_concrete_tangible_things_with_http_info(absolutely_abstract_creative_concept_id, opts = {})
|
|
1736
|
+
if @api_client.config.debugging
|
|
1737
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_scaffolding_completely_concrete_tangible_things ...'
|
|
1738
|
+
end
|
|
1739
|
+
# verify the required parameter 'absolutely_abstract_creative_concept_id' is set
|
|
1740
|
+
if @api_client.config.client_side_validation && absolutely_abstract_creative_concept_id.nil?
|
|
1741
|
+
fail ArgumentError, "Missing the required parameter 'absolutely_abstract_creative_concept_id' when calling PlatformApi.list_scaffolding_completely_concrete_tangible_things"
|
|
1742
|
+
end
|
|
1743
|
+
# resource path
|
|
1744
|
+
local_var_path = '/scaffolding/absolutely_abstract/creative_concepts/{absolutely_abstract_creative_concept_id}/completely_concrete/tangible_things'.sub('{' + 'absolutely_abstract_creative_concept_id' + '}', CGI.escape(absolutely_abstract_creative_concept_id.to_s))
|
|
1745
|
+
|
|
1746
|
+
# query parameters
|
|
1747
|
+
query_params = opts[:query_params] || {}
|
|
1748
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1749
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1750
|
+
|
|
1751
|
+
# header parameters
|
|
1752
|
+
header_params = opts[:header_params] || {}
|
|
1753
|
+
# HTTP header 'Accept' (if needed)
|
|
1754
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1755
|
+
|
|
1756
|
+
# form parameters
|
|
1757
|
+
form_params = opts[:form_params] || {}
|
|
1758
|
+
|
|
1759
|
+
# http body (model)
|
|
1760
|
+
post_body = opts[:debug_body]
|
|
1761
|
+
|
|
1762
|
+
# return_type
|
|
1763
|
+
return_type = opts[:debug_return_type] || 'Array<ScaffoldingCompletelyConcreteTangibleThing>'
|
|
1764
|
+
|
|
1765
|
+
# auth_names
|
|
1766
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1767
|
+
|
|
1768
|
+
new_options = opts.merge(
|
|
1769
|
+
:operation => :"PlatformApi.list_scaffolding_completely_concrete_tangible_things",
|
|
1770
|
+
:header_params => header_params,
|
|
1771
|
+
:query_params => query_params,
|
|
1772
|
+
:form_params => form_params,
|
|
1773
|
+
:body => post_body,
|
|
1774
|
+
:auth_names => auth_names,
|
|
1775
|
+
:return_type => return_type
|
|
1776
|
+
)
|
|
1777
|
+
|
|
1778
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1779
|
+
if @api_client.config.debugging
|
|
1780
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_scaffolding_completely_concrete_tangible_things\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1781
|
+
end
|
|
1782
|
+
return data, status_code, headers
|
|
1783
|
+
end
|
|
1784
|
+
|
|
1785
|
+
# List Teams
|
|
1786
|
+
# @param [Hash] opts the optional parameters
|
|
1787
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1788
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1789
|
+
# @return [Array<Team>]
|
|
1790
|
+
def list_teams(opts = {})
|
|
1791
|
+
data, _status_code, _headers = list_teams_with_http_info(opts)
|
|
1792
|
+
data
|
|
1793
|
+
end
|
|
1794
|
+
|
|
1795
|
+
# List Teams
|
|
1796
|
+
# @param [Hash] opts the optional parameters
|
|
1797
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1798
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1799
|
+
# @return [Array<(Array<Team>, Integer, Hash)>] Array<Team> data, response status code and response headers
|
|
1800
|
+
def list_teams_with_http_info(opts = {})
|
|
1801
|
+
if @api_client.config.debugging
|
|
1802
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_teams ...'
|
|
1803
|
+
end
|
|
1804
|
+
# resource path
|
|
1805
|
+
local_var_path = '/teams'
|
|
1806
|
+
|
|
1807
|
+
# query parameters
|
|
1808
|
+
query_params = opts[:query_params] || {}
|
|
1809
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1810
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1811
|
+
|
|
1812
|
+
# header parameters
|
|
1813
|
+
header_params = opts[:header_params] || {}
|
|
1814
|
+
# HTTP header 'Accept' (if needed)
|
|
1815
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1816
|
+
|
|
1817
|
+
# form parameters
|
|
1818
|
+
form_params = opts[:form_params] || {}
|
|
1819
|
+
|
|
1820
|
+
# http body (model)
|
|
1821
|
+
post_body = opts[:debug_body]
|
|
1822
|
+
|
|
1823
|
+
# return_type
|
|
1824
|
+
return_type = opts[:debug_return_type] || 'Array<Team>'
|
|
1825
|
+
|
|
1826
|
+
# auth_names
|
|
1827
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1828
|
+
|
|
1829
|
+
new_options = opts.merge(
|
|
1830
|
+
:operation => :"PlatformApi.list_teams",
|
|
1831
|
+
:header_params => header_params,
|
|
1832
|
+
:query_params => query_params,
|
|
1833
|
+
:form_params => form_params,
|
|
1834
|
+
:body => post_body,
|
|
1835
|
+
:auth_names => auth_names,
|
|
1836
|
+
:return_type => return_type
|
|
1837
|
+
)
|
|
1838
|
+
|
|
1839
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1840
|
+
if @api_client.config.debugging
|
|
1841
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_teams\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1842
|
+
end
|
|
1843
|
+
return data, status_code, headers
|
|
1844
|
+
end
|
|
1845
|
+
|
|
1846
|
+
# List Delivery Attempts
|
|
1847
|
+
# @param delivery_id [Integer] Delivery ID
|
|
1848
|
+
# @param [Hash] opts the optional parameters
|
|
1849
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1850
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1851
|
+
# @return [Array<WebhooksOutgoingDeliveryAttempt>]
|
|
1852
|
+
def list_webhooks_outgoing_delivery_attempts(delivery_id, opts = {})
|
|
1853
|
+
data, _status_code, _headers = list_webhooks_outgoing_delivery_attempts_with_http_info(delivery_id, opts)
|
|
1854
|
+
data
|
|
1855
|
+
end
|
|
1856
|
+
|
|
1857
|
+
# List Delivery Attempts
|
|
1858
|
+
# @param delivery_id [Integer] Delivery ID
|
|
1859
|
+
# @param [Hash] opts the optional parameters
|
|
1860
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1861
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1862
|
+
# @return [Array<(Array<WebhooksOutgoingDeliveryAttempt>, Integer, Hash)>] Array<WebhooksOutgoingDeliveryAttempt> data, response status code and response headers
|
|
1863
|
+
def list_webhooks_outgoing_delivery_attempts_with_http_info(delivery_id, opts = {})
|
|
1864
|
+
if @api_client.config.debugging
|
|
1865
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_webhooks_outgoing_delivery_attempts ...'
|
|
1866
|
+
end
|
|
1867
|
+
# verify the required parameter 'delivery_id' is set
|
|
1868
|
+
if @api_client.config.client_side_validation && delivery_id.nil?
|
|
1869
|
+
fail ArgumentError, "Missing the required parameter 'delivery_id' when calling PlatformApi.list_webhooks_outgoing_delivery_attempts"
|
|
1870
|
+
end
|
|
1871
|
+
# resource path
|
|
1872
|
+
local_var_path = '/webhooks/outgoing/deliveries/{delivery_id}/delivery_attempts'.sub('{' + 'delivery_id' + '}', CGI.escape(delivery_id.to_s))
|
|
1873
|
+
|
|
1874
|
+
# query parameters
|
|
1875
|
+
query_params = opts[:query_params] || {}
|
|
1876
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1877
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1878
|
+
|
|
1879
|
+
# header parameters
|
|
1880
|
+
header_params = opts[:header_params] || {}
|
|
1881
|
+
# HTTP header 'Accept' (if needed)
|
|
1882
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1883
|
+
|
|
1884
|
+
# form parameters
|
|
1885
|
+
form_params = opts[:form_params] || {}
|
|
1886
|
+
|
|
1887
|
+
# http body (model)
|
|
1888
|
+
post_body = opts[:debug_body]
|
|
1889
|
+
|
|
1890
|
+
# return_type
|
|
1891
|
+
return_type = opts[:debug_return_type] || 'Array<WebhooksOutgoingDeliveryAttempt>'
|
|
1892
|
+
|
|
1893
|
+
# auth_names
|
|
1894
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1895
|
+
|
|
1896
|
+
new_options = opts.merge(
|
|
1897
|
+
:operation => :"PlatformApi.list_webhooks_outgoing_delivery_attempts",
|
|
1898
|
+
:header_params => header_params,
|
|
1899
|
+
:query_params => query_params,
|
|
1900
|
+
:form_params => form_params,
|
|
1901
|
+
:body => post_body,
|
|
1902
|
+
:auth_names => auth_names,
|
|
1903
|
+
:return_type => return_type
|
|
1904
|
+
)
|
|
1905
|
+
|
|
1906
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1907
|
+
if @api_client.config.debugging
|
|
1908
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_webhooks_outgoing_delivery_attempts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1909
|
+
end
|
|
1910
|
+
return data, status_code, headers
|
|
1911
|
+
end
|
|
1912
|
+
|
|
1913
|
+
# List Deliveries
|
|
1914
|
+
# @param endpoint_id [Integer] Endpoint ID
|
|
1915
|
+
# @param [Hash] opts the optional parameters
|
|
1916
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1917
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1918
|
+
# @return [Array<WebhooksOutgoingDelivery>]
|
|
1919
|
+
def list_webhooks_outgoing_deliverys(endpoint_id, opts = {})
|
|
1920
|
+
data, _status_code, _headers = list_webhooks_outgoing_deliverys_with_http_info(endpoint_id, opts)
|
|
1921
|
+
data
|
|
1922
|
+
end
|
|
1923
|
+
|
|
1924
|
+
# List Deliveries
|
|
1925
|
+
# @param endpoint_id [Integer] Endpoint ID
|
|
1926
|
+
# @param [Hash] opts the optional parameters
|
|
1927
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1928
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1929
|
+
# @return [Array<(Array<WebhooksOutgoingDelivery>, Integer, Hash)>] Array<WebhooksOutgoingDelivery> data, response status code and response headers
|
|
1930
|
+
def list_webhooks_outgoing_deliverys_with_http_info(endpoint_id, opts = {})
|
|
1931
|
+
if @api_client.config.debugging
|
|
1932
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_webhooks_outgoing_deliverys ...'
|
|
1933
|
+
end
|
|
1934
|
+
# verify the required parameter 'endpoint_id' is set
|
|
1935
|
+
if @api_client.config.client_side_validation && endpoint_id.nil?
|
|
1936
|
+
fail ArgumentError, "Missing the required parameter 'endpoint_id' when calling PlatformApi.list_webhooks_outgoing_deliverys"
|
|
1937
|
+
end
|
|
1938
|
+
# resource path
|
|
1939
|
+
local_var_path = '/webhooks/outgoing/endpoints/{endpoint_id}/deliveries'.sub('{' + 'endpoint_id' + '}', CGI.escape(endpoint_id.to_s))
|
|
1940
|
+
|
|
1941
|
+
# query parameters
|
|
1942
|
+
query_params = opts[:query_params] || {}
|
|
1943
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
1944
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
1945
|
+
|
|
1946
|
+
# header parameters
|
|
1947
|
+
header_params = opts[:header_params] || {}
|
|
1948
|
+
# HTTP header 'Accept' (if needed)
|
|
1949
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
1950
|
+
|
|
1951
|
+
# form parameters
|
|
1952
|
+
form_params = opts[:form_params] || {}
|
|
1953
|
+
|
|
1954
|
+
# http body (model)
|
|
1955
|
+
post_body = opts[:debug_body]
|
|
1956
|
+
|
|
1957
|
+
# return_type
|
|
1958
|
+
return_type = opts[:debug_return_type] || 'Array<WebhooksOutgoingDelivery>'
|
|
1959
|
+
|
|
1960
|
+
# auth_names
|
|
1961
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
1962
|
+
|
|
1963
|
+
new_options = opts.merge(
|
|
1964
|
+
:operation => :"PlatformApi.list_webhooks_outgoing_deliverys",
|
|
1965
|
+
:header_params => header_params,
|
|
1966
|
+
:query_params => query_params,
|
|
1967
|
+
:form_params => form_params,
|
|
1968
|
+
:body => post_body,
|
|
1969
|
+
:auth_names => auth_names,
|
|
1970
|
+
:return_type => return_type
|
|
1971
|
+
)
|
|
1972
|
+
|
|
1973
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
1974
|
+
if @api_client.config.debugging
|
|
1975
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_webhooks_outgoing_deliverys\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1976
|
+
end
|
|
1977
|
+
return data, status_code, headers
|
|
1978
|
+
end
|
|
1979
|
+
|
|
1980
|
+
# List Endpoints
|
|
1981
|
+
# @param team_id [Integer] Team ID
|
|
1982
|
+
# @param [Hash] opts the optional parameters
|
|
1983
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1984
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1985
|
+
# @return [Array<WebhooksOutgoingEndpoint>]
|
|
1986
|
+
def list_webhooks_outgoing_endpoints(team_id, opts = {})
|
|
1987
|
+
data, _status_code, _headers = list_webhooks_outgoing_endpoints_with_http_info(team_id, opts)
|
|
1988
|
+
data
|
|
1989
|
+
end
|
|
1990
|
+
|
|
1991
|
+
# List Endpoints
|
|
1992
|
+
# @param team_id [Integer] Team ID
|
|
1993
|
+
# @param [Hash] opts the optional parameters
|
|
1994
|
+
# @option opts [Integer] :page Page of results to fetch. (default to 1)
|
|
1995
|
+
# @option opts [Integer] :per_page Number of results to return per page. (default to 100)
|
|
1996
|
+
# @return [Array<(Array<WebhooksOutgoingEndpoint>, Integer, Hash)>] Array<WebhooksOutgoingEndpoint> data, response status code and response headers
|
|
1997
|
+
def list_webhooks_outgoing_endpoints_with_http_info(team_id, opts = {})
|
|
1998
|
+
if @api_client.config.debugging
|
|
1999
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.list_webhooks_outgoing_endpoints ...'
|
|
2000
|
+
end
|
|
2001
|
+
# verify the required parameter 'team_id' is set
|
|
2002
|
+
if @api_client.config.client_side_validation && team_id.nil?
|
|
2003
|
+
fail ArgumentError, "Missing the required parameter 'team_id' when calling PlatformApi.list_webhooks_outgoing_endpoints"
|
|
2004
|
+
end
|
|
2005
|
+
# resource path
|
|
2006
|
+
local_var_path = '/teams/{team_id}/webhooks/outgoing/endpoints'.sub('{' + 'team_id' + '}', CGI.escape(team_id.to_s))
|
|
2007
|
+
|
|
2008
|
+
# query parameters
|
|
2009
|
+
query_params = opts[:query_params] || {}
|
|
2010
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
|
2011
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
2012
|
+
|
|
2013
|
+
# header parameters
|
|
2014
|
+
header_params = opts[:header_params] || {}
|
|
2015
|
+
# HTTP header 'Accept' (if needed)
|
|
2016
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2017
|
+
|
|
2018
|
+
# form parameters
|
|
2019
|
+
form_params = opts[:form_params] || {}
|
|
2020
|
+
|
|
2021
|
+
# http body (model)
|
|
2022
|
+
post_body = opts[:debug_body]
|
|
2023
|
+
|
|
2024
|
+
# return_type
|
|
2025
|
+
return_type = opts[:debug_return_type] || 'Array<WebhooksOutgoingEndpoint>'
|
|
2026
|
+
|
|
2027
|
+
# auth_names
|
|
2028
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2029
|
+
|
|
2030
|
+
new_options = opts.merge(
|
|
2031
|
+
:operation => :"PlatformApi.list_webhooks_outgoing_endpoints",
|
|
2032
|
+
:header_params => header_params,
|
|
2033
|
+
:query_params => query_params,
|
|
2034
|
+
:form_params => form_params,
|
|
2035
|
+
:body => post_body,
|
|
2036
|
+
:auth_names => auth_names,
|
|
2037
|
+
:return_type => return_type
|
|
2038
|
+
)
|
|
2039
|
+
|
|
2040
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
2041
|
+
if @api_client.config.debugging
|
|
2042
|
+
@api_client.config.logger.debug "API called: PlatformApi#list_webhooks_outgoing_endpoints\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2043
|
+
end
|
|
2044
|
+
return data, status_code, headers
|
|
2045
|
+
end
|
|
2046
|
+
|
|
2047
|
+
# Update a Goal
|
|
2048
|
+
# @param id [Integer] Goal ID
|
|
2049
|
+
# @param [Hash] opts the optional parameters
|
|
2050
|
+
# @option opts [CreateGoalRequest] :create_goal_request
|
|
2051
|
+
# @return [Goal]
|
|
2052
|
+
def update_goal(id, opts = {})
|
|
2053
|
+
data, _status_code, _headers = update_goal_with_http_info(id, opts)
|
|
2054
|
+
data
|
|
2055
|
+
end
|
|
2056
|
+
|
|
2057
|
+
# Update a Goal
|
|
2058
|
+
# @param id [Integer] Goal ID
|
|
2059
|
+
# @param [Hash] opts the optional parameters
|
|
2060
|
+
# @option opts [CreateGoalRequest] :create_goal_request
|
|
2061
|
+
# @return [Array<(Goal, Integer, Hash)>] Goal data, response status code and response headers
|
|
2062
|
+
def update_goal_with_http_info(id, opts = {})
|
|
2063
|
+
if @api_client.config.debugging
|
|
2064
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_goal ...'
|
|
2065
|
+
end
|
|
2066
|
+
# verify the required parameter 'id' is set
|
|
2067
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2068
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_goal"
|
|
2069
|
+
end
|
|
2070
|
+
# resource path
|
|
2071
|
+
local_var_path = '/goals/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2072
|
+
|
|
2073
|
+
# query parameters
|
|
2074
|
+
query_params = opts[:query_params] || {}
|
|
2075
|
+
|
|
2076
|
+
# header parameters
|
|
2077
|
+
header_params = opts[:header_params] || {}
|
|
2078
|
+
# HTTP header 'Accept' (if needed)
|
|
2079
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2080
|
+
# HTTP header 'Content-Type'
|
|
2081
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2082
|
+
if !content_type.nil?
|
|
2083
|
+
header_params['Content-Type'] = content_type
|
|
2084
|
+
end
|
|
2085
|
+
|
|
2086
|
+
# form parameters
|
|
2087
|
+
form_params = opts[:form_params] || {}
|
|
2088
|
+
|
|
2089
|
+
# http body (model)
|
|
2090
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_goal_request'])
|
|
2091
|
+
|
|
2092
|
+
# return_type
|
|
2093
|
+
return_type = opts[:debug_return_type] || 'Goal'
|
|
2094
|
+
|
|
2095
|
+
# auth_names
|
|
2096
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2097
|
+
|
|
2098
|
+
new_options = opts.merge(
|
|
2099
|
+
:operation => :"PlatformApi.update_goal",
|
|
2100
|
+
:header_params => header_params,
|
|
2101
|
+
:query_params => query_params,
|
|
2102
|
+
:form_params => form_params,
|
|
2103
|
+
:body => post_body,
|
|
2104
|
+
:auth_names => auth_names,
|
|
2105
|
+
:return_type => return_type
|
|
2106
|
+
)
|
|
2107
|
+
|
|
2108
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2109
|
+
if @api_client.config.debugging
|
|
2110
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_goal\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2111
|
+
end
|
|
2112
|
+
return data, status_code, headers
|
|
2113
|
+
end
|
|
2114
|
+
|
|
2115
|
+
# Update a Project
|
|
2116
|
+
# @param id [Integer] Project ID
|
|
2117
|
+
# @param [Hash] opts the optional parameters
|
|
2118
|
+
# @option opts [CreateProjectRequest] :create_project_request
|
|
2119
|
+
# @return [Project]
|
|
2120
|
+
def update_project(id, opts = {})
|
|
2121
|
+
data, _status_code, _headers = update_project_with_http_info(id, opts)
|
|
2122
|
+
data
|
|
2123
|
+
end
|
|
2124
|
+
|
|
2125
|
+
# Update a Project
|
|
2126
|
+
# @param id [Integer] Project ID
|
|
2127
|
+
# @param [Hash] opts the optional parameters
|
|
2128
|
+
# @option opts [CreateProjectRequest] :create_project_request
|
|
2129
|
+
# @return [Array<(Project, Integer, Hash)>] Project data, response status code and response headers
|
|
2130
|
+
def update_project_with_http_info(id, opts = {})
|
|
2131
|
+
if @api_client.config.debugging
|
|
2132
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_project ...'
|
|
2133
|
+
end
|
|
2134
|
+
# verify the required parameter 'id' is set
|
|
2135
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2136
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_project"
|
|
2137
|
+
end
|
|
2138
|
+
# resource path
|
|
2139
|
+
local_var_path = '/projects/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2140
|
+
|
|
2141
|
+
# query parameters
|
|
2142
|
+
query_params = opts[:query_params] || {}
|
|
2143
|
+
|
|
2144
|
+
# header parameters
|
|
2145
|
+
header_params = opts[:header_params] || {}
|
|
2146
|
+
# HTTP header 'Accept' (if needed)
|
|
2147
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2148
|
+
# HTTP header 'Content-Type'
|
|
2149
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2150
|
+
if !content_type.nil?
|
|
2151
|
+
header_params['Content-Type'] = content_type
|
|
2152
|
+
end
|
|
2153
|
+
|
|
2154
|
+
# form parameters
|
|
2155
|
+
form_params = opts[:form_params] || {}
|
|
2156
|
+
|
|
2157
|
+
# http body (model)
|
|
2158
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_project_request'])
|
|
2159
|
+
|
|
2160
|
+
# return_type
|
|
2161
|
+
return_type = opts[:debug_return_type] || 'Project'
|
|
2162
|
+
|
|
2163
|
+
# auth_names
|
|
2164
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2165
|
+
|
|
2166
|
+
new_options = opts.merge(
|
|
2167
|
+
:operation => :"PlatformApi.update_project",
|
|
2168
|
+
:header_params => header_params,
|
|
2169
|
+
:query_params => query_params,
|
|
2170
|
+
:form_params => form_params,
|
|
2171
|
+
:body => post_body,
|
|
2172
|
+
:auth_names => auth_names,
|
|
2173
|
+
:return_type => return_type
|
|
2174
|
+
)
|
|
2175
|
+
|
|
2176
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2177
|
+
if @api_client.config.debugging
|
|
2178
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_project\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2179
|
+
end
|
|
2180
|
+
return data, status_code, headers
|
|
2181
|
+
end
|
|
2182
|
+
|
|
2183
|
+
# Update a Tag
|
|
2184
|
+
# @param id [Integer] Tag ID
|
|
2185
|
+
# @param [Hash] opts the optional parameters
|
|
2186
|
+
# @option opts [CreateProjectsTagRequest] :create_projects_tag_request
|
|
2187
|
+
# @return [ProjectsTag]
|
|
2188
|
+
def update_projects_tag(id, opts = {})
|
|
2189
|
+
data, _status_code, _headers = update_projects_tag_with_http_info(id, opts)
|
|
2190
|
+
data
|
|
2191
|
+
end
|
|
2192
|
+
|
|
2193
|
+
# Update a Tag
|
|
2194
|
+
# @param id [Integer] Tag ID
|
|
2195
|
+
# @param [Hash] opts the optional parameters
|
|
2196
|
+
# @option opts [CreateProjectsTagRequest] :create_projects_tag_request
|
|
2197
|
+
# @return [Array<(ProjectsTag, Integer, Hash)>] ProjectsTag data, response status code and response headers
|
|
2198
|
+
def update_projects_tag_with_http_info(id, opts = {})
|
|
2199
|
+
if @api_client.config.debugging
|
|
2200
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_projects_tag ...'
|
|
2201
|
+
end
|
|
2202
|
+
# verify the required parameter 'id' is set
|
|
2203
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2204
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_projects_tag"
|
|
2205
|
+
end
|
|
2206
|
+
# resource path
|
|
2207
|
+
local_var_path = '/projects/tags/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2208
|
+
|
|
2209
|
+
# query parameters
|
|
2210
|
+
query_params = opts[:query_params] || {}
|
|
2211
|
+
|
|
2212
|
+
# header parameters
|
|
2213
|
+
header_params = opts[:header_params] || {}
|
|
2214
|
+
# HTTP header 'Accept' (if needed)
|
|
2215
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2216
|
+
# HTTP header 'Content-Type'
|
|
2217
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2218
|
+
if !content_type.nil?
|
|
2219
|
+
header_params['Content-Type'] = content_type
|
|
2220
|
+
end
|
|
2221
|
+
|
|
2222
|
+
# form parameters
|
|
2223
|
+
form_params = opts[:form_params] || {}
|
|
2224
|
+
|
|
2225
|
+
# http body (model)
|
|
2226
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_projects_tag_request'])
|
|
2227
|
+
|
|
2228
|
+
# return_type
|
|
2229
|
+
return_type = opts[:debug_return_type] || 'ProjectsTag'
|
|
2230
|
+
|
|
2231
|
+
# auth_names
|
|
2232
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2233
|
+
|
|
2234
|
+
new_options = opts.merge(
|
|
2235
|
+
:operation => :"PlatformApi.update_projects_tag",
|
|
2236
|
+
:header_params => header_params,
|
|
2237
|
+
:query_params => query_params,
|
|
2238
|
+
:form_params => form_params,
|
|
2239
|
+
:body => post_body,
|
|
2240
|
+
:auth_names => auth_names,
|
|
2241
|
+
:return_type => return_type
|
|
2242
|
+
)
|
|
2243
|
+
|
|
2244
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2245
|
+
if @api_client.config.debugging
|
|
2246
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_projects_tag\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2247
|
+
end
|
|
2248
|
+
return data, status_code, headers
|
|
2249
|
+
end
|
|
2250
|
+
|
|
2251
|
+
# Update a Creative Concept
|
|
2252
|
+
# @param id [Integer] Creative Concept ID
|
|
2253
|
+
# @param [Hash] opts the optional parameters
|
|
2254
|
+
# @option opts [CreateScaffoldingAbsolutelyAbstractCreativeConceptRequest] :create_scaffolding_absolutely_abstract_creative_concept_request
|
|
2255
|
+
# @return [ScaffoldingAbsolutelyAbstractCreativeConcept]
|
|
2256
|
+
def update_scaffolding_absolutely_abstract_creative_concept(id, opts = {})
|
|
2257
|
+
data, _status_code, _headers = update_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts)
|
|
2258
|
+
data
|
|
2259
|
+
end
|
|
2260
|
+
|
|
2261
|
+
# Update a Creative Concept
|
|
2262
|
+
# @param id [Integer] Creative Concept ID
|
|
2263
|
+
# @param [Hash] opts the optional parameters
|
|
2264
|
+
# @option opts [CreateScaffoldingAbsolutelyAbstractCreativeConceptRequest] :create_scaffolding_absolutely_abstract_creative_concept_request
|
|
2265
|
+
# @return [Array<(ScaffoldingAbsolutelyAbstractCreativeConcept, Integer, Hash)>] ScaffoldingAbsolutelyAbstractCreativeConcept data, response status code and response headers
|
|
2266
|
+
def update_scaffolding_absolutely_abstract_creative_concept_with_http_info(id, opts = {})
|
|
2267
|
+
if @api_client.config.debugging
|
|
2268
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_scaffolding_absolutely_abstract_creative_concept ...'
|
|
2269
|
+
end
|
|
2270
|
+
# verify the required parameter 'id' is set
|
|
2271
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2272
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_scaffolding_absolutely_abstract_creative_concept"
|
|
2273
|
+
end
|
|
2274
|
+
# resource path
|
|
2275
|
+
local_var_path = '/scaffolding/absolutely_abstract/creative_concepts/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2276
|
+
|
|
2277
|
+
# query parameters
|
|
2278
|
+
query_params = opts[:query_params] || {}
|
|
2279
|
+
|
|
2280
|
+
# header parameters
|
|
2281
|
+
header_params = opts[:header_params] || {}
|
|
2282
|
+
# HTTP header 'Accept' (if needed)
|
|
2283
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2284
|
+
# HTTP header 'Content-Type'
|
|
2285
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2286
|
+
if !content_type.nil?
|
|
2287
|
+
header_params['Content-Type'] = content_type
|
|
2288
|
+
end
|
|
2289
|
+
|
|
2290
|
+
# form parameters
|
|
2291
|
+
form_params = opts[:form_params] || {}
|
|
2292
|
+
|
|
2293
|
+
# http body (model)
|
|
2294
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_scaffolding_absolutely_abstract_creative_concept_request'])
|
|
2295
|
+
|
|
2296
|
+
# return_type
|
|
2297
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingAbsolutelyAbstractCreativeConcept'
|
|
2298
|
+
|
|
2299
|
+
# auth_names
|
|
2300
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2301
|
+
|
|
2302
|
+
new_options = opts.merge(
|
|
2303
|
+
:operation => :"PlatformApi.update_scaffolding_absolutely_abstract_creative_concept",
|
|
2304
|
+
:header_params => header_params,
|
|
2305
|
+
:query_params => query_params,
|
|
2306
|
+
:form_params => form_params,
|
|
2307
|
+
:body => post_body,
|
|
2308
|
+
:auth_names => auth_names,
|
|
2309
|
+
:return_type => return_type
|
|
2310
|
+
)
|
|
2311
|
+
|
|
2312
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2313
|
+
if @api_client.config.debugging
|
|
2314
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_scaffolding_absolutely_abstract_creative_concept\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2315
|
+
end
|
|
2316
|
+
return data, status_code, headers
|
|
2317
|
+
end
|
|
2318
|
+
|
|
2319
|
+
# Update a Tangible Thing
|
|
2320
|
+
# @param id [Integer] Tangible Thing ID
|
|
2321
|
+
# @param [Hash] opts the optional parameters
|
|
2322
|
+
# @option opts [UpdateScaffoldingCompletelyConcreteTangibleThingRequest] :update_scaffolding_completely_concrete_tangible_thing_request
|
|
2323
|
+
# @return [ScaffoldingCompletelyConcreteTangibleThing]
|
|
2324
|
+
def update_scaffolding_completely_concrete_tangible_thing(id, opts = {})
|
|
2325
|
+
data, _status_code, _headers = update_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts)
|
|
2326
|
+
data
|
|
2327
|
+
end
|
|
2328
|
+
|
|
2329
|
+
# Update a Tangible Thing
|
|
2330
|
+
# @param id [Integer] Tangible Thing ID
|
|
2331
|
+
# @param [Hash] opts the optional parameters
|
|
2332
|
+
# @option opts [UpdateScaffoldingCompletelyConcreteTangibleThingRequest] :update_scaffolding_completely_concrete_tangible_thing_request
|
|
2333
|
+
# @return [Array<(ScaffoldingCompletelyConcreteTangibleThing, Integer, Hash)>] ScaffoldingCompletelyConcreteTangibleThing data, response status code and response headers
|
|
2334
|
+
def update_scaffolding_completely_concrete_tangible_thing_with_http_info(id, opts = {})
|
|
2335
|
+
if @api_client.config.debugging
|
|
2336
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_scaffolding_completely_concrete_tangible_thing ...'
|
|
2337
|
+
end
|
|
2338
|
+
# verify the required parameter 'id' is set
|
|
2339
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2340
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_scaffolding_completely_concrete_tangible_thing"
|
|
2341
|
+
end
|
|
2342
|
+
# resource path
|
|
2343
|
+
local_var_path = '/scaffolding/completely_concrete/tangible_things/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2344
|
+
|
|
2345
|
+
# query parameters
|
|
2346
|
+
query_params = opts[:query_params] || {}
|
|
2347
|
+
|
|
2348
|
+
# header parameters
|
|
2349
|
+
header_params = opts[:header_params] || {}
|
|
2350
|
+
# HTTP header 'Accept' (if needed)
|
|
2351
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2352
|
+
# HTTP header 'Content-Type'
|
|
2353
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2354
|
+
if !content_type.nil?
|
|
2355
|
+
header_params['Content-Type'] = content_type
|
|
2356
|
+
end
|
|
2357
|
+
|
|
2358
|
+
# form parameters
|
|
2359
|
+
form_params = opts[:form_params] || {}
|
|
2360
|
+
|
|
2361
|
+
# http body (model)
|
|
2362
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_scaffolding_completely_concrete_tangible_thing_request'])
|
|
2363
|
+
|
|
2364
|
+
# return_type
|
|
2365
|
+
return_type = opts[:debug_return_type] || 'ScaffoldingCompletelyConcreteTangibleThing'
|
|
2366
|
+
|
|
2367
|
+
# auth_names
|
|
2368
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2369
|
+
|
|
2370
|
+
new_options = opts.merge(
|
|
2371
|
+
:operation => :"PlatformApi.update_scaffolding_completely_concrete_tangible_thing",
|
|
2372
|
+
:header_params => header_params,
|
|
2373
|
+
:query_params => query_params,
|
|
2374
|
+
:form_params => form_params,
|
|
2375
|
+
:body => post_body,
|
|
2376
|
+
:auth_names => auth_names,
|
|
2377
|
+
:return_type => return_type
|
|
2378
|
+
)
|
|
2379
|
+
|
|
2380
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2381
|
+
if @api_client.config.debugging
|
|
2382
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_scaffolding_completely_concrete_tangible_thing\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2383
|
+
end
|
|
2384
|
+
return data, status_code, headers
|
|
2385
|
+
end
|
|
2386
|
+
|
|
2387
|
+
# Update a Team
|
|
2388
|
+
# @param id [Integer] Team ID
|
|
2389
|
+
# @param [Hash] opts the optional parameters
|
|
2390
|
+
# @option opts [CreateTeamRequest] :create_team_request
|
|
2391
|
+
# @return [Team]
|
|
2392
|
+
def update_team(id, opts = {})
|
|
2393
|
+
data, _status_code, _headers = update_team_with_http_info(id, opts)
|
|
2394
|
+
data
|
|
2395
|
+
end
|
|
2396
|
+
|
|
2397
|
+
# Update a Team
|
|
2398
|
+
# @param id [Integer] Team ID
|
|
2399
|
+
# @param [Hash] opts the optional parameters
|
|
2400
|
+
# @option opts [CreateTeamRequest] :create_team_request
|
|
2401
|
+
# @return [Array<(Team, Integer, Hash)>] Team data, response status code and response headers
|
|
2402
|
+
def update_team_with_http_info(id, opts = {})
|
|
2403
|
+
if @api_client.config.debugging
|
|
2404
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_team ...'
|
|
2405
|
+
end
|
|
2406
|
+
# verify the required parameter 'id' is set
|
|
2407
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2408
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_team"
|
|
2409
|
+
end
|
|
2410
|
+
# resource path
|
|
2411
|
+
local_var_path = '/teams/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2412
|
+
|
|
2413
|
+
# query parameters
|
|
2414
|
+
query_params = opts[:query_params] || {}
|
|
2415
|
+
|
|
2416
|
+
# header parameters
|
|
2417
|
+
header_params = opts[:header_params] || {}
|
|
2418
|
+
# HTTP header 'Accept' (if needed)
|
|
2419
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2420
|
+
# HTTP header 'Content-Type'
|
|
2421
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2422
|
+
if !content_type.nil?
|
|
2423
|
+
header_params['Content-Type'] = content_type
|
|
2424
|
+
end
|
|
2425
|
+
|
|
2426
|
+
# form parameters
|
|
2427
|
+
form_params = opts[:form_params] || {}
|
|
2428
|
+
|
|
2429
|
+
# http body (model)
|
|
2430
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_team_request'])
|
|
2431
|
+
|
|
2432
|
+
# return_type
|
|
2433
|
+
return_type = opts[:debug_return_type] || 'Team'
|
|
2434
|
+
|
|
2435
|
+
# auth_names
|
|
2436
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2437
|
+
|
|
2438
|
+
new_options = opts.merge(
|
|
2439
|
+
:operation => :"PlatformApi.update_team",
|
|
2440
|
+
:header_params => header_params,
|
|
2441
|
+
:query_params => query_params,
|
|
2442
|
+
:form_params => form_params,
|
|
2443
|
+
:body => post_body,
|
|
2444
|
+
:auth_names => auth_names,
|
|
2445
|
+
:return_type => return_type
|
|
2446
|
+
)
|
|
2447
|
+
|
|
2448
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2449
|
+
if @api_client.config.debugging
|
|
2450
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_team\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2451
|
+
end
|
|
2452
|
+
return data, status_code, headers
|
|
2453
|
+
end
|
|
2454
|
+
|
|
2455
|
+
# Update a Endpoint
|
|
2456
|
+
# @param id [Integer] Endpoint ID
|
|
2457
|
+
# @param [Hash] opts the optional parameters
|
|
2458
|
+
# @option opts [CreateWebhooksOutgoingEndpointRequest] :create_webhooks_outgoing_endpoint_request
|
|
2459
|
+
# @return [WebhooksOutgoingEndpoint]
|
|
2460
|
+
def update_webhooks_outgoing_endpoint(id, opts = {})
|
|
2461
|
+
data, _status_code, _headers = update_webhooks_outgoing_endpoint_with_http_info(id, opts)
|
|
2462
|
+
data
|
|
2463
|
+
end
|
|
2464
|
+
|
|
2465
|
+
# Update a Endpoint
|
|
2466
|
+
# @param id [Integer] Endpoint ID
|
|
2467
|
+
# @param [Hash] opts the optional parameters
|
|
2468
|
+
# @option opts [CreateWebhooksOutgoingEndpointRequest] :create_webhooks_outgoing_endpoint_request
|
|
2469
|
+
# @return [Array<(WebhooksOutgoingEndpoint, Integer, Hash)>] WebhooksOutgoingEndpoint data, response status code and response headers
|
|
2470
|
+
def update_webhooks_outgoing_endpoint_with_http_info(id, opts = {})
|
|
2471
|
+
if @api_client.config.debugging
|
|
2472
|
+
@api_client.config.logger.debug 'Calling API: PlatformApi.update_webhooks_outgoing_endpoint ...'
|
|
2473
|
+
end
|
|
2474
|
+
# verify the required parameter 'id' is set
|
|
2475
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
2476
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling PlatformApi.update_webhooks_outgoing_endpoint"
|
|
2477
|
+
end
|
|
2478
|
+
# resource path
|
|
2479
|
+
local_var_path = '/webhooks/outgoing/endpoints/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
|
2480
|
+
|
|
2481
|
+
# query parameters
|
|
2482
|
+
query_params = opts[:query_params] || {}
|
|
2483
|
+
|
|
2484
|
+
# header parameters
|
|
2485
|
+
header_params = opts[:header_params] || {}
|
|
2486
|
+
# HTTP header 'Accept' (if needed)
|
|
2487
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/vnd.api+json'])
|
|
2488
|
+
# HTTP header 'Content-Type'
|
|
2489
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
|
|
2490
|
+
if !content_type.nil?
|
|
2491
|
+
header_params['Content-Type'] = content_type
|
|
2492
|
+
end
|
|
2493
|
+
|
|
2494
|
+
# form parameters
|
|
2495
|
+
form_params = opts[:form_params] || {}
|
|
2496
|
+
|
|
2497
|
+
# http body (model)
|
|
2498
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'create_webhooks_outgoing_endpoint_request'])
|
|
2499
|
+
|
|
2500
|
+
# return_type
|
|
2501
|
+
return_type = opts[:debug_return_type] || 'WebhooksOutgoingEndpoint'
|
|
2502
|
+
|
|
2503
|
+
# auth_names
|
|
2504
|
+
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
2505
|
+
|
|
2506
|
+
new_options = opts.merge(
|
|
2507
|
+
:operation => :"PlatformApi.update_webhooks_outgoing_endpoint",
|
|
2508
|
+
:header_params => header_params,
|
|
2509
|
+
:query_params => query_params,
|
|
2510
|
+
:form_params => form_params,
|
|
2511
|
+
:body => post_body,
|
|
2512
|
+
:auth_names => auth_names,
|
|
2513
|
+
:return_type => return_type
|
|
2514
|
+
)
|
|
2515
|
+
|
|
2516
|
+
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
|
2517
|
+
if @api_client.config.debugging
|
|
2518
|
+
@api_client.config.logger.debug "API called: PlatformApi#update_webhooks_outgoing_endpoint\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
2519
|
+
end
|
|
2520
|
+
return data, status_code, headers
|
|
2521
|
+
end
|
|
2522
|
+
end
|
|
2523
|
+
end
|