@@ -44,13 +44,13 @@ actions:
4444 " x-codeSamples " :
4545 - " lang " : " ruby"
4646 " label " : " stackone_rpc_action"
47- " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::StackoneRpcActionRequest.new( \n actions_rpc_request_dto: Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n body: {\n 'data' => 'example',\n },\n defender_config: Models::Shared::DefenderConfig.new(\n block_high_risk: false,\n enabled: true,\n use_tier1_classification: true,\n use_tier2_classification: true\n ),\n headers: {\n 'Content-Type' => 'application/json',\n },\n path: {\n 'id' => '123',\n },\n query: Models::Shared::Query.new(\n debug: false\n )\n ), \n debug: false, \n run_id: '550e8400-e29b-41d4-a716-446655440000', \n sync : false,\n x_account_id: '<id>' \n ) \n res = s.actions.rpc_action(request: req )\n\n unless res.one_of.nil?\n # handle response\n end"
47+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n res = s.actions.rpc_action( actions_rpc_request_dto: Models::Shared::ActionsRpcRequestDto.new(\n action: 'create_employee',\n body: {\n 'data' => 'example',\n },\n defender_config: Models::Shared::DefenderConfig.new(\n block_high_risk: false,\n enabled: true,\n use_tier1_classification: true,\n use_tier2_classification: true\n ),\n headers: {\n 'Content-Type' => 'application/json',\n },\n path: {\n 'id' => '123',\n },\n query: Models::Shared::Query.new(\n debug: false\n )\n ), x_account_id: '<id>', debug : false, sync: false )\n\n unless res.one_of.nil?\n # handle response\n end"
4848 - target : $["paths"]["/actions/rpc/synced"]["post"]
4949 update :
5050 " x-codeSamples " :
5151 - " lang " : " ruby"
5252 " label " : " stackone_rpc_action_synced"
53- " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n res = s.actions.rpc_action_synced(actions_rpc_synced_request_dto: Models::Shared::ActionsRpcSyncedRequestDto.new(\n action: 'create_employee',\n filter: {\n 'status' => 'active',\n },\n path: {\n 'id' => '123',\n },\n run_id: '550e8400-e29b-41d4-a716-446655440000'\n ), page_size: 25.0, skip: 0.0)\n\n unless res.actions_synced_response.nil?\n # handle response\n end"
53+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n res = s.actions.rpc_action_synced(actions_rpc_synced_request_dto: Models::Shared::ActionsRpcSyncedRequestDto.new(\n action: 'create_employee',\n body: { \n 'search' => 'John', \n }, \n filter: {\n 'status' => 'active',\n },\n headers: { \n 'x-custom-header' => 'value', \n }, \n path: {\n 'id' => '123', \n }, \n query: { \n 'account_id' => 'abc ',\n },\n run_id: '550e8400-e29b-41d4-a716-446655440000'\n ), page_size: 25.0, skip: 0.0)\n\n unless res.actions_synced_response.nil?\n # handle response\n end"
5454 - target : $["paths"]["/actions/search"]["post"]
5555 update :
5656 " x-codeSamples " :
@@ -75,6 +75,12 @@ actions:
7575 - " lang " : " ruby"
7676 " label " : " stackone_authenticate_connect_session"
7777 " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Shared::ConnectSessionAuthenticate.new(\n token: '<value>'\n )\n res = s.connect_sessions.authenticate_connect_session(request: req)\n\n unless res.connect_session.nil?\n # handle response\n end"
78+ - target : $["paths"]["/connect_sessions/{id}"]["get"]
79+ update :
80+ " x-codeSamples " :
81+ - " lang " : " ruby"
82+ " label " : " stackone_get_connect_session"
83+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n res = s.connect_sessions.get_connect_session(id: 9637.9)\n\n unless res.connect_session.nil?\n # handle response\n end"
7884 - target : $["paths"]["/mcp"]["delete"]
7985 update :
8086 " x-codeSamples " :
@@ -1179,6 +1185,24 @@ actions:
11791185 - " lang " : " ruby"
11801186 " label " : " iam_get_group"
11811187 " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamGetGroupRequest.new(\n prefer: 'heartbeat',\n expand: 'roles',\n fields_: 'id,remote_id,parent_id,remote_parent_id,name,description,roles,type,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n )\n res = s.iam.get_group(request: req)\n\n unless res.iam_group_result.nil?\n # handle response\n end"
1188+ - target : $["paths"]["/unified/iam/me"]["get"]
1189+ update :
1190+ " x-codeSamples " :
1191+ - " lang " : " ruby"
1192+ " label " : " iam_get_me"
1193+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamGetMeRequest.new(\n prefer: 'heartbeat',\n fields_: 'name,auth_type,scopes,permissions,last_accessed_at,user,unified_custom_fields',\n x_account_id: '<id>'\n )\n res = s.iam.get_me(request: req)\n\n unless res.iam_credentials_result.nil?\n # handle response\n end"
1194+ - target : $["paths"]["/unified/iam/organizations"]["get"]
1195+ update :
1196+ " x-codeSamples " :
1197+ - " lang " : " ruby"
1198+ " label " : " iam_list_organizations"
1199+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamListOrganizationsRequest.new(\n prefer: 'heartbeat',\n fields_: 'id,remote_id,remote_remote_id,name,created_at,updated_at,unified_custom_fields',\n filter: nil,\n x_account_id: '<id>'\n )\n res = s.iam.list_organizations(request: req)\n\n unless res.iam_organizations_paginated.nil?\n # handle response\n end"
1200+ - target : $["paths"]["/unified/iam/organizations/{id}"]["get"]
1201+ update :
1202+ " x-codeSamples " :
1203+ - " lang " : " ruby"
1204+ " label " : " iam_get_organization"
1205+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamGetOrganizationRequest.new(\n prefer: 'heartbeat',\n fields_: 'id,remote_id,remote_remote_id,name,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n )\n res = s.iam.get_organization(request: req)\n\n unless res.iam_organization_result.nil?\n # handle response\n end"
11821206 - target : $["paths"]["/unified/iam/policies"]["get"]
11831207 update :
11841208 " x-codeSamples " :
@@ -1191,6 +1215,18 @@ actions:
11911215 - " lang " : " ruby"
11921216 " label " : " iam_get_policy"
11931217 " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamGetPolicyRequest.new(\n prefer: 'heartbeat',\n expand: 'permissions',\n fields_: 'id,remote_id,name,permissions,description,created_at,updated_at,unified_custom_fields',\n id: '<id>',\n x_account_id: '<id>'\n )\n res = s.iam.get_policy(request: req)\n\n unless res.iam_policy_result.nil?\n # handle response\n end"
1218+ - target : $["paths"]["/unified/iam/resource_types"]["get"]
1219+ update :
1220+ " x-codeSamples " :
1221+ - " lang " : " ruby"
1222+ " label " : " iam_list_resource_types"
1223+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamListResourceTypesRequest.new(\n prefer: 'heartbeat',\n x_account_id: '<id>'\n )\n res = s.iam.list_resource_types(request: req)\n\n unless res.iam_resource_types_result.nil?\n # handle response\n end"
1224+ - target : $["paths"]["/unified/iam/resource_users"]["get"]
1225+ update :
1226+ " x-codeSamples " :
1227+ - " lang " : " ruby"
1228+ " label " : " iam_list_resource_users"
1229+ " source " : " require 'stackone_client'\n\n Models = ::StackOne::Models\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n password: '',\n username: ''\n )\n )\n\n req = Models::Operations::IamListResourceUsersRequest.new(\n prefer: 'heartbeat',\n filter: Models::Operations::IamListResourceUsersQueryParamFilter.new(\n updated_after: DateTime.iso8601('2020-01-01T00:00:00.000Z')\n ),\n resource_id: '02xcytpi2f2g0na',\n resource_type: 'group',\n x_account_id: '<id>'\n )\n res = s.iam.list_resource_users(request: req)\n\n unless res.iam_users_paginated.nil?\n # handle response\n end"
11941230 - target : $["paths"]["/unified/iam/roles"]["get"]
11951231 update :
11961232 " x-codeSamples " :
0 commit comments