diff options
Diffstat (limited to 'data/sophonsoar/2025-09-03/api-docs.php')
| -rw-r--r-- | data/sophonsoar/2025-09-03/api-docs.php | 846 |
1 files changed, 265 insertions, 581 deletions
diff --git a/data/sophonsoar/2025-09-03/api-docs.php b/data/sophonsoar/2025-09-03/api-docs.php index feb980c..fc1172f 100644 --- a/data/sophonsoar/2025-09-03/api-docs.php +++ b/data/sophonsoar/2025-09-03/api-docs.php @@ -1,86 +1,43 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'sophonsoar', - 'version' => '2025-09-03', - ], + 'info' => ['style' => 'RPC', 'product' => 'sophonsoar', 'version' => '2025-09-03'], 'components' => [ 'schemas' => [ 'FieldInputConfig' => [ 'type' => 'object', 'properties' => [ - 'FieldName' => [ - 'type' => 'string', - ], - 'FieldType' => [ - 'type' => 'string', - ], - 'DefaultValue' => [ - 'type' => 'string', - ], - 'Required' => [ - 'type' => 'boolean', - ], - 'Arrayed' => [ - 'type' => 'boolean', - ], - 'FieldPath' => [ - 'type' => 'string', - ], - 'FieldCheckRegex' => [ - 'type' => 'string', - ], - 'FieldExample' => [ - 'type' => 'string', - ], - 'FieldClass' => [ - 'type' => 'string', - ], - 'FieldDescription' => [ - 'type' => 'string', - ], + 'FieldName' => ['type' => 'string'], + 'FieldType' => ['type' => 'string'], + 'DefaultValue' => ['type' => 'string'], + 'Required' => ['type' => 'boolean'], + 'Arrayed' => ['type' => 'boolean'], + 'FieldPath' => ['type' => 'string'], + 'FieldCheckRegex' => ['type' => 'string'], + 'FieldExample' => ['type' => 'string'], + 'FieldClass' => ['type' => 'string'], + 'FieldDescription' => ['type' => 'string'], 'FieldConfigs' => [ 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/FieldInputConfig', - ], + 'items' => ['$ref' => '#/components/schemas/FieldInputConfig'], ], ], ], 'FieldOutputConfig' => [ 'type' => 'object', 'properties' => [ - 'FieldName' => [ - 'type' => 'string', - 'required' => false, - ], - 'FieldType' => [ - 'type' => 'string', - ], - 'FieldDescription' => [ - 'type' => 'string', - ], - 'DefaultValue' => [ - 'type' => 'string', - ], - 'FieldExample' => [ - 'type' => 'string', - ], + 'FieldName' => ['type' => 'string', 'required' => false], + 'FieldType' => ['type' => 'string'], + 'FieldDescription' => ['type' => 'string'], + 'DefaultValue' => ['type' => 'string'], + 'FieldExample' => ['type' => 'string'], ], ], ], ], 'apis' => [ - 'ListComponents' => [ - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AbortPlaybookExecution' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -91,73 +48,34 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'ComponentName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'RoleType', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'MaxResults', + 'name' => 'PlaybookExecutionUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'NextToken', + 'name' => 'PlaybookUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreateComponentAsset' => [ 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -168,26 +86,17 @@ [ 'name' => 'ComponentName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ComponentAssetName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ComponentAssetValues', @@ -200,14 +109,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'FieldName' => [ - 'type' => 'string', - 'required' => true, - ], - 'FieldValue' => [ - 'type' => 'string', - 'required' => true, - ], + 'FieldName' => ['type' => 'string', 'required' => true], + 'FieldValue' => ['type' => 'string', 'required' => true], ], ], ], @@ -215,21 +118,13 @@ [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], ], - 'DeleteComponentAsset' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'CreatePlaybook' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -240,37 +135,90 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PlaybookName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'minLength' => 2, 'maxLength' => 128], + ], + [ + 'name' => 'PlaybookDescription', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'minLength' => 0, 'maxLength' => 512], + ], + [ + 'name' => 'PlaybookInputConfigs', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', + 'type' => 'array', 'required' => false, + 'items' => ['$ref' => '#/components/schemas/FieldInputConfig', 'required' => false], ], ], [ - 'name' => 'ComponentAssetUuid', + 'name' => 'PlaybookOutputConfigs', 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'array', + 'required' => false, + 'items' => ['$ref' => '#/components/schemas/FieldOutputConfig', 'required' => false], ], ], + [ + 'name' => 'SrcPlaybookUuid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PlaybookTaskFlow', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PlaybookParamType', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'UpdateComponentAsset' => [ - 'methods' => [ - 'post', + 'DeleteComponentAsset' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'ComponentAssetUuid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], ], + ], + 'DeletePlaybook' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -281,69 +229,108 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'RoleFor', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], + ], + [ + 'name' => 'PlaybookUuid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], + 'ExecuteComponent' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PlaybookUuid', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PlayBookNodeName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ComponentName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'ComponentActionName', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ComponentAssetUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'ComponentAssetValues', + 'name' => 'ComponentInput', 'in' => 'formData', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'FieldName' => [ - 'type' => 'string', - 'required' => false, - ], - 'FieldValue' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'GetPlaybook' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'ComponentAssetName', + 'name' => 'PlaybookUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'PlaybookVersionType', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'PlaybookVersion', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListComponentAssets' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -354,81 +341,49 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'ComponentName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ComponentAssetUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetPlaybook' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ListComponents' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -439,54 +394,43 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'PlaybookUuid', + 'name' => 'ComponentName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PlaybookVersionType', + 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'PlaybookVersion', + 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'MaxResults', + 'in' => 'formData', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'NextToken', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ListPlaybooks' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -497,65 +441,37 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'maximum' => '100', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'maximum' => '100'], ], [ 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookStatus', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PlaybookUuids', @@ -565,10 +481,7 @@ 'type' => 'array', 'deprecated' => false, 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'minItems' => 0, 'maxItems' => 1, ], @@ -576,10 +489,7 @@ [ 'name' => 'PlaybookName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookParamTypes', @@ -588,63 +498,39 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'PlaybookExecutionStartTime', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PlaybookExecutionEndTime', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'OrderField', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Order', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'CreatePlaybook' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpdateComponentAsset' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -655,140 +541,45 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'RoleFor', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], - ], - [ - 'name' => 'PlaybookName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minLength' => 2, - 'maxLength' => 128, - ], - ], - [ - 'name' => 'PlaybookDescription', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'minLength' => 0, - 'maxLength' => 512, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'PlaybookInputConfigs', + 'name' => 'ComponentAssetUuid', 'in' => 'formData', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/FieldInputConfig', - 'required' => false, - ], - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'PlaybookOutputConfigs', + 'name' => 'ComponentAssetValues', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ - '$ref' => '#/components/schemas/FieldOutputConfig', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'FieldName' => ['type' => 'string', 'required' => false], + 'FieldValue' => ['type' => 'string', 'required' => false], + ], ], ], ], [ - 'name' => 'SrcPlaybookUuid', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PlaybookTaskFlow', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PlaybookParamType', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'DeletePlaybook' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ - 'name' => 'PlaybookUuid', + 'name' => 'ComponentAssetName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdatePlaybook' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -799,35 +590,22 @@ [ 'name' => 'Lang', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoleFor', 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'PlaybookName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookDescription', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookInputConfigs', @@ -836,10 +614,7 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/FieldInputConfig', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/FieldInputConfig', 'required' => false], ], ], [ @@ -849,120 +624,29 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - '$ref' => '#/components/schemas/FieldOutputConfig', - 'required' => false, - ], + 'items' => ['$ref' => '#/components/schemas/FieldOutputConfig', 'required' => false], ], ], [ 'name' => 'PlaybookTaskFlow', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookParamType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PlaybookUuid', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ExecuteComponent' => [ - 'path' => '', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'PlaybookUuid', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'PlayBookNodeName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ComponentName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ComponentActionName', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ComponentAssetUuid', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'ComponentInput', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'Lang', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'public', - 'endpoint' => 'sophonsoar.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'sophonsoar.ap-southeast-1.aliyuncs.com', - ], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'sophonsoar.ap-southeast-1.aliyuncs.com', 'endpoint' => 'sophonsoar.ap-southeast-1.aliyuncs.com', 'vpc' => 'sophonsoar-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'sophonsoar.aliyuncs.com', 'endpoint' => 'sophonsoar.aliyuncs.com', 'vpc' => ''], ], ]; |
