diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java index 968fe83eb..97c01732d 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/CodeAnalyzer.java @@ -43,6 +43,7 @@ import io.ballerina.compiler.syntax.tree.CommentNode; import io.ballerina.compiler.syntax.tree.CommitActionNode; import io.ballerina.compiler.syntax.tree.CompoundAssignmentStatementNode; +import io.ballerina.compiler.syntax.tree.ComputedResourceAccessSegmentNode; import io.ballerina.compiler.syntax.tree.ContinueStatementNode; import io.ballerina.compiler.syntax.tree.DoStatementNode; import io.ballerina.compiler.syntax.tree.ElseBlockNode; @@ -120,6 +121,7 @@ import io.ballerina.flowmodelgenerator.core.model.node.XmlPayloadBuilder; import io.ballerina.flowmodelgenerator.core.utils.CommonUtils; import io.ballerina.flowmodelgenerator.core.utils.ParamUtils; +import io.ballerina.flowmodelgenerator.core.utils.TypeUtils; import io.ballerina.projects.Project; import io.ballerina.tools.text.LinePosition; import io.ballerina.tools.text.LineRange; @@ -311,10 +313,9 @@ public void visit(ClientResourceAccessActionNode clientResourceAccessActionNode) Optional documentation = methodSymbol.documentation(); String description = documentation.flatMap(Documentation::description).orElse(""); SeparatedNodeList nodes = clientResourceAccessActionNode.resourceAccessPath(); - String resourcePath = nodes.stream().map(Node::toSourceCode).collect(Collectors.joining("/")); - String fullPath = "/" + resourcePath; - String resourcePathTemplate = ParamUtils.buildResourcePathTemplate(methodSymbol); + ParamUtils.ResourcePathTemplate resourcePathTemplate = ParamUtils.buildResourcePathTemplate(semanticModel, + methodSymbol, semanticModel.types().ERROR); startNode(NodeKind.RESOURCE_ACTION_CALL, expressionNode.parent()) .symbolInfo(methodSymbol) @@ -325,17 +326,56 @@ public void visit(ClientResourceAccessActionNode clientResourceAccessActionNode) .codedata() .object("Client") .symbol(methodName) - .resourcePath(resourcePathTemplate) + .resourcePath(resourcePathTemplate.resourcePathTemplate()) .stepOut() .properties() .callExpression(expressionNode, Property.CONNECTION_KEY) - .resourcePath(fullPath) .data(this.typedBindingPatternNode, false, new HashSet<>()); + if (TypeUtils.isHttpModule(methodSymbol)) { + String resourcePath = nodes.stream().map(Node::toSourceCode).collect(Collectors.joining("/")); + String fullPath = "/" + resourcePath; + nodeBuilder.properties().resourcePath(fullPath, true); + } else { + nodeBuilder.properties().resourcePath(resourcePathTemplate.resourcePathTemplate(), false); + + int idx = 0; + for (int i = 0; i < nodes.size(); i++) { + Node node = nodes.get(i); + if (nodes.size() <= idx) { + break; + } + if (node instanceof ComputedResourceAccessSegmentNode computedResourceAccessSegmentNode) { + ExpressionNode expr = computedResourceAccessSegmentNode.expression(); + ParameterResult paramResult = resourcePathTemplate.pathParams().get(idx); + String unescapedParamName = ParamUtils.removeLeadingSingleQuote(paramResult.name()); + nodeBuilder.properties() + .custom() + .metadata() + .label(unescapedParamName) + .description(paramResult.description()) + .stepOut() + .codedata() + .kind(paramResult.kind().name()) + .originalName(paramResult.name()) + .stepOut() + .value(expr.toSourceCode()) + .typeConstraint(paramResult.type()) + .type(Property.ValueType.EXPRESSION) + .editable() + .defaultable(paramResult.optional() == 1) + .stepOut() + .addProperty(unescapedParamName); + idx++; + } + } + } + DatabaseManager dbManager = DatabaseManager.getInstance(); ModuleID id = symbol.get().getModule().get().id(); Optional functionResult = dbManager.getAction(id.orgName(), id.moduleName(), - symbol.get().getName().get(), resourcePathTemplate, DatabaseManager.FunctionKind.RESOURCE); + symbol.get().getName().get(), resourcePathTemplate.resourcePathTemplate(), + DatabaseManager.FunctionKind.RESOURCE); final Map namedArgValueMap = new HashMap<>(); final Queue positionalArgs = new LinkedList<>(); @@ -451,8 +491,11 @@ private void buildPropsFromFuncCallArgs(SeparatedNodeList List functionParameters = funcParamMap.values().stream().toList(); boolean hasOnlyRestParams = functionParameters.size() == 1; for (ParameterResult paramResult : functionParameters) { - if (paramResult.kind().equals(Parameter.Kind.PARAM_FOR_TYPE_INFER) - || paramResult.kind().equals(Parameter.Kind.INCLUDED_RECORD)) { + Parameter.Kind paramKind = paramResult.kind(); + + if (paramKind.equals(Parameter.Kind.PATH_PARAM) || paramKind.equals(Parameter.Kind.PATH_REST_PARAM) + || paramKind.equals(Parameter.Kind.PARAM_FOR_TYPE_INFER) + || paramKind.equals(Parameter.Kind.INCLUDED_RECORD)) { continue; } @@ -460,30 +503,30 @@ private void buildPropsFromFuncCallArgs(SeparatedNodeList Property.Builder> customPropBuilder = nodeBuilder.properties().custom(); customPropBuilder .metadata() - .label(unescapedParamName) - .description(paramResult.description()) - .stepOut() + .label(unescapedParamName) + .description(paramResult.description()) + .stepOut() .codedata() - .kind(paramResult.kind().name()) - .originalName(paramResult.name()) - .importStatements(paramResult.importStatements()) - .stepOut() + .kind(paramKind.name()) + .originalName(paramResult.name()) + .importStatements(paramResult.importStatements()) + .stepOut() .placeholder(paramResult.defaultValue()) .typeConstraint(paramResult.type()) .editable() .defaultable(paramResult.optional() == 1); - if (paramResult.kind() == Parameter.Kind.INCLUDED_RECORD_REST) { + if (paramKind == Parameter.Kind.INCLUDED_RECORD_REST) { if (hasOnlyRestParams) { customPropBuilder.defaultable(false); } customPropBuilder.type(Property.ValueType.MAPPING_EXPRESSION_SET); - } else if (paramResult.kind() == Parameter.Kind.REST_PARAMETER) { + } else if (paramKind == Parameter.Kind.REST_PARAMETER) { if (hasOnlyRestParams) { customPropBuilder.defaultable(false); } customPropBuilder.type(Property.ValueType.EXPRESSION_SET); - } else if (paramResult.kind() == Parameter.Kind.REQUIRED) { + } else if (paramKind == Parameter.Kind.REQUIRED) { customPropBuilder.type(Property.ValueType.EXPRESSION).value(paramResult.defaultValue()); } else { customPropBuilder.type(Property.ValueType.EXPRESSION); diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/Parameter.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/Parameter.java index e0b47e8d0..7fe0780d5 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/Parameter.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/Parameter.java @@ -47,7 +47,9 @@ public enum Kind { REST_PARAMETER, INCLUDED_FIELD, PARAM_FOR_TYPE_INFER, - INCLUDED_RECORD_REST + INCLUDED_RECORD_REST, + PATH_PARAM, + PATH_REST_PARAM } @Id diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/ParameterResult.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/ParameterResult.java index a8b7d91da..cbbe57e4d 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/ParameterResult.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/db/model/ParameterResult.java @@ -40,4 +40,11 @@ public record ParameterResult( String description, Integer optional, String importStatements) { + + + public static ParameterResult from(String name, String type, Parameter.Kind kind, String defaultValue, + String description, Integer optional) { + return new ParameterResult(0, name, type, kind, defaultValue, description, optional, + null); + } } diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/FormBuilder.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/FormBuilder.java index 8dd73cf14..3f6a7375a 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/FormBuilder.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/FormBuilder.java @@ -37,6 +37,7 @@ import io.ballerina.flowmodelgenerator.core.model.node.ExpressionBuilder; import io.ballerina.flowmodelgenerator.core.model.node.RemoteActionCallBuilder; import io.ballerina.flowmodelgenerator.core.utils.CommonUtils; +import io.ballerina.flowmodelgenerator.core.utils.ParamUtils; import io.ballerina.tools.text.LineRange; import org.ballerinalang.langserver.common.utils.NameUtil; @@ -252,15 +253,27 @@ public FormBuilder callExpression(ExpressionNode expressionNode, String key) return this; } - public FormBuilder resourcePath(String path) { + public FormBuilder resourcePath(String path, boolean editable) { propertyBuilder .metadata() .label(Property.RESOURCE_PATH_LABEL) .description(Property.RESOURCE_PATH_DOC) .stepOut() - .type(Property.ValueType.EXPRESSION) - .value(path) - .editable(); + .type(Property.ValueType.EXPRESSION); + if (editable) { + propertyBuilder + .codedata() + .originalName(ParamUtils.REST_RESOURCE_PATH) + .stepOut() + .value(path) + .editable(); + } else { + propertyBuilder + .codedata() + .originalName(path) + .stepOut() + .value(path.replaceAll("\\\\", "")); + } addProperty(Property.RESOURCE_PATH_KEY); return this; } diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/ResourceActionCallBuilder.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/ResourceActionCallBuilder.java index 8f1d6f2a1..366758ab7 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/ResourceActionCallBuilder.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/model/node/ResourceActionCallBuilder.java @@ -29,12 +29,15 @@ import io.ballerina.flowmodelgenerator.core.model.NodeBuilder; import io.ballerina.flowmodelgenerator.core.model.NodeKind; import io.ballerina.flowmodelgenerator.core.model.Property; +import io.ballerina.flowmodelgenerator.core.model.PropertyCodedata; import io.ballerina.flowmodelgenerator.core.model.SourceBuilder; import io.ballerina.flowmodelgenerator.core.utils.CommonUtils; import io.ballerina.flowmodelgenerator.core.utils.ParamUtils; import org.eclipse.lsp4j.TextEdit; import java.nio.file.Path; +import java.util.HashSet; +import java.util.LinkedHashSet; import java.util.List; import java.util.Map; import java.util.Optional; @@ -68,17 +71,50 @@ public Map> toSource(SourceBuilder sourceBuilder) { if (connection.isEmpty()) { throw new IllegalStateException("Client must be defined for an action call node"); } + + Set ignoredKeys = new HashSet<>(List.of(Property.CONNECTION_KEY, Property.VARIABLE_KEY, + Property.TYPE_KEY, TARGET_TYPE_KEY, Property.RESOURCE_PATH_KEY, + Property.CHECK_ERROR_KEY)); + + String resourcePath = flowNode.properties().get(Property.RESOURCE_PATH_KEY).codedata().originalName(); + + if (resourcePath.equals(ParamUtils.REST_RESOURCE_PATH)) { + resourcePath = flowNode.properties().get(Property.RESOURCE_PATH_KEY).value().toString(); + } + + Set keys = new LinkedHashSet<>(flowNode.properties().keySet()); + keys.removeAll(ignoredKeys); + + for (String key : keys) { + Optional property = flowNode.getProperty(key); + if (property.isEmpty()) { + continue; + } + PropertyCodedata propCodedata = property.get().codedata(); + if (propCodedata == null) { + continue; + } + if (propCodedata.kind().equals(Parameter.Kind.PATH_PARAM.name())) { + String pathParamSubString = "[" + key + "]"; + String replacement = "[" + property.get().value().toString() + "]"; + resourcePath = resourcePath.replace(pathParamSubString, replacement); + ignoredKeys.add(key); + } else if (propCodedata.kind().equals(Parameter.Kind.PATH_REST_PARAM.name())) { + String replacement = property.get().value().toString(); + resourcePath = resourcePath.replace(ParamUtils.REST_PARAM_PATH, replacement); + ignoredKeys.add(key); + } + } + + return sourceBuilder.token() .name(connection.get().toSourceCode()) .keyword(SyntaxKind.RIGHT_ARROW_TOKEN) - .resourcePath(sourceBuilder.flowNode.properties().get(Property.RESOURCE_PATH_KEY).value().toString()) + .resourcePath(resourcePath) .keyword(SyntaxKind.DOT_TOKEN) .name(sourceBuilder.flowNode.codedata().symbol()) .stepOut() - .functionParameters(flowNode, - Set.of(Property.CONNECTION_KEY, Property.VARIABLE_KEY, - Property.TYPE_KEY, TARGET_TYPE_KEY, Property.RESOURCE_PATH_KEY, - Property.CHECK_ERROR_KEY)) + .functionParameters(flowNode, ignoredKeys) .textEdit(false) .acceptImport() .build(); @@ -121,7 +157,8 @@ public void setConcreteTemplateData(TemplateContext context) { .stepOut() .addProperty(Property.CONNECTION_KEY); - properties().resourcePath(function.resourcePath()); + String resourcePath = function.resourcePath(); + properties().resourcePath(resourcePath, resourcePath.equals(ParamUtils.REST_RESOURCE_PATH)); List functionParameters = dbManager.getFunctionParameters(function.functionId()); boolean hasOnlyRestParams = functionParameters.size() == 1; diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/CommonUtils.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/CommonUtils.java index c45ac9c9a..b3b805e15 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/CommonUtils.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/CommonUtils.java @@ -161,7 +161,7 @@ public static String getTypeSignature(TypeSymbol typeSymbol, ModuleInfo moduleIn String typeName = matcher.group(4); - if (!modPart.equals(moduleInfo.packageName())) { + if (moduleInfo == null || !modPart.equals(moduleInfo.packageName())) { newText.append(modPart); newText.append(":"); } @@ -633,7 +633,7 @@ private static void analyzeTypeSymbolForImports(Set imports, TypeSymbol String packageName = moduleId.packageName(); String moduleName = moduleId.moduleName(); - if (isPredefinedLangLib(orgName, packageName) || + if (isPredefinedLangLib(orgName, packageName) || isAnnotationLangLib(orgName, packageName) || isWithinCurrentModule(moduleInfo, orgName, packageName, moduleName)) { return; } @@ -642,6 +642,10 @@ private static void analyzeTypeSymbolForImports(Set imports, TypeSymbol } } + private static boolean isAnnotationLangLib(String orgName, String packageName) { + return orgName.equals(CommonUtil.BALLERINA_ORG_NAME) && packageName.equals("lang.annotations"); + } + /** * Generates the import statement of the format `/[.]`. * diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/ParamUtils.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/ParamUtils.java index 45f68e9c2..cc88d41ea 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/ParamUtils.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/ParamUtils.java @@ -54,37 +54,58 @@ */ public class ParamUtils { + public static final String REST_RESOURCE_PATH = "/path/to/subdirectory"; + public static final String REST_PARAM_PATH = "/path/to/resource"; + public static final String REST_RESOURCE_PATH_LABEL = "Remaining Resource Path"; + /** * Builds the resource path template for the given function symbol. * * @param functionSymbol the function symbol * @return the resource path template */ - public static String buildResourcePathTemplate(FunctionSymbol functionSymbol) { + public static ResourcePathTemplate buildResourcePathTemplate(SemanticModel semanticModel, + FunctionSymbol functionSymbol, + TypeSymbol errorTypeSymbol) { + Map documentationMap = functionSymbol.documentation().map(Documentation::parameterMap) + .orElse(Map.of()); StringBuilder pathBuilder = new StringBuilder(); ResourceMethodSymbol resourceMethodSymbol = (ResourceMethodSymbol) functionSymbol; ResourcePath resourcePath = resourceMethodSymbol.resourcePath(); + List pathParams = new ArrayList<>(); switch (resourcePath.kind()) { case PATH_SEGMENT_LIST -> { PathSegmentList pathSegmentList = (PathSegmentList) resourcePath; for (Symbol pathSegment : pathSegmentList.list()) { pathBuilder.append("/"); if (pathSegment instanceof PathParameterSymbol pathParameterSymbol) { - String value = DefaultValueGeneratorUtil + String defaultValue = DefaultValueGeneratorUtil .getDefaultValueForType(pathParameterSymbol.typeDescriptor()); - pathBuilder.append("[").append(value).append("]"); + String type = CommonUtils.getTypeSignature(semanticModel, pathParameterSymbol.typeDescriptor(), + true); + String paramName = pathParameterSymbol.getName().orElse(""); + String paramDescription = documentationMap.get(paramName); + pathBuilder.append("[").append(paramName).append("]"); + pathParams.add(ParameterResult.from(paramName, type, Parameter.Kind.PATH_PARAM, defaultValue, + paramDescription, 0)); } else { pathBuilder.append(pathSegment.getName().orElse("")); } } ((PathSegmentList) resourcePath).pathRestParameter().ifPresent(pathRestParameter -> { - pathBuilder.append("/path/to/subdirectory"); + pathParams.add(ParameterResult.from(REST_RESOURCE_PATH_LABEL, "string", + Parameter.Kind.PATH_REST_PARAM, REST_PARAM_PATH, REST_RESOURCE_PATH_LABEL, 0)); }); } - case PATH_REST_PARAM -> pathBuilder.append("/path/to/subdirectory"); - case DOT_RESOURCE_PATH -> pathBuilder.append("\\."); + case PATH_REST_PARAM -> { + pathBuilder.append(REST_RESOURCE_PATH); + } + case DOT_RESOURCE_PATH -> pathBuilder.append("/"); } - return pathBuilder.toString(); + return new ResourcePathTemplate(pathBuilder.toString(), pathParams); + } + + public record ResourcePathTemplate(String resourcePathTemplate, List pathParams) { } /** diff --git a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/TypeUtils.java b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/TypeUtils.java index 56e083f2d..e1ef08d83 100644 --- a/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/TypeUtils.java +++ b/flow-model-generator/modules/flow-model-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/utils/TypeUtils.java @@ -22,7 +22,9 @@ import io.ballerina.compiler.api.symbols.ArrayTypeSymbol; import io.ballerina.compiler.api.symbols.IntersectionTypeSymbol; import io.ballerina.compiler.api.symbols.MapTypeSymbol; +import io.ballerina.compiler.api.symbols.ModuleSymbol; import io.ballerina.compiler.api.symbols.StreamTypeSymbol; +import io.ballerina.compiler.api.symbols.Symbol; import io.ballerina.compiler.api.symbols.TypeDescKind; import io.ballerina.compiler.api.symbols.TypeSymbol; import io.ballerina.compiler.api.symbols.UnionTypeSymbol; @@ -30,6 +32,7 @@ import java.util.ArrayList; import java.util.List; +import java.util.Optional; import java.util.Set; /** @@ -122,4 +125,14 @@ private static void addTypeRefIds(TypeSymbol ts, ModuleInfo moduleInfo, List module = symbol.getModule(); + if (module.isEmpty()) { + return false; + } + + ModuleID moduleId = module.get().id(); + return moduleId.orgName().equals("ballerina") && moduleId.packageName().equals("http"); + } } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/central-index.sqlite b/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/central-index.sqlite index 1191d70cf..b038605fa 100644 Binary files a/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/central-index.sqlite and b/flow-model-generator/modules/flow-model-generator-ls-extension/src/main/resources/central-index.sqlite differ diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector1.json index b95f4ce87..25d1e355a 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector1.json @@ -30,7 +30,7 @@ "object": "Client", "symbol": "post", "parentSymbol": "moduleClient", - "id": 570 + "id": 566 }, "enabled": true }, @@ -47,7 +47,7 @@ "object": "Client", "symbol": "put", "parentSymbol": "moduleClient", - "id": 572 + "id": 568 }, "enabled": true }, @@ -64,7 +64,7 @@ "object": "Client", "symbol": "patch", "parentSymbol": "moduleClient", - "id": 574 + "id": 573 }, "enabled": true }, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector2.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector2.json index 00beefe00..872f9b4b1 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector2.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/connector2.json @@ -30,7 +30,7 @@ "object": "Client", "symbol": "post", "parentSymbol": "moduleClient", - "id": 570 + "id": 566 }, "enabled": true }, @@ -47,7 +47,7 @@ "object": "Client", "symbol": "put", "parentSymbol": "moduleClient", - "id": 572 + "id": 568 }, "enabled": true }, @@ -64,7 +64,7 @@ "object": "Client", "symbol": "patch", "parentSymbol": "moduleClient", - "id": 574 + "id": 573 }, "enabled": true }, @@ -368,7 +368,7 @@ "object": "Client", "symbol": "append", "parentSymbol": "redisClient", - "id": 670 + "id": 1088 }, "enabled": true }, @@ -385,7 +385,7 @@ "object": "Client", "symbol": "bitCount", "parentSymbol": "redisClient", - "id": 671 + "id": 1089 }, "enabled": true }, @@ -402,7 +402,7 @@ "object": "Client", "symbol": "bitOpAnd", "parentSymbol": "redisClient", - "id": 672 + "id": 1090 }, "enabled": true }, @@ -419,7 +419,7 @@ "object": "Client", "symbol": "bitOpOr", "parentSymbol": "redisClient", - "id": 673 + "id": 1091 }, "enabled": true }, @@ -436,7 +436,7 @@ "object": "Client", "symbol": "bitOpNot", "parentSymbol": "redisClient", - "id": 674 + "id": 1092 }, "enabled": true }, @@ -453,7 +453,7 @@ "object": "Client", "symbol": "bitOpXor", "parentSymbol": "redisClient", - "id": 675 + "id": 1099 }, "enabled": true }, @@ -470,7 +470,7 @@ "object": "Client", "symbol": "decr", "parentSymbol": "redisClient", - "id": 676 + "id": 1100 }, "enabled": true }, @@ -487,7 +487,7 @@ "object": "Client", "symbol": "decrBy", "parentSymbol": "redisClient", - "id": 677 + "id": 1101 }, "enabled": true }, @@ -504,7 +504,7 @@ "object": "Client", "symbol": "getBit", "parentSymbol": "redisClient", - "id": 678 + "id": 1115 }, "enabled": true }, @@ -521,7 +521,7 @@ "object": "Client", "symbol": "getRange", "parentSymbol": "redisClient", - "id": 679 + "id": 1116 }, "enabled": true }, @@ -538,7 +538,7 @@ "object": "Client", "symbol": "getSet", "parentSymbol": "redisClient", - "id": 680 + "id": 1118 }, "enabled": true }, @@ -555,7 +555,7 @@ "object": "Client", "symbol": "get", "parentSymbol": "redisClient", - "id": 681 + "id": 1120 }, "enabled": true }, @@ -572,7 +572,7 @@ "object": "Client", "symbol": "incr", "parentSymbol": "redisClient", - "id": 682 + "id": 1141 }, "enabled": true }, @@ -589,7 +589,7 @@ "object": "Client", "symbol": "incrBy", "parentSymbol": "redisClient", - "id": 683 + "id": 1142 }, "enabled": true }, @@ -606,7 +606,7 @@ "object": "Client", "symbol": "incrByFloat", "parentSymbol": "redisClient", - "id": 684 + "id": 1143 }, "enabled": true }, @@ -623,7 +623,7 @@ "object": "Client", "symbol": "mGet", "parentSymbol": "redisClient", - "id": 685 + "id": 1145 }, "enabled": true }, @@ -640,7 +640,7 @@ "object": "Client", "symbol": "mSet", "parentSymbol": "redisClient", - "id": 686 + "id": 1146 }, "enabled": true }, @@ -657,7 +657,7 @@ "object": "Client", "symbol": "mSetNx", "parentSymbol": "redisClient", - "id": 687 + "id": 1147 }, "enabled": true }, @@ -674,7 +674,7 @@ "object": "Client", "symbol": "pSetEx", "parentSymbol": "redisClient", - "id": 688 + "id": 1151 }, "enabled": true }, @@ -691,7 +691,7 @@ "object": "Client", "symbol": "set", "parentSymbol": "redisClient", - "id": 689 + "id": 1152 }, "enabled": true }, @@ -708,7 +708,7 @@ "object": "Client", "symbol": "setBit", "parentSymbol": "redisClient", - "id": 690 + "id": 1153 }, "enabled": true }, @@ -725,7 +725,7 @@ "object": "Client", "symbol": "setEx", "parentSymbol": "redisClient", - "id": 691 + "id": 1154 }, "enabled": true }, @@ -742,7 +742,7 @@ "object": "Client", "symbol": "setNx", "parentSymbol": "redisClient", - "id": 692 + "id": 1155 }, "enabled": true }, @@ -759,7 +759,7 @@ "object": "Client", "symbol": "setRange", "parentSymbol": "redisClient", - "id": 693 + "id": 1156 }, "enabled": true }, @@ -776,7 +776,7 @@ "object": "Client", "symbol": "strLen", "parentSymbol": "redisClient", - "id": 694 + "id": 1158 }, "enabled": true }, @@ -793,7 +793,7 @@ "object": "Client", "symbol": "lPush", "parentSymbol": "redisClient", - "id": 695 + "id": 1159 }, "enabled": true }, @@ -810,7 +810,7 @@ "object": "Client", "symbol": "lPop", "parentSymbol": "redisClient", - "id": 696 + "id": 1160 }, "enabled": true }, @@ -827,7 +827,7 @@ "object": "Client", "symbol": "lPushX", "parentSymbol": "redisClient", - "id": 697 + "id": 1161 }, "enabled": true }, @@ -844,7 +844,7 @@ "object": "Client", "symbol": "bLPop", "parentSymbol": "redisClient", - "id": 698 + "id": 1162 }, "enabled": true }, @@ -861,7 +861,7 @@ "object": "Client", "symbol": "bRPop", "parentSymbol": "redisClient", - "id": 699 + "id": 1163 }, "enabled": true }, @@ -878,7 +878,7 @@ "object": "Client", "symbol": "lIndex", "parentSymbol": "redisClient", - "id": 700 + "id": 1164 }, "enabled": true }, @@ -895,7 +895,7 @@ "object": "Client", "symbol": "lInsert", "parentSymbol": "redisClient", - "id": 701 + "id": 1165 }, "enabled": true }, @@ -912,7 +912,7 @@ "object": "Client", "symbol": "lLen", "parentSymbol": "redisClient", - "id": 702 + "id": 1168 }, "enabled": true }, @@ -929,7 +929,7 @@ "object": "Client", "symbol": "lRange", "parentSymbol": "redisClient", - "id": 703 + "id": 1169 }, "enabled": true }, @@ -946,7 +946,7 @@ "object": "Client", "symbol": "lRem", "parentSymbol": "redisClient", - "id": 704 + "id": 1170 }, "enabled": true }, @@ -963,7 +963,7 @@ "object": "Client", "symbol": "lSet", "parentSymbol": "redisClient", - "id": 705 + "id": 1171 }, "enabled": true }, @@ -980,7 +980,7 @@ "object": "Client", "symbol": "lTrim", "parentSymbol": "redisClient", - "id": 706 + "id": 1172 }, "enabled": true }, @@ -997,7 +997,7 @@ "object": "Client", "symbol": "rPop", "parentSymbol": "redisClient", - "id": 707 + "id": 1173 }, "enabled": true }, @@ -1014,7 +1014,7 @@ "object": "Client", "symbol": "rPopLPush", "parentSymbol": "redisClient", - "id": 708 + "id": 1174 }, "enabled": true }, @@ -1031,7 +1031,7 @@ "object": "Client", "symbol": "rPush", "parentSymbol": "redisClient", - "id": 709 + "id": 1175 }, "enabled": true }, @@ -1048,7 +1048,7 @@ "object": "Client", "symbol": "rPushX", "parentSymbol": "redisClient", - "id": 710 + "id": 1176 }, "enabled": true }, @@ -1065,7 +1065,7 @@ "object": "Client", "symbol": "sAdd", "parentSymbol": "redisClient", - "id": 711 + "id": 1177 }, "enabled": true }, @@ -1082,7 +1082,7 @@ "object": "Client", "symbol": "sCard", "parentSymbol": "redisClient", - "id": 712 + "id": 1178 }, "enabled": true }, @@ -1099,7 +1099,7 @@ "object": "Client", "symbol": "sDiff", "parentSymbol": "redisClient", - "id": 713 + "id": 1179 }, "enabled": true }, @@ -1116,7 +1116,7 @@ "object": "Client", "symbol": "sDiffStore", "parentSymbol": "redisClient", - "id": 714 + "id": 1180 }, "enabled": true }, @@ -1133,7 +1133,7 @@ "object": "Client", "symbol": "sInter", "parentSymbol": "redisClient", - "id": 715 + "id": 1181 }, "enabled": true }, @@ -1150,7 +1150,7 @@ "object": "Client", "symbol": "sInterStore", "parentSymbol": "redisClient", - "id": 716 + "id": 1182 }, "enabled": true }, @@ -1167,7 +1167,7 @@ "object": "Client", "symbol": "sIsMember", "parentSymbol": "redisClient", - "id": 717 + "id": 1190 }, "enabled": true }, @@ -1184,7 +1184,7 @@ "object": "Client", "symbol": "sMembers", "parentSymbol": "redisClient", - "id": 718 + "id": 1191 }, "enabled": true }, @@ -1201,7 +1201,7 @@ "object": "Client", "symbol": "sMove", "parentSymbol": "redisClient", - "id": 719 + "id": 1192 }, "enabled": true }, @@ -1218,7 +1218,7 @@ "object": "Client", "symbol": "sPop", "parentSymbol": "redisClient", - "id": 720 + "id": 1193 }, "enabled": true }, @@ -1235,7 +1235,7 @@ "object": "Client", "symbol": "sRandMember", "parentSymbol": "redisClient", - "id": 721 + "id": 1194 }, "enabled": true }, @@ -1252,7 +1252,7 @@ "object": "Client", "symbol": "sRem", "parentSymbol": "redisClient", - "id": 722 + "id": 1195 }, "enabled": true }, @@ -1269,7 +1269,7 @@ "object": "Client", "symbol": "sUnion", "parentSymbol": "redisClient", - "id": 723 + "id": 1196 }, "enabled": true }, @@ -1286,7 +1286,7 @@ "object": "Client", "symbol": "sUnionStore", "parentSymbol": "redisClient", - "id": 724 + "id": 1197 }, "enabled": true }, @@ -1303,7 +1303,7 @@ "object": "Client", "symbol": "zAdd", "parentSymbol": "redisClient", - "id": 725 + "id": 1198 }, "enabled": true }, @@ -1320,7 +1320,7 @@ "object": "Client", "symbol": "zCard", "parentSymbol": "redisClient", - "id": 726 + "id": 1199 }, "enabled": true }, @@ -1337,7 +1337,7 @@ "object": "Client", "symbol": "zCount", "parentSymbol": "redisClient", - "id": 727 + "id": 1200 }, "enabled": true }, @@ -1354,7 +1354,7 @@ "object": "Client", "symbol": "zIncrBy", "parentSymbol": "redisClient", - "id": 728 + "id": 1201 }, "enabled": true }, @@ -1371,7 +1371,7 @@ "object": "Client", "symbol": "zInterStore", "parentSymbol": "redisClient", - "id": 729 + "id": 1202 }, "enabled": true }, @@ -1388,7 +1388,7 @@ "object": "Client", "symbol": "zLexCount", "parentSymbol": "redisClient", - "id": 730 + "id": 1203 }, "enabled": true }, @@ -1405,7 +1405,7 @@ "object": "Client", "symbol": "zRange", "parentSymbol": "redisClient", - "id": 731 + "id": 1204 }, "enabled": true }, @@ -1422,7 +1422,7 @@ "object": "Client", "symbol": "zRangeByLex", "parentSymbol": "redisClient", - "id": 732 + "id": 1205 }, "enabled": true }, @@ -1439,7 +1439,7 @@ "object": "Client", "symbol": "zRevRangeByLex", "parentSymbol": "redisClient", - "id": 737 + "id": 1206 }, "enabled": true }, @@ -1456,7 +1456,7 @@ "object": "Client", "symbol": "zRangeByScore", "parentSymbol": "redisClient", - "id": 738 + "id": 1221 }, "enabled": true }, @@ -1473,7 +1473,7 @@ "object": "Client", "symbol": "zRank", "parentSymbol": "redisClient", - "id": 739 + "id": 1222 }, "enabled": true }, @@ -1490,7 +1490,7 @@ "object": "Client", "symbol": "zRem", "parentSymbol": "redisClient", - "id": 740 + "id": 1223 }, "enabled": true }, @@ -1507,7 +1507,7 @@ "object": "Client", "symbol": "zRemRangeByLex", "parentSymbol": "redisClient", - "id": 741 + "id": 1224 }, "enabled": true }, @@ -1524,7 +1524,7 @@ "object": "Client", "symbol": "zRemRangeByRank", "parentSymbol": "redisClient", - "id": 742 + "id": 1225 }, "enabled": true }, @@ -1541,7 +1541,7 @@ "object": "Client", "symbol": "zRemRangeByScore", "parentSymbol": "redisClient", - "id": 743 + "id": 1226 }, "enabled": true }, @@ -1558,7 +1558,7 @@ "object": "Client", "symbol": "zRevRange", "parentSymbol": "redisClient", - "id": 744 + "id": 1227 }, "enabled": true }, @@ -1575,7 +1575,7 @@ "object": "Client", "symbol": "zRevRangeByScore", "parentSymbol": "redisClient", - "id": 745 + "id": 1251 }, "enabled": true }, @@ -1592,7 +1592,7 @@ "object": "Client", "symbol": "zRevRank", "parentSymbol": "redisClient", - "id": 746 + "id": 1253 }, "enabled": true }, @@ -1609,7 +1609,7 @@ "object": "Client", "symbol": "zScore", "parentSymbol": "redisClient", - "id": 747 + "id": 1254 }, "enabled": true }, @@ -1626,7 +1626,7 @@ "object": "Client", "symbol": "zUnionStore", "parentSymbol": "redisClient", - "id": 748 + "id": 1255 }, "enabled": true }, @@ -1643,7 +1643,7 @@ "object": "Client", "symbol": "hDel", "parentSymbol": "redisClient", - "id": 749 + "id": 1256 }, "enabled": true }, @@ -1660,7 +1660,7 @@ "object": "Client", "symbol": "hExists", "parentSymbol": "redisClient", - "id": 750 + "id": 1257 }, "enabled": true }, @@ -1677,7 +1677,7 @@ "object": "Client", "symbol": "hGet", "parentSymbol": "redisClient", - "id": 751 + "id": 1260 }, "enabled": true }, @@ -1694,7 +1694,7 @@ "object": "Client", "symbol": "hGetAll", "parentSymbol": "redisClient", - "id": 752 + "id": 1261 }, "enabled": true }, @@ -1711,7 +1711,7 @@ "object": "Client", "symbol": "hIncrBy", "parentSymbol": "redisClient", - "id": 753 + "id": 1262 }, "enabled": true }, @@ -1728,7 +1728,7 @@ "object": "Client", "symbol": "hIncrByFloat", "parentSymbol": "redisClient", - "id": 754 + "id": 1263 }, "enabled": true }, @@ -1745,7 +1745,7 @@ "object": "Client", "symbol": "hKeys", "parentSymbol": "redisClient", - "id": 755 + "id": 1264 }, "enabled": true }, @@ -1762,7 +1762,7 @@ "object": "Client", "symbol": "hLen", "parentSymbol": "redisClient", - "id": 756 + "id": 1265 }, "enabled": true }, @@ -1779,7 +1779,7 @@ "object": "Client", "symbol": "hMGet", "parentSymbol": "redisClient", - "id": 757 + "id": 1266 }, "enabled": true }, @@ -1796,7 +1796,7 @@ "object": "Client", "symbol": "hMSet", "parentSymbol": "redisClient", - "id": 758 + "id": 1267 }, "enabled": true }, @@ -1813,7 +1813,7 @@ "object": "Client", "symbol": "hSet", "parentSymbol": "redisClient", - "id": 759 + "id": 1268 }, "enabled": true }, @@ -1830,7 +1830,7 @@ "object": "Client", "symbol": "hSetNx", "parentSymbol": "redisClient", - "id": 760 + "id": 1270 }, "enabled": true }, @@ -1847,7 +1847,7 @@ "object": "Client", "symbol": "hStrLen", "parentSymbol": "redisClient", - "id": 761 + "id": 1271 }, "enabled": true }, @@ -1864,7 +1864,7 @@ "object": "Client", "symbol": "hVals", "parentSymbol": "redisClient", - "id": 763 + "id": 1282 }, "enabled": true }, @@ -1881,7 +1881,7 @@ "object": "Client", "symbol": "del", "parentSymbol": "redisClient", - "id": 765 + "id": 1284 }, "enabled": true }, @@ -1898,7 +1898,7 @@ "object": "Client", "symbol": "exists", "parentSymbol": "redisClient", - "id": 766 + "id": 1287 }, "enabled": true }, @@ -1915,7 +1915,7 @@ "object": "Client", "symbol": "expire", "parentSymbol": "redisClient", - "id": 770 + "id": 1289 }, "enabled": true }, @@ -1932,7 +1932,7 @@ "object": "Client", "symbol": "keys", "parentSymbol": "redisClient", - "id": 771 + "id": 1301 }, "enabled": true }, @@ -1949,7 +1949,7 @@ "object": "Client", "symbol": "move", "parentSymbol": "redisClient", - "id": 772 + "id": 1303 }, "enabled": true }, @@ -1966,7 +1966,7 @@ "object": "Client", "symbol": "persist", "parentSymbol": "redisClient", - "id": 773 + "id": 1304 }, "enabled": true }, @@ -1983,7 +1983,7 @@ "object": "Client", "symbol": "pExpire", "parentSymbol": "redisClient", - "id": 774 + "id": 1310 }, "enabled": true }, @@ -2000,7 +2000,7 @@ "object": "Client", "symbol": "pTtl", "parentSymbol": "redisClient", - "id": 775 + "id": 1314 }, "enabled": true }, @@ -2017,7 +2017,7 @@ "object": "Client", "symbol": "randomKey", "parentSymbol": "redisClient", - "id": 778 + "id": 1315 }, "enabled": true }, @@ -2034,7 +2034,7 @@ "object": "Client", "symbol": "rename", "parentSymbol": "redisClient", - "id": 779 + "id": 1316 }, "enabled": true }, @@ -2051,7 +2051,7 @@ "object": "Client", "symbol": "renameNx", "parentSymbol": "redisClient", - "id": 780 + "id": 1317 }, "enabled": true }, @@ -2068,7 +2068,7 @@ "object": "Client", "symbol": "sort", "parentSymbol": "redisClient", - "id": 781 + "id": 1318 }, "enabled": true }, @@ -2085,7 +2085,7 @@ "object": "Client", "symbol": "ttl", "parentSymbol": "redisClient", - "id": 782 + "id": 1319 }, "enabled": true }, @@ -2102,7 +2102,7 @@ "object": "Client", "symbol": "redisType", "parentSymbol": "redisClient", - "id": 783 + "id": 1320 }, "enabled": true }, @@ -2119,7 +2119,7 @@ "object": "Client", "symbol": "clusterInfo", "parentSymbol": "redisClient", - "id": 784 + "id": 1321 }, "enabled": true }, @@ -2136,7 +2136,7 @@ "object": "Client", "symbol": "ping", "parentSymbol": "redisClient", - "id": 785 + "id": 1322 }, "enabled": true }, @@ -2153,7 +2153,7 @@ "object": "Client", "symbol": "auth", "parentSymbol": "redisClient", - "id": 786 + "id": 1323 }, "enabled": true }, @@ -2170,7 +2170,7 @@ "object": "Client", "symbol": "echo", "parentSymbol": "redisClient", - "id": 787 + "id": 1324 }, "enabled": true }, @@ -2189,7 +2189,7 @@ "symbol": "close", "parentSymbol": "redisClient", "resourcePath": "", - "id": 788 + "id": 1325 }, "enabled": true } @@ -2213,7 +2213,7 @@ "object": "Client", "symbol": "append", "parentSymbol": "redisClientResult", - "id": 670 + "id": 1088 }, "enabled": true }, @@ -2230,7 +2230,7 @@ "object": "Client", "symbol": "bitCount", "parentSymbol": "redisClientResult", - "id": 671 + "id": 1089 }, "enabled": true }, @@ -2247,7 +2247,7 @@ "object": "Client", "symbol": "bitOpAnd", "parentSymbol": "redisClientResult", - "id": 672 + "id": 1090 }, "enabled": true }, @@ -2264,7 +2264,7 @@ "object": "Client", "symbol": "bitOpOr", "parentSymbol": "redisClientResult", - "id": 673 + "id": 1091 }, "enabled": true }, @@ -2281,7 +2281,7 @@ "object": "Client", "symbol": "bitOpNot", "parentSymbol": "redisClientResult", - "id": 674 + "id": 1092 }, "enabled": true }, @@ -2298,7 +2298,7 @@ "object": "Client", "symbol": "bitOpXor", "parentSymbol": "redisClientResult", - "id": 675 + "id": 1099 }, "enabled": true }, @@ -2315,7 +2315,7 @@ "object": "Client", "symbol": "decr", "parentSymbol": "redisClientResult", - "id": 676 + "id": 1100 }, "enabled": true }, @@ -2332,7 +2332,7 @@ "object": "Client", "symbol": "decrBy", "parentSymbol": "redisClientResult", - "id": 677 + "id": 1101 }, "enabled": true }, @@ -2349,7 +2349,7 @@ "object": "Client", "symbol": "getBit", "parentSymbol": "redisClientResult", - "id": 678 + "id": 1115 }, "enabled": true }, @@ -2366,7 +2366,7 @@ "object": "Client", "symbol": "getRange", "parentSymbol": "redisClientResult", - "id": 679 + "id": 1116 }, "enabled": true }, @@ -2383,7 +2383,7 @@ "object": "Client", "symbol": "getSet", "parentSymbol": "redisClientResult", - "id": 680 + "id": 1118 }, "enabled": true }, @@ -2400,7 +2400,7 @@ "object": "Client", "symbol": "get", "parentSymbol": "redisClientResult", - "id": 681 + "id": 1120 }, "enabled": true }, @@ -2417,7 +2417,7 @@ "object": "Client", "symbol": "incr", "parentSymbol": "redisClientResult", - "id": 682 + "id": 1141 }, "enabled": true }, @@ -2434,7 +2434,7 @@ "object": "Client", "symbol": "incrBy", "parentSymbol": "redisClientResult", - "id": 683 + "id": 1142 }, "enabled": true }, @@ -2451,7 +2451,7 @@ "object": "Client", "symbol": "incrByFloat", "parentSymbol": "redisClientResult", - "id": 684 + "id": 1143 }, "enabled": true }, @@ -2468,7 +2468,7 @@ "object": "Client", "symbol": "mGet", "parentSymbol": "redisClientResult", - "id": 685 + "id": 1145 }, "enabled": true }, @@ -2485,7 +2485,7 @@ "object": "Client", "symbol": "mSet", "parentSymbol": "redisClientResult", - "id": 686 + "id": 1146 }, "enabled": true }, @@ -2502,7 +2502,7 @@ "object": "Client", "symbol": "mSetNx", "parentSymbol": "redisClientResult", - "id": 687 + "id": 1147 }, "enabled": true }, @@ -2519,7 +2519,7 @@ "object": "Client", "symbol": "pSetEx", "parentSymbol": "redisClientResult", - "id": 688 + "id": 1151 }, "enabled": true }, @@ -2536,7 +2536,7 @@ "object": "Client", "symbol": "set", "parentSymbol": "redisClientResult", - "id": 689 + "id": 1152 }, "enabled": true }, @@ -2553,7 +2553,7 @@ "object": "Client", "symbol": "setBit", "parentSymbol": "redisClientResult", - "id": 690 + "id": 1153 }, "enabled": true }, @@ -2570,7 +2570,7 @@ "object": "Client", "symbol": "setEx", "parentSymbol": "redisClientResult", - "id": 691 + "id": 1154 }, "enabled": true }, @@ -2587,7 +2587,7 @@ "object": "Client", "symbol": "setNx", "parentSymbol": "redisClientResult", - "id": 692 + "id": 1155 }, "enabled": true }, @@ -2604,7 +2604,7 @@ "object": "Client", "symbol": "setRange", "parentSymbol": "redisClientResult", - "id": 693 + "id": 1156 }, "enabled": true }, @@ -2621,7 +2621,7 @@ "object": "Client", "symbol": "strLen", "parentSymbol": "redisClientResult", - "id": 694 + "id": 1158 }, "enabled": true }, @@ -2638,7 +2638,7 @@ "object": "Client", "symbol": "lPush", "parentSymbol": "redisClientResult", - "id": 695 + "id": 1159 }, "enabled": true }, @@ -2655,7 +2655,7 @@ "object": "Client", "symbol": "lPop", "parentSymbol": "redisClientResult", - "id": 696 + "id": 1160 }, "enabled": true }, @@ -2672,7 +2672,7 @@ "object": "Client", "symbol": "lPushX", "parentSymbol": "redisClientResult", - "id": 697 + "id": 1161 }, "enabled": true }, @@ -2689,7 +2689,7 @@ "object": "Client", "symbol": "bLPop", "parentSymbol": "redisClientResult", - "id": 698 + "id": 1162 }, "enabled": true }, @@ -2706,7 +2706,7 @@ "object": "Client", "symbol": "bRPop", "parentSymbol": "redisClientResult", - "id": 699 + "id": 1163 }, "enabled": true }, @@ -2723,7 +2723,7 @@ "object": "Client", "symbol": "lIndex", "parentSymbol": "redisClientResult", - "id": 700 + "id": 1164 }, "enabled": true }, @@ -2740,7 +2740,7 @@ "object": "Client", "symbol": "lInsert", "parentSymbol": "redisClientResult", - "id": 701 + "id": 1165 }, "enabled": true }, @@ -2757,7 +2757,7 @@ "object": "Client", "symbol": "lLen", "parentSymbol": "redisClientResult", - "id": 702 + "id": 1168 }, "enabled": true }, @@ -2774,7 +2774,7 @@ "object": "Client", "symbol": "lRange", "parentSymbol": "redisClientResult", - "id": 703 + "id": 1169 }, "enabled": true }, @@ -2791,7 +2791,7 @@ "object": "Client", "symbol": "lRem", "parentSymbol": "redisClientResult", - "id": 704 + "id": 1170 }, "enabled": true }, @@ -2808,7 +2808,7 @@ "object": "Client", "symbol": "lSet", "parentSymbol": "redisClientResult", - "id": 705 + "id": 1171 }, "enabled": true }, @@ -2825,7 +2825,7 @@ "object": "Client", "symbol": "lTrim", "parentSymbol": "redisClientResult", - "id": 706 + "id": 1172 }, "enabled": true }, @@ -2842,7 +2842,7 @@ "object": "Client", "symbol": "rPop", "parentSymbol": "redisClientResult", - "id": 707 + "id": 1173 }, "enabled": true }, @@ -2859,7 +2859,7 @@ "object": "Client", "symbol": "rPopLPush", "parentSymbol": "redisClientResult", - "id": 708 + "id": 1174 }, "enabled": true }, @@ -2876,7 +2876,7 @@ "object": "Client", "symbol": "rPush", "parentSymbol": "redisClientResult", - "id": 709 + "id": 1175 }, "enabled": true }, @@ -2893,7 +2893,7 @@ "object": "Client", "symbol": "rPushX", "parentSymbol": "redisClientResult", - "id": 710 + "id": 1176 }, "enabled": true }, @@ -2910,7 +2910,7 @@ "object": "Client", "symbol": "sAdd", "parentSymbol": "redisClientResult", - "id": 711 + "id": 1177 }, "enabled": true }, @@ -2927,7 +2927,7 @@ "object": "Client", "symbol": "sCard", "parentSymbol": "redisClientResult", - "id": 712 + "id": 1178 }, "enabled": true }, @@ -2944,7 +2944,7 @@ "object": "Client", "symbol": "sDiff", "parentSymbol": "redisClientResult", - "id": 713 + "id": 1179 }, "enabled": true }, @@ -2961,7 +2961,7 @@ "object": "Client", "symbol": "sDiffStore", "parentSymbol": "redisClientResult", - "id": 714 + "id": 1180 }, "enabled": true }, @@ -2978,7 +2978,7 @@ "object": "Client", "symbol": "sInter", "parentSymbol": "redisClientResult", - "id": 715 + "id": 1181 }, "enabled": true }, @@ -2995,7 +2995,7 @@ "object": "Client", "symbol": "sInterStore", "parentSymbol": "redisClientResult", - "id": 716 + "id": 1182 }, "enabled": true }, @@ -3012,7 +3012,7 @@ "object": "Client", "symbol": "sIsMember", "parentSymbol": "redisClientResult", - "id": 717 + "id": 1190 }, "enabled": true }, @@ -3029,7 +3029,7 @@ "object": "Client", "symbol": "sMembers", "parentSymbol": "redisClientResult", - "id": 718 + "id": 1191 }, "enabled": true }, @@ -3046,7 +3046,7 @@ "object": "Client", "symbol": "sMove", "parentSymbol": "redisClientResult", - "id": 719 + "id": 1192 }, "enabled": true }, @@ -3063,7 +3063,7 @@ "object": "Client", "symbol": "sPop", "parentSymbol": "redisClientResult", - "id": 720 + "id": 1193 }, "enabled": true }, @@ -3080,7 +3080,7 @@ "object": "Client", "symbol": "sRandMember", "parentSymbol": "redisClientResult", - "id": 721 + "id": 1194 }, "enabled": true }, @@ -3097,7 +3097,7 @@ "object": "Client", "symbol": "sRem", "parentSymbol": "redisClientResult", - "id": 722 + "id": 1195 }, "enabled": true }, @@ -3114,7 +3114,7 @@ "object": "Client", "symbol": "sUnion", "parentSymbol": "redisClientResult", - "id": 723 + "id": 1196 }, "enabled": true }, @@ -3131,7 +3131,7 @@ "object": "Client", "symbol": "sUnionStore", "parentSymbol": "redisClientResult", - "id": 724 + "id": 1197 }, "enabled": true }, @@ -3148,7 +3148,7 @@ "object": "Client", "symbol": "zAdd", "parentSymbol": "redisClientResult", - "id": 725 + "id": 1198 }, "enabled": true }, @@ -3165,7 +3165,7 @@ "object": "Client", "symbol": "zCard", "parentSymbol": "redisClientResult", - "id": 726 + "id": 1199 }, "enabled": true }, @@ -3182,7 +3182,7 @@ "object": "Client", "symbol": "zCount", "parentSymbol": "redisClientResult", - "id": 727 + "id": 1200 }, "enabled": true }, @@ -3199,7 +3199,7 @@ "object": "Client", "symbol": "zIncrBy", "parentSymbol": "redisClientResult", - "id": 728 + "id": 1201 }, "enabled": true }, @@ -3216,7 +3216,7 @@ "object": "Client", "symbol": "zInterStore", "parentSymbol": "redisClientResult", - "id": 729 + "id": 1202 }, "enabled": true }, @@ -3233,7 +3233,7 @@ "object": "Client", "symbol": "zLexCount", "parentSymbol": "redisClientResult", - "id": 730 + "id": 1203 }, "enabled": true }, @@ -3250,7 +3250,7 @@ "object": "Client", "symbol": "zRange", "parentSymbol": "redisClientResult", - "id": 731 + "id": 1204 }, "enabled": true }, @@ -3267,7 +3267,7 @@ "object": "Client", "symbol": "zRangeByLex", "parentSymbol": "redisClientResult", - "id": 732 + "id": 1205 }, "enabled": true }, @@ -3284,7 +3284,7 @@ "object": "Client", "symbol": "zRevRangeByLex", "parentSymbol": "redisClientResult", - "id": 737 + "id": 1206 }, "enabled": true }, @@ -3301,7 +3301,7 @@ "object": "Client", "symbol": "zRangeByScore", "parentSymbol": "redisClientResult", - "id": 738 + "id": 1221 }, "enabled": true }, @@ -3318,7 +3318,7 @@ "object": "Client", "symbol": "zRank", "parentSymbol": "redisClientResult", - "id": 739 + "id": 1222 }, "enabled": true }, @@ -3335,7 +3335,7 @@ "object": "Client", "symbol": "zRem", "parentSymbol": "redisClientResult", - "id": 740 + "id": 1223 }, "enabled": true }, @@ -3352,7 +3352,7 @@ "object": "Client", "symbol": "zRemRangeByLex", "parentSymbol": "redisClientResult", - "id": 741 + "id": 1224 }, "enabled": true }, @@ -3369,7 +3369,7 @@ "object": "Client", "symbol": "zRemRangeByRank", "parentSymbol": "redisClientResult", - "id": 742 + "id": 1225 }, "enabled": true }, @@ -3386,7 +3386,7 @@ "object": "Client", "symbol": "zRemRangeByScore", "parentSymbol": "redisClientResult", - "id": 743 + "id": 1226 }, "enabled": true }, @@ -3403,7 +3403,7 @@ "object": "Client", "symbol": "zRevRange", "parentSymbol": "redisClientResult", - "id": 744 + "id": 1227 }, "enabled": true }, @@ -3420,7 +3420,7 @@ "object": "Client", "symbol": "zRevRangeByScore", "parentSymbol": "redisClientResult", - "id": 745 + "id": 1251 }, "enabled": true }, @@ -3437,7 +3437,7 @@ "object": "Client", "symbol": "zRevRank", "parentSymbol": "redisClientResult", - "id": 746 + "id": 1253 }, "enabled": true }, @@ -3454,7 +3454,7 @@ "object": "Client", "symbol": "zScore", "parentSymbol": "redisClientResult", - "id": 747 + "id": 1254 }, "enabled": true }, @@ -3471,7 +3471,7 @@ "object": "Client", "symbol": "zUnionStore", "parentSymbol": "redisClientResult", - "id": 748 + "id": 1255 }, "enabled": true }, @@ -3488,7 +3488,7 @@ "object": "Client", "symbol": "hDel", "parentSymbol": "redisClientResult", - "id": 749 + "id": 1256 }, "enabled": true }, @@ -3505,7 +3505,7 @@ "object": "Client", "symbol": "hExists", "parentSymbol": "redisClientResult", - "id": 750 + "id": 1257 }, "enabled": true }, @@ -3522,7 +3522,7 @@ "object": "Client", "symbol": "hGet", "parentSymbol": "redisClientResult", - "id": 751 + "id": 1260 }, "enabled": true }, @@ -3539,7 +3539,7 @@ "object": "Client", "symbol": "hGetAll", "parentSymbol": "redisClientResult", - "id": 752 + "id": 1261 }, "enabled": true }, @@ -3556,7 +3556,7 @@ "object": "Client", "symbol": "hIncrBy", "parentSymbol": "redisClientResult", - "id": 753 + "id": 1262 }, "enabled": true }, @@ -3573,7 +3573,7 @@ "object": "Client", "symbol": "hIncrByFloat", "parentSymbol": "redisClientResult", - "id": 754 + "id": 1263 }, "enabled": true }, @@ -3590,7 +3590,7 @@ "object": "Client", "symbol": "hKeys", "parentSymbol": "redisClientResult", - "id": 755 + "id": 1264 }, "enabled": true }, @@ -3607,7 +3607,7 @@ "object": "Client", "symbol": "hLen", "parentSymbol": "redisClientResult", - "id": 756 + "id": 1265 }, "enabled": true }, @@ -3624,7 +3624,7 @@ "object": "Client", "symbol": "hMGet", "parentSymbol": "redisClientResult", - "id": 757 + "id": 1266 }, "enabled": true }, @@ -3641,7 +3641,7 @@ "object": "Client", "symbol": "hMSet", "parentSymbol": "redisClientResult", - "id": 758 + "id": 1267 }, "enabled": true }, @@ -3658,7 +3658,7 @@ "object": "Client", "symbol": "hSet", "parentSymbol": "redisClientResult", - "id": 759 + "id": 1268 }, "enabled": true }, @@ -3675,7 +3675,7 @@ "object": "Client", "symbol": "hSetNx", "parentSymbol": "redisClientResult", - "id": 760 + "id": 1270 }, "enabled": true }, @@ -3692,7 +3692,7 @@ "object": "Client", "symbol": "hStrLen", "parentSymbol": "redisClientResult", - "id": 761 + "id": 1271 }, "enabled": true }, @@ -3709,7 +3709,7 @@ "object": "Client", "symbol": "hVals", "parentSymbol": "redisClientResult", - "id": 763 + "id": 1282 }, "enabled": true }, @@ -3726,7 +3726,7 @@ "object": "Client", "symbol": "del", "parentSymbol": "redisClientResult", - "id": 765 + "id": 1284 }, "enabled": true }, @@ -3743,7 +3743,7 @@ "object": "Client", "symbol": "exists", "parentSymbol": "redisClientResult", - "id": 766 + "id": 1287 }, "enabled": true }, @@ -3760,7 +3760,7 @@ "object": "Client", "symbol": "expire", "parentSymbol": "redisClientResult", - "id": 770 + "id": 1289 }, "enabled": true }, @@ -3777,7 +3777,7 @@ "object": "Client", "symbol": "keys", "parentSymbol": "redisClientResult", - "id": 771 + "id": 1301 }, "enabled": true }, @@ -3794,7 +3794,7 @@ "object": "Client", "symbol": "move", "parentSymbol": "redisClientResult", - "id": 772 + "id": 1303 }, "enabled": true }, @@ -3811,7 +3811,7 @@ "object": "Client", "symbol": "persist", "parentSymbol": "redisClientResult", - "id": 773 + "id": 1304 }, "enabled": true }, @@ -3828,7 +3828,7 @@ "object": "Client", "symbol": "pExpire", "parentSymbol": "redisClientResult", - "id": 774 + "id": 1310 }, "enabled": true }, @@ -3845,7 +3845,7 @@ "object": "Client", "symbol": "pTtl", "parentSymbol": "redisClientResult", - "id": 775 + "id": 1314 }, "enabled": true }, @@ -3862,7 +3862,7 @@ "object": "Client", "symbol": "randomKey", "parentSymbol": "redisClientResult", - "id": 778 + "id": 1315 }, "enabled": true }, @@ -3879,7 +3879,7 @@ "object": "Client", "symbol": "rename", "parentSymbol": "redisClientResult", - "id": 779 + "id": 1316 }, "enabled": true }, @@ -3896,7 +3896,7 @@ "object": "Client", "symbol": "renameNx", "parentSymbol": "redisClientResult", - "id": 780 + "id": 1317 }, "enabled": true }, @@ -3913,7 +3913,7 @@ "object": "Client", "symbol": "sort", "parentSymbol": "redisClientResult", - "id": 781 + "id": 1318 }, "enabled": true }, @@ -3930,7 +3930,7 @@ "object": "Client", "symbol": "ttl", "parentSymbol": "redisClientResult", - "id": 782 + "id": 1319 }, "enabled": true }, @@ -3947,7 +3947,7 @@ "object": "Client", "symbol": "redisType", "parentSymbol": "redisClientResult", - "id": 783 + "id": 1320 }, "enabled": true }, @@ -3964,7 +3964,7 @@ "object": "Client", "symbol": "clusterInfo", "parentSymbol": "redisClientResult", - "id": 784 + "id": 1321 }, "enabled": true }, @@ -3981,7 +3981,7 @@ "object": "Client", "symbol": "ping", "parentSymbol": "redisClientResult", - "id": 785 + "id": 1322 }, "enabled": true }, @@ -3998,7 +3998,7 @@ "object": "Client", "symbol": "auth", "parentSymbol": "redisClientResult", - "id": 786 + "id": 1323 }, "enabled": true }, @@ -4015,7 +4015,7 @@ "object": "Client", "symbol": "echo", "parentSymbol": "redisClientResult", - "id": 787 + "id": 1324 }, "enabled": true }, @@ -4034,7 +4034,7 @@ "symbol": "close", "parentSymbol": "redisClientResult", "resourcePath": "", - "id": 788 + "id": 1325 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/resource_connector.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/resource_connector.json index 44bf9dc18..b036643ba 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/resource_connector.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/available_nodes/config/resource_connector.json @@ -19,7 +19,7 @@ "items": [ { "metadata": { - "label": "get\\.", + "label": "get/", "description": "GitHub API Root\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -31,8 +31,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "\\.", - "id": 2893 + "resourcePath": "/", + "id": 1799 }, "enabled": true }, @@ -51,13 +51,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/advisories", - "id": 2894 + "id": 1800 }, "enabled": true }, { "metadata": { - "label": "get/advisories/[\"\"]", + "label": "get/advisories/[ghsa_id]", "description": "Get a global security advisory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -69,8 +69,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/advisories/[\"\"]", - "id": 2961 + "resourcePath": "/advisories/[ghsa_id]", + "id": 1889 }, "enabled": true }, @@ -89,13 +89,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/app", - "id": 2962 + "id": 1890 }, "enabled": true }, { "metadata": { - "label": "post/app\\-manifests/[\"\"]/conversions", + "label": "post/app\\-manifests/[code]/conversions", "description": "Create a GitHub App from a manifest\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -107,8 +107,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/app\\-manifests/[\"\"]/conversions", - "id": 2963 + "resourcePath": "/app\\-manifests/[code]/conversions", + "id": 1891 }, "enabled": true }, @@ -127,7 +127,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/app/hook/config", - "id": 2964 + "id": 1892 }, "enabled": true }, @@ -146,7 +146,7 @@ "symbol": "patch", "parentSymbol": "githubClient", "resourcePath": "/app/hook/config", - "id": 2965 + "id": 1893 }, "enabled": true }, @@ -165,13 +165,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/app/hook/deliveries", - "id": 2966 + "id": 1894 }, "enabled": true }, { "metadata": { - "label": "get/app/hook/deliveries/[0]", + "label": "get/app/hook/deliveries/[delivery_id]", "description": "Get a delivery for an app webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -183,14 +183,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/app/hook/deliveries/[0]", - "id": 2999 + "resourcePath": "/app/hook/deliveries/[delivery_id]", + "id": 1909 }, "enabled": true }, { "metadata": { - "label": "post/app/hook/deliveries/[0]/attempts", + "label": "post/app/hook/deliveries/[delivery_id]/attempts", "description": "Redeliver a delivery for an app webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -202,8 +202,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/app/hook/deliveries/[0]/attempts", - "id": 3000 + "resourcePath": "/app/hook/deliveries/[delivery_id]/attempts", + "id": 1910 }, "enabled": true }, @@ -222,7 +222,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/app/installation\\-requests", - "id": 3001 + "id": 1911 }, "enabled": true }, @@ -241,13 +241,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/app/installations", - "id": 3012 + "id": 1917 }, "enabled": true }, { "metadata": { - "label": "get/app/installations/[0]", + "label": "get/app/installations/[installation_id]", "description": "Get an installation for the authenticated app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -259,14 +259,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/app/installations/[0]", - "id": 3033 + "resourcePath": "/app/installations/[installation_id]", + "id": 1931 }, "enabled": true }, { "metadata": { - "label": "delete/app/installations/[0]", + "label": "delete/app/installations/[installation_id]", "description": "Delete an installation for the authenticated app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -278,14 +278,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/app/installations/[0]", - "id": 3034 + "resourcePath": "/app/installations/[installation_id]", + "id": 1945 }, "enabled": true }, { "metadata": { - "label": "post/app/installations/[0]/access_tokens", + "label": "post/app/installations/[installation_id]/access_tokens", "description": "Create an installation access token for an app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -297,14 +297,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/app/installations/[0]/access_tokens", - "id": 3035 + "resourcePath": "/app/installations/[installation_id]/access_tokens", + "id": 1946 }, "enabled": true }, { "metadata": { - "label": "put/app/installations/[0]/suspended", + "label": "put/app/installations/[installation_id]/suspended", "description": "Suspend an app installation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -316,14 +316,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/app/installations/[0]/suspended", - "id": 3036 + "resourcePath": "/app/installations/[installation_id]/suspended", + "id": 1947 }, "enabled": true }, { "metadata": { - "label": "delete/app/installations/[0]/suspended", + "label": "delete/app/installations/[installation_id]/suspended", "description": "Unsuspend an app installation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -335,14 +335,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/app/installations/[0]/suspended", - "id": 3037 + "resourcePath": "/app/installations/[installation_id]/suspended", + "id": 1948 }, "enabled": true }, { "metadata": { - "label": "delete/applications/[\"\"]/grant", + "label": "delete/applications/[client_id]/grant", "description": "Delete an app authorization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -354,14 +354,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/applications/[\"\"]/grant", - "id": 3038 + "resourcePath": "/applications/[client_id]/grant", + "id": 1949 }, "enabled": true }, { "metadata": { - "label": "post/applications/[\"\"]/token", + "label": "post/applications/[client_id]/token", "description": "Check a token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -373,14 +373,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/applications/[\"\"]/token", - "id": 3039 + "resourcePath": "/applications/[client_id]/token", + "id": 1950 }, "enabled": true }, { "metadata": { - "label": "delete/applications/[\"\"]/token", + "label": "delete/applications/[client_id]/token", "description": "Delete an app token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -392,14 +392,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/applications/[\"\"]/token", - "id": 3040 + "resourcePath": "/applications/[client_id]/token", + "id": 1951 }, "enabled": true }, { "metadata": { - "label": "patch/applications/[\"\"]/token", + "label": "patch/applications/[client_id]/token", "description": "Reset a token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -411,14 +411,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/applications/[\"\"]/token", - "id": 3042 + "resourcePath": "/applications/[client_id]/token", + "id": 1952 }, "enabled": true }, { "metadata": { - "label": "post/applications/[\"\"]/token/scoped", + "label": "post/applications/[client_id]/token/scoped", "description": "Create a scoped access token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -430,14 +430,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/applications/[\"\"]/token/scoped", - "id": 3043 + "resourcePath": "/applications/[client_id]/token/scoped", + "id": 1953 }, "enabled": true }, { "metadata": { - "label": "get/apps/[\"\"]", + "label": "get/apps/[app_slug]", "description": "Get an app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -449,14 +449,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/apps/[\"\"]", - "id": 3044 + "resourcePath": "/apps/[app_slug]", + "id": 1954 }, "enabled": true }, { "metadata": { - "label": "get/assignments/[0]", + "label": "get/assignments/[assignment_id]", "description": "Get an assignment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -468,14 +468,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/assignments/[0]", - "id": 3045 + "resourcePath": "/assignments/[assignment_id]", + "id": 1955 }, "enabled": true }, { "metadata": { - "label": "get/assignments/[0]/accepted_assignments", + "label": "get/assignments/[assignment_id]/accepted_assignments", "description": "List accepted assignments for an assignment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -487,14 +487,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/assignments/[0]/accepted_assignments", - "id": 3046 + "resourcePath": "/assignments/[assignment_id]/accepted_assignments", + "id": 1956 }, "enabled": true }, { "metadata": { - "label": "get/assignments/[0]/grades", + "label": "get/assignments/[assignment_id]/grades", "description": "Get assignment grades\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -506,8 +506,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/assignments/[0]/grades", - "id": 3053 + "resourcePath": "/assignments/[assignment_id]/grades", + "id": 1966 }, "enabled": true }, @@ -526,13 +526,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/classrooms", - "id": 3054 + "id": 1968 }, "enabled": true }, { "metadata": { - "label": "get/classrooms/[0]", + "label": "get/classrooms/[classroom_id]", "description": "Get a classroom\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -544,14 +544,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/classrooms/[0]", - "id": 3062 + "resourcePath": "/classrooms/[classroom_id]", + "id": 1977 }, "enabled": true }, { "metadata": { - "label": "get/classrooms/[0]/assignments", + "label": "get/classrooms/[classroom_id]/assignments", "description": "List assignments for a classroom\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -563,8 +563,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/classrooms/[0]/assignments", - "id": 3063 + "resourcePath": "/classrooms/[classroom_id]/assignments", + "id": 1978 }, "enabled": true }, @@ -583,13 +583,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/codes_of_conduct", - "id": 3078 + "id": 1987 }, "enabled": true }, { "metadata": { - "label": "get/codes_of_conduct/[\"\"]", + "label": "get/codes_of_conduct/['key]", "description": "Get a code of conduct\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -601,8 +601,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/codes_of_conduct/[\"\"]", - "id": 3079 + "resourcePath": "/codes_of_conduct/['key]", + "id": 1988 }, "enabled": true }, @@ -621,13 +621,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/emojis", - "id": 3080 + "id": 1989 }, "enabled": true }, { "metadata": { - "label": "get/enterprises/[\"\"]/dependabot/alerts", + "label": "get/enterprises/[enterprise]/dependabot/alerts", "description": "List Dependabot alerts for an enterprise\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -639,14 +639,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/enterprises/[\"\"]/dependabot/alerts", - "id": 3081 + "resourcePath": "/enterprises/[enterprise]/dependabot/alerts", + "id": 1990 }, "enabled": true }, { "metadata": { - "label": "get/enterprises/[\"\"]/secret\\-scanning/alerts", + "label": "get/enterprises/[enterprise]/secret\\-scanning/alerts", "description": "List secret scanning alerts for an enterprise\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -658,8 +658,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/enterprises/[\"\"]/secret\\-scanning/alerts", - "id": 3125 + "resourcePath": "/enterprises/[enterprise]/secret\\-scanning/alerts", + "id": 2071 }, "enabled": true }, @@ -678,7 +678,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/events", - "id": 3149 + "id": 2092 }, "enabled": true }, @@ -697,7 +697,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/feeds", - "id": 3162 + "id": 2103 }, "enabled": true }, @@ -716,7 +716,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/gists", - "id": 3163 + "id": 2104 }, "enabled": true }, @@ -735,7 +735,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/gists", - "id": 3170 + "id": 2109 }, "enabled": true }, @@ -754,7 +754,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/gists/'public", - "id": 3171 + "id": 2112 }, "enabled": true }, @@ -773,13 +773,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/gists/starred", - "id": 3178 + "id": 2130 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]", + "label": "get/gists/[gist_id]", "description": "Get a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -791,14 +791,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]", - "id": 3191 + "resourcePath": "/gists/[gist_id]", + "id": 2138 }, "enabled": true }, { "metadata": { - "label": "delete/gists/[\"\"]", + "label": "delete/gists/[gist_id]", "description": "Delete a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -810,14 +810,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]", - "id": 3192 + "resourcePath": "/gists/[gist_id]", + "id": 2139 }, "enabled": true }, { "metadata": { - "label": "patch/gists/[\"\"]", + "label": "patch/gists/[gist_id]", "description": "Update a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -829,14 +829,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]", - "id": 3193 + "resourcePath": "/gists/[gist_id]", + "id": 2140 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/comments", + "label": "get/gists/[gist_id]/comments", "description": "List gist comments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -848,14 +848,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/comments", - "id": 3194 + "resourcePath": "/gists/[gist_id]/comments", + "id": 2142 }, "enabled": true }, { "metadata": { - "label": "post/gists/[\"\"]/comments", + "label": "post/gists/[gist_id]/comments", "description": "Create a gist comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -867,14 +867,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/comments", - "id": 3198 + "resourcePath": "/gists/[gist_id]/comments", + "id": 2146 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/comments/[0]", + "label": "get/gists/[gist_id]/comments/[comment_id]", "description": "Get a gist comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -886,14 +886,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/comments/[0]", - "id": 3199 + "resourcePath": "/gists/[gist_id]/comments/[comment_id]", + "id": 2149 }, "enabled": true }, { "metadata": { - "label": "delete/gists/[\"\"]/comments/[0]", + "label": "delete/gists/[gist_id]/comments/[comment_id]", "description": "Delete a gist comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -905,14 +905,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/comments/[0]", - "id": 3200 + "resourcePath": "/gists/[gist_id]/comments/[comment_id]", + "id": 2150 }, "enabled": true }, { "metadata": { - "label": "patch/gists/[\"\"]/comments/[0]", + "label": "patch/gists/[gist_id]/comments/[comment_id]", "description": "Update a gist comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -924,14 +924,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/comments/[0]", - "id": 3201 + "resourcePath": "/gists/[gist_id]/comments/[comment_id]", + "id": 2151 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/commits", + "label": "get/gists/[gist_id]/commits", "description": "List gist commits\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -943,14 +943,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/commits", - "id": 3202 + "resourcePath": "/gists/[gist_id]/commits", + "id": 2152 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/forks", + "label": "get/gists/[gist_id]/forks", "description": "List gist forks\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -962,14 +962,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/forks", - "id": 3206 + "resourcePath": "/gists/[gist_id]/forks", + "id": 2172 }, "enabled": true }, { "metadata": { - "label": "post/gists/[\"\"]/forks", + "label": "post/gists/[gist_id]/forks", "description": "Fork a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -981,14 +981,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/forks", - "id": 3216 + "resourcePath": "/gists/[gist_id]/forks", + "id": 2184 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/star", + "label": "get/gists/[gist_id]/star", "description": "Check if a gist is starred\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1000,14 +1000,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/star", - "id": 3217 + "resourcePath": "/gists/[gist_id]/star", + "id": 2185 }, "enabled": true }, { "metadata": { - "label": "put/gists/[\"\"]/star", + "label": "put/gists/[gist_id]/star", "description": "Star a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1019,14 +1019,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/star", - "id": 3218 + "resourcePath": "/gists/[gist_id]/star", + "id": 2187 }, "enabled": true }, { "metadata": { - "label": "delete/gists/[\"\"]/star", + "label": "delete/gists/[gist_id]/star", "description": "Unstar a gist\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1038,14 +1038,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/star", - "id": 3219 + "resourcePath": "/gists/[gist_id]/star", + "id": 2193 }, "enabled": true }, { "metadata": { - "label": "get/gists/[\"\"]/[\"\"]", + "label": "get/gists/[gist_id]/[sha]", "description": "Get a gist revision\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1057,8 +1057,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gists/[\"\"]/[\"\"]", - "id": 3220 + "resourcePath": "/gists/[gist_id]/[sha]", + "id": 2194 }, "enabled": true }, @@ -1077,13 +1077,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/gitignore/templates", - "id": 3221 + "id": 2195 }, "enabled": true }, { "metadata": { - "label": "get/gitignore/templates/[\"\"]", + "label": "get/gitignore/templates/[name]", "description": "Get a gitignore template\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1095,8 +1095,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/gitignore/templates/[\"\"]", - "id": 3222 + "resourcePath": "/gitignore/templates/[name]", + "id": 2196 }, "enabled": true }, @@ -1115,7 +1115,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/installation/repositories", - "id": 3223 + "id": 2197 }, "enabled": true }, @@ -1134,7 +1134,7 @@ "symbol": "delete", "parentSymbol": "githubClient", "resourcePath": "/installation/token", - "id": 3230 + "id": 2208 }, "enabled": true }, @@ -1153,7 +1153,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/issues", - "id": 3231 + "id": 2211 }, "enabled": true }, @@ -1172,13 +1172,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/licenses", - "id": 3268 + "id": 2276 }, "enabled": true }, { "metadata": { - "label": "get/licenses/[\"\"]", + "label": "get/licenses/[license]", "description": "Get a license\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1190,8 +1190,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/licenses/[\"\"]", - "id": 3290 + "resourcePath": "/licenses/[license]", + "id": 2290 }, "enabled": true }, @@ -1210,7 +1210,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/markdown", - "id": 3291 + "id": 2291 }, "enabled": true }, @@ -1229,13 +1229,13 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/markdown/raw", - "id": 3292 + "id": 2292 }, "enabled": true }, { "metadata": { - "label": "get/marketplace_listing/accounts/[0]", + "label": "get/marketplace_listing/accounts/[account_id]", "description": "Get a subscription plan for an account\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1247,8 +1247,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/marketplace_listing/accounts/[0]", - "id": 3293 + "resourcePath": "/marketplace_listing/accounts/[account_id]", + "id": 2293 }, "enabled": true }, @@ -1267,13 +1267,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/marketplace_listing/plans", - "id": 3294 + "id": 2294 }, "enabled": true }, { "metadata": { - "label": "get/marketplace_listing/plans/[0]/accounts", + "label": "get/marketplace_listing/plans/[plan_id]/accounts", "description": "List accounts for a plan\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1285,14 +1285,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/marketplace_listing/plans/[0]/accounts", - "id": 3298 + "resourcePath": "/marketplace_listing/plans/[plan_id]/accounts", + "id": 2310 }, "enabled": true }, { "metadata": { - "label": "get/marketplace_listing/stubbed/accounts/[0]", + "label": "get/marketplace_listing/stubbed/accounts/[account_id]", "description": "Get a subscription plan for an account (stubbed)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1304,8 +1304,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/marketplace_listing/stubbed/accounts/[0]", - "id": 3316 + "resourcePath": "/marketplace_listing/stubbed/accounts/[account_id]", + "id": 2339 }, "enabled": true }, @@ -1324,13 +1324,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/marketplace_listing/stubbed/plans", - "id": 3317 + "id": 2340 }, "enabled": true }, { "metadata": { - "label": "get/marketplace_listing/stubbed/plans/[0]/accounts", + "label": "get/marketplace_listing/stubbed/plans/[plan_id]/accounts", "description": "List accounts for a plan (stubbed)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1342,8 +1342,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/marketplace_listing/stubbed/plans/[0]/accounts", - "id": 3331 + "resourcePath": "/marketplace_listing/stubbed/plans/[plan_id]/accounts", + "id": 2348 }, "enabled": true }, @@ -1362,13 +1362,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/meta", - "id": 3348 + "id": 2360 }, "enabled": true }, { "metadata": { - "label": "get/networks/[\"\"]/[\"\"]/events", + "label": "get/networks/[owner]/[repo]/events", "description": "List public events for a network of repositories\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1380,8 +1380,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/networks/[\"\"]/[\"\"]/events", - "id": 3349 + "resourcePath": "/networks/[owner]/[repo]/events", + "id": 2361 }, "enabled": true }, @@ -1400,7 +1400,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/notifications", - "id": 3355 + "id": 2367 }, "enabled": true }, @@ -1419,13 +1419,13 @@ "symbol": "put", "parentSymbol": "githubClient", "resourcePath": "/notifications", - "id": 3380 + "id": 2395 }, "enabled": true }, { "metadata": { - "label": "get/notifications/threads/[0]", + "label": "get/notifications/threads/[thread_id]", "description": "Get a thread\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1437,14 +1437,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/notifications/threads/[0]", - "id": 3381 + "resourcePath": "/notifications/threads/[thread_id]", + "id": 2396 }, "enabled": true }, { "metadata": { - "label": "patch/notifications/threads/[0]", + "label": "patch/notifications/threads/[thread_id]", "description": "Mark a thread as read\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1456,14 +1456,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/notifications/threads/[0]", - "id": 3382 + "resourcePath": "/notifications/threads/[thread_id]", + "id": 2397 }, "enabled": true }, { "metadata": { - "label": "get/notifications/threads/[0]/subscription", + "label": "get/notifications/threads/[thread_id]/subscription", "description": "Get a thread subscription for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1475,14 +1475,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/notifications/threads/[0]/subscription", - "id": 3383 + "resourcePath": "/notifications/threads/[thread_id]/subscription", + "id": 2398 }, "enabled": true }, { "metadata": { - "label": "put/notifications/threads/[0]/subscription", + "label": "put/notifications/threads/[thread_id]/subscription", "description": "Set a thread subscription\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1494,14 +1494,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/notifications/threads/[0]/subscription", - "id": 3384 + "resourcePath": "/notifications/threads/[thread_id]/subscription", + "id": 2399 }, "enabled": true }, { "metadata": { - "label": "delete/notifications/threads/[0]/subscription", + "label": "delete/notifications/threads/[thread_id]/subscription", "description": "Delete a thread subscription\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1513,8 +1513,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/notifications/threads/[0]/subscription", - "id": 3385 + "resourcePath": "/notifications/threads/[thread_id]/subscription", + "id": 2400 }, "enabled": true }, @@ -1533,7 +1533,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/octocat", - "id": 3386 + "id": 2401 }, "enabled": true }, @@ -1552,13 +1552,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/organizations", - "id": 3400 + "id": 2403 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]", + "label": "get/orgs/[org]", "description": "Get an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1570,14 +1570,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]", - "id": 3404 + "resourcePath": "/orgs/[org]", + "id": 2409 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]", + "label": "delete/orgs/[org]", "description": "Delete an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1589,14 +1589,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]", - "id": 3405 + "resourcePath": "/orgs/[org]", + "id": 2410 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]", + "label": "patch/orgs/[org]", "description": "Update an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1608,14 +1608,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]", - "id": 3406 + "resourcePath": "/orgs/[org]", + "id": 2411 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/cache/usage", + "label": "get/orgs/[org]/actions/cache/usage", "description": "Get GitHub Actions cache usage for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1627,14 +1627,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/cache/usage", - "id": 3407 + "resourcePath": "/orgs/[org]/actions/cache/usage", + "id": 2412 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/cache/usage\\-by\\-repository", + "label": "get/orgs/[org]/actions/cache/usage\\-by\\-repository", "description": "List repositories with GitHub Actions cache usage for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1646,14 +1646,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/cache/usage\\-by\\-repository", - "id": 3410 + "resourcePath": "/orgs/[org]/actions/cache/usage\\-by\\-repository", + "id": 2413 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/oidc/customization/sub", + "label": "get/orgs/[org]/actions/oidc/customization/sub", "description": "Get the customization template for an OIDC subject claim for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1665,14 +1665,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/oidc/customization/sub", - "id": 3414 + "resourcePath": "/orgs/[org]/actions/oidc/customization/sub", + "id": 2418 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/oidc/customization/sub", + "label": "put/orgs/[org]/actions/oidc/customization/sub", "description": "Set the customization template for an OIDC subject claim for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1684,14 +1684,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/oidc/customization/sub", - "id": 3415 + "resourcePath": "/orgs/[org]/actions/oidc/customization/sub", + "id": 2419 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/permissions", + "label": "get/orgs/[org]/actions/permissions", "description": "Get GitHub Actions permissions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1703,14 +1703,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions", - "id": 3416 + "resourcePath": "/orgs/[org]/actions/permissions", + "id": 2420 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/permissions", + "label": "put/orgs/[org]/actions/permissions", "description": "Set GitHub Actions permissions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1722,14 +1722,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions", - "id": 3417 + "resourcePath": "/orgs/[org]/actions/permissions", + "id": 2443 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/permissions/repositories", + "label": "get/orgs/[org]/actions/permissions/repositories", "description": "List selected repositories enabled for GitHub Actions in an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1741,14 +1741,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/repositories", - "id": 3421 + "resourcePath": "/orgs/[org]/actions/permissions/repositories", + "id": 2444 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/permissions/repositories", + "label": "put/orgs/[org]/actions/permissions/repositories", "description": "Set selected repositories enabled for GitHub Actions in an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1760,14 +1760,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/repositories", - "id": 3429 + "resourcePath": "/orgs/[org]/actions/permissions/repositories", + "id": 2450 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/permissions/repositories/[0]", + "label": "put/orgs/[org]/actions/permissions/repositories/[repository_id]", "description": "Enable a selected repository for GitHub Actions in an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1779,14 +1779,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/repositories/[0]", - "id": 3430 + "resourcePath": "/orgs/[org]/actions/permissions/repositories/[repository_id]", + "id": 2452 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/permissions/repositories/[0]", + "label": "delete/orgs/[org]/actions/permissions/repositories/[repository_id]", "description": "Disable a selected repository for GitHub Actions in an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1798,14 +1798,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/repositories/[0]", - "id": 3431 + "resourcePath": "/orgs/[org]/actions/permissions/repositories/[repository_id]", + "id": 2453 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/permissions/selected\\-actions", + "label": "get/orgs/[org]/actions/permissions/selected\\-actions", "description": "Get allowed actions and reusable workflows for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1817,14 +1817,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/selected\\-actions", - "id": 3432 + "resourcePath": "/orgs/[org]/actions/permissions/selected\\-actions", + "id": 2455 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/permissions/selected\\-actions", + "label": "put/orgs/[org]/actions/permissions/selected\\-actions", "description": "Set allowed actions and reusable workflows for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1836,14 +1836,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/selected\\-actions", - "id": 3433 + "resourcePath": "/orgs/[org]/actions/permissions/selected\\-actions", + "id": 2456 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/permissions/workflow", + "label": "get/orgs/[org]/actions/permissions/workflow", "description": "Get default workflow permissions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1855,14 +1855,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/workflow", - "id": 3434 + "resourcePath": "/orgs/[org]/actions/permissions/workflow", + "id": 2457 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/permissions/workflow", + "label": "put/orgs/[org]/actions/permissions/workflow", "description": "Set default workflow permissions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1874,14 +1874,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/permissions/workflow", - "id": 3435 + "resourcePath": "/orgs/[org]/actions/permissions/workflow", + "id": 2458 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/runners", + "label": "get/orgs/[org]/actions/runners", "description": "List self-hosted runners for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1893,14 +1893,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners", - "id": 3436 + "resourcePath": "/orgs/[org]/actions/runners", + "id": 2459 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/runners/downloads", + "label": "get/orgs/[org]/actions/runners/downloads", "description": "List runner applications for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1912,14 +1912,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/downloads", - "id": 3446 + "resourcePath": "/orgs/[org]/actions/runners/downloads", + "id": 2468 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/actions/runners/generate\\-jitconfig", + "label": "post/orgs/[org]/actions/runners/generate\\-jitconfig", "description": "Create configuration for a just-in-time runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1931,14 +1931,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/generate\\-jitconfig", - "id": 3447 + "resourcePath": "/orgs/[org]/actions/runners/generate\\-jitconfig", + "id": 2469 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/actions/runners/registration\\-token", + "label": "post/orgs/[org]/actions/runners/registration\\-token", "description": "Create a registration token for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1950,14 +1950,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/registration\\-token", - "id": 3449 + "resourcePath": "/orgs/[org]/actions/runners/registration\\-token", + "id": 2470 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/actions/runners/remove\\-token", + "label": "post/orgs/[org]/actions/runners/remove\\-token", "description": "Create a remove token for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1969,14 +1969,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/remove\\-token", - "id": 3450 + "resourcePath": "/orgs/[org]/actions/runners/remove\\-token", + "id": 2471 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/runners/[0]", + "label": "get/orgs/[org]/actions/runners/[runner_id]", "description": "Get a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -1988,14 +1988,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]", - "id": 3451 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]", + "id": 2472 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/runners/[0]", + "label": "delete/orgs/[org]/actions/runners/[runner_id]", "description": "Delete a self-hosted runner from an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2007,14 +2007,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]", - "id": 3452 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]", + "id": 2473 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/runners/[0]/labels", + "label": "get/orgs/[org]/actions/runners/[runner_id]/labels", "description": "List labels for a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2026,14 +2026,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]/labels", - "id": 3453 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]/labels", + "id": 2474 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/runners/[0]/labels", + "label": "put/orgs/[org]/actions/runners/[runner_id]/labels", "description": "Set custom labels for a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2045,14 +2045,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]/labels", - "id": 3454 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]/labels", + "id": 2475 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/actions/runners/[0]/labels", + "label": "post/orgs/[org]/actions/runners/[runner_id]/labels", "description": "Add custom labels to a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2064,14 +2064,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]/labels", - "id": 3455 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]/labels", + "id": 2476 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/runners/[0]/labels", + "label": "delete/orgs/[org]/actions/runners/[runner_id]/labels", "description": "Remove all custom labels from a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2083,14 +2083,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]/labels", - "id": 3456 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]/labels", + "id": 2478 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/runners/[0]/labels/[\"\"]", + "label": "delete/orgs/[org]/actions/runners/[runner_id]/labels/[name]", "description": "Remove a custom label from a self-hosted runner for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2102,14 +2102,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/runners/[0]/labels/[\"\"]", - "id": 3457 + "resourcePath": "/orgs/[org]/actions/runners/[runner_id]/labels/[name]", + "id": 2479 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/secrets", + "label": "get/orgs/[org]/actions/secrets", "description": "List organization secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2121,14 +2121,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets", - "id": 3458 + "resourcePath": "/orgs/[org]/actions/secrets", + "id": 2481 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/secrets/public\\-key", + "label": "get/orgs/[org]/actions/secrets/public\\-key", "description": "Get an organization public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2140,14 +2140,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/public\\-key", - "id": 3466 + "resourcePath": "/orgs/[org]/actions/secrets/public\\-key", + "id": 2486 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/secrets/[\"\"]", + "label": "get/orgs/[org]/actions/secrets/[secret_name]", "description": "Get an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2159,14 +2159,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]", - "id": 3467 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]", + "id": 2487 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/secrets/[\"\"]", + "label": "put/orgs/[org]/actions/secrets/[secret_name]", "description": "Create or update an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2178,14 +2178,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]", - "id": 3468 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]", + "id": 2488 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/secrets/[\"\"]", + "label": "delete/orgs/[org]/actions/secrets/[secret_name]", "description": "Delete an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2197,14 +2197,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]", - "id": 3469 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]", + "id": 2491 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/secrets/[\"\"]/repositories", + "label": "get/orgs/[org]/actions/secrets/[secret_name]/repositories", "description": "List selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2216,14 +2216,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]/repositories", - "id": 3470 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]/repositories", + "id": 2493 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/secrets/[\"\"]/repositories", + "label": "put/orgs/[org]/actions/secrets/[secret_name]/repositories", "description": "Set selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2235,14 +2235,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]/repositories", - "id": 3475 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]/repositories", + "id": 2504 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/secrets/[\"\"]/repositories/[0]", + "label": "put/orgs/[org]/actions/secrets/[secret_name]/repositories/[repository_id]", "description": "Add selected repository to an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2254,14 +2254,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]/repositories/[0]", - "id": 3476 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]/repositories/[repository_id]", + "id": 2505 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/secrets/[\"\"]/repositories/[0]", + "label": "delete/orgs/[org]/actions/secrets/[secret_name]/repositories/[repository_id]", "description": "Remove selected repository from an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2273,14 +2273,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/secrets/[\"\"]/repositories/[0]", - "id": 3477 + "resourcePath": "/orgs/[org]/actions/secrets/[secret_name]/repositories/[repository_id]", + "id": 2506 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/variables", + "label": "get/orgs/[org]/actions/variables", "description": "List organization variables\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2292,14 +2292,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables", - "id": 3478 + "resourcePath": "/orgs/[org]/actions/variables", + "id": 2507 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/actions/variables", + "label": "post/orgs/[org]/actions/variables", "description": "Create an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2311,14 +2311,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables", - "id": 3489 + "resourcePath": "/orgs/[org]/actions/variables", + "id": 2511 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/variables/[\"\"]", + "label": "get/orgs/[org]/actions/variables/[name]", "description": "Get an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2330,14 +2330,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]", - "id": 3490 + "resourcePath": "/orgs/[org]/actions/variables/[name]", + "id": 2512 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/variables/[\"\"]", + "label": "delete/orgs/[org]/actions/variables/[name]", "description": "Delete an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2349,14 +2349,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]", - "id": 3491 + "resourcePath": "/orgs/[org]/actions/variables/[name]", + "id": 2513 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/actions/variables/[\"\"]", + "label": "patch/orgs/[org]/actions/variables/[name]", "description": "Update an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2368,14 +2368,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]", - "id": 3492 + "resourcePath": "/orgs/[org]/actions/variables/[name]", + "id": 2514 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/actions/variables/[\"\"]/repositories", + "label": "get/orgs/[org]/actions/variables/[name]/repositories", "description": "List selected repositories for an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2387,14 +2387,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]/repositories", - "id": 3494 + "resourcePath": "/orgs/[org]/actions/variables/[name]/repositories", + "id": 2515 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/variables/[\"\"]/repositories", + "label": "put/orgs/[org]/actions/variables/[name]/repositories", "description": "Set selected repositories for an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2406,14 +2406,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]/repositories", - "id": 3497 + "resourcePath": "/orgs/[org]/actions/variables/[name]/repositories", + "id": 2521 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/actions/variables/[\"\"]/repositories/[0]", + "label": "put/orgs/[org]/actions/variables/[name]/repositories/[repository_id]", "description": "Add selected repository to an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2425,14 +2425,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]/repositories/[0]", - "id": 3498 + "resourcePath": "/orgs/[org]/actions/variables/[name]/repositories/[repository_id]", + "id": 2522 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/actions/variables/[\"\"]/repositories/[0]", + "label": "delete/orgs/[org]/actions/variables/[name]/repositories/[repository_id]", "description": "Remove selected repository from an organization variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2444,14 +2444,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/actions/variables/[\"\"]/repositories/[0]", - "id": 3499 + "resourcePath": "/orgs/[org]/actions/variables/[name]/repositories/[repository_id]", + "id": 2523 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/blocks", + "label": "get/orgs/[org]/blocks", "description": "List users blocked by an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2463,14 +2463,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/blocks", - "id": 3500 + "resourcePath": "/orgs/[org]/blocks", + "id": 2524 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/blocks/[\"\"]", + "label": "get/orgs/[org]/blocks/[username]", "description": "Check if a user is blocked by an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2482,14 +2482,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/blocks/[\"\"]", - "id": 3510 + "resourcePath": "/orgs/[org]/blocks/[username]", + "id": 2529 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/blocks/[\"\"]", + "label": "put/orgs/[org]/blocks/[username]", "description": "Block a user from an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2501,14 +2501,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/blocks/[\"\"]", - "id": 3511 + "resourcePath": "/orgs/[org]/blocks/[username]", + "id": 2535 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/blocks/[\"\"]", + "label": "delete/orgs/[org]/blocks/[username]", "description": "Unblock a user from an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2520,14 +2520,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/blocks/[\"\"]", - "id": 3512 + "resourcePath": "/orgs/[org]/blocks/[username]", + "id": 2536 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/code\\-scanning/alerts", + "label": "get/orgs/[org]/code\\-scanning/alerts", "description": "List code scanning alerts for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2539,14 +2539,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/code\\-scanning/alerts", - "id": 3515 + "resourcePath": "/orgs/[org]/code\\-scanning/alerts", + "id": 2537 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/codespaces", + "label": "get/orgs/[org]/codespaces", "description": "List codespaces for the organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2558,14 +2558,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces", - "id": 3541 + "resourcePath": "/orgs/[org]/codespaces", + "id": 2574 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/codespaces/access", + "label": "put/orgs/[org]/codespaces/access", "description": "Manage access control for organization codespaces\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2577,14 +2577,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/access", - "id": 3542 + "resourcePath": "/orgs/[org]/codespaces/access", + "id": 2588 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/codespaces/access/selected_users", + "label": "post/orgs/[org]/codespaces/access/selected_users", "description": "Add users to Codespaces access for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2596,14 +2596,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/access/selected_users", - "id": 3543 + "resourcePath": "/orgs/[org]/codespaces/access/selected_users", + "id": 2589 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/codespaces/access/selected_users", + "label": "delete/orgs/[org]/codespaces/access/selected_users", "description": "Remove users from Codespaces access for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2615,14 +2615,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/access/selected_users", - "id": 3544 + "resourcePath": "/orgs/[org]/codespaces/access/selected_users", + "id": 2590 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/codespaces/secrets", + "label": "get/orgs/[org]/codespaces/secrets", "description": "List organization secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2634,14 +2634,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets", - "id": 3545 + "resourcePath": "/orgs/[org]/codespaces/secrets", + "id": 2591 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/codespaces/secrets/public\\-key", + "label": "get/orgs/[org]/codespaces/secrets/public\\-key", "description": "Get an organization public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2653,14 +2653,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/public\\-key", - "id": 3551 + "resourcePath": "/orgs/[org]/codespaces/secrets/public\\-key", + "id": 2608 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/codespaces/secrets/[\"\"]", + "label": "get/orgs/[org]/codespaces/secrets/[secret_name]", "description": "Get an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2672,14 +2672,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]", - "id": 3552 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]", + "id": 2609 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/codespaces/secrets/[\"\"]", + "label": "put/orgs/[org]/codespaces/secrets/[secret_name]", "description": "Create or update an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2691,14 +2691,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]", - "id": 3553 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]", + "id": 2610 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/codespaces/secrets/[\"\"]", + "label": "delete/orgs/[org]/codespaces/secrets/[secret_name]", "description": "Delete an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2710,14 +2710,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]", - "id": 3554 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]", + "id": 2611 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories", + "label": "get/orgs/[org]/codespaces/secrets/[secret_name]/repositories", "description": "List selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2729,14 +2729,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories", - "id": 3555 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]/repositories", + "id": 2612 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories", + "label": "put/orgs/[org]/codespaces/secrets/[secret_name]/repositories", "description": "Set selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2748,14 +2748,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories", - "id": 3558 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]/repositories", + "id": 2620 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories/[0]", + "label": "put/orgs/[org]/codespaces/secrets/[secret_name]/repositories/[repository_id]", "description": "Add selected repository to an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2767,14 +2767,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories/[0]", - "id": 3559 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]/repositories/[repository_id]", + "id": 2621 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories/[0]", + "label": "delete/orgs/[org]/codespaces/secrets/[secret_name]/repositories/[repository_id]", "description": "Remove selected repository from an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2786,14 +2786,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/codespaces/secrets/[\"\"]/repositories/[0]", - "id": 3560 + "resourcePath": "/orgs/[org]/codespaces/secrets/[secret_name]/repositories/[repository_id]", + "id": 2623 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/copilot/billing", + "label": "get/orgs/[org]/copilot/billing", "description": "Get Copilot for Business seat information and settings for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2805,14 +2805,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing", - "id": 3561 + "resourcePath": "/orgs/[org]/copilot/billing", + "id": 2627 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/copilot/billing/seats", + "label": "get/orgs/[org]/copilot/billing/seats", "description": "List all Copilot for Business seat assignments for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2824,14 +2824,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing/seats", - "id": 3562 + "resourcePath": "/orgs/[org]/copilot/billing/seats", + "id": 2628 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/copilot/billing/selected_teams", + "label": "post/orgs/[org]/copilot/billing/selected_teams", "description": "Add teams to the Copilot for Business subscription for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2843,14 +2843,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing/selected_teams", - "id": 3570 + "resourcePath": "/orgs/[org]/copilot/billing/selected_teams", + "id": 2638 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/copilot/billing/selected_teams", + "label": "delete/orgs/[org]/copilot/billing/selected_teams", "description": "Remove teams from the Copilot for Business subscription for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2862,14 +2862,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing/selected_teams", - "id": 3571 + "resourcePath": "/orgs/[org]/copilot/billing/selected_teams", + "id": 2639 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/copilot/billing/selected_users", + "label": "post/orgs/[org]/copilot/billing/selected_users", "description": "Add users to the Copilot for Business subscription for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2881,14 +2881,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing/selected_users", - "id": 3572 + "resourcePath": "/orgs/[org]/copilot/billing/selected_users", + "id": 2640 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/copilot/billing/selected_users", + "label": "delete/orgs/[org]/copilot/billing/selected_users", "description": "Remove users from the Copilot for Business subscription for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2900,14 +2900,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/copilot/billing/selected_users", - "id": 3573 + "resourcePath": "/orgs/[org]/copilot/billing/selected_users", + "id": 2642 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/dependabot/alerts", + "label": "get/orgs/[org]/dependabot/alerts", "description": "List Dependabot alerts for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2919,14 +2919,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/alerts", - "id": 3574 + "resourcePath": "/orgs/[org]/dependabot/alerts", + "id": 2643 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/dependabot/secrets", + "label": "get/orgs/[org]/dependabot/secrets", "description": "List organization secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2938,14 +2938,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets", - "id": 3593 + "resourcePath": "/orgs/[org]/dependabot/secrets", + "id": 2680 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/dependabot/secrets/public\\-key", + "label": "get/orgs/[org]/dependabot/secrets/public\\-key", "description": "Get an organization public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2957,14 +2957,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/public\\-key", - "id": 3598 + "resourcePath": "/orgs/[org]/dependabot/secrets/public\\-key", + "id": 2686 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/dependabot/secrets/[\"\"]", + "label": "get/orgs/[org]/dependabot/secrets/[secret_name]", "description": "Get an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2976,14 +2976,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]", - "id": 3599 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]", + "id": 2687 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/dependabot/secrets/[\"\"]", + "label": "put/orgs/[org]/dependabot/secrets/[secret_name]", "description": "Create or update an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -2995,14 +2995,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]", - "id": 3600 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]", + "id": 2688 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/dependabot/secrets/[\"\"]", + "label": "delete/orgs/[org]/dependabot/secrets/[secret_name]", "description": "Delete an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3014,14 +3014,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]", - "id": 3601 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]", + "id": 2689 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories", + "label": "get/orgs/[org]/dependabot/secrets/[secret_name]/repositories", "description": "List selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3033,14 +3033,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories", - "id": 3602 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]/repositories", + "id": 2690 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories", + "label": "put/orgs/[org]/dependabot/secrets/[secret_name]/repositories", "description": "Set selected repositories for an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3052,14 +3052,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories", - "id": 3610 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]/repositories", + "id": 2697 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories/[0]", + "label": "put/orgs/[org]/dependabot/secrets/[secret_name]/repositories/[repository_id]", "description": "Add selected repository to an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3071,14 +3071,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories/[0]", - "id": 3611 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]/repositories/[repository_id]", + "id": 2735 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories/[0]", + "label": "delete/orgs/[org]/dependabot/secrets/[secret_name]/repositories/[repository_id]", "description": "Remove selected repository from an organization secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3090,14 +3090,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/dependabot/secrets/[\"\"]/repositories/[0]", - "id": 3612 + "resourcePath": "/orgs/[org]/dependabot/secrets/[secret_name]/repositories/[repository_id]", + "id": 2737 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/docker/conflicts", + "label": "get/orgs/[org]/docker/conflicts", "description": "Get list of conflicting packages during Docker migration for organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3109,14 +3109,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/docker/conflicts", - "id": 3613 + "resourcePath": "/orgs/[org]/docker/conflicts", + "id": 2744 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/events", + "label": "get/orgs/[org]/events", "description": "List public organization events\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3128,14 +3128,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/events", - "id": 3614 + "resourcePath": "/orgs/[org]/events", + "id": 2745 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/failed_invitations", + "label": "get/orgs/[org]/failed_invitations", "description": "List failed organization invitations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3147,14 +3147,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/failed_invitations", - "id": 3617 + "resourcePath": "/orgs/[org]/failed_invitations", + "id": 2751 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/hooks", + "label": "get/orgs/[org]/hooks", "description": "List organization webhooks\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3166,14 +3166,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks", - "id": 3619 + "resourcePath": "/orgs/[org]/hooks", + "id": 2759 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/hooks", + "label": "post/orgs/[org]/hooks", "description": "Create an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3185,14 +3185,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks", - "id": 3620 + "resourcePath": "/orgs/[org]/hooks", + "id": 2761 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/hooks/[0]", + "label": "get/orgs/[org]/hooks/[hook_id]", "description": "Get an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3204,14 +3204,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]", - "id": 3621 + "resourcePath": "/orgs/[org]/hooks/[hook_id]", + "id": 2762 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/hooks/[0]", + "label": "delete/orgs/[org]/hooks/[hook_id]", "description": "Delete an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3223,14 +3223,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]", - "id": 3622 + "resourcePath": "/orgs/[org]/hooks/[hook_id]", + "id": 2763 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/hooks/[0]", + "label": "patch/orgs/[org]/hooks/[hook_id]", "description": "Update an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3242,14 +3242,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]", - "id": 3623 + "resourcePath": "/orgs/[org]/hooks/[hook_id]", + "id": 2764 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/hooks/[0]/config", + "label": "get/orgs/[org]/hooks/[hook_id]/config", "description": "Get a webhook configuration for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3261,14 +3261,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/config", - "id": 3624 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/config", + "id": 2765 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/hooks/[0]/config", + "label": "patch/orgs/[org]/hooks/[hook_id]/config", "description": "Update a webhook configuration for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3280,14 +3280,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/config", - "id": 3625 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/config", + "id": 2766 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/hooks/[0]/deliveries", + "label": "get/orgs/[org]/hooks/[hook_id]/deliveries", "description": "List deliveries for an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3299,14 +3299,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/deliveries", - "id": 3626 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/deliveries", + "id": 2767 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/hooks/[0]/deliveries/[0]", + "label": "get/orgs/[org]/hooks/[hook_id]/deliveries/[delivery_id]", "description": "Get a webhook delivery for an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3318,14 +3318,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/deliveries/[0]", - "id": 3627 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/deliveries/[delivery_id]", + "id": 2778 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/hooks/[0]/deliveries/[0]/attempts", + "label": "post/orgs/[org]/hooks/[hook_id]/deliveries/[delivery_id]/attempts", "description": "Redeliver a delivery for an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3337,14 +3337,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/deliveries/[0]/attempts", - "id": 3628 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/deliveries/[delivery_id]/attempts", + "id": 2779 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/hooks/[0]/pings", + "label": "post/orgs/[org]/hooks/[hook_id]/pings", "description": "Ping an organization webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3356,14 +3356,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/hooks/[0]/pings", - "id": 3629 + "resourcePath": "/orgs/[org]/hooks/[hook_id]/pings", + "id": 2781 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/installation", + "label": "get/orgs/[org]/installation", "description": "Get an organization installation for the authenticated app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3375,14 +3375,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/installation", - "id": 3630 + "resourcePath": "/orgs/[org]/installation", + "id": 2782 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/installations", + "label": "get/orgs/[org]/installations", "description": "List app installations for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3394,14 +3394,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/installations", - "id": 3631 + "resourcePath": "/orgs/[org]/installations", + "id": 2783 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/interaction\\-limits", + "label": "get/orgs/[org]/interaction\\-limits", "description": "Get interaction restrictions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3413,14 +3413,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/interaction\\-limits", - "id": 3632 + "resourcePath": "/orgs/[org]/interaction\\-limits", + "id": 2793 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/interaction\\-limits", + "label": "put/orgs/[org]/interaction\\-limits", "description": "Set interaction restrictions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3432,14 +3432,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/interaction\\-limits", - "id": 3633 + "resourcePath": "/orgs/[org]/interaction\\-limits", + "id": 2794 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/interaction\\-limits", + "label": "delete/orgs/[org]/interaction\\-limits", "description": "Remove interaction restrictions for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3451,14 +3451,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/interaction\\-limits", - "id": 3634 + "resourcePath": "/orgs/[org]/interaction\\-limits", + "id": 2795 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/invitations", + "label": "get/orgs/[org]/invitations", "description": "List pending organization invitations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3470,14 +3470,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/invitations", - "id": 3635 + "resourcePath": "/orgs/[org]/invitations", + "id": 2797 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/invitations", + "label": "post/orgs/[org]/invitations", "description": "Create an organization invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3489,14 +3489,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/invitations", - "id": 3638 + "resourcePath": "/orgs/[org]/invitations", + "id": 2808 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/invitations/[0]", + "label": "delete/orgs/[org]/invitations/[invitation_id]", "description": "Cancel an organization invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3508,14 +3508,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/invitations/[0]", - "id": 3639 + "resourcePath": "/orgs/[org]/invitations/[invitation_id]", + "id": 2809 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/invitations/[0]/teams", + "label": "get/orgs/[org]/invitations/[invitation_id]/teams", "description": "List organization invitation teams\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3527,14 +3527,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/invitations/[0]/teams", - "id": 3640 + "resourcePath": "/orgs/[org]/invitations/[invitation_id]/teams", + "id": 2810 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/issues", + "label": "get/orgs/[org]/issues", "description": "List organization issues assigned to the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3546,14 +3546,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/issues", - "id": 3642 + "resourcePath": "/orgs/[org]/issues", + "id": 2818 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/members", + "label": "get/orgs/[org]/members", "description": "List organization members\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3565,14 +3565,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members", - "id": 3673 + "resourcePath": "/orgs/[org]/members", + "id": 2908 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/members/[\"\"]", + "label": "get/orgs/[org]/members/[username]", "description": "Check organization membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3584,14 +3584,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]", - "id": 3675 + "resourcePath": "/orgs/[org]/members/[username]", + "id": 2927 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/members/[\"\"]", + "label": "delete/orgs/[org]/members/[username]", "description": "Remove an organization member\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3603,14 +3603,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]", - "id": 3676 + "resourcePath": "/orgs/[org]/members/[username]", + "id": 2928 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/members/[\"\"]/codespaces", + "label": "get/orgs/[org]/members/[username]/codespaces", "description": "List codespaces for a user in organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3622,14 +3622,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]/codespaces", - "id": 3677 + "resourcePath": "/orgs/[org]/members/[username]/codespaces", + "id": 2948 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/members/[\"\"]/codespaces/[\"\"]", + "label": "delete/orgs/[org]/members/[username]/codespaces/[codespace_name]", "description": "Delete a codespace from the organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3641,14 +3641,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]/codespaces/[\"\"]", - "id": 3679 + "resourcePath": "/orgs/[org]/members/[username]/codespaces/[codespace_name]", + "id": 2981 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/members/[\"\"]/codespaces/[\"\"]/stop", + "label": "post/orgs/[org]/members/[username]/codespaces/[codespace_name]/stop", "description": "Stop a codespace for an organization user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3660,14 +3660,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]/codespaces/[\"\"]/stop", - "id": 3680 + "resourcePath": "/orgs/[org]/members/[username]/codespaces/[codespace_name]/stop", + "id": 2982 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/members/[\"\"]/copilot", + "label": "get/orgs/[org]/members/[username]/copilot", "description": "Get Copilot for Business seat assignment details for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3679,14 +3679,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/members/[\"\"]/copilot", - "id": 3681 + "resourcePath": "/orgs/[org]/members/[username]/copilot", + "id": 2995 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/memberships/[\"\"]", + "label": "get/orgs/[org]/memberships/[username]", "description": "Get organization membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3698,14 +3698,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/memberships/[\"\"]", - "id": 3682 + "resourcePath": "/orgs/[org]/memberships/[username]", + "id": 2996 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/memberships/[\"\"]", + "label": "put/orgs/[org]/memberships/[username]", "description": "Set organization membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3717,14 +3717,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/memberships/[\"\"]", - "id": 3683 + "resourcePath": "/orgs/[org]/memberships/[username]", + "id": 2997 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/memberships/[\"\"]", + "label": "delete/orgs/[org]/memberships/[username]", "description": "Remove organization membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3736,14 +3736,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/memberships/[\"\"]", - "id": 3684 + "resourcePath": "/orgs/[org]/memberships/[username]", + "id": 2998 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/migrations", + "label": "get/orgs/[org]/migrations", "description": "List organization migrations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3755,14 +3755,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations", - "id": 3685 + "resourcePath": "/orgs/[org]/migrations", + "id": 2999 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/migrations", + "label": "post/orgs/[org]/migrations", "description": "Start an organization migration\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3774,14 +3774,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations", - "id": 3688 + "resourcePath": "/orgs/[org]/migrations", + "id": 3096 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/migrations/[0]", + "label": "get/orgs/[org]/migrations/[migration_id]", "description": "Get an organization migration status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3793,14 +3793,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations/[0]", - "id": 3689 + "resourcePath": "/orgs/[org]/migrations/[migration_id]", + "id": 3097 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/migrations/[0]/archive", + "label": "get/orgs/[org]/migrations/[migration_id]/archive", "description": "Download an organization migration archive\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3812,14 +3812,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations/[0]/archive", - "id": 3692 + "resourcePath": "/orgs/[org]/migrations/[migration_id]/archive", + "id": 3107 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/migrations/[0]/archive", + "label": "delete/orgs/[org]/migrations/[migration_id]/archive", "description": "Delete an organization migration archive\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3831,14 +3831,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations/[0]/archive", - "id": 3693 + "resourcePath": "/orgs/[org]/migrations/[migration_id]/archive", + "id": 3108 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/migrations/[0]/repos/[\"\"]/'lock", + "label": "delete/orgs/[org]/migrations/[migration_id]/repos/[repo_name]/'lock", "description": "Unlock an organization repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3850,14 +3850,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations/[0]/repos/[\"\"]/'lock", - "id": 3694 + "resourcePath": "/orgs/[org]/migrations/[migration_id]/repos/[repo_name]/'lock", + "id": 3109 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/migrations/[0]/repositories", + "label": "get/orgs/[org]/migrations/[migration_id]/repositories", "description": "List repositories in an organization migration\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3869,14 +3869,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/migrations/[0]/repositories", - "id": 3695 + "resourcePath": "/orgs/[org]/migrations/[migration_id]/repositories", + "id": 3110 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/outside_collaborators", + "label": "get/orgs/[org]/outside_collaborators", "description": "List outside collaborators for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3888,14 +3888,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/outside_collaborators", - "id": 3697 + "resourcePath": "/orgs/[org]/outside_collaborators", + "id": 3116 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/outside_collaborators/[\"\"]", + "label": "put/orgs/[org]/outside_collaborators/[username]", "description": "Convert an organization member to outside collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3907,14 +3907,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/outside_collaborators/[\"\"]", - "id": 3700 + "resourcePath": "/orgs/[org]/outside_collaborators/[username]", + "id": 3127 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/outside_collaborators/[\"\"]", + "label": "delete/orgs/[org]/outside_collaborators/[username]", "description": "Remove outside collaborator from an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3926,14 +3926,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/outside_collaborators/[\"\"]", - "id": 3701 + "resourcePath": "/orgs/[org]/outside_collaborators/[username]", + "id": 3129 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/packages", + "label": "get/orgs/[org]/packages", "description": "List packages for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3945,14 +3945,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages", - "id": 3702 + "resourcePath": "/orgs/[org]/packages", + "id": 3131 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]", + "label": "get/orgs/[org]/packages/[package_type]/[package_name]", "description": "Get a package for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3964,14 +3964,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]", - "id": 3706 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]", + "id": 3142 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]", + "label": "delete/orgs/[org]/packages/[package_type]/[package_name]", "description": "Delete a package for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -3983,14 +3983,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]", - "id": 3707 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]", + "id": 3143 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/restore", + "label": "post/orgs/[org]/packages/[package_type]/[package_name]/restore", "description": "Restore a package for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4002,14 +4002,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/restore", - "id": 3708 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]/restore", + "id": 3146 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions", + "label": "get/orgs/[org]/packages/[package_type]/[package_name]/versions", "description": "List package versions for a package owned by an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4021,14 +4021,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions", - "id": 3710 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]/versions", + "id": 3220 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "get/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Get a package version for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4040,14 +4040,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 3714 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 3236 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "delete/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Delete package version for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4059,14 +4059,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 3715 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 3237 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", + "label": "post/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", "description": "Restore package version for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4078,14 +4078,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", - "id": 3716 + "resourcePath": "/orgs/[org]/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", + "id": 3238 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/personal\\-access\\-token\\-requests", + "label": "get/orgs/[org]/personal\\-access\\-token\\-requests", "description": "List requests to access organization resources with fine-grained personal access tokens\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4097,14 +4097,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-token\\-requests", - "id": 3717 + "resourcePath": "/orgs/[org]/personal\\-access\\-token\\-requests", + "id": 3239 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/personal\\-access\\-token\\-requests", + "label": "post/orgs/[org]/personal\\-access\\-token\\-requests", "description": "Review requests to access organization resources with fine-grained personal access tokens\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4116,14 +4116,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-token\\-requests", - "id": 3723 + "resourcePath": "/orgs/[org]/personal\\-access\\-token\\-requests", + "id": 3326 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/personal\\-access\\-token\\-requests/[0]", + "label": "post/orgs/[org]/personal\\-access\\-token\\-requests/[pat_request_id]", "description": "Review a request to access organization resources with a fine-grained personal access token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4135,14 +4135,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-token\\-requests/[0]", - "id": 3724 + "resourcePath": "/orgs/[org]/personal\\-access\\-token\\-requests/[pat_request_id]", + "id": 3327 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/personal\\-access\\-token\\-requests/[0]/repositories", + "label": "get/orgs/[org]/personal\\-access\\-token\\-requests/[pat_request_id]/repositories", "description": "List repositories requested to be accessed by a fine-grained personal access token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4154,14 +4154,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-token\\-requests/[0]/repositories", - "id": 3725 + "resourcePath": "/orgs/[org]/personal\\-access\\-token\\-requests/[pat_request_id]/repositories", + "id": 3328 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/personal\\-access\\-tokens", + "label": "get/orgs/[org]/personal\\-access\\-tokens", "description": "List fine-grained personal access tokens with access to organization resources\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4173,14 +4173,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-tokens", - "id": 3727 + "resourcePath": "/orgs/[org]/personal\\-access\\-tokens", + "id": 3336 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/personal\\-access\\-tokens", + "label": "post/orgs/[org]/personal\\-access\\-tokens", "description": "Update the access to organization resources via fine-grained personal access tokens\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4192,14 +4192,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-tokens", - "id": 3734 + "resourcePath": "/orgs/[org]/personal\\-access\\-tokens", + "id": 3370 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/personal\\-access\\-tokens/[0]", + "label": "post/orgs/[org]/personal\\-access\\-tokens/[pat_id]", "description": "Update the access a fine-grained personal access token has to organization resources\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4211,14 +4211,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-tokens/[0]", - "id": 3735 + "resourcePath": "/orgs/[org]/personal\\-access\\-tokens/[pat_id]", + "id": 3375 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/personal\\-access\\-tokens/[0]/repositories", + "label": "get/orgs/[org]/personal\\-access\\-tokens/[pat_id]/repositories", "description": "List repositories a fine-grained personal access token has access to\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4230,14 +4230,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/personal\\-access\\-tokens/[0]/repositories", - "id": 3736 + "resourcePath": "/orgs/[org]/personal\\-access\\-tokens/[pat_id]/repositories", + "id": 3376 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/projects", + "label": "get/orgs/[org]/projects", "description": "List organization projects\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4249,14 +4249,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/projects", - "id": 3737 + "resourcePath": "/orgs/[org]/projects", + "id": 3385 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/projects", + "label": "post/orgs/[org]/projects", "description": "Create an organization project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4268,14 +4268,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/projects", - "id": 3742 + "resourcePath": "/orgs/[org]/projects", + "id": 3398 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/public_members", + "label": "get/orgs/[org]/public_members", "description": "List public organization members\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4287,14 +4287,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/public_members", - "id": 3743 + "resourcePath": "/orgs/[org]/public_members", + "id": 3399 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/public_members/[\"\"]", + "label": "get/orgs/[org]/public_members/[username]", "description": "Check public organization membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4306,14 +4306,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/public_members/[\"\"]", - "id": 3745 + "resourcePath": "/orgs/[org]/public_members/[username]", + "id": 3408 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/public_members/[\"\"]", + "label": "put/orgs/[org]/public_members/[username]", "description": "Set public organization membership for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4325,14 +4325,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/public_members/[\"\"]", - "id": 3746 + "resourcePath": "/orgs/[org]/public_members/[username]", + "id": 3409 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/public_members/[\"\"]", + "label": "delete/orgs/[org]/public_members/[username]", "description": "Remove public organization membership for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4344,14 +4344,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/public_members/[\"\"]", - "id": 3747 + "resourcePath": "/orgs/[org]/public_members/[username]", + "id": 3410 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/repos", + "label": "get/orgs/[org]/repos", "description": "List organization repositories\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4363,14 +4363,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/repos", - "id": 3748 + "resourcePath": "/orgs/[org]/repos", + "id": 3411 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/repos", + "label": "post/orgs/[org]/repos", "description": "Create an organization repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4382,14 +4382,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/repos", - "id": 3751 + "resourcePath": "/orgs/[org]/repos", + "id": 3430 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/rulesets", + "label": "get/orgs/[org]/rulesets", "description": "Get all organization repository rulesets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4401,14 +4401,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets", - "id": 3752 + "resourcePath": "/orgs/[org]/rulesets", + "id": 3431 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/rulesets", + "label": "post/orgs/[org]/rulesets", "description": "Create an organization repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4420,14 +4420,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets", - "id": 3754 + "resourcePath": "/orgs/[org]/rulesets", + "id": 3441 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/rulesets/rule\\-suites", + "label": "get/orgs/[org]/rulesets/rule\\-suites", "description": "List organization rule suites\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4439,14 +4439,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets/rule\\-suites", - "id": 3755 + "resourcePath": "/orgs/[org]/rulesets/rule\\-suites", + "id": 3446 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/rulesets/rule\\-suites/[0]", + "label": "get/orgs/[org]/rulesets/rule\\-suites/[rule_suite_id]", "description": "Get an organization rule suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4458,14 +4458,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets/rule\\-suites/[0]", - "id": 3760 + "resourcePath": "/orgs/[org]/rulesets/rule\\-suites/[rule_suite_id]", + "id": 3461 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/rulesets/[0]", + "label": "get/orgs/[org]/rulesets/[ruleset_id]", "description": "Get an organization repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4477,14 +4477,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets/[0]", - "id": 3761 + "resourcePath": "/orgs/[org]/rulesets/[ruleset_id]", + "id": 3462 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/rulesets/[0]", + "label": "put/orgs/[org]/rulesets/[ruleset_id]", "description": "Update an organization repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4496,14 +4496,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets/[0]", - "id": 3762 + "resourcePath": "/orgs/[org]/rulesets/[ruleset_id]", + "id": 3463 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/rulesets/[0]", + "label": "delete/orgs/[org]/rulesets/[ruleset_id]", "description": "Delete an organization repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4515,14 +4515,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/rulesets/[0]", - "id": 3763 + "resourcePath": "/orgs/[org]/rulesets/[ruleset_id]", + "id": 3464 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/secret\\-scanning/alerts", + "label": "get/orgs/[org]/secret\\-scanning/alerts", "description": "List secret scanning alerts for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4534,14 +4534,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/secret\\-scanning/alerts", - "id": 3764 + "resourcePath": "/orgs/[org]/secret\\-scanning/alerts", + "id": 3465 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/security\\-advisories", + "label": "get/orgs/[org]/security\\-advisories", "description": "List repository security advisories for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4553,14 +4553,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/security\\-advisories", - "id": 3772 + "resourcePath": "/orgs/[org]/security\\-advisories", + "id": 3490 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/security\\-managers", + "label": "get/orgs/[org]/security\\-managers", "description": "List security manager teams\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4572,14 +4572,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/security\\-managers", - "id": 3777 + "resourcePath": "/orgs/[org]/security\\-managers", + "id": 3512 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/security\\-managers/teams/[\"\"]", + "label": "put/orgs/[org]/security\\-managers/teams/[team_slug]", "description": "Add a security manager team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4591,14 +4591,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/security\\-managers/teams/[\"\"]", - "id": 3778 + "resourcePath": "/orgs/[org]/security\\-managers/teams/[team_slug]", + "id": 3513 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/security\\-managers/teams/[\"\"]", + "label": "delete/orgs/[org]/security\\-managers/teams/[team_slug]", "description": "Remove a security manager team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4610,14 +4610,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/security\\-managers/teams/[\"\"]", - "id": 3779 + "resourcePath": "/orgs/[org]/security\\-managers/teams/[team_slug]", + "id": 3514 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/settings/billing/actions", + "label": "get/orgs/[org]/settings/billing/actions", "description": "Get GitHub Actions billing for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4629,14 +4629,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/settings/billing/actions", - "id": 3780 + "resourcePath": "/orgs/[org]/settings/billing/actions", + "id": 3515 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/settings/billing/packages", + "label": "get/orgs/[org]/settings/billing/packages", "description": "Get GitHub Packages billing for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4648,14 +4648,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/settings/billing/packages", - "id": 3781 + "resourcePath": "/orgs/[org]/settings/billing/packages", + "id": 3516 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/settings/billing/shared\\-storage", + "label": "get/orgs/[org]/settings/billing/shared\\-storage", "description": "Get shared storage billing for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4667,14 +4667,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/settings/billing/shared\\-storage", - "id": 3782 + "resourcePath": "/orgs/[org]/settings/billing/shared\\-storage", + "id": 3517 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams", + "label": "get/orgs/[org]/teams", "description": "List teams\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4686,14 +4686,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams", - "id": 3783 + "resourcePath": "/orgs/[org]/teams", + "id": 3518 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/teams", + "label": "post/orgs/[org]/teams", "description": "Create a team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4705,14 +4705,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams", - "id": 3785 + "resourcePath": "/orgs/[org]/teams", + "id": 3525 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]", + "label": "get/orgs/[org]/teams/[team_slug]", "description": "Get a team by name\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4724,14 +4724,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]", - "id": 3786 + "resourcePath": "/orgs/[org]/teams/[team_slug]", + "id": 3526 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]", + "label": "delete/orgs/[org]/teams/[team_slug]", "description": "Delete a team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4743,14 +4743,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]", - "id": 3787 + "resourcePath": "/orgs/[org]/teams/[team_slug]", + "id": 3527 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/teams/[\"\"]", + "label": "patch/orgs/[org]/teams/[team_slug]", "description": "Update a team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4762,14 +4762,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]", - "id": 3788 + "resourcePath": "/orgs/[org]/teams/[team_slug]", + "id": 3528 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions", + "label": "get/orgs/[org]/teams/[team_slug]/discussions", "description": "List discussions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4781,14 +4781,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions", - "id": 3789 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions", + "id": 3532 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/teams/[\"\"]/discussions", + "label": "post/orgs/[org]/teams/[team_slug]/discussions", "description": "Create a discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4800,14 +4800,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions", - "id": 3793 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions", + "id": 3548 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", + "label": "get/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", "description": "Get a discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4819,14 +4819,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", - "id": 3794 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", + "id": 3557 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", + "label": "delete/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", "description": "Delete a discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4838,14 +4838,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", - "id": 3795 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", + "id": 3580 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", + "label": "patch/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", "description": "Update a discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4857,14 +4857,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]", - "id": 3796 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]", + "id": 3582 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments", + "label": "get/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments", "description": "List discussion comments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4876,14 +4876,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments", - "id": 3797 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments", + "id": 3585 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments", + "label": "post/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments", "description": "Create a discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4895,14 +4895,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments", - "id": 3799 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments", + "id": 3595 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", + "label": "get/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", "description": "Get a discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4914,14 +4914,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", - "id": 3800 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", + "id": 3596 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", + "label": "delete/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", "description": "Delete a discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4933,14 +4933,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", - "id": 3801 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", + "id": 3597 }, "enabled": true }, { "metadata": { - "label": "patch/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", + "label": "patch/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", "description": "Update a discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4952,14 +4952,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]", - "id": 3802 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]", + "id": 3608 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions", + "label": "get/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions", "description": "List reactions for a team discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4971,14 +4971,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions", - "id": 3803 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions", + "id": 3609 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions", + "label": "post/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions", "description": "Create reaction for a team discussion comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -4990,14 +4990,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions", - "id": 3805 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions", + "id": 3620 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions/[0]", + "label": "delete/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions/[reaction_id]", "description": "Delete team discussion comment reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5009,14 +5009,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/comments/[0]/reactions/[0]", - "id": 3806 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/comments/[comment_number]/reactions/[reaction_id]", + "id": 3622 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions", + "label": "get/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions", "description": "List reactions for a team discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5028,14 +5028,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions", - "id": 3807 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions", + "id": 3624 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions", + "label": "post/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions", "description": "Create reaction for a team discussion\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5047,14 +5047,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions", - "id": 3811 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions", + "id": 3635 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions/[0]", + "label": "delete/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions/[reaction_id]", "description": "Delete team discussion reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5066,14 +5066,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/discussions/[0]/reactions/[0]", - "id": 3812 + "resourcePath": "/orgs/[org]/teams/[team_slug]/discussions/[discussion_number]/reactions/[reaction_id]", + "id": 3636 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/invitations", + "label": "get/orgs/[org]/teams/[team_slug]/invitations", "description": "List pending team invitations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5085,14 +5085,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/invitations", - "id": 3813 + "resourcePath": "/orgs/[org]/teams/[team_slug]/invitations", + "id": 3637 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/members", + "label": "get/orgs/[org]/teams/[team_slug]/members", "description": "List team members\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5104,14 +5104,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/members", - "id": 3815 + "resourcePath": "/orgs/[org]/teams/[team_slug]/members", + "id": 3642 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", + "label": "get/orgs/[org]/teams/[team_slug]/memberships/[username]", "description": "Get team membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5123,14 +5123,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", - "id": 3817 + "resourcePath": "/orgs/[org]/teams/[team_slug]/memberships/[username]", + "id": 3648 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", + "label": "put/orgs/[org]/teams/[team_slug]/memberships/[username]", "description": "Add or update team membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5142,14 +5142,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", - "id": 3818 + "resourcePath": "/orgs/[org]/teams/[team_slug]/memberships/[username]", + "id": 3649 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", + "label": "delete/orgs/[org]/teams/[team_slug]/memberships/[username]", "description": "Remove team membership for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5161,14 +5161,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/memberships/[\"\"]", - "id": 3819 + "resourcePath": "/orgs/[org]/teams/[team_slug]/memberships/[username]", + "id": 3650 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/projects", + "label": "get/orgs/[org]/teams/[team_slug]/projects", "description": "List team projects\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5180,14 +5180,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/projects", - "id": 3820 + "resourcePath": "/orgs/[org]/teams/[team_slug]/projects", + "id": 3651 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/projects/[0]", + "label": "get/orgs/[org]/teams/[team_slug]/projects/[project_id]", "description": "Check team permissions for a project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5199,14 +5199,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/projects/[0]", - "id": 3821 + "resourcePath": "/orgs/[org]/teams/[team_slug]/projects/[project_id]", + "id": 3658 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/teams/[\"\"]/projects/[0]", + "label": "put/orgs/[org]/teams/[team_slug]/projects/[project_id]", "description": "Add or update team project permissions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5218,14 +5218,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/projects/[0]", - "id": 3822 + "resourcePath": "/orgs/[org]/teams/[team_slug]/projects/[project_id]", + "id": 3659 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/projects/[0]", + "label": "delete/orgs/[org]/teams/[team_slug]/projects/[project_id]", "description": "Remove a project from a team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5237,14 +5237,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/projects/[0]", - "id": 3823 + "resourcePath": "/orgs/[org]/teams/[team_slug]/projects/[project_id]", + "id": 3660 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/repos", + "label": "get/orgs/[org]/teams/[team_slug]/repos", "description": "List team repositories\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5256,14 +5256,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/repos", - "id": 3824 + "resourcePath": "/orgs/[org]/teams/[team_slug]/repos", + "id": 3661 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", + "label": "get/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", "description": "Check team permissions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5275,14 +5275,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", - "id": 3827 + "resourcePath": "/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", + "id": 3667 }, "enabled": true }, { "metadata": { - "label": "put/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", + "label": "put/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", "description": "Add or update team repository permissions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5294,14 +5294,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", - "id": 3828 + "resourcePath": "/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", + "id": 3668 }, "enabled": true }, { "metadata": { - "label": "delete/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", + "label": "delete/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", "description": "Remove a repository from a team\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5313,14 +5313,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/repos/[\"\"]/[\"\"]", - "id": 3829 + "resourcePath": "/orgs/[org]/teams/[team_slug]/repos/[owner]/[repo]", + "id": 3669 }, "enabled": true }, { "metadata": { - "label": "get/orgs/[\"\"]/teams/[\"\"]/teams", + "label": "get/orgs/[org]/teams/[team_slug]/teams", "description": "List child teams\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5332,14 +5332,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/teams/[\"\"]/teams", - "id": 3830 + "resourcePath": "/orgs/[org]/teams/[team_slug]/teams", + "id": 3670 }, "enabled": true }, { "metadata": { - "label": "post/orgs/[\"\"]/[\"dependency_graph\"]/[\"enable_all\"]", + "label": "post/orgs/[org]/[security_product]/[enablement]", "description": "Enable or disable a security feature for an organization\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5351,14 +5351,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/orgs/[\"\"]/[\"dependency_graph\"]/[\"enable_all\"]", - "id": 3833 + "resourcePath": "/orgs/[org]/[security_product]/[enablement]", + "id": 3677 }, "enabled": true }, { "metadata": { - "label": "get/projects/columns/cards/[0]", + "label": "get/projects/columns/cards/[card_id]", "description": "Get a project card\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5370,14 +5370,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/cards/[0]", - "id": 3834 + "resourcePath": "/projects/columns/cards/[card_id]", + "id": 3678 }, "enabled": true }, { "metadata": { - "label": "delete/projects/columns/cards/[0]", + "label": "delete/projects/columns/cards/[card_id]", "description": "Delete a project card\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5389,14 +5389,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/cards/[0]", - "id": 3835 + "resourcePath": "/projects/columns/cards/[card_id]", + "id": 3679 }, "enabled": true }, { "metadata": { - "label": "patch/projects/columns/cards/[0]", + "label": "patch/projects/columns/cards/[card_id]", "description": "Update an existing project card\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5408,14 +5408,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/cards/[0]", - "id": 3836 + "resourcePath": "/projects/columns/cards/[card_id]", + "id": 3682 }, "enabled": true }, { "metadata": { - "label": "post/projects/columns/cards/[0]/moves", + "label": "post/projects/columns/cards/[card_id]/moves", "description": "Move a project card\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5427,14 +5427,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/cards/[0]/moves", - "id": 3837 + "resourcePath": "/projects/columns/cards/[card_id]/moves", + "id": 3684 }, "enabled": true }, { "metadata": { - "label": "get/projects/columns/[0]", + "label": "get/projects/columns/[column_id]", "description": "Get a project column\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5446,14 +5446,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]", - "id": 3838 + "resourcePath": "/projects/columns/[column_id]", + "id": 3685 }, "enabled": true }, { "metadata": { - "label": "delete/projects/columns/[0]", + "label": "delete/projects/columns/[column_id]", "description": "Delete a project column\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5465,14 +5465,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]", - "id": 3839 + "resourcePath": "/projects/columns/[column_id]", + "id": 3686 }, "enabled": true }, { "metadata": { - "label": "patch/projects/columns/[0]", + "label": "patch/projects/columns/[column_id]", "description": "Update an existing project column\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5484,14 +5484,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]", - "id": 3840 + "resourcePath": "/projects/columns/[column_id]", + "id": 3687 }, "enabled": true }, { "metadata": { - "label": "get/projects/columns/[0]/cards", + "label": "get/projects/columns/[column_id]/cards", "description": "List project cards\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5503,14 +5503,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]/cards", - "id": 3841 + "resourcePath": "/projects/columns/[column_id]/cards", + "id": 3688 }, "enabled": true }, { "metadata": { - "label": "post/projects/columns/[0]/cards", + "label": "post/projects/columns/[column_id]/cards", "description": "Create a project card\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5522,14 +5522,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]/cards", - "id": 3846 + "resourcePath": "/projects/columns/[column_id]/cards", + "id": 3692 }, "enabled": true }, { "metadata": { - "label": "post/projects/columns/[0]/moves", + "label": "post/projects/columns/[column_id]/moves", "description": "Move a project column\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5541,14 +5541,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/projects/columns/[0]/moves", - "id": 3847 + "resourcePath": "/projects/columns/[column_id]/moves", + "id": 3693 }, "enabled": true }, { "metadata": { - "label": "get/projects/[0]", + "label": "get/projects/[project_id]", "description": "Get a project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5560,14 +5560,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]", - "id": 3848 + "resourcePath": "/projects/[project_id]", + "id": 3694 }, "enabled": true }, { "metadata": { - "label": "delete/projects/[0]", + "label": "delete/projects/[project_id]", "description": "Delete a project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5579,14 +5579,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]", - "id": 3849 + "resourcePath": "/projects/[project_id]", + "id": 3695 }, "enabled": true }, { "metadata": { - "label": "patch/projects/[0]", + "label": "patch/projects/[project_id]", "description": "Update a project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5598,14 +5598,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]", - "id": 3850 + "resourcePath": "/projects/[project_id]", + "id": 3696 }, "enabled": true }, { "metadata": { - "label": "get/projects/[0]/collaborators", + "label": "get/projects/[project_id]/collaborators", "description": "List project collaborators\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5617,14 +5617,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/collaborators", - "id": 3851 + "resourcePath": "/projects/[project_id]/collaborators", + "id": 3697 }, "enabled": true }, { "metadata": { - "label": "put/projects/[0]/collaborators/[\"\"]", + "label": "put/projects/[project_id]/collaborators/[username]", "description": "Add project collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5636,14 +5636,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/collaborators/[\"\"]", - "id": 3853 + "resourcePath": "/projects/[project_id]/collaborators/[username]", + "id": 3701 }, "enabled": true }, { "metadata": { - "label": "delete/projects/[0]/collaborators/[\"\"]", + "label": "delete/projects/[project_id]/collaborators/[username]", "description": "Remove user as a collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5655,14 +5655,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/collaborators/[\"\"]", - "id": 3854 + "resourcePath": "/projects/[project_id]/collaborators/[username]", + "id": 3702 }, "enabled": true }, { "metadata": { - "label": "get/projects/[0]/collaborators/[\"\"]/permission", + "label": "get/projects/[project_id]/collaborators/[username]/permission", "description": "Get project permission for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5674,14 +5674,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/collaborators/[\"\"]/permission", - "id": 3855 + "resourcePath": "/projects/[project_id]/collaborators/[username]/permission", + "id": 3703 }, "enabled": true }, { "metadata": { - "label": "get/projects/[0]/columns", + "label": "get/projects/[project_id]/columns", "description": "List project columns\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5693,14 +5693,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/columns", - "id": 3856 + "resourcePath": "/projects/[project_id]/columns", + "id": 3704 }, "enabled": true }, { "metadata": { - "label": "post/projects/[0]/columns", + "label": "post/projects/[project_id]/columns", "description": "Create a project column\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5712,8 +5712,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/projects/[0]/columns", - "id": 3860 + "resourcePath": "/projects/[project_id]/columns", + "id": 3706 }, "enabled": true }, @@ -5732,13 +5732,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/rate_limit", - "id": 3861 + "id": 3707 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]", + "label": "get/repos/[owner]/[repo]", "description": "Get a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5750,14 +5750,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]", - "id": 3862 + "resourcePath": "/repos/[owner]/[repo]", + "id": 3708 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]", + "label": "delete/repos/[owner]/[repo]", "description": "Delete a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5769,14 +5769,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]", - "id": 3863 + "resourcePath": "/repos/[owner]/[repo]", + "id": 3709 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]", + "label": "patch/repos/[owner]/[repo]", "description": "Update a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5788,14 +5788,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]", - "id": 3864 + "resourcePath": "/repos/[owner]/[repo]", + "id": 3710 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/artifacts", + "label": "get/repos/[owner]/[repo]/actions/artifacts", "description": "List artifacts for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5807,14 +5807,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/artifacts", - "id": 3865 + "resourcePath": "/repos/[owner]/[repo]/actions/artifacts", + "id": 3711 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/artifacts/[0]", + "label": "get/repos/[owner]/[repo]/actions/artifacts/[artifact_id]", "description": "Get an artifact\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5826,14 +5826,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/artifacts/[0]", - "id": 3867 + "resourcePath": "/repos/[owner]/[repo]/actions/artifacts/[artifact_id]", + "id": 3717 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/artifacts/[0]", + "label": "delete/repos/[owner]/[repo]/actions/artifacts/[artifact_id]", "description": "Delete an artifact\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5845,14 +5845,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/artifacts/[0]", - "id": 3868 + "resourcePath": "/repos/[owner]/[repo]/actions/artifacts/[artifact_id]", + "id": 3722 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/artifacts/[0]/[\"\"]", + "label": "get/repos/[owner]/[repo]/actions/artifacts/[artifact_id]/[archive_format]", "description": "Download an artifact\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5864,14 +5864,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/artifacts/[0]/[\"\"]", - "id": 3869 + "resourcePath": "/repos/[owner]/[repo]/actions/artifacts/[artifact_id]/[archive_format]", + "id": 3723 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/cache/usage", + "label": "get/repos/[owner]/[repo]/actions/cache/usage", "description": "Get GitHub Actions cache usage for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5883,14 +5883,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/cache/usage", - "id": 3870 + "resourcePath": "/repos/[owner]/[repo]/actions/cache/usage", + "id": 3724 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/caches", + "label": "get/repos/[owner]/[repo]/actions/caches", "description": "List GitHub Actions caches for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5902,14 +5902,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/caches", - "id": 3871 + "resourcePath": "/repos/[owner]/[repo]/actions/caches", + "id": 3725 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/caches", + "label": "delete/repos/[owner]/[repo]/actions/caches", "description": "Delete GitHub Actions caches for a repository (using a cache key)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5921,14 +5921,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/caches", - "id": 3876 + "resourcePath": "/repos/[owner]/[repo]/actions/caches", + "id": 3738 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/caches/[0]", + "label": "delete/repos/[owner]/[repo]/actions/caches/[cache_id]", "description": "Delete a GitHub Actions cache for a repository (using a cache ID)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5940,14 +5940,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/caches/[0]", - "id": 3877 + "resourcePath": "/repos/[owner]/[repo]/actions/caches/[cache_id]", + "id": 3740 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/jobs/[0]", + "label": "get/repos/[owner]/[repo]/actions/jobs/[job_id]", "description": "Get a job for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5959,14 +5959,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/jobs/[0]", - "id": 3878 + "resourcePath": "/repos/[owner]/[repo]/actions/jobs/[job_id]", + "id": 3741 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/jobs/[0]/logs", + "label": "get/repos/[owner]/[repo]/actions/jobs/[job_id]/logs", "description": "Download job logs for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5978,14 +5978,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/jobs/[0]/logs", - "id": 3879 + "resourcePath": "/repos/[owner]/[repo]/actions/jobs/[job_id]/logs", + "id": 3748 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/jobs/[0]/rerun", + "label": "post/repos/[owner]/[repo]/actions/jobs/[job_id]/rerun", "description": "Re-run a job from a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -5997,14 +5997,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/jobs/[0]/rerun", - "id": 3880 + "resourcePath": "/repos/[owner]/[repo]/actions/jobs/[job_id]/rerun", + "id": 3749 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/oidc/customization/sub", + "label": "get/repos/[owner]/[repo]/actions/oidc/customization/sub", "description": "Get the customization template for an OIDC subject claim for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6016,14 +6016,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/oidc/customization/sub", - "id": 3881 + "resourcePath": "/repos/[owner]/[repo]/actions/oidc/customization/sub", + "id": 3750 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/oidc/customization/sub", + "label": "put/repos/[owner]/[repo]/actions/oidc/customization/sub", "description": "Set the customization template for an OIDC subject claim for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6035,14 +6035,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/oidc/customization/sub", - "id": 3882 + "resourcePath": "/repos/[owner]/[repo]/actions/oidc/customization/sub", + "id": 3751 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/organization\\-secrets", + "label": "get/repos/[owner]/[repo]/actions/organization\\-secrets", "description": "List repository organization secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6054,14 +6054,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/organization\\-secrets", - "id": 3883 + "resourcePath": "/repos/[owner]/[repo]/actions/organization\\-secrets", + "id": 3752 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/organization\\-variables", + "label": "get/repos/[owner]/[repo]/actions/organization\\-variables", "description": "List repository organization variables\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6073,14 +6073,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/organization\\-variables", - "id": 3884 + "resourcePath": "/repos/[owner]/[repo]/actions/organization\\-variables", + "id": 3756 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/permissions", + "label": "get/repos/[owner]/[repo]/actions/permissions", "description": "Get GitHub Actions permissions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6092,14 +6092,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions", - "id": 3887 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions", + "id": 3759 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/permissions", + "label": "put/repos/[owner]/[repo]/actions/permissions", "description": "Set GitHub Actions permissions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6111,14 +6111,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions", - "id": 3888 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions", + "id": 3760 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/permissions/access", + "label": "get/repos/[owner]/[repo]/actions/permissions/access", "description": "Get the level of access for workflows outside of the repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6130,14 +6130,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/access", - "id": 3889 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/access", + "id": 3761 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/permissions/access", + "label": "put/repos/[owner]/[repo]/actions/permissions/access", "description": "Set the level of access for workflows outside of the repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6149,14 +6149,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/access", - "id": 3890 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/access", + "id": 3762 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/permissions/selected\\-actions", + "label": "get/repos/[owner]/[repo]/actions/permissions/selected\\-actions", "description": "Get allowed actions and reusable workflows for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6168,14 +6168,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/selected\\-actions", - "id": 3891 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/selected\\-actions", + "id": 3763 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/permissions/selected\\-actions", + "label": "put/repos/[owner]/[repo]/actions/permissions/selected\\-actions", "description": "Set allowed actions and reusable workflows for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6187,14 +6187,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/selected\\-actions", - "id": 3892 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/selected\\-actions", + "id": 3764 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/permissions/workflow", + "label": "get/repos/[owner]/[repo]/actions/permissions/workflow", "description": "Get default workflow permissions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6206,14 +6206,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/workflow", - "id": 3893 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/workflow", + "id": 3765 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/permissions/workflow", + "label": "put/repos/[owner]/[repo]/actions/permissions/workflow", "description": "Set default workflow permissions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6225,14 +6225,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/permissions/workflow", - "id": 3894 + "resourcePath": "/repos/[owner]/[repo]/actions/permissions/workflow", + "id": 3766 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runners", + "label": "get/repos/[owner]/[repo]/actions/runners", "description": "List self-hosted runners for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6244,14 +6244,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners", - "id": 3895 + "resourcePath": "/repos/[owner]/[repo]/actions/runners", + "id": 3767 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runners/downloads", + "label": "get/repos/[owner]/[repo]/actions/runners/downloads", "description": "List runner applications for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6263,14 +6263,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/downloads", - "id": 3899 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/downloads", + "id": 3773 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runners/generate\\-jitconfig", + "label": "post/repos/[owner]/[repo]/actions/runners/generate\\-jitconfig", "description": "Create configuration for a just-in-time runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6282,14 +6282,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/generate\\-jitconfig", - "id": 3900 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/generate\\-jitconfig", + "id": 3774 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runners/registration\\-token", + "label": "post/repos/[owner]/[repo]/actions/runners/registration\\-token", "description": "Create a registration token for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6301,14 +6301,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/registration\\-token", - "id": 3901 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/registration\\-token", + "id": 3777 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runners/remove\\-token", + "label": "post/repos/[owner]/[repo]/actions/runners/remove\\-token", "description": "Create a remove token for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6320,14 +6320,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/remove\\-token", - "id": 3902 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/remove\\-token", + "id": 3778 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runners/[0]", + "label": "get/repos/[owner]/[repo]/actions/runners/[runner_id]", "description": "Get a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6339,14 +6339,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]", - "id": 3903 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]", + "id": 3780 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/runners/[0]", + "label": "delete/repos/[owner]/[repo]/actions/runners/[runner_id]", "description": "Delete a self-hosted runner from a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6358,14 +6358,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]", - "id": 3904 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]", + "id": 3781 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", + "label": "get/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", "description": "List labels for a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6377,14 +6377,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", - "id": 3905 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", + "id": 3782 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", + "label": "put/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", "description": "Set custom labels for a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6396,14 +6396,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", - "id": 3906 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", + "id": 3783 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", + "label": "post/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", "description": "Add custom labels to a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6415,14 +6415,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", - "id": 3907 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", + "id": 3784 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", + "label": "delete/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", "description": "Remove all custom labels from a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6434,14 +6434,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels", - "id": 3908 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]/labels", + "id": 3785 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels/[\"\"]", + "label": "delete/repos/[owner]/[repo]/actions/runners/[runner_id]/labels/[name]", "description": "Remove a custom label from a self-hosted runner for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6453,14 +6453,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runners/[0]/labels/[\"\"]", - "id": 3909 + "resourcePath": "/repos/[owner]/[repo]/actions/runners/[runner_id]/labels/[name]", + "id": 3786 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs", + "label": "get/repos/[owner]/[repo]/actions/runs", "description": "List workflow runs for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6472,14 +6472,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs", - "id": 3910 + "resourcePath": "/repos/[owner]/[repo]/actions/runs", + "id": 3787 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]", "description": "Get a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6491,14 +6491,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]", - "id": 3917 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]", + "id": 3808 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/runs/[0]", + "label": "delete/repos/[owner]/[repo]/actions/runs/[run_id]", "description": "Delete a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6510,14 +6510,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]", - "id": 3919 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]", + "id": 3813 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/approvals", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/approvals", "description": "Get the review history for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6529,14 +6529,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/approvals", - "id": 3920 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/approvals", + "id": 3814 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/approve", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/approve", "description": "Approve a workflow run for a fork pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6548,14 +6548,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/approve", - "id": 3921 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/approve", + "id": 3815 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/artifacts", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/artifacts", "description": "List workflow run artifacts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6567,14 +6567,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/artifacts", - "id": 3922 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/artifacts", + "id": 3816 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]", "description": "Get a workflow run attempt\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6586,14 +6586,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]", - "id": 3926 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]", + "id": 3818 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]/jobs", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]/jobs", "description": "List jobs for a workflow run attempt\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6605,14 +6605,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]/jobs", - "id": 3929 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]/jobs", + "id": 3820 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]/logs", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]/logs", "description": "Download workflow run attempt logs\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6624,14 +6624,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/attempts/[0]/logs", - "id": 3930 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/attempts/[attempt_number]/logs", + "id": 3822 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/cancel", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/cancel", "description": "Cancel a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6643,14 +6643,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/cancel", - "id": 3931 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/cancel", + "id": 3823 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/deployment_protection_rule", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/deployment_protection_rule", "description": "Review custom deployment protection rules for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6662,14 +6662,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/deployment_protection_rule", - "id": 3932 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/deployment_protection_rule", + "id": 3824 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/force\\-cancel", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/force\\-cancel", "description": "Force cancel a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6681,14 +6681,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/force\\-cancel", - "id": 3933 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/force\\-cancel", + "id": 3825 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/jobs", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/jobs", "description": "List jobs for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6700,14 +6700,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/jobs", - "id": 3934 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/jobs", + "id": 3826 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/logs", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/logs", "description": "Download workflow run logs\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6719,14 +6719,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/logs", - "id": 3937 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/logs", + "id": 3827 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/runs/[0]/logs", + "label": "delete/repos/[owner]/[repo]/actions/runs/[run_id]/logs", "description": "Delete workflow run logs\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6738,14 +6738,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/logs", - "id": 3938 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/logs", + "id": 3828 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/pending_deployments", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/pending_deployments", "description": "Get pending deployments for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6757,14 +6757,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/pending_deployments", - "id": 3939 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/pending_deployments", + "id": 3829 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/pending_deployments", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/pending_deployments", "description": "Review pending deployments for a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6776,14 +6776,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/pending_deployments", - "id": 3940 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/pending_deployments", + "id": 3830 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/rerun", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/rerun", "description": "Re-run a workflow\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6795,14 +6795,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/rerun", - "id": 3941 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/rerun", + "id": 3831 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/runs/[0]/rerun\\-failed\\-jobs", + "label": "post/repos/[owner]/[repo]/actions/runs/[run_id]/rerun\\-failed\\-jobs", "description": "Re-run failed jobs from a workflow run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6814,14 +6814,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/rerun\\-failed\\-jobs", - "id": 3942 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/rerun\\-failed\\-jobs", + "id": 3832 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/runs/[0]/timing", + "label": "get/repos/[owner]/[repo]/actions/runs/[run_id]/timing", "description": "Get workflow run usage\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6833,14 +6833,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/runs/[0]/timing", - "id": 3943 + "resourcePath": "/repos/[owner]/[repo]/actions/runs/[run_id]/timing", + "id": 3833 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/secrets", + "label": "get/repos/[owner]/[repo]/actions/secrets", "description": "List repository secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6852,14 +6852,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/secrets", - "id": 3944 + "resourcePath": "/repos/[owner]/[repo]/actions/secrets", + "id": 3834 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/secrets/public\\-key", + "label": "get/repos/[owner]/[repo]/actions/secrets/public\\-key", "description": "Get a repository public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6871,14 +6871,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/secrets/public\\-key", - "id": 3945 + "resourcePath": "/repos/[owner]/[repo]/actions/secrets/public\\-key", + "id": 3837 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", + "label": "get/repos/[owner]/[repo]/actions/secrets/[secret_name]", "description": "Get a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6890,14 +6890,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", - "id": 3947 + "resourcePath": "/repos/[owner]/[repo]/actions/secrets/[secret_name]", + "id": 3838 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", + "label": "put/repos/[owner]/[repo]/actions/secrets/[secret_name]", "description": "Create or update a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6909,14 +6909,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", - "id": 3948 + "resourcePath": "/repos/[owner]/[repo]/actions/secrets/[secret_name]", + "id": 3839 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", + "label": "delete/repos/[owner]/[repo]/actions/secrets/[secret_name]", "description": "Delete a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6928,14 +6928,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/secrets/[\"\"]", - "id": 3949 + "resourcePath": "/repos/[owner]/[repo]/actions/secrets/[secret_name]", + "id": 3840 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/variables", + "label": "get/repos/[owner]/[repo]/actions/variables", "description": "List repository variables\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6947,14 +6947,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/variables", - "id": 3950 + "resourcePath": "/repos/[owner]/[repo]/actions/variables", + "id": 3841 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/variables", + "label": "post/repos/[owner]/[repo]/actions/variables", "description": "Create a repository variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6966,14 +6966,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/variables", - "id": 3953 + "resourcePath": "/repos/[owner]/[repo]/actions/variables", + "id": 3843 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", + "label": "get/repos/[owner]/[repo]/actions/variables/[name]", "description": "Get a repository variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -6985,14 +6985,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", - "id": 3954 + "resourcePath": "/repos/[owner]/[repo]/actions/variables/[name]", + "id": 3844 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", + "label": "delete/repos/[owner]/[repo]/actions/variables/[name]", "description": "Delete a repository variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7004,14 +7004,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", - "id": 3955 + "resourcePath": "/repos/[owner]/[repo]/actions/variables/[name]", + "id": 3845 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", + "label": "patch/repos/[owner]/[repo]/actions/variables/[name]", "description": "Update a repository variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7023,14 +7023,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/variables/[\"\"]", - "id": 3956 + "resourcePath": "/repos/[owner]/[repo]/actions/variables/[name]", + "id": 3846 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/workflows", + "label": "get/repos/[owner]/[repo]/actions/workflows", "description": "List repository workflows\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7042,14 +7042,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows", - "id": 3957 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows", + "id": 3847 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/workflows/[0]", + "label": "get/repos/[owner]/[repo]/actions/workflows/[workflow_id]", "description": "Get a workflow\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7061,14 +7061,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]", - "id": 3959 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]", + "id": 3849 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/workflows/[0]/disable", + "label": "put/repos/[owner]/[repo]/actions/workflows/[workflow_id]/disable", "description": "Disable a workflow\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7080,14 +7080,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]/disable", - "id": 3960 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]/disable", + "id": 3850 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/actions/workflows/[0]/dispatches", + "label": "post/repos/[owner]/[repo]/actions/workflows/[workflow_id]/dispatches", "description": "Create a workflow dispatch event\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7099,14 +7099,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]/dispatches", - "id": 3961 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]/dispatches", + "id": 3851 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/actions/workflows/[0]/enable", + "label": "put/repos/[owner]/[repo]/actions/workflows/[workflow_id]/enable", "description": "Enable a workflow\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7118,14 +7118,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]/enable", - "id": 3962 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]/enable", + "id": 3852 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/workflows/[0]/runs", + "label": "get/repos/[owner]/[repo]/actions/workflows/[workflow_id]/runs", "description": "List workflow runs for a workflow\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7137,14 +7137,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]/runs", - "id": 3963 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]/runs", + "id": 3853 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/actions/workflows/[0]/timing", + "label": "get/repos/[owner]/[repo]/actions/workflows/[workflow_id]/timing", "description": "Get workflow usage\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7156,14 +7156,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/actions/workflows/[0]/timing", - "id": 3970 + "resourcePath": "/repos/[owner]/[repo]/actions/workflows/[workflow_id]/timing", + "id": 3855 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/activity", + "label": "get/repos/[owner]/[repo]/activity", "description": "List repository activities\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7175,14 +7175,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/activity", - "id": 3971 + "resourcePath": "/repos/[owner]/[repo]/activity", + "id": 3856 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/assignees", + "label": "get/repos/[owner]/[repo]/assignees", "description": "List assignees\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7194,14 +7194,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/assignees", - "id": 3976 + "resourcePath": "/repos/[owner]/[repo]/assignees", + "id": 3857 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/assignees/[\"\"]", + "label": "get/repos/[owner]/[repo]/assignees/[assignee]", "description": "Check if a user can be assigned\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7213,14 +7213,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/assignees/[\"\"]", - "id": 3979 + "resourcePath": "/repos/[owner]/[repo]/assignees/[assignee]", + "id": 3858 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/autolinks", + "label": "get/repos/[owner]/[repo]/autolinks", "description": "List all autolinks of a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7232,14 +7232,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/autolinks", - "id": 3980 + "resourcePath": "/repos/[owner]/[repo]/autolinks", + "id": 3859 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/autolinks", + "label": "post/repos/[owner]/[repo]/autolinks", "description": "Create an autolink reference for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7251,14 +7251,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/autolinks", - "id": 3981 + "resourcePath": "/repos/[owner]/[repo]/autolinks", + "id": 3860 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/autolinks/[0]", + "label": "get/repos/[owner]/[repo]/autolinks/[autolink_id]", "description": "Get an autolink reference of a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7270,14 +7270,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/autolinks/[0]", - "id": 3983 + "resourcePath": "/repos/[owner]/[repo]/autolinks/[autolink_id]", + "id": 3861 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/autolinks/[0]", + "label": "delete/repos/[owner]/[repo]/autolinks/[autolink_id]", "description": "Delete an autolink reference from a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7289,14 +7289,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/autolinks/[0]", - "id": 3984 + "resourcePath": "/repos/[owner]/[repo]/autolinks/[autolink_id]", + "id": 3862 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", + "label": "get/repos/[owner]/[repo]/automated\\-security\\-fixes", "description": "Check if automated security fixes are enabled for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7308,14 +7308,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", - "id": 3985 + "resourcePath": "/repos/[owner]/[repo]/automated\\-security\\-fixes", + "id": 3863 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", + "label": "put/repos/[owner]/[repo]/automated\\-security\\-fixes", "description": "Enable automated security fixes\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7327,14 +7327,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", - "id": 3986 + "resourcePath": "/repos/[owner]/[repo]/automated\\-security\\-fixes", + "id": 3864 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", + "label": "delete/repos/[owner]/[repo]/automated\\-security\\-fixes", "description": "Disable automated security fixes\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7346,14 +7346,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/automated\\-security\\-fixes", - "id": 3987 + "resourcePath": "/repos/[owner]/[repo]/automated\\-security\\-fixes", + "id": 3865 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches", + "label": "get/repos/[owner]/[repo]/branches", "description": "List branches\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7365,14 +7365,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches", - "id": 3988 + "resourcePath": "/repos/[owner]/[repo]/branches", + "id": 3866 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]", + "label": "get/repos/[owner]/[repo]/branches/[branch]", "description": "Get a branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7384,14 +7384,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]", - "id": 3990 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]", + "id": 3868 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection", "description": "Get branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7403,14 +7403,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", - "id": 3991 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection", + "id": 3869 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", + "label": "put/repos/[owner]/[repo]/branches/[branch]/protection", "description": "Update branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7422,14 +7422,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", - "id": 3992 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection", + "id": 3870 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection", "description": "Delete branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7441,14 +7441,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection", - "id": 3993 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection", + "id": 3871 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", "description": "Get admin branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7460,14 +7460,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", - "id": 3994 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", + "id": 3872 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", "description": "Set admin branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7479,14 +7479,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", - "id": 3995 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", + "id": 3873 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", "description": "Delete admin branch protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7498,14 +7498,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/enforce_admins", - "id": 3996 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/enforce_admins", + "id": 3874 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", "description": "Get pull request review protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7517,14 +7517,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", - "id": 3997 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", + "id": 3875 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", "description": "Delete pull request review protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7536,14 +7536,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", - "id": 3998 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", + "id": 3876 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", + "label": "patch/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", "description": "Update pull request review protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7555,14 +7555,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_pull_request_reviews", - "id": 3999 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_pull_request_reviews", + "id": 3877 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", "description": "Get commit signature protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7574,14 +7574,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", - "id": 4000 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", + "id": 3878 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", "description": "Create commit signature protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7593,14 +7593,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", - "id": 4001 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", + "id": 3880 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", "description": "Delete commit signature protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7612,14 +7612,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_signatures", - "id": 4002 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_signatures", + "id": 3881 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", "description": "Get status checks protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7631,14 +7631,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", - "id": 4003 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", + "id": 3882 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", "description": "Remove status check protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7650,14 +7650,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", - "id": 4004 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", + "id": 3883 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", + "label": "patch/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", "description": "Update status check protection\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7669,14 +7669,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks", - "id": 4005 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks", + "id": 3884 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", "description": "Get all status check contexts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7688,14 +7688,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", - "id": 4006 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", + "id": 3885 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", + "label": "put/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", "description": "Set status check contexts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7707,14 +7707,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", - "id": 4007 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", + "id": 3886 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", "description": "Add status check contexts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7726,14 +7726,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", - "id": 4008 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", + "id": 3887 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", "description": "Remove status check contexts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7745,14 +7745,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/required_status_checks/contexts", - "id": 4009 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/required_status_checks/contexts", + "id": 3888 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/restrictions", "description": "Get access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7764,14 +7764,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions", - "id": 4010 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions", + "id": 3889 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/restrictions", "description": "Delete access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7783,14 +7783,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions", - "id": 4011 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions", + "id": 3890 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", "description": "Get apps with access to the protected branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7802,14 +7802,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", - "id": 4012 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", + "id": 3891 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", + "label": "put/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", "description": "Set app access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7821,14 +7821,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", - "id": 4013 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", + "id": 3892 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", "description": "Add app access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7840,14 +7840,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", - "id": 4014 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", + "id": 3893 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", "description": "Remove app access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7859,14 +7859,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/apps", - "id": 4015 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/apps", + "id": 3894 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", "description": "Get teams with access to the protected branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7878,14 +7878,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", - "id": 4016 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", + "id": 3895 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", + "label": "put/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", "description": "Set team access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7897,14 +7897,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", - "id": 4017 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", + "id": 3896 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", "description": "Add team access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7916,14 +7916,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", - "id": 4018 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", + "id": 3897 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", "description": "Remove team access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7935,14 +7935,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/teams", - "id": 4019 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/teams", + "id": 3898 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", + "label": "get/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", "description": "Get users with access to the protected branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7954,14 +7954,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", - "id": 4020 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", + "id": 3899 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", + "label": "put/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", "description": "Set user access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7973,14 +7973,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", - "id": 4021 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", + "id": 3900 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", + "label": "post/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", "description": "Add user access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -7992,14 +7992,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", - "id": 4022 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", + "id": 3902 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", + "label": "delete/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", "description": "Remove user access restrictions\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8011,14 +8011,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/protection/restrictions/users", - "id": 4023 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/protection/restrictions/users", + "id": 3903 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/branches/[\"\"]/rename", + "label": "post/repos/[owner]/[repo]/branches/[branch]/rename", "description": "Rename a branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8030,14 +8030,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/branches/[\"\"]/rename", - "id": 4024 + "resourcePath": "/repos/[owner]/[repo]/branches/[branch]/rename", + "id": 3904 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/check\\-runs", + "label": "post/repos/[owner]/[repo]/check\\-runs", "description": "Create a check run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8049,14 +8049,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-runs", - "id": 4025 + "resourcePath": "/repos/[owner]/[repo]/check\\-runs", + "id": 3905 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/check\\-runs/[0]", + "label": "get/repos/[owner]/[repo]/check\\-runs/[check_run_id]", "description": "Get a check run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8068,14 +8068,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-runs/[0]", - "id": 4026 + "resourcePath": "/repos/[owner]/[repo]/check\\-runs/[check_run_id]", + "id": 3906 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/check\\-runs/[0]", + "label": "patch/repos/[owner]/[repo]/check\\-runs/[check_run_id]", "description": "Update a check run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8087,14 +8087,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-runs/[0]", - "id": 4027 + "resourcePath": "/repos/[owner]/[repo]/check\\-runs/[check_run_id]", + "id": 3907 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/check\\-runs/[0]/annotations", + "label": "get/repos/[owner]/[repo]/check\\-runs/[check_run_id]/annotations", "description": "List check run annotations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8106,14 +8106,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-runs/[0]/annotations", - "id": 4028 + "resourcePath": "/repos/[owner]/[repo]/check\\-runs/[check_run_id]/annotations", + "id": 3908 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/check\\-runs/[0]/rerequest", + "label": "post/repos/[owner]/[repo]/check\\-runs/[check_run_id]/rerequest", "description": "Rerequest a check run\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8125,14 +8125,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-runs/[0]/rerequest", - "id": 4031 + "resourcePath": "/repos/[owner]/[repo]/check\\-runs/[check_run_id]/rerequest", + "id": 3909 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/check\\-suites", + "label": "post/repos/[owner]/[repo]/check\\-suites", "description": "Create a check suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8144,14 +8144,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-suites", - "id": 4032 + "resourcePath": "/repos/[owner]/[repo]/check\\-suites", + "id": 3910 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/check\\-suites/preferences", + "label": "patch/repos/[owner]/[repo]/check\\-suites/preferences", "description": "Update repository preferences for check suites\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8163,14 +8163,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-suites/preferences", - "id": 4033 + "resourcePath": "/repos/[owner]/[repo]/check\\-suites/preferences", + "id": 3911 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/check\\-suites/[0]", + "label": "get/repos/[owner]/[repo]/check\\-suites/[check_suite_id]", "description": "Get a check suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8182,14 +8182,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-suites/[0]", - "id": 4034 + "resourcePath": "/repos/[owner]/[repo]/check\\-suites/[check_suite_id]", + "id": 3912 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/check\\-suites/[0]/check\\-runs", + "label": "get/repos/[owner]/[repo]/check\\-suites/[check_suite_id]/check\\-runs", "description": "List check runs in a check suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8201,14 +8201,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-suites/[0]/check\\-runs", - "id": 4035 + "resourcePath": "/repos/[owner]/[repo]/check\\-suites/[check_suite_id]/check\\-runs", + "id": 3913 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/check\\-suites/[0]/rerequest", + "label": "post/repos/[owner]/[repo]/check\\-suites/[check_suite_id]/rerequest", "description": "Rerequest a check suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8220,14 +8220,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/check\\-suites/[0]/rerequest", - "id": 4040 + "resourcePath": "/repos/[owner]/[repo]/check\\-suites/[check_suite_id]/rerequest", + "id": 3916 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/alerts", + "label": "get/repos/[owner]/[repo]/code\\-scanning/alerts", "description": "List code scanning alerts for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8239,14 +8239,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/alerts", - "id": 4041 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/alerts", + "id": 3917 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]", + "label": "get/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]", "description": "Get a code scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8258,14 +8258,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]", - "id": 4046 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]", + "id": 3922 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]", + "label": "patch/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]", "description": "Update a code scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8277,14 +8277,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]", - "id": 4047 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]", + "id": 3923 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]/instances", + "label": "get/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]/instances", "description": "List instances of a code scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8296,14 +8296,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/alerts/[0]/instances", - "id": 4048 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/alerts/[alert_number]/instances", + "id": 3924 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/analyses", + "label": "get/repos/[owner]/[repo]/code\\-scanning/analyses", "description": "List code scanning analyses for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8315,14 +8315,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/analyses", - "id": 4051 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/analyses", + "id": 3927 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/analyses/[0]", + "label": "get/repos/[owner]/[repo]/code\\-scanning/analyses/[analysis_id]", "description": "Get a code scanning analysis for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8334,14 +8334,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/analyses/[0]", - "id": 4063 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/analyses/[analysis_id]", + "id": 3931 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/code\\-scanning/analyses/[0]", + "label": "delete/repos/[owner]/[repo]/code\\-scanning/analyses/[analysis_id]", "description": "Delete a code scanning analysis from a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8353,14 +8353,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/analyses/[0]", - "id": 4064 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/analyses/[analysis_id]", + "id": 3932 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/codeql/databases", + "label": "get/repos/[owner]/[repo]/code\\-scanning/codeql/databases", "description": "List CodeQL databases for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8372,14 +8372,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/codeql/databases", - "id": 4066 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/codeql/databases", + "id": 3934 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/codeql/databases/[\"\"]", + "label": "get/repos/[owner]/[repo]/code\\-scanning/codeql/databases/[language]", "description": "Get a CodeQL database for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8391,14 +8391,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/codeql/databases/[\"\"]", - "id": 4067 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/codeql/databases/[language]", + "id": 3935 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/default\\-setup", + "label": "get/repos/[owner]/[repo]/code\\-scanning/default\\-setup", "description": "Get a code scanning default setup configuration\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8410,14 +8410,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/default\\-setup", - "id": 4068 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/default\\-setup", + "id": 3936 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/code\\-scanning/default\\-setup", + "label": "patch/repos/[owner]/[repo]/code\\-scanning/default\\-setup", "description": "Update a code scanning default setup configuration\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8429,14 +8429,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/default\\-setup", - "id": 4069 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/default\\-setup", + "id": 3937 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/code\\-scanning/sarifs", + "label": "post/repos/[owner]/[repo]/code\\-scanning/sarifs", "description": "Upload an analysis as SARIF data\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8448,14 +8448,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/sarifs", - "id": 4070 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/sarifs", + "id": 3938 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/code\\-scanning/sarifs/[\"\"]", + "label": "get/repos/[owner]/[repo]/code\\-scanning/sarifs/[sarif_id]", "description": "Get information about a SARIF upload\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8467,14 +8467,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/code\\-scanning/sarifs/[\"\"]", - "id": 4071 + "resourcePath": "/repos/[owner]/[repo]/code\\-scanning/sarifs/[sarif_id]", + "id": 3939 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codeowners/errors", + "label": "get/repos/[owner]/[repo]/codeowners/errors", "description": "List CODEOWNERS errors\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8486,14 +8486,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codeowners/errors", - "id": 4072 + "resourcePath": "/repos/[owner]/[repo]/codeowners/errors", + "id": 3940 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces", + "label": "get/repos/[owner]/[repo]/codespaces", "description": "List codespaces in a repository for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8505,14 +8505,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces", - "id": 4073 + "resourcePath": "/repos/[owner]/[repo]/codespaces", + "id": 3942 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/codespaces", + "label": "post/repos/[owner]/[repo]/codespaces", "description": "Create a codespace in a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8524,14 +8524,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces", - "id": 4076 + "resourcePath": "/repos/[owner]/[repo]/codespaces", + "id": 3943 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/devcontainers", + "label": "get/repos/[owner]/[repo]/codespaces/devcontainers", "description": "List devcontainer configurations in a repository for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8543,14 +8543,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/devcontainers", - "id": 4077 + "resourcePath": "/repos/[owner]/[repo]/codespaces/devcontainers", + "id": 3944 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/machines", + "label": "get/repos/[owner]/[repo]/codespaces/machines", "description": "List available machine types for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8562,14 +8562,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/machines", - "id": 4085 + "resourcePath": "/repos/[owner]/[repo]/codespaces/machines", + "id": 3947 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/'new", + "label": "get/repos/[owner]/[repo]/codespaces/'new", "description": "Get default attributes for a codespace\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8581,14 +8581,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/'new", - "id": 4089 + "resourcePath": "/repos/[owner]/[repo]/codespaces/'new", + "id": 3949 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/permissions_check", + "label": "get/repos/[owner]/[repo]/codespaces/permissions_check", "description": "Check if permissions defined by a devcontainer have been accepted by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8600,14 +8600,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/permissions_check", - "id": 4093 + "resourcePath": "/repos/[owner]/[repo]/codespaces/permissions_check", + "id": 3952 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/secrets", + "label": "get/repos/[owner]/[repo]/codespaces/secrets", "description": "List repository secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8619,14 +8619,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/secrets", - "id": 4094 + "resourcePath": "/repos/[owner]/[repo]/codespaces/secrets", + "id": 3953 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/secrets/public\\-key", + "label": "get/repos/[owner]/[repo]/codespaces/secrets/public\\-key", "description": "Get a repository public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8638,14 +8638,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/secrets/public\\-key", - "id": 4097 + "resourcePath": "/repos/[owner]/[repo]/codespaces/secrets/public\\-key", + "id": 3954 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", + "label": "get/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", "description": "Get a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8657,14 +8657,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", - "id": 4098 + "resourcePath": "/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", + "id": 3955 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", + "label": "put/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", "description": "Create or update a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8676,14 +8676,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", - "id": 4099 + "resourcePath": "/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", + "id": 3957 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", + "label": "delete/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", "description": "Delete a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8695,14 +8695,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/codespaces/secrets/[\"\"]", - "id": 4100 + "resourcePath": "/repos/[owner]/[repo]/codespaces/secrets/[secret_name]", + "id": 3958 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/collaborators", + "label": "get/repos/[owner]/[repo]/collaborators", "description": "List repository collaborators\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8714,14 +8714,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/collaborators", - "id": 4101 + "resourcePath": "/repos/[owner]/[repo]/collaborators", + "id": 3959 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", + "label": "get/repos/[owner]/[repo]/collaborators/[username]", "description": "Check if a user is a repository collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8733,14 +8733,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", - "id": 4109 + "resourcePath": "/repos/[owner]/[repo]/collaborators/[username]", + "id": 3962 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", + "label": "put/repos/[owner]/[repo]/collaborators/[username]", "description": "Add a repository collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8752,14 +8752,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", - "id": 4110 + "resourcePath": "/repos/[owner]/[repo]/collaborators/[username]", + "id": 3963 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", + "label": "delete/repos/[owner]/[repo]/collaborators/[username]", "description": "Remove a repository collaborator\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8771,14 +8771,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/collaborators/[\"\"]", - "id": 4111 + "resourcePath": "/repos/[owner]/[repo]/collaborators/[username]", + "id": 3964 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/collaborators/[\"\"]/permission", + "label": "get/repos/[owner]/[repo]/collaborators/[username]/permission", "description": "Get repository permissions for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8790,14 +8790,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/collaborators/[\"\"]/permission", - "id": 4112 + "resourcePath": "/repos/[owner]/[repo]/collaborators/[username]/permission", + "id": 3965 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/comments", + "label": "get/repos/[owner]/[repo]/comments", "description": "List commit comments for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8809,14 +8809,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments", - "id": 4113 + "resourcePath": "/repos/[owner]/[repo]/comments", + "id": 3966 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/comments/[0]", + "label": "get/repos/[owner]/[repo]/comments/[comment_id]", "description": "Get a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8828,14 +8828,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]", - "id": 4119 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]", + "id": 3968 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/comments/[0]", + "label": "delete/repos/[owner]/[repo]/comments/[comment_id]", "description": "Delete a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8847,14 +8847,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]", - "id": 4120 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]", + "id": 3969 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/comments/[0]", + "label": "patch/repos/[owner]/[repo]/comments/[comment_id]", "description": "Update a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8866,14 +8866,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]", - "id": 4121 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]", + "id": 3970 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/comments/[0]/reactions", + "label": "get/repos/[owner]/[repo]/comments/[comment_id]/reactions", "description": "List reactions for a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8885,14 +8885,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]/reactions", - "id": 4122 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]/reactions", + "id": 3971 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/comments/[0]/reactions", + "label": "post/repos/[owner]/[repo]/comments/[comment_id]/reactions", "description": "Create reaction for a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8904,14 +8904,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]/reactions", - "id": 4126 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]/reactions", + "id": 3973 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/comments/[0]/reactions/[0]", + "label": "delete/repos/[owner]/[repo]/comments/[comment_id]/reactions/[reaction_id]", "description": "Delete a commit comment reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8923,14 +8923,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/comments/[0]/reactions/[0]", - "id": 4127 + "resourcePath": "/repos/[owner]/[repo]/comments/[comment_id]/reactions/[reaction_id]", + "id": 3975 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits", + "label": "get/repos/[owner]/[repo]/commits", "description": "List commits\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8942,14 +8942,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits", - "id": 4128 + "resourcePath": "/repos/[owner]/[repo]/commits", + "id": 3976 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/branches\\-where\\-head", + "label": "get/repos/[owner]/[repo]/commits/[commit_sha]/branches\\-where\\-head", "description": "List branches for HEAD commit\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8961,14 +8961,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/branches\\-where\\-head", - "id": 4142 + "resourcePath": "/repos/[owner]/[repo]/commits/[commit_sha]/branches\\-where\\-head", + "id": 3981 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/comments", + "label": "get/repos/[owner]/[repo]/commits/[commit_sha]/comments", "description": "List commit comments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8980,14 +8980,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/comments", - "id": 4143 + "resourcePath": "/repos/[owner]/[repo]/commits/[commit_sha]/comments", + "id": 3982 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/commits/[\"\"]/comments", + "label": "post/repos/[owner]/[repo]/commits/[commit_sha]/comments", "description": "Create a commit comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -8999,14 +8999,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/comments", - "id": 4146 + "resourcePath": "/repos/[owner]/[repo]/commits/[commit_sha]/comments", + "id": 3984 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/pulls", + "label": "get/repos/[owner]/[repo]/commits/[commit_sha]/pulls", "description": "List pull requests associated with a commit\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9018,14 +9018,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/pulls", - "id": 4147 + "resourcePath": "/repos/[owner]/[repo]/commits/[commit_sha]/pulls", + "id": 3985 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]", + "label": "get/repos/[owner]/[repo]/commits/[ref]", "description": "Get a commit\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9037,14 +9037,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]", - "id": 4151 + "resourcePath": "/repos/[owner]/[repo]/commits/[ref]", + "id": 3987 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/check\\-runs", + "label": "get/repos/[owner]/[repo]/commits/[ref]/check\\-runs", "description": "List check runs for a Git reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9056,14 +9056,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/check\\-runs", - "id": 4155 + "resourcePath": "/repos/[owner]/[repo]/commits/[ref]/check\\-runs", + "id": 3989 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/check\\-suites", + "label": "get/repos/[owner]/[repo]/commits/[ref]/check\\-suites", "description": "List check suites for a Git reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9075,14 +9075,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/check\\-suites", - "id": 4165 + "resourcePath": "/repos/[owner]/[repo]/commits/[ref]/check\\-suites", + "id": 3993 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/status", + "label": "get/repos/[owner]/[repo]/commits/[ref]/status", "description": "Get the combined status for a specific reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9094,14 +9094,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/status", - "id": 4170 + "resourcePath": "/repos/[owner]/[repo]/commits/[ref]/status", + "id": 3996 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/commits/[\"\"]/statuses", + "label": "get/repos/[owner]/[repo]/commits/[ref]/statuses", "description": "List commit statuses for a reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9113,14 +9113,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/commits/[\"\"]/statuses", - "id": 4175 + "resourcePath": "/repos/[owner]/[repo]/commits/[ref]/statuses", + "id": 3997 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/community/profile", + "label": "get/repos/[owner]/[repo]/community/profile", "description": "Get community profile metrics\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9132,14 +9132,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/community/profile", - "id": 4178 + "resourcePath": "/repos/[owner]/[repo]/community/profile", + "id": 3998 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/compare/[\"\"]", + "label": "get/repos/[owner]/[repo]/compare/[basehead]", "description": "Compare two commits\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9151,14 +9151,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/compare/[\"\"]", - "id": 4179 + "resourcePath": "/repos/[owner]/[repo]/compare/[basehead]", + "id": 3999 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/contents/[\"\"]", + "label": "get/repos/[owner]/[repo]/contents/[path]", "description": "Get repository content\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9170,14 +9170,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/contents/[\"\"]", - "id": 4183 + "resourcePath": "/repos/[owner]/[repo]/contents/[path]", + "id": 4002 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/contents/[\"\"]", + "label": "put/repos/[owner]/[repo]/contents/[path]", "description": "Create or update file contents\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9189,14 +9189,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/contents/[\"\"]", - "id": 4185 + "resourcePath": "/repos/[owner]/[repo]/contents/[path]", + "id": 4004 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/contents/[\"\"]", + "label": "delete/repos/[owner]/[repo]/contents/[path]", "description": "Delete a file\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9208,14 +9208,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/contents/[\"\"]", - "id": 4186 + "resourcePath": "/repos/[owner]/[repo]/contents/[path]", + "id": 4005 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/contributors", + "label": "get/repos/[owner]/[repo]/contributors", "description": "List repository contributors\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9227,14 +9227,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/contributors", - "id": 4187 + "resourcePath": "/repos/[owner]/[repo]/contributors", + "id": 4006 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependabot/alerts", + "label": "get/repos/[owner]/[repo]/dependabot/alerts", "description": "List Dependabot alerts for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9246,14 +9246,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/alerts", - "id": 4194 + "resourcePath": "/repos/[owner]/[repo]/dependabot/alerts", + "id": 4007 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependabot/alerts/[0]", + "label": "get/repos/[owner]/[repo]/dependabot/alerts/[alert_number]", "description": "Get a Dependabot alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9265,14 +9265,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/alerts/[0]", - "id": 4217 + "resourcePath": "/repos/[owner]/[repo]/dependabot/alerts/[alert_number]", + "id": 4015 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/dependabot/alerts/[0]", + "label": "patch/repos/[owner]/[repo]/dependabot/alerts/[alert_number]", "description": "Update a Dependabot alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9284,14 +9284,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/alerts/[0]", - "id": 4218 + "resourcePath": "/repos/[owner]/[repo]/dependabot/alerts/[alert_number]", + "id": 4016 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependabot/secrets", + "label": "get/repos/[owner]/[repo]/dependabot/secrets", "description": "List repository secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9303,14 +9303,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/secrets", - "id": 4219 + "resourcePath": "/repos/[owner]/[repo]/dependabot/secrets", + "id": 4017 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependabot/secrets/public\\-key", + "label": "get/repos/[owner]/[repo]/dependabot/secrets/public\\-key", "description": "Get a repository public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9322,14 +9322,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/secrets/public\\-key", - "id": 4226 + "resourcePath": "/repos/[owner]/[repo]/dependabot/secrets/public\\-key", + "id": 4019 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", + "label": "get/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", "description": "Get a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9341,14 +9341,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", - "id": 4227 + "resourcePath": "/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", + "id": 4020 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", + "label": "put/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", "description": "Create or update a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9360,14 +9360,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", - "id": 4228 + "resourcePath": "/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", + "id": 4021 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", + "label": "delete/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", "description": "Delete a repository secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9379,14 +9379,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependabot/secrets/[\"\"]", - "id": 4229 + "resourcePath": "/repos/[owner]/[repo]/dependabot/secrets/[secret_name]", + "id": 4022 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependency\\-graph/compare/[\"\"]", + "label": "get/repos/[owner]/[repo]/dependency\\-graph/compare/[basehead]", "description": "Get a diff of the dependencies between commits\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9398,14 +9398,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependency\\-graph/compare/[\"\"]", - "id": 4230 + "resourcePath": "/repos/[owner]/[repo]/dependency\\-graph/compare/[basehead]", + "id": 4023 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/dependency\\-graph/sbom", + "label": "get/repos/[owner]/[repo]/dependency\\-graph/sbom", "description": "Export a software bill of materials (SBOM) for a repository.\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9417,14 +9417,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependency\\-graph/sbom", - "id": 4231 + "resourcePath": "/repos/[owner]/[repo]/dependency\\-graph/sbom", + "id": 4025 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/dependency\\-graph/snapshots", + "label": "post/repos/[owner]/[repo]/dependency\\-graph/snapshots", "description": "Create a snapshot of dependencies for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9436,14 +9436,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dependency\\-graph/snapshots", - "id": 4232 + "resourcePath": "/repos/[owner]/[repo]/dependency\\-graph/snapshots", + "id": 4026 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/deployments", + "label": "get/repos/[owner]/[repo]/deployments", "description": "List deployments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9455,14 +9455,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments", - "id": 4233 + "resourcePath": "/repos/[owner]/[repo]/deployments", + "id": 4027 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/deployments", + "label": "post/repos/[owner]/[repo]/deployments", "description": "Create a deployment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9474,14 +9474,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments", - "id": 4243 + "resourcePath": "/repos/[owner]/[repo]/deployments", + "id": 4031 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/deployments/[0]", + "label": "get/repos/[owner]/[repo]/deployments/[deployment_id]", "description": "Get a deployment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9493,14 +9493,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments/[0]", - "id": 4244 + "resourcePath": "/repos/[owner]/[repo]/deployments/[deployment_id]", + "id": 4032 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/deployments/[0]", + "label": "delete/repos/[owner]/[repo]/deployments/[deployment_id]", "description": "Delete a deployment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9512,14 +9512,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments/[0]", - "id": 4245 + "resourcePath": "/repos/[owner]/[repo]/deployments/[deployment_id]", + "id": 4033 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/deployments/[0]/statuses", + "label": "get/repos/[owner]/[repo]/deployments/[deployment_id]/statuses", "description": "List deployment statuses\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9531,14 +9531,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments/[0]/statuses", - "id": 4246 + "resourcePath": "/repos/[owner]/[repo]/deployments/[deployment_id]/statuses", + "id": 4034 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/deployments/[0]/statuses", + "label": "post/repos/[owner]/[repo]/deployments/[deployment_id]/statuses", "description": "Create a deployment status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9550,14 +9550,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments/[0]/statuses", - "id": 4255 + "resourcePath": "/repos/[owner]/[repo]/deployments/[deployment_id]/statuses", + "id": 4036 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/deployments/[0]/statuses/[0]", + "label": "get/repos/[owner]/[repo]/deployments/[deployment_id]/statuses/[status_id]", "description": "Get a deployment status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9569,14 +9569,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/deployments/[0]/statuses/[0]", - "id": 4256 + "resourcePath": "/repos/[owner]/[repo]/deployments/[deployment_id]/statuses/[status_id]", + "id": 4038 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/dispatches", + "label": "post/repos/[owner]/[repo]/dispatches", "description": "Create a repository dispatch event\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9588,14 +9588,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/dispatches", - "id": 4257 + "resourcePath": "/repos/[owner]/[repo]/dispatches", + "id": 4039 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments", + "label": "get/repos/[owner]/[repo]/environments", "description": "List environments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9607,14 +9607,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments", - "id": 4258 + "resourcePath": "/repos/[owner]/[repo]/environments", + "id": 4040 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]", "description": "Get an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9626,14 +9626,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]", - "id": 4261 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]", + "id": 4041 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/environments/[\"\"]", + "label": "put/repos/[owner]/[repo]/environments/[environment_name]", "description": "Create or update an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9645,14 +9645,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]", - "id": 4262 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]", + "id": 4042 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/environments/[\"\"]", + "label": "delete/repos/[owner]/[repo]/environments/[environment_name]", "description": "Delete an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9664,14 +9664,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]", - "id": 4263 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]", + "id": 4043 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies", "description": "List deployment branch policies\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9683,14 +9683,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies", - "id": 4264 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies", + "id": 4044 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies", + "label": "post/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies", "description": "Create a deployment branch policy\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9702,14 +9702,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies", - "id": 4269 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies", + "id": 4047 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", "description": "Get a deployment branch policy\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9721,14 +9721,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", - "id": 4270 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", + "id": 4048 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", + "label": "put/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", "description": "Update a deployment branch policy\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9740,14 +9740,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", - "id": 4271 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", + "id": 4049 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", + "label": "delete/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", "description": "Delete a deployment branch policy\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9759,14 +9759,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment\\-branch\\-policies/[0]", - "id": 4272 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment\\-branch\\-policies/[branch_policy_id]", + "id": 4050 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules", "description": "Get all deployment protection rules for an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9778,14 +9778,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules", - "id": 4273 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules", + "id": 4051 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules", + "label": "post/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules", "description": "Create a custom deployment protection rule on an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9797,14 +9797,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules", - "id": 4274 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules", + "id": 4052 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/apps", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/apps", "description": "List custom deployment rule integrations available for an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9816,14 +9816,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/apps", - "id": 4275 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/apps", + "id": 4053 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/[0]", + "label": "get/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/[protection_rule_id]", "description": "Get a custom deployment protection rule\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9835,14 +9835,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/[0]", - "id": 4279 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/[protection_rule_id]", + "id": 4054 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/[0]", + "label": "delete/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/[protection_rule_id]", "description": "Disable a custom protection rule for an environment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9854,14 +9854,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/environments/[\"\"]/deployment_protection_rules/[0]", - "id": 4280 + "resourcePath": "/repos/[owner]/[repo]/environments/[environment_name]/deployment_protection_rules/[protection_rule_id]", + "id": 4055 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/events", + "label": "get/repos/[owner]/[repo]/events", "description": "List repository events\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9873,14 +9873,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/events", - "id": 4281 + "resourcePath": "/repos/[owner]/[repo]/events", + "id": 4056 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/forks", + "label": "get/repos/[owner]/[repo]/forks", "description": "List forks\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9892,14 +9892,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/forks", - "id": 4283 + "resourcePath": "/repos/[owner]/[repo]/forks", + "id": 4059 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/forks", + "label": "post/repos/[owner]/[repo]/forks", "description": "Create a fork\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9911,14 +9911,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/forks", - "id": 4290 + "resourcePath": "/repos/[owner]/[repo]/forks", + "id": 4061 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/git/blobs", + "label": "post/repos/[owner]/[repo]/git/blobs", "description": "Create a blob\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9930,14 +9930,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/blobs", - "id": 4291 + "resourcePath": "/repos/[owner]/[repo]/git/blobs", + "id": 4062 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/blobs/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/blobs/[file_sha]", "description": "Get a blob\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9949,14 +9949,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/blobs/[\"\"]", - "id": 4292 + "resourcePath": "/repos/[owner]/[repo]/git/blobs/[file_sha]", + "id": 4063 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/git/commits", + "label": "post/repos/[owner]/[repo]/git/commits", "description": "Create a commit\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9968,14 +9968,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/commits", - "id": 4293 + "resourcePath": "/repos/[owner]/[repo]/git/commits", + "id": 4064 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/commits/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/commits/[commit_sha]", "description": "Get a commit object\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -9987,14 +9987,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/commits/[\"\"]", - "id": 4294 + "resourcePath": "/repos/[owner]/[repo]/git/commits/[commit_sha]", + "id": 4065 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/matching\\-refs/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/matching\\-refs/[ref]", "description": "List matching references\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10006,14 +10006,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/matching\\-refs/[\"\"]", - "id": 4295 + "resourcePath": "/repos/[owner]/[repo]/git/matching\\-refs/[ref]", + "id": 4066 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/ref/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/ref/[ref]", "description": "Get a reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10025,14 +10025,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/ref/[\"\"]", - "id": 4296 + "resourcePath": "/repos/[owner]/[repo]/git/ref/[ref]", + "id": 4067 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/git/refs", + "label": "post/repos/[owner]/[repo]/git/refs", "description": "Create a reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10044,14 +10044,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/refs", - "id": 4297 + "resourcePath": "/repos/[owner]/[repo]/git/refs", + "id": 4068 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/git/refs/[\"\"]", + "label": "delete/repos/[owner]/[repo]/git/refs/[ref]", "description": "Delete a reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10063,14 +10063,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/refs/[\"\"]", - "id": 4298 + "resourcePath": "/repos/[owner]/[repo]/git/refs/[ref]", + "id": 4069 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/git/refs/[\"\"]", + "label": "patch/repos/[owner]/[repo]/git/refs/[ref]", "description": "Update a reference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10082,14 +10082,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/refs/[\"\"]", - "id": 4299 + "resourcePath": "/repos/[owner]/[repo]/git/refs/[ref]", + "id": 4070 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/git/tags", + "label": "post/repos/[owner]/[repo]/git/tags", "description": "Create a tag object\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10101,14 +10101,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/tags", - "id": 4301 + "resourcePath": "/repos/[owner]/[repo]/git/tags", + "id": 4071 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/tags/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/tags/[tag_sha]", "description": "Get a tag\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10120,14 +10120,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/tags/[\"\"]", - "id": 4302 + "resourcePath": "/repos/[owner]/[repo]/git/tags/[tag_sha]", + "id": 4072 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/git/trees", + "label": "post/repos/[owner]/[repo]/git/trees", "description": "Create a tree\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10139,14 +10139,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/trees", - "id": 4303 + "resourcePath": "/repos/[owner]/[repo]/git/trees", + "id": 4073 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/git/trees/[\"\"]", + "label": "get/repos/[owner]/[repo]/git/trees/[tree_sha]", "description": "Get a tree\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10158,14 +10158,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/git/trees/[\"\"]", - "id": 4304 + "resourcePath": "/repos/[owner]/[repo]/git/trees/[tree_sha]", + "id": 4074 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/hooks", + "label": "get/repos/[owner]/[repo]/hooks", "description": "List repository webhooks\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10177,14 +10177,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks", - "id": 4306 + "resourcePath": "/repos/[owner]/[repo]/hooks", + "id": 4076 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/hooks", + "label": "post/repos/[owner]/[repo]/hooks", "description": "Create a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10196,14 +10196,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks", - "id": 4310 + "resourcePath": "/repos/[owner]/[repo]/hooks", + "id": 4077 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/hooks/[0]", + "label": "get/repos/[owner]/[repo]/hooks/[hook_id]", "description": "Get a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10215,14 +10215,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]", - "id": 4311 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]", + "id": 4078 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/hooks/[0]", + "label": "delete/repos/[owner]/[repo]/hooks/[hook_id]", "description": "Delete a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10234,14 +10234,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]", - "id": 4312 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]", + "id": 4079 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/hooks/[0]", + "label": "patch/repos/[owner]/[repo]/hooks/[hook_id]", "description": "Update a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10253,14 +10253,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]", - "id": 4313 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]", + "id": 4080 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/hooks/[0]/config", + "label": "get/repos/[owner]/[repo]/hooks/[hook_id]/config", "description": "Get a webhook configuration for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10272,14 +10272,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/config", - "id": 4314 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/config", + "id": 4081 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/hooks/[0]/config", + "label": "patch/repos/[owner]/[repo]/hooks/[hook_id]/config", "description": "Update a webhook configuration for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10291,14 +10291,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/config", - "id": 4315 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/config", + "id": 4082 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries", + "label": "get/repos/[owner]/[repo]/hooks/[hook_id]/deliveries", "description": "List deliveries for a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10310,14 +10310,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries", - "id": 4316 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/deliveries", + "id": 4083 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries/[0]", + "label": "get/repos/[owner]/[repo]/hooks/[hook_id]/deliveries/[delivery_id]", "description": "Get a delivery for a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10329,14 +10329,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries/[0]", - "id": 4324 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/deliveries/[delivery_id]", + "id": 4087 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries/[0]/attempts", + "label": "post/repos/[owner]/[repo]/hooks/[hook_id]/deliveries/[delivery_id]/attempts", "description": "Redeliver a delivery for a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10348,14 +10348,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/deliveries/[0]/attempts", - "id": 4325 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/deliveries/[delivery_id]/attempts", + "id": 4088 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/hooks/[0]/pings", + "label": "post/repos/[owner]/[repo]/hooks/[hook_id]/pings", "description": "Ping a repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10367,14 +10367,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/pings", - "id": 4326 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/pings", + "id": 4089 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/hooks/[0]/tests", + "label": "post/repos/[owner]/[repo]/hooks/[hook_id]/tests", "description": "Test the push repository webhook\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10386,14 +10386,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/hooks/[0]/tests", - "id": 4327 + "resourcePath": "/repos/[owner]/[repo]/hooks/[hook_id]/tests", + "id": 4090 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/'import", + "label": "get/repos/[owner]/[repo]/'import", "description": "Get an import status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10405,14 +10405,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import", - "id": 4328 + "resourcePath": "/repos/[owner]/[repo]/'import", + "id": 4091 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/'import", + "label": "put/repos/[owner]/[repo]/'import", "description": "Start an import\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10424,14 +10424,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import", - "id": 4329 + "resourcePath": "/repos/[owner]/[repo]/'import", + "id": 4093 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/'import", + "label": "delete/repos/[owner]/[repo]/'import", "description": "Cancel an import\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10443,14 +10443,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import", - "id": 4330 + "resourcePath": "/repos/[owner]/[repo]/'import", + "id": 4094 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/'import", + "label": "patch/repos/[owner]/[repo]/'import", "description": "Update an import\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10462,14 +10462,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import", - "id": 4331 + "resourcePath": "/repos/[owner]/[repo]/'import", + "id": 4095 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/'import/authors", + "label": "get/repos/[owner]/[repo]/'import/authors", "description": "Get commit authors\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10481,14 +10481,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import/authors", - "id": 4332 + "resourcePath": "/repos/[owner]/[repo]/'import/authors", + "id": 4096 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/'import/authors/[0]", + "label": "patch/repos/[owner]/[repo]/'import/authors/[author_id]", "description": "Map a commit author\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10500,14 +10500,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import/authors/[0]", - "id": 4335 + "resourcePath": "/repos/[owner]/[repo]/'import/authors/[author_id]", + "id": 4097 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/'import/large_files", + "label": "get/repos/[owner]/[repo]/'import/large_files", "description": "Get large files\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10519,14 +10519,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import/large_files", - "id": 4336 + "resourcePath": "/repos/[owner]/[repo]/'import/large_files", + "id": 4098 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/'import/lfs", + "label": "patch/repos/[owner]/[repo]/'import/lfs", "description": "Update Git LFS preference\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10538,14 +10538,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/'import/lfs", - "id": 4337 + "resourcePath": "/repos/[owner]/[repo]/'import/lfs", + "id": 4099 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/installation", + "label": "get/repos/[owner]/[repo]/installation", "description": "Get a repository installation for the authenticated app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10557,14 +10557,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/installation", - "id": 4338 + "resourcePath": "/repos/[owner]/[repo]/installation", + "id": 4100 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/interaction\\-limits", + "label": "get/repos/[owner]/[repo]/interaction\\-limits", "description": "Get interaction restrictions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10576,14 +10576,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/interaction\\-limits", - "id": 4339 + "resourcePath": "/repos/[owner]/[repo]/interaction\\-limits", + "id": 4101 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/interaction\\-limits", + "label": "put/repos/[owner]/[repo]/interaction\\-limits", "description": "Set interaction restrictions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10595,14 +10595,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/interaction\\-limits", - "id": 4340 + "resourcePath": "/repos/[owner]/[repo]/interaction\\-limits", + "id": 4102 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/interaction\\-limits", + "label": "delete/repos/[owner]/[repo]/interaction\\-limits", "description": "Remove interaction restrictions for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10614,14 +10614,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/interaction\\-limits", - "id": 4341 + "resourcePath": "/repos/[owner]/[repo]/interaction\\-limits", + "id": 4103 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/invitations", + "label": "get/repos/[owner]/[repo]/invitations", "description": "List repository invitations\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10633,14 +10633,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/invitations", - "id": 4342 + "resourcePath": "/repos/[owner]/[repo]/invitations", + "id": 4104 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/invitations/[0]", + "label": "delete/repos/[owner]/[repo]/invitations/[invitation_id]", "description": "Delete a repository invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10652,14 +10652,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/invitations/[0]", - "id": 4349 + "resourcePath": "/repos/[owner]/[repo]/invitations/[invitation_id]", + "id": 4106 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/invitations/[0]", + "label": "patch/repos/[owner]/[repo]/invitations/[invitation_id]", "description": "Update a repository invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10671,14 +10671,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/invitations/[0]", - "id": 4350 + "resourcePath": "/repos/[owner]/[repo]/invitations/[invitation_id]", + "id": 4107 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues", + "label": "get/repos/[owner]/[repo]/issues", "description": "List repository issues\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10690,14 +10690,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues", - "id": 4351 + "resourcePath": "/repos/[owner]/[repo]/issues", + "id": 4109 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues", + "label": "post/repos/[owner]/[repo]/issues", "description": "Create an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10709,14 +10709,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues", - "id": 4367 + "resourcePath": "/repos/[owner]/[repo]/issues", + "id": 4113 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/comments", + "label": "get/repos/[owner]/[repo]/issues/comments", "description": "List issue comments for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10728,14 +10728,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments", - "id": 4368 + "resourcePath": "/repos/[owner]/[repo]/issues/comments", + "id": 4114 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/comments/[0]", + "label": "get/repos/[owner]/[repo]/issues/comments/[comment_id]", "description": "Get an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10747,14 +10747,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]", - "id": 4379 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]", + "id": 4119 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/comments/[0]", + "label": "delete/repos/[owner]/[repo]/issues/comments/[comment_id]", "description": "Delete an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10766,14 +10766,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]", - "id": 4380 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]", + "id": 4120 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/issues/comments/[0]", + "label": "patch/repos/[owner]/[repo]/issues/comments/[comment_id]", "description": "Update an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10785,14 +10785,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]", - "id": 4381 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]", + "id": 4121 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions", + "label": "get/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions", "description": "List reactions for an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10804,14 +10804,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions", - "id": 4382 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions", + "id": 4122 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions", + "label": "post/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions", "description": "Create reaction for an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10823,14 +10823,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions", - "id": 4389 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions", + "id": 4125 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions/[0]", + "label": "delete/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions/[reaction_id]", "description": "Delete an issue comment reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10842,14 +10842,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/comments/[0]/reactions/[0]", - "id": 4390 + "resourcePath": "/repos/[owner]/[repo]/issues/comments/[comment_id]/reactions/[reaction_id]", + "id": 4126 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/events", + "label": "get/repos/[owner]/[repo]/issues/events", "description": "List issue events for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10861,14 +10861,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/events", - "id": 4391 + "resourcePath": "/repos/[owner]/[repo]/issues/events", + "id": 4127 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/events/[0]", + "label": "get/repos/[owner]/[repo]/issues/events/[event_id]", "description": "Get an issue event\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10880,14 +10880,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/events/[0]", - "id": 4393 + "resourcePath": "/repos/[owner]/[repo]/issues/events/[event_id]", + "id": 4130 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]", "description": "Get an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10899,14 +10899,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]", - "id": 4394 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]", + "id": 4131 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/issues/[0]", + "label": "patch/repos/[owner]/[repo]/issues/[issue_number]", "description": "Update an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10918,14 +10918,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]", - "id": 4395 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]", + "id": 4132 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues/[0]/assignees", + "label": "post/repos/[owner]/[repo]/issues/[issue_number]/assignees", "description": "Add assignees to an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10937,14 +10937,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/assignees", - "id": 4396 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/assignees", + "id": 4133 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/[0]/assignees", + "label": "delete/repos/[owner]/[repo]/issues/[issue_number]/assignees", "description": "Remove assignees from an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10956,14 +10956,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/assignees", - "id": 4397 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/assignees", + "id": 4134 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/assignees/[\"\"]", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/assignees/[assignee]", "description": "Check if a user can be assigned to a issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10975,14 +10975,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/assignees/[\"\"]", - "id": 4398 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/assignees/[assignee]", + "id": 4135 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/comments", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/comments", "description": "List issue comments\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -10994,14 +10994,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/comments", - "id": 4399 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/comments", + "id": 4136 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues/[0]/comments", + "label": "post/repos/[owner]/[repo]/issues/[issue_number]/comments", "description": "Create an issue comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11013,14 +11013,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/comments", - "id": 4408 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/comments", + "id": 4139 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/events", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/events", "description": "List issue events\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11032,14 +11032,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/events", - "id": 4409 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/events", + "id": 4140 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/labels", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/labels", "description": "List labels for an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11051,14 +11051,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/labels", - "id": 4412 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/labels", + "id": 4142 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/issues/[0]/labels", + "label": "put/repos/[owner]/[repo]/issues/[issue_number]/labels", "description": "Set labels for an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11070,14 +11070,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/labels", - "id": 4414 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/labels", + "id": 4143 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues/[0]/labels", + "label": "post/repos/[owner]/[repo]/issues/[issue_number]/labels", "description": "Add labels to an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11089,14 +11089,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/labels", - "id": 4415 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/labels", + "id": 4144 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/[0]/labels", + "label": "delete/repos/[owner]/[repo]/issues/[issue_number]/labels", "description": "Remove all labels from an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11108,14 +11108,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/labels", - "id": 4416 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/labels", + "id": 4145 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/[0]/labels/[\"\"]", + "label": "delete/repos/[owner]/[repo]/issues/[issue_number]/labels/[name]", "description": "Remove a label from an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11127,14 +11127,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/labels/[\"\"]", - "id": 4417 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/labels/[name]", + "id": 4146 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/issues/[0]/'lock", + "label": "put/repos/[owner]/[repo]/issues/[issue_number]/'lock", "description": "Lock an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11146,14 +11146,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/'lock", - "id": 4418 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/'lock", + "id": 4147 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/[0]/'lock", + "label": "delete/repos/[owner]/[repo]/issues/[issue_number]/'lock", "description": "Unlock an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11165,14 +11165,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/'lock", - "id": 4420 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/'lock", + "id": 4148 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/reactions", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/reactions", "description": "List reactions for an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11184,14 +11184,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/reactions", - "id": 4421 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/reactions", + "id": 4149 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/issues/[0]/reactions", + "label": "post/repos/[owner]/[repo]/issues/[issue_number]/reactions", "description": "Create reaction for an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11203,14 +11203,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/reactions", - "id": 4427 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/reactions", + "id": 4152 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/issues/[0]/reactions/[0]", + "label": "delete/repos/[owner]/[repo]/issues/[issue_number]/reactions/[reaction_id]", "description": "Delete an issue reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11222,14 +11222,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/reactions/[0]", - "id": 4428 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/reactions/[reaction_id]", + "id": 4153 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/issues/[0]/timeline", + "label": "get/repos/[owner]/[repo]/issues/[issue_number]/timeline", "description": "List timeline events for an issue\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11241,14 +11241,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/issues/[0]/timeline", - "id": 4429 + "resourcePath": "/repos/[owner]/[repo]/issues/[issue_number]/timeline", + "id": 4154 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/keys", + "label": "get/repos/[owner]/[repo]/keys", "description": "List deploy keys\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11260,14 +11260,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/keys", - "id": 4431 + "resourcePath": "/repos/[owner]/[repo]/keys", + "id": 4155 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/keys", + "label": "post/repos/[owner]/[repo]/keys", "description": "Create a deploy key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11279,14 +11279,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/keys", - "id": 4434 + "resourcePath": "/repos/[owner]/[repo]/keys", + "id": 4156 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/keys/[0]", + "label": "get/repos/[owner]/[repo]/keys/[key_id]", "description": "Get a deploy key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11298,14 +11298,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/keys/[0]", - "id": 4436 + "resourcePath": "/repos/[owner]/[repo]/keys/[key_id]", + "id": 4157 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/keys/[0]", + "label": "delete/repos/[owner]/[repo]/keys/[key_id]", "description": "Delete a deploy key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11317,14 +11317,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/keys/[0]", - "id": 4437 + "resourcePath": "/repos/[owner]/[repo]/keys/[key_id]", + "id": 4158 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/labels", + "label": "get/repos/[owner]/[repo]/labels", "description": "List labels for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11336,14 +11336,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/labels", - "id": 4438 + "resourcePath": "/repos/[owner]/[repo]/labels", + "id": 4159 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/labels", + "label": "post/repos/[owner]/[repo]/labels", "description": "Create a label\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11355,14 +11355,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/labels", - "id": 4441 + "resourcePath": "/repos/[owner]/[repo]/labels", + "id": 4162 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/labels/[\"\"]", + "label": "get/repos/[owner]/[repo]/labels/[name]", "description": "Get a label\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11374,14 +11374,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/labels/[\"\"]", - "id": 4442 + "resourcePath": "/repos/[owner]/[repo]/labels/[name]", + "id": 4163 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/labels/[\"\"]", + "label": "delete/repos/[owner]/[repo]/labels/[name]", "description": "Delete a label\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11393,14 +11393,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/labels/[\"\"]", - "id": 4443 + "resourcePath": "/repos/[owner]/[repo]/labels/[name]", + "id": 4164 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/labels/[\"\"]", + "label": "patch/repos/[owner]/[repo]/labels/[name]", "description": "Update a label\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11412,14 +11412,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/labels/[\"\"]", - "id": 4444 + "resourcePath": "/repos/[owner]/[repo]/labels/[name]", + "id": 4165 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/languages", + "label": "get/repos/[owner]/[repo]/languages", "description": "List repository languages\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11431,14 +11431,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/languages", - "id": 4445 + "resourcePath": "/repos/[owner]/[repo]/languages", + "id": 4166 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/license", + "label": "get/repos/[owner]/[repo]/license", "description": "Get the license for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11450,14 +11450,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/license", - "id": 4446 + "resourcePath": "/repos/[owner]/[repo]/license", + "id": 4167 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/merge\\-upstream", + "label": "post/repos/[owner]/[repo]/merge\\-upstream", "description": "Sync a fork branch with the upstream repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11469,14 +11469,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/merge\\-upstream", - "id": 4447 + "resourcePath": "/repos/[owner]/[repo]/merge\\-upstream", + "id": 4168 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/merges", + "label": "post/repos/[owner]/[repo]/merges", "description": "Merge a branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11488,14 +11488,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/merges", - "id": 4448 + "resourcePath": "/repos/[owner]/[repo]/merges", + "id": 4169 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/milestones", + "label": "get/repos/[owner]/[repo]/milestones", "description": "List milestones\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11507,14 +11507,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones", - "id": 4449 + "resourcePath": "/repos/[owner]/[repo]/milestones", + "id": 4170 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/milestones", + "label": "post/repos/[owner]/[repo]/milestones", "description": "Create a milestone\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11526,14 +11526,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones", - "id": 4461 + "resourcePath": "/repos/[owner]/[repo]/milestones", + "id": 4173 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/milestones/[0]", + "label": "get/repos/[owner]/[repo]/milestones/[milestone_number]", "description": "Get a milestone\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11545,14 +11545,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones/[0]", - "id": 4462 + "resourcePath": "/repos/[owner]/[repo]/milestones/[milestone_number]", + "id": 4174 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/milestones/[0]", + "label": "delete/repos/[owner]/[repo]/milestones/[milestone_number]", "description": "Delete a milestone\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11564,14 +11564,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones/[0]", - "id": 4463 + "resourcePath": "/repos/[owner]/[repo]/milestones/[milestone_number]", + "id": 4175 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/milestones/[0]", + "label": "patch/repos/[owner]/[repo]/milestones/[milestone_number]", "description": "Update a milestone\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11583,14 +11583,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones/[0]", - "id": 4464 + "resourcePath": "/repos/[owner]/[repo]/milestones/[milestone_number]", + "id": 4176 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/milestones/[0]/labels", + "label": "get/repos/[owner]/[repo]/milestones/[milestone_number]/labels", "description": "List labels for issues in a milestone\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11602,14 +11602,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/milestones/[0]/labels", - "id": 4465 + "resourcePath": "/repos/[owner]/[repo]/milestones/[milestone_number]/labels", + "id": 4177 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/notifications", + "label": "get/repos/[owner]/[repo]/notifications", "description": "List repository notifications for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11621,14 +11621,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/notifications", - "id": 4468 + "resourcePath": "/repos/[owner]/[repo]/notifications", + "id": 4180 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/notifications", + "label": "put/repos/[owner]/[repo]/notifications", "description": "Mark repository notifications as read\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11640,14 +11640,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/notifications", - "id": 4476 + "resourcePath": "/repos/[owner]/[repo]/notifications", + "id": 4184 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pages", + "label": "get/repos/[owner]/[repo]/pages", "description": "Get a GitHub Pages site\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11659,14 +11659,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages", - "id": 4477 + "resourcePath": "/repos/[owner]/[repo]/pages", + "id": 4185 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/pages", + "label": "put/repos/[owner]/[repo]/pages", "description": "Update information about a GitHub Pages site\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11678,14 +11678,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages", - "id": 4478 + "resourcePath": "/repos/[owner]/[repo]/pages", + "id": 4186 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pages", + "label": "post/repos/[owner]/[repo]/pages", "description": "Create a GitHub Pages site\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11697,14 +11697,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages", - "id": 4479 + "resourcePath": "/repos/[owner]/[repo]/pages", + "id": 4187 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/pages", + "label": "delete/repos/[owner]/[repo]/pages", "description": "Delete a GitHub Pages site\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11716,14 +11716,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages", - "id": 4480 + "resourcePath": "/repos/[owner]/[repo]/pages", + "id": 4188 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pages/builds", + "label": "get/repos/[owner]/[repo]/pages/builds", "description": "List GitHub Pages builds\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11735,14 +11735,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/builds", - "id": 4481 + "resourcePath": "/repos/[owner]/[repo]/pages/builds", + "id": 4189 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pages/builds", + "label": "post/repos/[owner]/[repo]/pages/builds", "description": "Request a GitHub Pages build\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11754,14 +11754,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/builds", - "id": 4484 + "resourcePath": "/repos/[owner]/[repo]/pages/builds", + "id": 4192 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pages/builds/latest", + "label": "get/repos/[owner]/[repo]/pages/builds/latest", "description": "Get latest Pages build\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11773,14 +11773,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/builds/latest", - "id": 4485 + "resourcePath": "/repos/[owner]/[repo]/pages/builds/latest", + "id": 4193 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pages/builds/[0]", + "label": "get/repos/[owner]/[repo]/pages/builds/[build_id]", "description": "Get GitHub Pages build\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11792,14 +11792,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/builds/[0]", - "id": 4486 + "resourcePath": "/repos/[owner]/[repo]/pages/builds/[build_id]", + "id": 4194 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pages/deployment", + "label": "post/repos/[owner]/[repo]/pages/deployment", "description": "Create a GitHub Pages deployment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11811,14 +11811,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/deployment", - "id": 4487 + "resourcePath": "/repos/[owner]/[repo]/pages/deployment", + "id": 4195 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pages/health", + "label": "get/repos/[owner]/[repo]/pages/health", "description": "Get a DNS health check for GitHub Pages\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11830,14 +11830,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pages/health", - "id": 4488 + "resourcePath": "/repos/[owner]/[repo]/pages/health", + "id": 4196 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/private\\-vulnerability\\-reporting", + "label": "put/repos/[owner]/[repo]/private\\-vulnerability\\-reporting", "description": "Enable private vulnerability reporting for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11849,14 +11849,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/private\\-vulnerability\\-reporting", - "id": 4489 + "resourcePath": "/repos/[owner]/[repo]/private\\-vulnerability\\-reporting", + "id": 4197 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/private\\-vulnerability\\-reporting", + "label": "delete/repos/[owner]/[repo]/private\\-vulnerability\\-reporting", "description": "Disable private vulnerability reporting for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11868,14 +11868,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/private\\-vulnerability\\-reporting", - "id": 4490 + "resourcePath": "/repos/[owner]/[repo]/private\\-vulnerability\\-reporting", + "id": 4198 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/projects", + "label": "get/repos/[owner]/[repo]/projects", "description": "List repository projects\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11887,14 +11887,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/projects", - "id": 4491 + "resourcePath": "/repos/[owner]/[repo]/projects", + "id": 4199 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/projects", + "label": "post/repos/[owner]/[repo]/projects", "description": "Create a repository project\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11906,14 +11906,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/projects", - "id": 4498 + "resourcePath": "/repos/[owner]/[repo]/projects", + "id": 4202 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls", + "label": "get/repos/[owner]/[repo]/pulls", "description": "List pull requests\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11925,14 +11925,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls", - "id": 4499 + "resourcePath": "/repos/[owner]/[repo]/pulls", + "id": 4203 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls", + "label": "post/repos/[owner]/[repo]/pulls", "description": "Create a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11944,14 +11944,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls", - "id": 4501 + "resourcePath": "/repos/[owner]/[repo]/pulls", + "id": 4207 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/comments", + "label": "get/repos/[owner]/[repo]/pulls/comments", "description": "List review comments in a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11963,14 +11963,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments", - "id": 4502 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments", + "id": 4208 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/comments/[0]", + "label": "get/repos/[owner]/[repo]/pulls/comments/[comment_id]", "description": "Get a review comment for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -11982,14 +11982,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]", - "id": 4503 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]", + "id": 4212 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/pulls/comments/[0]", + "label": "delete/repos/[owner]/[repo]/pulls/comments/[comment_id]", "description": "Delete a review comment for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12001,14 +12001,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]", - "id": 4504 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]", + "id": 4213 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/pulls/comments/[0]", + "label": "patch/repos/[owner]/[repo]/pulls/comments/[comment_id]", "description": "Update a review comment for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12020,14 +12020,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]", - "id": 4505 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]", + "id": 4214 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions", + "label": "get/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions", "description": "List reactions for a pull request review comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12039,14 +12039,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions", - "id": 4506 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions", + "id": 4215 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions", + "label": "post/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions", "description": "Create reaction for a pull request review comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12058,14 +12058,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions", - "id": 4507 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions", + "id": 4216 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions/[0]", + "label": "delete/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions/[reaction_id]", "description": "Delete a pull request comment reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12077,14 +12077,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/comments/[0]/reactions/[0]", - "id": 4508 + "resourcePath": "/repos/[owner]/[repo]/pulls/comments/[comment_id]/reactions/[reaction_id]", + "id": 4217 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]", "description": "Get a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12096,14 +12096,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]", - "id": 4509 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]", + "id": 4218 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/pulls/[0]", + "label": "patch/repos/[owner]/[repo]/pulls/[pull_number]", "description": "Update a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12115,14 +12115,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]", - "id": 4510 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]", + "id": 4219 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/codespaces", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/codespaces", "description": "Create a codespace from a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12134,14 +12134,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/codespaces", - "id": 4511 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/codespaces", + "id": 4220 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/comments", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/comments", "description": "List review comments on a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12153,14 +12153,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/comments", - "id": 4512 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/comments", + "id": 4221 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/comments", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/comments", "description": "Create a review comment for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12172,14 +12172,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/comments", - "id": 4513 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/comments", + "id": 4225 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/comments/[0]/replies", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/comments/[comment_id]/replies", "description": "Create a reply for a review comment\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12191,14 +12191,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/comments/[0]/replies", - "id": 4514 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/comments/[comment_id]/replies", + "id": 4226 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/commits", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/commits", "description": "List commits on a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12210,14 +12210,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/commits", - "id": 4515 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/commits", + "id": 4227 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/files", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/files", "description": "List pull requests files\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12229,14 +12229,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/files", - "id": 4516 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/files", + "id": 4230 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/merge", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/merge", "description": "Check if a pull request has been merged\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12248,14 +12248,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/merge", - "id": 4517 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/merge", + "id": 4231 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/pulls/[0]/merge", + "label": "put/repos/[owner]/[repo]/pulls/[pull_number]/merge", "description": "Merge a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12267,14 +12267,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/merge", - "id": 4518 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/merge", + "id": 4232 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", "description": "Get all requested reviewers for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12286,14 +12286,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", - "id": 4519 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", + "id": 4233 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", "description": "Request reviewers for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12305,14 +12305,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", - "id": 4520 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", + "id": 4234 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", + "label": "delete/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", "description": "Remove requested reviewers from a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12324,14 +12324,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/requested_reviewers", - "id": 4521 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/requested_reviewers", + "id": 4235 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/reviews", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/reviews", "description": "List reviews for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12343,14 +12343,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews", - "id": 4522 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews", + "id": 4236 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/reviews", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/reviews", "description": "Create a review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12362,14 +12362,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews", - "id": 4523 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews", + "id": 4239 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", "description": "Get a review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12381,14 +12381,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", - "id": 4524 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", + "id": 4240 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", + "label": "put/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", "description": "Update a review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12400,14 +12400,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", - "id": 4525 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", + "id": 4241 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", + "label": "delete/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", "description": "Delete a pending review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12419,14 +12419,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]", - "id": 4526 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]", + "id": 4242 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/comments", + "label": "get/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/comments", "description": "List comments for a pull request review\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12438,14 +12438,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/comments", - "id": 4527 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/comments", + "id": 4243 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/dismissals", + "label": "put/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/dismissals", "description": "Dismiss a review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12457,14 +12457,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/dismissals", - "id": 4528 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/dismissals", + "id": 4244 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/events", + "label": "post/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/events", "description": "Submit a review for a pull request\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12476,14 +12476,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/reviews/[0]/events", - "id": 4529 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/reviews/[review_id]/events", + "id": 4245 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/pulls/[0]/update\\-branch", + "label": "put/repos/[owner]/[repo]/pulls/[pull_number]/update\\-branch", "description": "Update a pull request branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12495,14 +12495,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/pulls/[0]/update\\-branch", - "id": 4530 + "resourcePath": "/repos/[owner]/[repo]/pulls/[pull_number]/update\\-branch", + "id": 4246 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/readme", + "label": "get/repos/[owner]/[repo]/readme", "description": "Get a repository README\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12514,14 +12514,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/readme", - "id": 4531 + "resourcePath": "/repos/[owner]/[repo]/readme", + "id": 4247 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/readme/[\"\"]", + "label": "get/repos/[owner]/[repo]/readme/[dir]", "description": "Get a repository README for a directory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12533,14 +12533,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/readme/[\"\"]", - "id": 4532 + "resourcePath": "/repos/[owner]/[repo]/readme/[dir]", + "id": 4249 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases", + "label": "get/repos/[owner]/[repo]/releases", "description": "List releases\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12552,14 +12552,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases", - "id": 4533 + "resourcePath": "/repos/[owner]/[repo]/releases", + "id": 4250 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/releases", + "label": "post/repos/[owner]/[repo]/releases", "description": "Create a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12571,14 +12571,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases", - "id": 4534 + "resourcePath": "/repos/[owner]/[repo]/releases", + "id": 4252 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/assets/[0]", + "label": "get/repos/[owner]/[repo]/releases/assets/[asset_id]", "description": "Get a release asset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12590,14 +12590,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/assets/[0]", - "id": 4535 + "resourcePath": "/repos/[owner]/[repo]/releases/assets/[asset_id]", + "id": 4253 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/releases/assets/[0]", + "label": "delete/repos/[owner]/[repo]/releases/assets/[asset_id]", "description": "Delete a release asset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12609,14 +12609,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/assets/[0]", - "id": 4536 + "resourcePath": "/repos/[owner]/[repo]/releases/assets/[asset_id]", + "id": 4254 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/releases/assets/[0]", + "label": "patch/repos/[owner]/[repo]/releases/assets/[asset_id]", "description": "Update a release asset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12628,14 +12628,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/assets/[0]", - "id": 4537 + "resourcePath": "/repos/[owner]/[repo]/releases/assets/[asset_id]", + "id": 4255 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/releases/generate\\-notes", + "label": "post/repos/[owner]/[repo]/releases/generate\\-notes", "description": "Generate release notes content for a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12647,14 +12647,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/generate\\-notes", - "id": 4538 + "resourcePath": "/repos/[owner]/[repo]/releases/generate\\-notes", + "id": 4256 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/latest", + "label": "get/repos/[owner]/[repo]/releases/latest", "description": "Get the latest release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12666,14 +12666,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/latest", - "id": 4539 + "resourcePath": "/repos/[owner]/[repo]/releases/latest", + "id": 4257 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/tags/[\"\"]", + "label": "get/repos/[owner]/[repo]/releases/tags/[tag]", "description": "Get a release by tag name\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12685,14 +12685,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/tags/[\"\"]", - "id": 4540 + "resourcePath": "/repos/[owner]/[repo]/releases/tags/[tag]", + "id": 4258 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/[0]", + "label": "get/repos/[owner]/[repo]/releases/[release_id]", "description": "Get a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12704,14 +12704,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]", - "id": 4541 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]", + "id": 4259 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/releases/[0]", + "label": "delete/repos/[owner]/[repo]/releases/[release_id]", "description": "Delete a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12723,14 +12723,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]", - "id": 4542 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]", + "id": 4260 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/releases/[0]", + "label": "patch/repos/[owner]/[repo]/releases/[release_id]", "description": "Update a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12742,14 +12742,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]", - "id": 4543 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]", + "id": 4261 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/[0]/assets", + "label": "get/repos/[owner]/[repo]/releases/[release_id]/assets", "description": "List release assets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12761,14 +12761,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]/assets", - "id": 4544 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]/assets", + "id": 4262 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/releases/[0]/assets", + "label": "post/repos/[owner]/[repo]/releases/[release_id]/assets", "description": "Upload a release asset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12780,14 +12780,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]/assets", - "id": 4545 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]/assets", + "id": 4264 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/releases/[0]/reactions", + "label": "get/repos/[owner]/[repo]/releases/[release_id]/reactions", "description": "List reactions for a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12799,14 +12799,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]/reactions", - "id": 4546 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]/reactions", + "id": 4266 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/releases/[0]/reactions", + "label": "post/repos/[owner]/[repo]/releases/[release_id]/reactions", "description": "Create reaction for a release\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12818,14 +12818,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]/reactions", - "id": 4547 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]/reactions", + "id": 4268 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/releases/[0]/reactions/[0]", + "label": "delete/repos/[owner]/[repo]/releases/[release_id]/reactions/[reaction_id]", "description": "Delete a release reaction\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12837,14 +12837,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/releases/[0]/reactions/[0]", - "id": 4548 + "resourcePath": "/repos/[owner]/[repo]/releases/[release_id]/reactions/[reaction_id]", + "id": 4269 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/rules/branches/[\"\"]", + "label": "get/repos/[owner]/[repo]/rules/branches/[branch]", "description": "Get rules for a branch\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12856,14 +12856,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rules/branches/[\"\"]", - "id": 4549 + "resourcePath": "/repos/[owner]/[repo]/rules/branches/[branch]", + "id": 4270 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/rulesets", + "label": "get/repos/[owner]/[repo]/rulesets", "description": "Get all repository rulesets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12875,14 +12875,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets", - "id": 4550 + "resourcePath": "/repos/[owner]/[repo]/rulesets", + "id": 4272 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/rulesets", + "label": "post/repos/[owner]/[repo]/rulesets", "description": "Create a repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12894,14 +12894,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets", - "id": 4551 + "resourcePath": "/repos/[owner]/[repo]/rulesets", + "id": 4275 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/rulesets/rule\\-suites", + "label": "get/repos/[owner]/[repo]/rulesets/rule\\-suites", "description": "List repository rule suites\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12913,14 +12913,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets/rule\\-suites", - "id": 4552 + "resourcePath": "/repos/[owner]/[repo]/rulesets/rule\\-suites", + "id": 4276 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/rulesets/rule\\-suites/[0]", + "label": "get/repos/[owner]/[repo]/rulesets/rule\\-suites/[rule_suite_id]", "description": "Get a repository rule suite\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12932,14 +12932,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets/rule\\-suites/[0]", - "id": 4553 + "resourcePath": "/repos/[owner]/[repo]/rulesets/rule\\-suites/[rule_suite_id]", + "id": 4280 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/rulesets/[0]", + "label": "get/repos/[owner]/[repo]/rulesets/[ruleset_id]", "description": "Get a repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12951,14 +12951,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets/[0]", - "id": 4554 + "resourcePath": "/repos/[owner]/[repo]/rulesets/[ruleset_id]", + "id": 4281 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/rulesets/[0]", + "label": "put/repos/[owner]/[repo]/rulesets/[ruleset_id]", "description": "Update a repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12970,14 +12970,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets/[0]", - "id": 4555 + "resourcePath": "/repos/[owner]/[repo]/rulesets/[ruleset_id]", + "id": 4282 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/rulesets/[0]", + "label": "delete/repos/[owner]/[repo]/rulesets/[ruleset_id]", "description": "Delete a repository ruleset\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -12989,14 +12989,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/rulesets/[0]", - "id": 4556 + "resourcePath": "/repos/[owner]/[repo]/rulesets/[ruleset_id]", + "id": 4283 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts", + "label": "get/repos/[owner]/[repo]/secret\\-scanning/alerts", "description": "List secret scanning alerts for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13008,14 +13008,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts", - "id": 4557 + "resourcePath": "/repos/[owner]/[repo]/secret\\-scanning/alerts", + "id": 4284 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]", + "label": "get/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]", "description": "Get a secret scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13027,14 +13027,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]", - "id": 4558 + "resourcePath": "/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]", + "id": 4289 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]", + "label": "patch/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]", "description": "Update a secret scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13046,14 +13046,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]", - "id": 4559 + "resourcePath": "/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]", + "id": 4290 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]/locations", + "label": "get/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]/locations", "description": "List locations for a secret scanning alert\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13065,14 +13065,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/secret\\-scanning/alerts/[0]/locations", - "id": 4560 + "resourcePath": "/repos/[owner]/[repo]/secret\\-scanning/alerts/[alert_number]/locations", + "id": 4291 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/security\\-advisories", + "label": "get/repos/[owner]/[repo]/security\\-advisories", "description": "List repository security advisories\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13084,14 +13084,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories", - "id": 4561 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories", + "id": 4293 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/security\\-advisories", + "label": "post/repos/[owner]/[repo]/security\\-advisories", "description": "Create a repository security advisory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13103,14 +13103,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories", - "id": 4562 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories", + "id": 4297 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/security\\-advisories/reports", + "label": "post/repos/[owner]/[repo]/security\\-advisories/reports", "description": "Privately report a security vulnerability\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13122,14 +13122,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories/reports", - "id": 4563 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories/reports", + "id": 4298 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]", + "label": "get/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]", "description": "Get a repository security advisory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13141,14 +13141,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]", - "id": 4564 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]", + "id": 4299 }, "enabled": true }, { "metadata": { - "label": "patch/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]", + "label": "patch/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]", "description": "Update a repository security advisory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13160,14 +13160,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]", - "id": 4565 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]", + "id": 4300 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]/cve", + "label": "post/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]/cve", "description": "Request a CVE for a repository security advisory\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13179,14 +13179,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/security\\-advisories/[\"\"]/cve", - "id": 4566 + "resourcePath": "/repos/[owner]/[repo]/security\\-advisories/[ghsa_id]/cve", + "id": 4301 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stargazers", + "label": "get/repos/[owner]/[repo]/stargazers", "description": "List stargazers\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13198,14 +13198,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stargazers", - "id": 4567 + "resourcePath": "/repos/[owner]/[repo]/stargazers", + "id": 4302 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stats/code_frequency", + "label": "get/repos/[owner]/[repo]/stats/code_frequency", "description": "Get the weekly commit activity\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13217,14 +13217,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stats/code_frequency", - "id": 4568 + "resourcePath": "/repos/[owner]/[repo]/stats/code_frequency", + "id": 4304 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stats/commit_activity", + "label": "get/repos/[owner]/[repo]/stats/commit_activity", "description": "Get the last year of commit activity\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13236,14 +13236,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stats/commit_activity", - "id": 4569 + "resourcePath": "/repos/[owner]/[repo]/stats/commit_activity", + "id": 4305 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stats/contributors", + "label": "get/repos/[owner]/[repo]/stats/contributors", "description": "Get all contributor commit activity\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13255,14 +13255,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stats/contributors", - "id": 4570 + "resourcePath": "/repos/[owner]/[repo]/stats/contributors", + "id": 4306 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stats/participation", + "label": "get/repos/[owner]/[repo]/stats/participation", "description": "Get the weekly commit count\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13274,14 +13274,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stats/participation", - "id": 4571 + "resourcePath": "/repos/[owner]/[repo]/stats/participation", + "id": 4307 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/stats/punch_card", + "label": "get/repos/[owner]/[repo]/stats/punch_card", "description": "Get the hourly commit count for each day\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13293,14 +13293,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/stats/punch_card", - "id": 4572 + "resourcePath": "/repos/[owner]/[repo]/stats/punch_card", + "id": 4308 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/statuses/[\"\"]", + "label": "post/repos/[owner]/[repo]/statuses/[sha]", "description": "Create a commit status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13312,14 +13312,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/statuses/[\"\"]", - "id": 4573 + "resourcePath": "/repos/[owner]/[repo]/statuses/[sha]", + "id": 4309 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/subscribers", + "label": "get/repos/[owner]/[repo]/subscribers", "description": "List watchers\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13331,14 +13331,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/subscribers", - "id": 4574 + "resourcePath": "/repos/[owner]/[repo]/subscribers", + "id": 4311 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/subscription", + "label": "get/repos/[owner]/[repo]/subscription", "description": "Get a repository subscription\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13350,14 +13350,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/subscription", - "id": 4575 + "resourcePath": "/repos/[owner]/[repo]/subscription", + "id": 4312 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/subscription", + "label": "put/repos/[owner]/[repo]/subscription", "description": "Set a repository subscription\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13369,14 +13369,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/subscription", - "id": 4576 + "resourcePath": "/repos/[owner]/[repo]/subscription", + "id": 4313 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/subscription", + "label": "delete/repos/[owner]/[repo]/subscription", "description": "Delete a repository subscription\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13388,14 +13388,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/subscription", - "id": 4577 + "resourcePath": "/repos/[owner]/[repo]/subscription", + "id": 4314 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/tags", + "label": "get/repos/[owner]/[repo]/tags", "description": "List repository tags\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13407,14 +13407,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/tags", - "id": 4578 + "resourcePath": "/repos/[owner]/[repo]/tags", + "id": 4315 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/tags/protection", + "label": "get/repos/[owner]/[repo]/tags/protection", "description": "List tag protection states for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13426,14 +13426,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/tags/protection", - "id": 4579 + "resourcePath": "/repos/[owner]/[repo]/tags/protection", + "id": 4317 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/tags/protection", + "label": "post/repos/[owner]/[repo]/tags/protection", "description": "Create a tag protection state for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13445,14 +13445,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/tags/protection", - "id": 4580 + "resourcePath": "/repos/[owner]/[repo]/tags/protection", + "id": 4318 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/tags/protection/[0]", + "label": "delete/repos/[owner]/[repo]/tags/protection/[tag_protection_id]", "description": "Delete a tag protection state for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13464,14 +13464,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/tags/protection/[0]", - "id": 4581 + "resourcePath": "/repos/[owner]/[repo]/tags/protection/[tag_protection_id]", + "id": 4319 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/tarball/[\"\"]", + "label": "get/repos/[owner]/[repo]/tarball/[ref]", "description": "Download a repository archive (tar)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13483,14 +13483,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/tarball/[\"\"]", - "id": 4582 + "resourcePath": "/repos/[owner]/[repo]/tarball/[ref]", + "id": 4320 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/teams", + "label": "get/repos/[owner]/[repo]/teams", "description": "List repository teams\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13502,14 +13502,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/teams", - "id": 4583 + "resourcePath": "/repos/[owner]/[repo]/teams", + "id": 4321 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/topics", + "label": "get/repos/[owner]/[repo]/topics", "description": "Get all repository topics\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13521,14 +13521,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/topics", - "id": 4584 + "resourcePath": "/repos/[owner]/[repo]/topics", + "id": 4323 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/topics", + "label": "put/repos/[owner]/[repo]/topics", "description": "Replace all repository topics\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13540,14 +13540,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/topics", - "id": 4585 + "resourcePath": "/repos/[owner]/[repo]/topics", + "id": 4324 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/traffic/clones", + "label": "get/repos/[owner]/[repo]/traffic/clones", "description": "Get repository clones\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13559,14 +13559,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/traffic/clones", - "id": 4586 + "resourcePath": "/repos/[owner]/[repo]/traffic/clones", + "id": 4325 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/traffic/popular/paths", + "label": "get/repos/[owner]/[repo]/traffic/popular/paths", "description": "Get top referral paths\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13578,14 +13578,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/traffic/popular/paths", - "id": 4587 + "resourcePath": "/repos/[owner]/[repo]/traffic/popular/paths", + "id": 4326 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/traffic/popular/referrers", + "label": "get/repos/[owner]/[repo]/traffic/popular/referrers", "description": "Get top referral sources\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13597,14 +13597,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/traffic/popular/referrers", - "id": 4588 + "resourcePath": "/repos/[owner]/[repo]/traffic/popular/referrers", + "id": 4327 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/traffic/views", + "label": "get/repos/[owner]/[repo]/traffic/views", "description": "Get page views\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13616,14 +13616,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/traffic/views", - "id": 4589 + "resourcePath": "/repos/[owner]/[repo]/traffic/views", + "id": 4328 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/transfer", + "label": "post/repos/[owner]/[repo]/transfer", "description": "Transfer a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13635,14 +13635,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/transfer", - "id": 4590 + "resourcePath": "/repos/[owner]/[repo]/transfer", + "id": 4330 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", + "label": "get/repos/[owner]/[repo]/vulnerability\\-alerts", "description": "Check if vulnerability alerts are enabled for a repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13654,14 +13654,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", - "id": 4591 + "resourcePath": "/repos/[owner]/[repo]/vulnerability\\-alerts", + "id": 4331 }, "enabled": true }, { "metadata": { - "label": "put/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", + "label": "put/repos/[owner]/[repo]/vulnerability\\-alerts", "description": "Enable vulnerability alerts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13673,14 +13673,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", - "id": 4592 + "resourcePath": "/repos/[owner]/[repo]/vulnerability\\-alerts", + "id": 4332 }, "enabled": true }, { "metadata": { - "label": "delete/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", + "label": "delete/repos/[owner]/[repo]/vulnerability\\-alerts", "description": "Disable vulnerability alerts\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13692,14 +13692,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/vulnerability\\-alerts", - "id": 4593 + "resourcePath": "/repos/[owner]/[repo]/vulnerability\\-alerts", + "id": 4334 }, "enabled": true }, { "metadata": { - "label": "get/repos/[\"\"]/[\"\"]/zipball/[\"\"]", + "label": "get/repos/[owner]/[repo]/zipball/[ref]", "description": "Download a repository archive (zip)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13711,14 +13711,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/zipball/[\"\"]", - "id": 4594 + "resourcePath": "/repos/[owner]/[repo]/zipball/[ref]", + "id": 4335 }, "enabled": true }, { "metadata": { - "label": "post/repos/[\"\"]/[\"\"]/generate", + "label": "post/repos/[template_owner]/[template_repo]/generate", "description": "Create a repository using a template\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13730,8 +13730,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repos/[\"\"]/[\"\"]/generate", - "id": 4595 + "resourcePath": "/repos/[template_owner]/[template_repo]/generate", + "id": 4336 }, "enabled": true }, @@ -13750,13 +13750,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/repositories", - "id": 4596 + "id": 4337 }, "enabled": true }, { "metadata": { - "label": "get/repositories/[0]/environments/[\"\"]/secrets", + "label": "get/repositories/[repository_id]/environments/[environment_name]/secrets", "description": "List environment secrets\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13768,14 +13768,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/secrets", - "id": 4597 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/secrets", + "id": 4338 }, "enabled": true }, { "metadata": { - "label": "get/repositories/[0]/environments/[\"\"]/secrets/public\\-key", + "label": "get/repositories/[repository_id]/environments/[environment_name]/secrets/public\\-key", "description": "Get an environment public key\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13787,14 +13787,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/secrets/public\\-key", - "id": 4598 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/secrets/public\\-key", + "id": 4341 }, "enabled": true }, { "metadata": { - "label": "get/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", + "label": "get/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", "description": "Get an environment secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13806,14 +13806,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", - "id": 4599 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", + "id": 4342 }, "enabled": true }, { "metadata": { - "label": "put/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", + "label": "put/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", "description": "Create or update an environment secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13825,14 +13825,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", - "id": 4600 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", + "id": 4343 }, "enabled": true }, { "metadata": { - "label": "delete/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", + "label": "delete/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", "description": "Delete an environment secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13844,14 +13844,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/secrets/[\"\"]", - "id": 4601 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/secrets/[secret_name]", + "id": 4344 }, "enabled": true }, { "metadata": { - "label": "get/repositories/[0]/environments/[\"\"]/variables", + "label": "get/repositories/[repository_id]/environments/[environment_name]/variables", "description": "List environment variables\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13863,14 +13863,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/variables", - "id": 4602 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/variables", + "id": 4345 }, "enabled": true }, { "metadata": { - "label": "post/repositories/[0]/environments/[\"\"]/variables", + "label": "post/repositories/[repository_id]/environments/[environment_name]/variables", "description": "Create an environment variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13882,14 +13882,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/variables", - "id": 4603 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/variables", + "id": 4350 }, "enabled": true }, { "metadata": { - "label": "get/repositories/[0]/environments/[\"\"]/variables/[\"\"]", + "label": "get/repositories/[repository_id]/environments/[environment_name]/variables/[name]", "description": "Get an environment variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13901,14 +13901,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/variables/[\"\"]", - "id": 4604 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/variables/[name]", + "id": 4351 }, "enabled": true }, { "metadata": { - "label": "delete/repositories/[0]/environments/[\"\"]/variables/[\"\"]", + "label": "delete/repositories/[repository_id]/environments/[environment_name]/variables/[name]", "description": "Delete an environment variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13920,14 +13920,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/variables/[\"\"]", - "id": 4605 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/variables/[name]", + "id": 4352 }, "enabled": true }, { "metadata": { - "label": "patch/repositories/[0]/environments/[\"\"]/variables/[\"\"]", + "label": "patch/repositories/[repository_id]/environments/[environment_name]/variables/[name]", "description": "Update an environment variable\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -13939,8 +13939,8 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/repositories/[0]/environments/[\"\"]/variables/[\"\"]", - "id": 4606 + "resourcePath": "/repositories/[repository_id]/environments/[environment_name]/variables/[name]", + "id": 4353 }, "enabled": true }, @@ -13959,7 +13959,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/code", - "id": 4607 + "id": 4354 }, "enabled": true }, @@ -13978,7 +13978,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/commits", - "id": 4608 + "id": 4360 }, "enabled": true }, @@ -13997,7 +13997,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/issues", - "id": 4609 + "id": 4366 }, "enabled": true }, @@ -14016,7 +14016,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/labels", - "id": 4610 + "id": 4373 }, "enabled": true }, @@ -14035,7 +14035,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/repositories", - "id": 4611 + "id": 4379 }, "enabled": true }, @@ -14054,7 +14054,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/topics", - "id": 4612 + "id": 4386 }, "enabled": true }, @@ -14073,13 +14073,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/search/users", - "id": 4613 + "id": 4389 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]", + "label": "get/teams/[team_id]", "description": "Get a team (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14091,14 +14091,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]", - "id": 4614 + "resourcePath": "/teams/[team_id]", + "id": 4395 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]", + "label": "delete/teams/[team_id]", "description": "Delete a team (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14110,14 +14110,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]", - "id": 4615 + "resourcePath": "/teams/[team_id]", + "id": 4396 }, "enabled": true }, { "metadata": { - "label": "patch/teams/[0]", + "label": "patch/teams/[team_id]", "description": "Update a team (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14129,14 +14129,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]", - "id": 4616 + "resourcePath": "/teams/[team_id]", + "id": 4397 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions", + "label": "get/teams/[team_id]/discussions", "description": "List discussions (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14148,14 +14148,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions", - "id": 4617 + "resourcePath": "/teams/[team_id]/discussions", + "id": 4398 }, "enabled": true }, { "metadata": { - "label": "post/teams/[0]/discussions", + "label": "post/teams/[team_id]/discussions", "description": "Create a discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14167,14 +14167,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions", - "id": 4618 + "resourcePath": "/teams/[team_id]/discussions", + "id": 4403 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions/[0]", + "label": "get/teams/[team_id]/discussions/[discussion_number]", "description": "Get a discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14186,14 +14186,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]", - "id": 4619 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]", + "id": 4404 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/discussions/[0]", + "label": "delete/teams/[team_id]/discussions/[discussion_number]", "description": "Delete a discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14205,14 +14205,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]", - "id": 4620 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]", + "id": 4406 }, "enabled": true }, { "metadata": { - "label": "patch/teams/[0]/discussions/[0]", + "label": "patch/teams/[team_id]/discussions/[discussion_number]", "description": "Update a discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14224,14 +14224,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]", - "id": 4621 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]", + "id": 4407 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions/[0]/comments", + "label": "get/teams/[team_id]/discussions/[discussion_number]/comments", "description": "List discussion comments (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14243,14 +14243,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments", - "id": 4622 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments", + "id": 4408 }, "enabled": true }, { "metadata": { - "label": "post/teams/[0]/discussions/[0]/comments", + "label": "post/teams/[team_id]/discussions/[discussion_number]/comments", "description": "Create a discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14262,14 +14262,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments", - "id": 4623 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments", + "id": 4413 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions/[0]/comments/[0]", + "label": "get/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", "description": "Get a discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14281,14 +14281,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments/[0]", - "id": 4624 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", + "id": 4414 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/discussions/[0]/comments/[0]", + "label": "delete/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", "description": "Delete a discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14300,14 +14300,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments/[0]", - "id": 4625 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", + "id": 4415 }, "enabled": true }, { "metadata": { - "label": "patch/teams/[0]/discussions/[0]/comments/[0]", + "label": "patch/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", "description": "Update a discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14319,14 +14319,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments/[0]", - "id": 4626 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]", + "id": 4416 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions/[0]/comments/[0]/reactions", + "label": "get/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]/reactions", "description": "List reactions for a team discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14338,14 +14338,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments/[0]/reactions", - "id": 4627 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]/reactions", + "id": 4417 }, "enabled": true }, { "metadata": { - "label": "post/teams/[0]/discussions/[0]/comments/[0]/reactions", + "label": "post/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]/reactions", "description": "Create reaction for a team discussion comment (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14357,14 +14357,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/comments/[0]/reactions", - "id": 4628 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/comments/[comment_number]/reactions", + "id": 4422 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/discussions/[0]/reactions", + "label": "get/teams/[team_id]/discussions/[discussion_number]/reactions", "description": "List reactions for a team discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14376,14 +14376,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/reactions", - "id": 4629 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/reactions", + "id": 4423 }, "enabled": true }, { "metadata": { - "label": "post/teams/[0]/discussions/[0]/reactions", + "label": "post/teams/[team_id]/discussions/[discussion_number]/reactions", "description": "Create reaction for a team discussion (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14395,14 +14395,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/discussions/[0]/reactions", - "id": 4630 + "resourcePath": "/teams/[team_id]/discussions/[discussion_number]/reactions", + "id": 4429 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/invitations", + "label": "get/teams/[team_id]/invitations", "description": "List pending team invitations (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14414,14 +14414,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/invitations", - "id": 4631 + "resourcePath": "/teams/[team_id]/invitations", + "id": 4430 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/members", + "label": "get/teams/[team_id]/members", "description": "List team members (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14433,14 +14433,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/members", - "id": 4632 + "resourcePath": "/teams/[team_id]/members", + "id": 4433 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/members/[\"\"]", + "label": "get/teams/[team_id]/members/[username]", "description": "Get team member (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14452,14 +14452,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/members/[\"\"]", - "id": 4633 + "resourcePath": "/teams/[team_id]/members/[username]", + "id": 4438 }, "enabled": true }, { "metadata": { - "label": "put/teams/[0]/members/[\"\"]", + "label": "put/teams/[team_id]/members/[username]", "description": "Add team member (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14471,14 +14471,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/members/[\"\"]", - "id": 4634 + "resourcePath": "/teams/[team_id]/members/[username]", + "id": 4439 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/members/[\"\"]", + "label": "delete/teams/[team_id]/members/[username]", "description": "Remove team member (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14490,14 +14490,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/members/[\"\"]", - "id": 4635 + "resourcePath": "/teams/[team_id]/members/[username]", + "id": 4440 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/memberships/[\"\"]", + "label": "get/teams/[team_id]/memberships/[username]", "description": "Get team membership for a user (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14509,14 +14509,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/memberships/[\"\"]", - "id": 4636 + "resourcePath": "/teams/[team_id]/memberships/[username]", + "id": 4441 }, "enabled": true }, { "metadata": { - "label": "put/teams/[0]/memberships/[\"\"]", + "label": "put/teams/[team_id]/memberships/[username]", "description": "Add or update team membership for a user (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14528,14 +14528,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/memberships/[\"\"]", - "id": 4637 + "resourcePath": "/teams/[team_id]/memberships/[username]", + "id": 4442 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/memberships/[\"\"]", + "label": "delete/teams/[team_id]/memberships/[username]", "description": "Remove team membership for a user (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14547,14 +14547,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/memberships/[\"\"]", - "id": 4638 + "resourcePath": "/teams/[team_id]/memberships/[username]", + "id": 4443 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/projects", + "label": "get/teams/[team_id]/projects", "description": "List team projects (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14566,14 +14566,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/projects", - "id": 4639 + "resourcePath": "/teams/[team_id]/projects", + "id": 4444 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/projects/[0]", + "label": "get/teams/[team_id]/projects/[project_id]", "description": "Check team permissions for a project (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14585,14 +14585,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/projects/[0]", - "id": 4640 + "resourcePath": "/teams/[team_id]/projects/[project_id]", + "id": 4448 }, "enabled": true }, { "metadata": { - "label": "put/teams/[0]/projects/[0]", + "label": "put/teams/[team_id]/projects/[project_id]", "description": "Add or update team project permissions (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14604,14 +14604,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/projects/[0]", - "id": 4641 + "resourcePath": "/teams/[team_id]/projects/[project_id]", + "id": 4449 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/projects/[0]", + "label": "delete/teams/[team_id]/projects/[project_id]", "description": "Remove a project from a team (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14623,14 +14623,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/projects/[0]", - "id": 4642 + "resourcePath": "/teams/[team_id]/projects/[project_id]", + "id": 4451 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/repos", + "label": "get/teams/[team_id]/repos", "description": "List team repositories (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14642,14 +14642,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/repos", - "id": 4643 + "resourcePath": "/teams/[team_id]/repos", + "id": 4452 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/repos/[\"\"]/[\"\"]", + "label": "get/teams/[team_id]/repos/[owner]/[repo]", "description": "Check team permissions for a repository (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14661,14 +14661,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/repos/[\"\"]/[\"\"]", - "id": 4644 + "resourcePath": "/teams/[team_id]/repos/[owner]/[repo]", + "id": 4455 }, "enabled": true }, { "metadata": { - "label": "put/teams/[0]/repos/[\"\"]/[\"\"]", + "label": "put/teams/[team_id]/repos/[owner]/[repo]", "description": "Add or update team repository permissions (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14680,14 +14680,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/repos/[\"\"]/[\"\"]", - "id": 4645 + "resourcePath": "/teams/[team_id]/repos/[owner]/[repo]", + "id": 4456 }, "enabled": true }, { "metadata": { - "label": "delete/teams/[0]/repos/[\"\"]/[\"\"]", + "label": "delete/teams/[team_id]/repos/[owner]/[repo]", "description": "Remove a repository from a team (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14699,14 +14699,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/repos/[\"\"]/[\"\"]", - "id": 4646 + "resourcePath": "/teams/[team_id]/repos/[owner]/[repo]", + "id": 4457 }, "enabled": true }, { "metadata": { - "label": "get/teams/[0]/teams", + "label": "get/teams/[team_id]/teams", "description": "List child teams (Legacy)\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14718,8 +14718,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/teams/[0]/teams", - "id": 4647 + "resourcePath": "/teams/[team_id]/teams", + "id": 4458 }, "enabled": true }, @@ -14738,7 +14738,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user", - "id": 4648 + "id": 4462 }, "enabled": true }, @@ -14757,7 +14757,7 @@ "symbol": "patch", "parentSymbol": "githubClient", "resourcePath": "/user", - "id": 4649 + "id": 4463 }, "enabled": true }, @@ -14776,13 +14776,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/blocks", - "id": 4650 + "id": 4464 }, "enabled": true }, { "metadata": { - "label": "get/user/blocks/[\"\"]", + "label": "get/user/blocks/[username]", "description": "Check if a user is blocked by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14794,14 +14794,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/blocks/[\"\"]", - "id": 4651 + "resourcePath": "/user/blocks/[username]", + "id": 4468 }, "enabled": true }, { "metadata": { - "label": "put/user/blocks/[\"\"]", + "label": "put/user/blocks/[username]", "description": "Block a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14813,14 +14813,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/blocks/[\"\"]", - "id": 4652 + "resourcePath": "/user/blocks/[username]", + "id": 4469 }, "enabled": true }, { "metadata": { - "label": "delete/user/blocks/[\"\"]", + "label": "delete/user/blocks/[username]", "description": "Unblock a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14832,8 +14832,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/blocks/[\"\"]", - "id": 4653 + "resourcePath": "/user/blocks/[username]", + "id": 4470 }, "enabled": true }, @@ -14852,7 +14852,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/codespaces", - "id": 4654 + "id": 4471 }, "enabled": true }, @@ -14871,7 +14871,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/codespaces", - "id": 4655 + "id": 4476 }, "enabled": true }, @@ -14890,7 +14890,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/codespaces/secrets", - "id": 4656 + "id": 4477 }, "enabled": true }, @@ -14909,13 +14909,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/codespaces/secrets/public\\-key", - "id": 4657 + "id": 4481 }, "enabled": true }, { "metadata": { - "label": "get/user/codespaces/secrets/[\"\"]", + "label": "get/user/codespaces/secrets/[secret_name]", "description": "Get a secret for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14927,14 +14927,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]", - "id": 4658 + "resourcePath": "/user/codespaces/secrets/[secret_name]", + "id": 4482 }, "enabled": true }, { "metadata": { - "label": "put/user/codespaces/secrets/[\"\"]", + "label": "put/user/codespaces/secrets/[secret_name]", "description": "Create or update a secret for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14946,14 +14946,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]", - "id": 4659 + "resourcePath": "/user/codespaces/secrets/[secret_name]", + "id": 4483 }, "enabled": true }, { "metadata": { - "label": "delete/user/codespaces/secrets/[\"\"]", + "label": "delete/user/codespaces/secrets/[secret_name]", "description": "Delete a secret for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14965,14 +14965,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]", - "id": 4660 + "resourcePath": "/user/codespaces/secrets/[secret_name]", + "id": 4484 }, "enabled": true }, { "metadata": { - "label": "get/user/codespaces/secrets/[\"\"]/repositories", + "label": "get/user/codespaces/secrets/[secret_name]/repositories", "description": "List selected repositories for a user secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -14984,14 +14984,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]/repositories", - "id": 4661 + "resourcePath": "/user/codespaces/secrets/[secret_name]/repositories", + "id": 4485 }, "enabled": true }, { "metadata": { - "label": "put/user/codespaces/secrets/[\"\"]/repositories", + "label": "put/user/codespaces/secrets/[secret_name]/repositories", "description": "Set selected repositories for a user secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15003,14 +15003,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]/repositories", - "id": 4662 + "resourcePath": "/user/codespaces/secrets/[secret_name]/repositories", + "id": 4486 }, "enabled": true }, { "metadata": { - "label": "put/user/codespaces/secrets/[\"\"]/repositories/[0]", + "label": "put/user/codespaces/secrets/[secret_name]/repositories/[repository_id]", "description": "Add a selected repository to a user secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15022,14 +15022,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]/repositories/[0]", - "id": 4663 + "resourcePath": "/user/codespaces/secrets/[secret_name]/repositories/[repository_id]", + "id": 4487 }, "enabled": true }, { "metadata": { - "label": "delete/user/codespaces/secrets/[\"\"]/repositories/[0]", + "label": "delete/user/codespaces/secrets/[secret_name]/repositories/[repository_id]", "description": "Remove a selected repository from a user secret\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15041,14 +15041,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/secrets/[\"\"]/repositories/[0]", - "id": 4664 + "resourcePath": "/user/codespaces/secrets/[secret_name]/repositories/[repository_id]", + "id": 4488 }, "enabled": true }, { "metadata": { - "label": "get/user/codespaces/[\"\"]", + "label": "get/user/codespaces/[codespace_name]", "description": "Get a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15060,14 +15060,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]", - "id": 4665 + "resourcePath": "/user/codespaces/[codespace_name]", + "id": 4489 }, "enabled": true }, { "metadata": { - "label": "delete/user/codespaces/[\"\"]", + "label": "delete/user/codespaces/[codespace_name]", "description": "Delete a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15079,14 +15079,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]", - "id": 4666 + "resourcePath": "/user/codespaces/[codespace_name]", + "id": 4490 }, "enabled": true }, { "metadata": { - "label": "patch/user/codespaces/[\"\"]", + "label": "patch/user/codespaces/[codespace_name]", "description": "Update a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15098,14 +15098,14 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]", - "id": 4667 + "resourcePath": "/user/codespaces/[codespace_name]", + "id": 4492 }, "enabled": true }, { "metadata": { - "label": "post/user/codespaces/[\"\"]/exports", + "label": "post/user/codespaces/[codespace_name]/exports", "description": "Export a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15117,14 +15117,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/exports", - "id": 4668 + "resourcePath": "/user/codespaces/[codespace_name]/exports", + "id": 4493 }, "enabled": true }, { "metadata": { - "label": "get/user/codespaces/[\"\"]/exports/[\"\"]", + "label": "get/user/codespaces/[codespace_name]/exports/[export_id]", "description": "Get details about a codespace export\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15136,14 +15136,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/exports/[\"\"]", - "id": 4669 + "resourcePath": "/user/codespaces/[codespace_name]/exports/[export_id]", + "id": 4494 }, "enabled": true }, { "metadata": { - "label": "get/user/codespaces/[\"\"]/machines", + "label": "get/user/codespaces/[codespace_name]/machines", "description": "List machine types for a codespace\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15155,14 +15155,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/machines", - "id": 4670 + "resourcePath": "/user/codespaces/[codespace_name]/machines", + "id": 4495 }, "enabled": true }, { "metadata": { - "label": "post/user/codespaces/[\"\"]/publish", + "label": "post/user/codespaces/[codespace_name]/publish", "description": "Create a repository from an unpublished codespace\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15174,14 +15174,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/publish", - "id": 4671 + "resourcePath": "/user/codespaces/[codespace_name]/publish", + "id": 4496 }, "enabled": true }, { "metadata": { - "label": "post/user/codespaces/[\"\"]/'start", + "label": "post/user/codespaces/[codespace_name]/'start", "description": "Start a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15193,14 +15193,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/'start", - "id": 4672 + "resourcePath": "/user/codespaces/[codespace_name]/'start", + "id": 4497 }, "enabled": true }, { "metadata": { - "label": "post/user/codespaces/[\"\"]/stop", + "label": "post/user/codespaces/[codespace_name]/stop", "description": "Stop a codespace for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15212,8 +15212,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/codespaces/[\"\"]/stop", - "id": 4673 + "resourcePath": "/user/codespaces/[codespace_name]/stop", + "id": 4498 }, "enabled": true }, @@ -15232,7 +15232,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/docker/conflicts", - "id": 4674 + "id": 4499 }, "enabled": true }, @@ -15251,7 +15251,7 @@ "symbol": "patch", "parentSymbol": "githubClient", "resourcePath": "/user/email/visibility", - "id": 4675 + "id": 4500 }, "enabled": true }, @@ -15270,7 +15270,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/emails", - "id": 4676 + "id": 4501 }, "enabled": true }, @@ -15289,7 +15289,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/emails", - "id": 4677 + "id": 4504 }, "enabled": true }, @@ -15308,7 +15308,7 @@ "symbol": "delete", "parentSymbol": "githubClient", "resourcePath": "/user/emails", - "id": 4678 + "id": 4506 }, "enabled": true }, @@ -15327,7 +15327,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/followers", - "id": 4679 + "id": 4507 }, "enabled": true }, @@ -15346,13 +15346,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/following", - "id": 4680 + "id": 4511 }, "enabled": true }, { "metadata": { - "label": "get/user/following/[\"\"]", + "label": "get/user/following/[username]", "description": "Check if a person is followed by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15364,14 +15364,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/following/[\"\"]", - "id": 4681 + "resourcePath": "/user/following/[username]", + "id": 4514 }, "enabled": true }, { "metadata": { - "label": "put/user/following/[\"\"]", + "label": "put/user/following/[username]", "description": "Follow a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15383,14 +15383,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/following/[\"\"]", - "id": 4682 + "resourcePath": "/user/following/[username]", + "id": 4515 }, "enabled": true }, { "metadata": { - "label": "delete/user/following/[\"\"]", + "label": "delete/user/following/[username]", "description": "Unfollow a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15402,8 +15402,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/following/[\"\"]", - "id": 4683 + "resourcePath": "/user/following/[username]", + "id": 4516 }, "enabled": true }, @@ -15422,7 +15422,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/gpg_keys", - "id": 4684 + "id": 4517 }, "enabled": true }, @@ -15441,13 +15441,13 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/gpg_keys", - "id": 4685 + "id": 4521 }, "enabled": true }, { "metadata": { - "label": "get/user/gpg_keys/[0]", + "label": "get/user/gpg_keys/[gpg_key_id]", "description": "Get a GPG key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15459,14 +15459,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/gpg_keys/[0]", - "id": 4686 + "resourcePath": "/user/gpg_keys/[gpg_key_id]", + "id": 4522 }, "enabled": true }, { "metadata": { - "label": "delete/user/gpg_keys/[0]", + "label": "delete/user/gpg_keys/[gpg_key_id]", "description": "Delete a GPG key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15478,8 +15478,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/gpg_keys/[0]", - "id": 4687 + "resourcePath": "/user/gpg_keys/[gpg_key_id]", + "id": 4523 }, "enabled": true }, @@ -15498,13 +15498,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/installations", - "id": 4688 + "id": 4524 }, "enabled": true }, { "metadata": { - "label": "get/user/installations/[0]/repositories", + "label": "get/user/installations/[installation_id]/repositories", "description": "List repositories accessible to the user access token\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15516,14 +15516,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/installations/[0]/repositories", - "id": 4689 + "resourcePath": "/user/installations/[installation_id]/repositories", + "id": 4528 }, "enabled": true }, { "metadata": { - "label": "put/user/installations/[0]/repositories/[0]", + "label": "put/user/installations/[installation_id]/repositories/[repository_id]", "description": "Add a repository to an app installation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15535,14 +15535,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/installations/[0]/repositories/[0]", - "id": 4690 + "resourcePath": "/user/installations/[installation_id]/repositories/[repository_id]", + "id": 4532 }, "enabled": true }, { "metadata": { - "label": "delete/user/installations/[0]/repositories/[0]", + "label": "delete/user/installations/[installation_id]/repositories/[repository_id]", "description": "Remove a repository from an app installation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15554,8 +15554,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/installations/[0]/repositories/[0]", - "id": 4691 + "resourcePath": "/user/installations/[installation_id]/repositories/[repository_id]", + "id": 4533 }, "enabled": true }, @@ -15574,7 +15574,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/interaction\\-limits", - "id": 4692 + "id": 4534 }, "enabled": true }, @@ -15593,7 +15593,7 @@ "symbol": "put", "parentSymbol": "githubClient", "resourcePath": "/user/interaction\\-limits", - "id": 4693 + "id": 4535 }, "enabled": true }, @@ -15612,7 +15612,7 @@ "symbol": "delete", "parentSymbol": "githubClient", "resourcePath": "/user/interaction\\-limits", - "id": 4694 + "id": 4536 }, "enabled": true }, @@ -15631,7 +15631,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/issues", - "id": 4695 + "id": 4537 }, "enabled": true }, @@ -15650,7 +15650,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/keys", - "id": 4696 + "id": 4549 }, "enabled": true }, @@ -15669,13 +15669,13 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/keys", - "id": 4697 + "id": 4553 }, "enabled": true }, { "metadata": { - "label": "get/user/keys/[0]", + "label": "get/user/keys/[key_id]", "description": "Get a public SSH key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15687,14 +15687,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/keys/[0]", - "id": 4698 + "resourcePath": "/user/keys/[key_id]", + "id": 4554 }, "enabled": true }, { "metadata": { - "label": "delete/user/keys/[0]", + "label": "delete/user/keys/[key_id]", "description": "Delete a public SSH key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15706,8 +15706,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/keys/[0]", - "id": 4699 + "resourcePath": "/user/keys/[key_id]", + "id": 4555 }, "enabled": true }, @@ -15726,7 +15726,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/marketplace_purchases", - "id": 4700 + "id": 4556 }, "enabled": true }, @@ -15745,7 +15745,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/marketplace_purchases/stubbed", - "id": 4701 + "id": 4560 }, "enabled": true }, @@ -15764,13 +15764,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/memberships/orgs", - "id": 4702 + "id": 4563 }, "enabled": true }, { "metadata": { - "label": "get/user/memberships/orgs/[\"\"]", + "label": "get/user/memberships/orgs/[org]", "description": "Get an organization membership for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15782,14 +15782,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/memberships/orgs/[\"\"]", - "id": 4703 + "resourcePath": "/user/memberships/orgs/[org]", + "id": 4568 }, "enabled": true }, { "metadata": { - "label": "patch/user/memberships/orgs/[\"\"]", + "label": "patch/user/memberships/orgs/[org]", "description": "Update an organization membership for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15801,8 +15801,8 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/user/memberships/orgs/[\"\"]", - "id": 4704 + "resourcePath": "/user/memberships/orgs/[org]", + "id": 4569 }, "enabled": true }, @@ -15821,7 +15821,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/migrations", - "id": 4705 + "id": 4570 }, "enabled": true }, @@ -15840,13 +15840,13 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/migrations", - "id": 4706 + "id": 4574 }, "enabled": true }, { "metadata": { - "label": "get/user/migrations/[0]", + "label": "get/user/migrations/[migration_id]", "description": "Get a user migration status\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15858,14 +15858,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/migrations/[0]", - "id": 4707 + "resourcePath": "/user/migrations/[migration_id]", + "id": 4575 }, "enabled": true }, { "metadata": { - "label": "get/user/migrations/[0]/archive", + "label": "get/user/migrations/[migration_id]/archive", "description": "Download a user migration archive\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15877,14 +15877,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/migrations/[0]/archive", - "id": 4708 + "resourcePath": "/user/migrations/[migration_id]/archive", + "id": 4577 }, "enabled": true }, { "metadata": { - "label": "delete/user/migrations/[0]/archive", + "label": "delete/user/migrations/[migration_id]/archive", "description": "Delete a user migration archive\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15896,14 +15896,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/migrations/[0]/archive", - "id": 4709 + "resourcePath": "/user/migrations/[migration_id]/archive", + "id": 4578 }, "enabled": true }, { "metadata": { - "label": "delete/user/migrations/[0]/repos/[\"\"]/'lock", + "label": "delete/user/migrations/[migration_id]/repos/[repo_name]/'lock", "description": "Unlock a user repository\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15915,14 +15915,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/migrations/[0]/repos/[\"\"]/'lock", - "id": 4710 + "resourcePath": "/user/migrations/[migration_id]/repos/[repo_name]/'lock", + "id": 4579 }, "enabled": true }, { "metadata": { - "label": "get/user/migrations/[0]/repositories", + "label": "get/user/migrations/[migration_id]/repositories", "description": "List repositories for a user migration\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15934,8 +15934,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/migrations/[0]/repositories", - "id": 4711 + "resourcePath": "/user/migrations/[migration_id]/repositories", + "id": 4581 }, "enabled": true }, @@ -15954,7 +15954,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/orgs", - "id": 4712 + "id": 4585 }, "enabled": true }, @@ -15973,13 +15973,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/packages", - "id": 4713 + "id": 4588 }, "enabled": true }, { "metadata": { - "label": "get/user/packages/[\"npm\"]/[\"\"]", + "label": "get/user/packages/[package_type]/[package_name]", "description": "Get a package for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -15991,14 +15991,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]", - "id": 4714 + "resourcePath": "/user/packages/[package_type]/[package_name]", + "id": 4593 }, "enabled": true }, { "metadata": { - "label": "delete/user/packages/[\"npm\"]/[\"\"]", + "label": "delete/user/packages/[package_type]/[package_name]", "description": "Delete a package for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16010,14 +16010,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]", - "id": 4715 + "resourcePath": "/user/packages/[package_type]/[package_name]", + "id": 4594 }, "enabled": true }, { "metadata": { - "label": "post/user/packages/[\"npm\"]/[\"\"]/restore", + "label": "post/user/packages/[package_type]/[package_name]/restore", "description": "Restore a package for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16029,14 +16029,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]/restore", - "id": 4716 + "resourcePath": "/user/packages/[package_type]/[package_name]/restore", + "id": 4595 }, "enabled": true }, { "metadata": { - "label": "get/user/packages/[\"npm\"]/[\"\"]/versions", + "label": "get/user/packages/[package_type]/[package_name]/versions", "description": "List package versions for a package owned by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16048,14 +16048,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]/versions", - "id": 4717 + "resourcePath": "/user/packages/[package_type]/[package_name]/versions", + "id": 4598 }, "enabled": true }, { "metadata": { - "label": "get/user/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "get/user/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Get a package version for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16067,14 +16067,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 4718 + "resourcePath": "/user/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 4603 }, "enabled": true }, { "metadata": { - "label": "delete/user/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "delete/user/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Delete a package version for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16086,14 +16086,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 4719 + "resourcePath": "/user/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 4604 }, "enabled": true }, { "metadata": { - "label": "post/user/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", + "label": "post/user/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", "description": "Restore a package version for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16105,8 +16105,8 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/user/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", - "id": 4720 + "resourcePath": "/user/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", + "id": 4605 }, "enabled": true }, @@ -16125,7 +16125,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/projects", - "id": 4721 + "id": 4606 }, "enabled": true }, @@ -16144,7 +16144,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/public_emails", - "id": 4722 + "id": 4608 }, "enabled": true }, @@ -16163,7 +16163,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/repos", - "id": 4723 + "id": 4611 }, "enabled": true }, @@ -16182,7 +16182,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/repos", - "id": 4724 + "id": 4624 }, "enabled": true }, @@ -16201,13 +16201,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/repository_invitations", - "id": 4725 + "id": 4625 }, "enabled": true }, { "metadata": { - "label": "delete/user/repository_invitations/[0]", + "label": "delete/user/repository_invitations/[invitation_id]", "description": "Decline a repository invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16219,14 +16219,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/repository_invitations/[0]", - "id": 4726 + "resourcePath": "/user/repository_invitations/[invitation_id]", + "id": 4629 }, "enabled": true }, { "metadata": { - "label": "patch/user/repository_invitations/[0]", + "label": "patch/user/repository_invitations/[invitation_id]", "description": "Accept a repository invitation\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16238,8 +16238,8 @@ "object": "Client", "symbol": "patch", "parentSymbol": "githubClient", - "resourcePath": "/user/repository_invitations/[0]", - "id": 4727 + "resourcePath": "/user/repository_invitations/[invitation_id]", + "id": 4630 }, "enabled": true }, @@ -16258,7 +16258,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/social_accounts", - "id": 4728 + "id": 4631 }, "enabled": true }, @@ -16277,7 +16277,7 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/social_accounts", - "id": 4729 + "id": 4635 }, "enabled": true }, @@ -16296,7 +16296,7 @@ "symbol": "delete", "parentSymbol": "githubClient", "resourcePath": "/user/social_accounts", - "id": 4730 + "id": 4636 }, "enabled": true }, @@ -16315,7 +16315,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/ssh_signing_keys", - "id": 4731 + "id": 4637 }, "enabled": true }, @@ -16334,13 +16334,13 @@ "symbol": "post", "parentSymbol": "githubClient", "resourcePath": "/user/ssh_signing_keys", - "id": 4732 + "id": 4640 }, "enabled": true }, { "metadata": { - "label": "get/user/ssh_signing_keys/[0]", + "label": "get/user/ssh_signing_keys/[ssh_signing_key_id]", "description": "Get an SSH signing key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16352,14 +16352,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/ssh_signing_keys/[0]", - "id": 4733 + "resourcePath": "/user/ssh_signing_keys/[ssh_signing_key_id]", + "id": 4641 }, "enabled": true }, { "metadata": { - "label": "delete/user/ssh_signing_keys/[0]", + "label": "delete/user/ssh_signing_keys/[ssh_signing_key_id]", "description": "Delete an SSH signing key for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16371,8 +16371,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/ssh_signing_keys/[0]", - "id": 4734 + "resourcePath": "/user/ssh_signing_keys/[ssh_signing_key_id]", + "id": 4642 }, "enabled": true }, @@ -16391,13 +16391,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/starred", - "id": 4735 + "id": 4643 }, "enabled": true }, { "metadata": { - "label": "get/user/starred/[\"\"]/[\"\"]", + "label": "get/user/starred/[owner]/[repo]", "description": "Check if a repository is starred by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16409,14 +16409,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/user/starred/[\"\"]/[\"\"]", - "id": 4736 + "resourcePath": "/user/starred/[owner]/[repo]", + "id": 4650 }, "enabled": true }, { "metadata": { - "label": "put/user/starred/[\"\"]/[\"\"]", + "label": "put/user/starred/[owner]/[repo]", "description": "Star a repository for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16428,14 +16428,14 @@ "object": "Client", "symbol": "put", "parentSymbol": "githubClient", - "resourcePath": "/user/starred/[\"\"]/[\"\"]", - "id": 4737 + "resourcePath": "/user/starred/[owner]/[repo]", + "id": 4651 }, "enabled": true }, { "metadata": { - "label": "delete/user/starred/[\"\"]/[\"\"]", + "label": "delete/user/starred/[owner]/[repo]", "description": "Unstar a repository for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16447,8 +16447,8 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/user/starred/[\"\"]/[\"\"]", - "id": 4738 + "resourcePath": "/user/starred/[owner]/[repo]", + "id": 4652 }, "enabled": true }, @@ -16467,7 +16467,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/subscriptions", - "id": 4739 + "id": 4653 }, "enabled": true }, @@ -16486,7 +16486,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/user/teams", - "id": 4740 + "id": 4657 }, "enabled": true }, @@ -16505,13 +16505,13 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/users", - "id": 4741 + "id": 4661 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]", + "label": "get/users/[username]", "description": "Get a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16523,14 +16523,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]", - "id": 4742 + "resourcePath": "/users/[username]", + "id": 4664 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/docker/conflicts", + "label": "get/users/[username]/docker/conflicts", "description": "Get list of conflicting packages during Docker migration for user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16542,14 +16542,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/docker/conflicts", - "id": 4743 + "resourcePath": "/users/[username]/docker/conflicts", + "id": 4665 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/events", + "label": "get/users/[username]/events", "description": "List events for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16561,14 +16561,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/events", - "id": 4744 + "resourcePath": "/users/[username]/events", + "id": 4666 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/events/orgs/[\"\"]", + "label": "get/users/[username]/events/orgs/[org]", "description": "List organization events for the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16580,14 +16580,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/events/orgs/[\"\"]", - "id": 4745 + "resourcePath": "/users/[username]/events/orgs/[org]", + "id": 4670 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/events/'public", + "label": "get/users/[username]/events/'public", "description": "List public events for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16599,14 +16599,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/events/'public", - "id": 4746 + "resourcePath": "/users/[username]/events/'public", + "id": 4674 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/followers", + "label": "get/users/[username]/followers", "description": "List followers of a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16618,14 +16618,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/followers", - "id": 4747 + "resourcePath": "/users/[username]/followers", + "id": 4678 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/following", + "label": "get/users/[username]/following", "description": "List the people a user follows\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16637,14 +16637,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/following", - "id": 4748 + "resourcePath": "/users/[username]/following", + "id": 4682 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/following/[\"\"]", + "label": "get/users/[username]/following/[target_user]", "description": "Check if a user follows another user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16656,14 +16656,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/following/[\"\"]", - "id": 4749 + "resourcePath": "/users/[username]/following/[target_user]", + "id": 4686 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/gists", + "label": "get/users/[username]/gists", "description": "List gists for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16675,14 +16675,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/gists", - "id": 4750 + "resourcePath": "/users/[username]/gists", + "id": 4687 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/gpg_keys", + "label": "get/users/[username]/gpg_keys", "description": "List GPG keys for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16694,14 +16694,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/gpg_keys", - "id": 4751 + "resourcePath": "/users/[username]/gpg_keys", + "id": 4691 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/hovercard", + "label": "get/users/[username]/hovercard", "description": "Get contextual information for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16713,14 +16713,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/hovercard", - "id": 4752 + "resourcePath": "/users/[username]/hovercard", + "id": 4695 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/installation", + "label": "get/users/[username]/installation", "description": "Get a user installation for the authenticated app\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16732,14 +16732,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/installation", - "id": 4753 + "resourcePath": "/users/[username]/installation", + "id": 4699 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/keys", + "label": "get/users/[username]/keys", "description": "List public keys for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16751,14 +16751,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/keys", - "id": 4754 + "resourcePath": "/users/[username]/keys", + "id": 4700 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/orgs", + "label": "get/users/[username]/orgs", "description": "List organizations for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16770,14 +16770,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/orgs", - "id": 4755 + "resourcePath": "/users/[username]/orgs", + "id": 4704 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/packages", + "label": "get/users/[username]/packages", "description": "List packages for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16789,14 +16789,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages", - "id": 4756 + "resourcePath": "/users/[username]/packages", + "id": 4707 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/packages/[\"npm\"]/[\"\"]", + "label": "get/users/[username]/packages/[package_type]/[package_name]", "description": "Get a package for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16808,14 +16808,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]", - "id": 4757 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]", + "id": 4712 }, "enabled": true }, { "metadata": { - "label": "delete/users/[\"\"]/packages/[\"npm\"]/[\"\"]", + "label": "delete/users/[username]/packages/[package_type]/[package_name]", "description": "Delete a package for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16827,14 +16827,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]", - "id": 4758 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]", + "id": 4713 }, "enabled": true }, { "metadata": { - "label": "post/users/[\"\"]/packages/[\"npm\"]/[\"\"]/restore", + "label": "post/users/[username]/packages/[package_type]/[package_name]/restore", "description": "Restore a package for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16846,14 +16846,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]/restore", - "id": 4759 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]/restore", + "id": 4715 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions", + "label": "get/users/[username]/packages/[package_type]/[package_name]/versions", "description": "List package versions for a package owned by a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16865,14 +16865,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions", - "id": 4760 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]/versions", + "id": 4717 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "get/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Get a package version for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16884,14 +16884,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 4761 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 4718 }, "enabled": true }, { "metadata": { - "label": "delete/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", + "label": "delete/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]", "description": "Delete package version for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16903,14 +16903,14 @@ "object": "Client", "symbol": "delete", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]", - "id": 4762 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]", + "id": 4719 }, "enabled": true }, { "metadata": { - "label": "post/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", + "label": "post/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", "description": "Restore package version for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16922,14 +16922,14 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/packages/[\"npm\"]/[\"\"]/versions/[0]/restore", - "id": 4763 + "resourcePath": "/users/[username]/packages/[package_type]/[package_name]/versions/[package_version_id]/restore", + "id": 4720 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/projects", + "label": "get/users/[username]/projects", "description": "List user projects\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16941,14 +16941,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/projects", - "id": 4764 + "resourcePath": "/users/[username]/projects", + "id": 4722 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/received_events", + "label": "get/users/[username]/received_events", "description": "List events received by the authenticated user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16960,14 +16960,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/received_events", - "id": 4765 + "resourcePath": "/users/[username]/received_events", + "id": 4727 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/received_events/'public", + "label": "get/users/[username]/received_events/'public", "description": "List public events received by a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16979,14 +16979,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/received_events/'public", - "id": 4766 + "resourcePath": "/users/[username]/received_events/'public", + "id": 4731 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/repos", + "label": "get/users/[username]/repos", "description": "List repositories for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -16998,14 +16998,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/repos", - "id": 4767 + "resourcePath": "/users/[username]/repos", + "id": 4734 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/settings/billing/actions", + "label": "get/users/[username]/settings/billing/actions", "description": "Get GitHub Actions billing for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17017,14 +17017,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/settings/billing/actions", - "id": 4768 + "resourcePath": "/users/[username]/settings/billing/actions", + "id": 4742 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/settings/billing/packages", + "label": "get/users/[username]/settings/billing/packages", "description": "Get GitHub Packages billing for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17036,14 +17036,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/settings/billing/packages", - "id": 4769 + "resourcePath": "/users/[username]/settings/billing/packages", + "id": 4743 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/settings/billing/shared\\-storage", + "label": "get/users/[username]/settings/billing/shared\\-storage", "description": "Get shared storage billing for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17055,14 +17055,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/settings/billing/shared\\-storage", - "id": 4770 + "resourcePath": "/users/[username]/settings/billing/shared\\-storage", + "id": 4744 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/social_accounts", + "label": "get/users/[username]/social_accounts", "description": "List social accounts for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17074,14 +17074,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/social_accounts", - "id": 4771 + "resourcePath": "/users/[username]/social_accounts", + "id": 4745 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/ssh_signing_keys", + "label": "get/users/[username]/ssh_signing_keys", "description": "List SSH signing keys for a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17093,14 +17093,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/ssh_signing_keys", - "id": 4772 + "resourcePath": "/users/[username]/ssh_signing_keys", + "id": 4749 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/starred", + "label": "get/users/[username]/starred", "description": "List repositories starred by a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17112,14 +17112,14 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/starred", - "id": 4773 + "resourcePath": "/users/[username]/starred", + "id": 4752 }, "enabled": true }, { "metadata": { - "label": "get/users/[\"\"]/subscriptions", + "label": "get/users/[username]/subscriptions", "description": "List repositories watched by a user\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.0.2.png", "functionKind": "RESOURCE" @@ -17131,8 +17131,8 @@ "object": "Client", "symbol": "get", "parentSymbol": "githubClient", - "resourcePath": "/users/[\"\"]/subscriptions", - "id": 4774 + "resourcePath": "/users/[username]/subscriptions", + "id": 4759 }, "enabled": true }, @@ -17151,7 +17151,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/versions", - "id": 4775 + "id": 4763 }, "enabled": true }, @@ -17170,7 +17170,7 @@ "symbol": "get", "parentSymbol": "githubClient", "resourcePath": "/zen", - "id": 4776 + "id": 4764 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/remote_action_call-http-post1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/remote_action_call-http-post1.json index 9ab0874d9..92108fb40 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/remote_action_call-http-post1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/remote_action_call-http-post1.json @@ -224,17 +224,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/pears", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -246,6 +235,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/pears", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-get1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-get1.json index 806da5a9c..a787e910f 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-get1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-get1.json @@ -76,17 +76,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/western/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -98,6 +87,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/western/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -214,17 +217,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -236,6 +228,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -359,17 +365,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -381,6 +376,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -497,17 +506,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -519,6 +517,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -636,17 +648,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -658,6 +659,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -774,17 +789,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -796,6 +800,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -913,17 +931,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -935,6 +942,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -1051,17 +1072,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples/[varRef]/[12 + 3]", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -1073,6 +1083,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples/[varRef]/[12 + 3]", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", @@ -1189,17 +1213,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -1211,6 +1224,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "headers": { "metadata": { "label": "headers", diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-post1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-post1.json index 9064b8f9a..6be40a40c 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-post1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call-http-post1.json @@ -76,17 +76,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/western/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -98,6 +87,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/western/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -247,17 +250,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -269,6 +261,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -419,17 +425,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -441,6 +436,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -590,17 +599,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -612,6 +610,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -762,17 +774,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -784,6 +785,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -934,17 +949,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -956,6 +960,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", @@ -1105,17 +1123,6 @@ "editable": false, "advanced": false }, - "resourcePath": { - "metadata": { - "label": "Resource Path", - "description": "Resource Path" - }, - "valueType": "EXPRESSION", - "value": "/apples/[varRef]/[12 + 3]", - "optional": false, - "editable": true, - "advanced": false - }, "variable": { "metadata": { "label": "Variable Name", @@ -1127,6 +1134,20 @@ "editable": true, "advanced": false }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/apples/[varRef]/[12 + 3]", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, "message": { "metadata": { "label": "message", diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call_github.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call_github.json new file mode 100644 index 000000000..18803827c --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/config/resource_action_call_github.json @@ -0,0 +1,344 @@ +{ + "start": { + "line": 7, + "offset": 0 + }, + "end": { + "line": 9, + "offset": 1 + }, + "source": "github_resource_call.bal", + "description": "Tests a simple diagram flow", + "diagram": { + "fileName": "github_resource_call.bal", + "nodes": [ + { + "id": "38931", + "metadata": { + "label": "get", + "description": "Create a GitHub App from a manifest\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.1.0.png" + }, + "codedata": { + "node": "RESOURCE_ACTION_CALL", + "org": "ballerinax", + "module": "github", + "object": "Client", + "symbol": "get", + "version": "5.1.0", + "lineRange": { + "fileName": "github_resource_call.bal", + "startLine": { + "line": 7, + "offset": 4 + }, + "endLine": { + "line": 7, + "offset": 119 + } + }, + "sourceCode": "github:ManifestConversions manifestConversions = check githubClient->/app\\-manifests/[\"code-123\"]/conversions.post;", + "resourcePath": "/app\\-manifests/[code]/conversions" + }, + "returning": false, + "properties": { + "connection": { + "metadata": { + "label": "Connection", + "description": "Connection to use" + }, + "valueType": "EXPRESSION", + "value": "githubClient", + "optional": false, + "editable": false, + "advanced": false + }, + "variable": { + "metadata": { + "label": "Variable Name", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "manifestConversions", + "optional": false, + "editable": true, + "advanced": false + }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/app-manifests/[code]/conversions", + "optional": false, + "editable": false, + "advanced": false, + "codedata": { + "originalName": "/app\\-manifests/[code]/conversions" + } + }, + "code": { + "metadata": { + "label": "code" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "value": "\"code-123\"", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "code" + } + }, + "checkError": { + "metadata": { + "label": "Check Error", + "description": "Trigger error flow" + }, + "valueType": "FLAG", + "value": true, + "optional": false, + "editable": true, + "advanced": true + }, + "type": { + "metadata": { + "label": "Variable Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "github:ManifestConversions", + "placeholder": "var", + "optional": false, + "editable": true, + "advanced": false + } + }, + "flags": 1 + }, + { + "id": "39907", + "metadata": { + "label": "get", + "description": "Delete a thread subscription\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.1.0.png" + }, + "codedata": { + "node": "RESOURCE_ACTION_CALL", + "org": "ballerinax", + "module": "github", + "object": "Client", + "symbol": "get", + "version": "5.1.0", + "lineRange": { + "fileName": "github_resource_call.bal", + "startLine": { + "line": 8, + "offset": 4 + }, + "endLine": { + "line": 8, + "offset": 103 + } + }, + "sourceCode": "http:Response response = check githubClient->/notifications/threads/[threadId]/subscription.delete;", + "resourcePath": "/notifications/threads/[thread_id]/subscription" + }, + "returning": false, + "properties": { + "connection": { + "metadata": { + "label": "Connection", + "description": "Connection to use" + }, + "valueType": "EXPRESSION", + "value": "githubClient", + "optional": false, + "editable": false, + "advanced": false + }, + "variable": { + "metadata": { + "label": "Variable Name", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "response", + "optional": false, + "editable": true, + "advanced": false + }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/notifications/threads/[thread_id]/subscription", + "optional": false, + "editable": false, + "advanced": false, + "codedata": { + "originalName": "/notifications/threads/[thread_id]/subscription" + } + }, + "thread_id": { + "metadata": { + "label": "thread_id", + "description": "The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications (for example with the [`GET /notifications` operation](https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user))." + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "int", + "value": "threadId", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "thread_id" + } + }, + "checkError": { + "metadata": { + "label": "Check Error", + "description": "Trigger error flow" + }, + "valueType": "FLAG", + "value": true, + "optional": false, + "editable": true, + "advanced": true + }, + "type": { + "metadata": { + "label": "Variable Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "$CompilationError$", + "placeholder": "var", + "optional": false, + "editable": true, + "advanced": false + } + }, + "flags": 1 + } + ], + "connections": [ + { + "id": "33793", + "metadata": { + "label": "New Connection", + "description": "GitHub's v3 REST API.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_github_5.1.0.png" + }, + "codedata": { + "node": "NEW_CONNECTION", + "org": "ballerinax", + "module": "github", + "object": "Client", + "symbol": "init", + "version": "5.1.0", + "lineRange": { + "fileName": "github_resource_call.bal", + "startLine": { + "line": 2, + "offset": 0 + }, + "endLine": { + "line": 4, + "offset": 3 + } + }, + "sourceCode": "final github:Client githubClient = check new ({\n auth: {token: \"\"}\n});" + }, + "returning": false, + "properties": { + "scope": { + "metadata": { + "label": "Connection Scope", + "description": "Scope of the connection, Global or Local" + }, + "valueType": "ENUM", + "value": "Global", + "optional": false, + "editable": true, + "advanced": true + }, + "checkError": { + "metadata": { + "label": "Check Error", + "description": "Terminate on error" + }, + "valueType": "FLAG", + "value": true, + "optional": false, + "editable": false, + "advanced": true + }, + "config": { + "metadata": { + "label": "config", + "description": "The configurations to be used when initializing the `connector` " + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "github:ConnectionConfig", + "value": "{\n auth: {token: \"\"}\n}", + "placeholder": "{auth: {token: \"\"}}", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "kind": "REQUIRED", + "originalName": "config" + } + }, + "serviceUrl": { + "metadata": { + "label": "serviceUrl", + "description": "URL of the target service " + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "placeholder": "\"https://api.github.com\"", + "optional": true, + "editable": true, + "advanced": true, + "codedata": { + "kind": "DEFAULTABLE", + "originalName": "serviceUrl" + } + }, + "variable": { + "metadata": { + "label": "Connection Name", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "githubClient", + "optional": false, + "editable": true, + "advanced": false + }, + "type": { + "metadata": { + "label": "Connection Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "github:Client", + "placeholder": "var", + "optional": false, + "editable": false, + "advanced": false + } + }, + "flags": 1 + } + ] + } +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/github_resource_call.bal b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/github_resource_call.bal new file mode 100644 index 000000000..922af95b1 --- /dev/null +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagram_generator/source/github_resource_call.bal @@ -0,0 +1,10 @@ +import ballerinax/github; + +final github:Client githubClient = check new ({ + auth: {token: ""} +}); + +function foo(int threadId) returns error? { + github:ManifestConversions manifestConversions = check githubClient->/app\-manifests/["code-123"]/conversions.post; + http:Response response = check githubClient->/notifications/threads/[threadId]/subscription.delete; +} diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/covid.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/covid.json index d6542d6f1..5bb7396b4 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/covid.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/covid.json @@ -14,7 +14,7 @@ "module": "covid19", "object": "Client", "symbol": "init", - "id": 1784 + "id": 699 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/default.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/default.json index 051ca1f4b..339ea68b4 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/default.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/default.json @@ -4,81 +4,81 @@ "categories": [ { "metadata": { - "label": "ftp", - "description": "Represents an FTP client that intracts with an FTP server", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_ftp_2.11.0.png" + "label": "grpc", + "description": "The base client used in the generated client code to provide the capability for initiating the contact and executing remote calls with a remote gRPC service.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "ftp", + "module": "grpc", "object": "Client", "symbol": "init", - "id": 223 + "id": 143 }, "enabled": true }, { "metadata": { - "label": "grpc", - "description": "The base client used in the generated client code to provide the capability for initiating the contact and executing remote calls with a remote gRPC service.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "ldap", + "description": "Consists of APIs to integrate with LDAP.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_ldap_1.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "grpc", + "module": "ldap", "object": "Client", "symbol": "init", - "id": 294 + "id": 161 }, "enabled": true }, { "metadata": { - "label": "ldap", - "description": "Consists of APIs to integrate with LDAP.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_ldap_1.1.0.png" + "label": "tcp", + "description": "Initializes the TCP connection client based on the provided configurations.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_tcp_1.11.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "ldap", + "module": "tcp", "object": "Client", "symbol": "init", - "id": 295 + "id": 228 }, "enabled": true }, { "metadata": { - "label": "mqtt", - "description": "Represents the client that is used to publish messages to the server.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mqtt_1.2.0.png" + "label": "ftp", + "description": "Represents an FTP client that intracts with an FTP server", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_ftp_2.11.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "mqtt", + "module": "ftp", "object": "Client", "symbol": "init", - "id": 338 + "id": 242 }, "enabled": true }, { "metadata": { - "label": "tcp", - "description": "Initializes the TCP connection client based on the provided configurations.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_tcp_1.11.1.png" + "label": "mqtt", + "description": "Represents the client that is used to publish messages to the server.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mqtt_1.2.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "tcp", + "module": "mqtt", "object": "Client", "symbol": "init", - "id": 462 + "id": 254 }, "enabled": true }, @@ -94,39 +94,39 @@ "module": "udp", "object": "Client", "symbol": "init", - "id": 536 + "id": 291 }, "enabled": true }, { "metadata": { - "label": "graphql", - "description": "The Ballerina GraphQL client that can be used to communicate with GraphQL APIs.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png" + "label": "http", + "description": "The HTTP client provides the capability for initiating contact with a remote HTTP service. The API it\nprovides includes the functions for the standard HTTP methods forwarding a received request and sending requests\nusing custom HTTP verbs.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.2.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "graphql", + "module": "http", "object": "Client", "symbol": "init", - "id": 556 + "id": 563 }, "enabled": true }, { "metadata": { - "label": "http", - "description": "The HTTP client provides the capability for initiating contact with a remote HTTP service. The API it\nprovides includes the functions for the standard HTTP methods forwarding a received request and sending requests\nusing custom HTTP verbs.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.2.png" + "label": "graphql", + "description": "The Ballerina GraphQL client that can be used to communicate with GraphQL APIs.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_graphql_1.14.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerina", - "module": "http", + "module": "graphql", "object": "Client", "symbol": "init", - "id": 568 + "id": 564 }, "enabled": true }, @@ -148,14 +148,14 @@ }, { "metadata": { - "label": "nats", - "description": "The client provides the capability to publish messages to the NATS server.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_nats_3.1.0.png" + "label": "aws.marketplace.mpm", + "description": "AWS Marketplace metering client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.marketplace.mpm_0.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "nats", + "module": "aws.marketplace.mpm", "object": "Client", "symbol": "init", "id": 637 @@ -164,14 +164,14 @@ }, { "metadata": { - "label": "aws.redshift", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.redshift_1.1.0.png" + "label": "mongodb", + "description": "Represents a MongoDB client that can be used to interact with a MongoDB server.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "aws.redshift", + "module": "mongodb", "object": "Client", "symbol": "init", "id": 641 @@ -180,97 +180,97 @@ }, { "metadata": { - "label": "postgresql", - "description": "Represents a PostgreSQL database client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.1.png" + "label": "snowflake", + "description": "Represents a Snowflake database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_snowflake_2.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "postgresql", + "module": "snowflake", "object": "Client", "symbol": "init", - "id": 648 + "id": 645 }, "enabled": true }, { "metadata": { - "label": "oracledb", - "description": "Represents a OracleDB client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.1.png" + "label": "aws.redshift", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.redshift_1.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "oracledb", + "module": "aws.redshift", "object": "Client", "symbol": "init", - "id": 655 + "id": 652 }, "enabled": true }, { "metadata": { - "label": "mssql", - "description": "Represents an MSSQL database client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.1.png" + "label": "aws.marketplace.mpe", + "description": "AWS Marketplace entitlement client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.marketplace.mpe_0.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "mssql", + "module": "aws.marketplace.mpe", "object": "Client", "symbol": "init", - "id": 662 + "id": 659 }, "enabled": true }, { "metadata": { - "label": "redis", - "description": "Ballerina Redis connector provides the capability to access Redis cache.\nThis connector lets you to perform operations to access and manipulate key-value data stored in a Redis database. \n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_redis_3.0.2.png" + "label": "java.jdbc", + "description": "Represents a JDBC client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_java.jdbc_1.12.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "redis", + "module": "java.jdbc", "object": "Client", "symbol": "init", - "id": 669 + "id": 663 }, "enabled": true }, { "metadata": { - "label": "mongodb", - "description": "Represents a MongoDB client that can be used to interact with a MongoDB server.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mongodb_5.0.0.png" + "label": "confluent.cregistry", + "description": "Consists of APIs to integrate with Avro Schema Registry.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_confluent.cregistry_0.2.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "mongodb", + "module": "confluent.cregistry", "object": "Client", "symbol": "init", - "id": 733 + "id": 672 }, "enabled": true }, { "metadata": { - "label": "mysql", - "description": "Represents a MySQL database client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.1.png" + "label": "oracledb", + "description": "Represents a OracleDB client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_oracledb_1.11.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "mysql", + "module": "oracledb", "object": "Client", "symbol": "init", - "id": 762 + "id": 676 }, "enabled": true }, @@ -286,199 +286,199 @@ "module": "rabbitmq", "object": "Client", "symbol": "init", - "id": 789 + "id": 683 }, "enabled": true }, { "metadata": { - "label": "java.jdbc", - "description": "Represents a JDBC client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_java.jdbc_1.12.1.png" + "label": "docusign.dsclick", + "description": "DocuSign Click lets you capture consent to standard agreement terms with a single click: terms and conditions, terms of service, terms of use, privacy policies, and more. The Click API lets you include this customizable clickwrap solution in your DocuSign integrations.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_docusign.dsclick_2.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "java.jdbc", + "module": "docusign.dsclick", "object": "Client", "symbol": "init", - "id": 798 + "id": 698 }, "enabled": true }, { "metadata": { - "label": "openai.audio", - "description": "The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_openai.audio_2.0.0.png" + "label": "covid19", + "description": "This is a generated connector from [Novel COVID-19 API version 3.0.0](https://disease.sh/docs/) OpenAPI Specification.\nBallerina connector for COVID-19 provides easy access to latest COVID-19 related data across the world. Please refer to [API documentation](https://disease.sh) for more detail.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_covid19_1.5.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "openai.audio", + "module": "covid19", "object": "Client", "symbol": "init", - "id": 811 + "id": 699 }, "enabled": true }, { "metadata": { - "label": "aws.dynamodb", - "description": "The Ballerina AWS DynamoDB connector provides the capability to access AWS Simple Email Service related operations.\nThis connector lets you to to send email messages to your customers.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.dynamodb_2.3.0.png" + "label": "openai.audio", + "description": "The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_openai.audio_2.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "aws.dynamodb", + "module": "openai.audio", "object": "Client", "symbol": "init", - "id": 815 + "id": 718 }, "enabled": true }, { "metadata": { - "label": "slack", - "description": "One way to interact with the Slack platform is its HTTP RPC-based Web API, a collection of methods requiring OAuth 2.0-based user, bot, or workspace tokens blessed with related OAuth scopes.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_slack_4.0.0.png" + "label": "postgresql", + "description": "Represents a PostgreSQL database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_postgresql_1.13.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "slack", + "module": "postgresql", "object": "Client", "symbol": "init", - "id": 833 + "id": 722 }, "enabled": true }, { "metadata": { - "label": "aws.sns", - "description": "Ballerina Amazon SNS API connector provides the capability to access Amazon's Simple Notification Service.\nThis connector allows you to create and manage SNS topics and subscriptions.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.sns_3.0.0.png" + "label": "slack", + "description": "One way to interact with the Slack platform is its HTTP RPC-based Web API, a collection of methods requiring OAuth 2.0-based user, bot, or workspace tokens blessed with related OAuth scopes.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_slack_4.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "aws.sns", + "module": "slack", "object": "Client", "symbol": "init", - "id": 839 + "id": 734 }, "enabled": true }, { "metadata": { - "label": "discord", - "description": "Preview of the Discord v10 HTTP API specification. See https://discord.com/developers/docs for more details.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_discord_1.0.0.png" + "label": "mysql", + "description": "Represents a MySQL database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "discord", + "module": "mysql", "object": "Client", "symbol": "init", - "id": 849 + "id": 769 }, "enabled": true }, { "metadata": { - "label": "aws.marketplace.mpe", - "description": "AWS Marketplace entitlement client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.marketplace.mpe_0.1.0.png" + "label": "aws.sns", + "description": "Ballerina Amazon SNS API connector provides the capability to access Amazon's Simple Notification Service.\nThis connector allows you to create and manage SNS topics and subscriptions.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.sns_3.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "aws.marketplace.mpe", + "module": "aws.sns", "object": "Client", "symbol": "init", - "id": 850 + "id": 776 }, "enabled": true }, { "metadata": { - "label": "aws.marketplace.mpm", - "description": "AWS Marketplace metering client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_aws.marketplace.mpm_0.1.0.png" + "label": "salesforce", + "description": "Ballerina Salesforce connector provides the capability to access Salesforce REST API.\nThis connector lets you to perform operations for SObjects, query using SOQL, search using SOSL, and describe SObjects\nand organizational data.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_salesforce_8.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "aws.marketplace.mpm", + "module": "salesforce", "object": "Client", "symbol": "init", - "id": 899 + "id": 802 }, "enabled": true }, { "metadata": { - "label": "confluent.cregistry", - "description": "Consists of APIs to integrate with Avro Schema Registry.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_confluent.cregistry_0.2.1.png" + "label": "nats", + "description": "The client provides the capability to publish messages to the NATS server.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_nats_3.1.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "confluent.cregistry", + "module": "nats", "object": "Client", "symbol": "init", - "id": 924 + "id": 827 }, "enabled": true }, { "metadata": { - "label": "asana", - "description": "This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_asana_2.0.0.png" + "label": "mssql", + "description": "Represents an MSSQL database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "asana", + "module": "mssql", "object": "Client", "symbol": "init", - "id": 971 + "id": 887 }, "enabled": true }, { "metadata": { - "label": "twitter", - "description": "Twitter API v2 available endpoints", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_twitter_4.0.0.png" + "label": "openai.finetunes", + "description": "The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_openai.finetunes_2.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "twitter", + "module": "openai.finetunes", "object": "Client", "symbol": "init", - "id": 982 + "id": 907 }, "enabled": true }, { "metadata": { - "label": "openai.finetunes", - "description": "The OpenAI REST API. Please see https://platform.openai.com/docs/api-reference for more details.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_openai.finetunes_2.0.0.png" + "label": "asana", + "description": "This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_asana_2.0.0.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "openai.finetunes", + "module": "asana", "object": "Client", "symbol": "init", - "id": 999 + "id": 923 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/http.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/http.json index 5cdb1c277..10e1059ac 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/http.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/http.json @@ -14,7 +14,7 @@ "module": "http", "object": "Client", "symbol": "init", - "id": 568 + "id": 563 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/sql.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/sql.json index 41ac06b3e..e1a0cb903 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/sql.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_connectors/sql.json @@ -14,39 +14,39 @@ "module": "postgresql", "object": "Client", "symbol": "init", - "id": 648 + "id": 722 }, "enabled": true }, { "metadata": { - "label": "mssql", - "description": "Represents an MSSQL database client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.1.png" + "label": "mysql", + "description": "Represents a MySQL database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "mssql", + "module": "mysql", "object": "Client", "symbol": "init", - "id": 662 + "id": 769 }, "enabled": true }, { "metadata": { - "label": "mysql", - "description": "Represents a MySQL database client.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mysql_1.13.1.png" + "label": "mssql", + "description": "Represents an MSSQL database client.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerinax_mssql_1.13.1.png" }, "codedata": { "node": "NEW_CONNECTION", "org": "ballerinax", - "module": "mysql", + "module": "mssql", "object": "Client", "symbol": "init", - "id": 762 + "id": 887 }, "enabled": true } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/custom_sum.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/custom_sum.json index 1e0e64579..22920b2fa 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/custom_sum.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/custom_sum.json @@ -75,21 +75,21 @@ "items": [ { "metadata": { - "label": "lang.decimal", + "label": "lang.int", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.decimal_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "items": [ { "metadata": { "label": "sum", - "description": "Returns the sum of zero or more decimal values.\n\n```ballerina\ndecimal:sum(1.2, 2.3, 3.4) ⇒ 6.9\ndecimal[] scores = [11.1, 22.2, 33.3];\ndecimal:sum(...scores) ⇒ 66.6\n[decimal, decimal, decimal] marks = [7.21, 10.32, 9.2];\ndecimal:sum(...marks) ⇒ 26.73\ndecimal d = 21.2;\nd.sum(10.5, 21, 32.4) ⇒ 85.1\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.decimal_0.0.0.png" + "description": "Returns sum of zero or more int values.\n\n```ballerina\nint:sum(10, 20, 30, 40) ⇒ 100\nint[] marks = [50, 65, 78, 95];\nint:sum(...marks) ⇒ 288\nint num = 24;\nnum.sum(38, 15, 97, 27) ⇒ 201\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.decimal", + "module": "lang.int", "symbol": "sum", "version": "0.0.0" }, @@ -99,21 +99,21 @@ }, { "metadata": { - "label": "lang.int", + "label": "lang.float", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "items": [ { "metadata": { "label": "sum", - "description": "Returns sum of zero or more int values.\n\n```ballerina\nint:sum(10, 20, 30, 40) ⇒ 100\nint[] marks = [50, 65, 78, 95];\nint:sum(...marks) ⇒ 288\nint num = 24;\nnum.sum(38, 15, 97, 27) ⇒ 201\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "description": "Returns the sum of zero or more float values.\n\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:sum(1.2, 2.3, 3.4) ⇒ 6.9\nfloat[] scores = [11.1, 22.2, 33.3];\nfloat:sum(...scores) ⇒ 66.6\nfloat f = 21.2;\nf.sum(10.5, 21, 32.4) ⇒ 85.1\nfloat:sum(float:NaN, 2.3, 3.4) ⇒ NaN\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", + "module": "lang.float", "symbol": "sum", "version": "0.0.0" }, @@ -123,21 +123,21 @@ }, { "metadata": { - "label": "lang.float", + "label": "lang.decimal", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.decimal_0.0.0.png" }, "items": [ { "metadata": { "label": "sum", - "description": "Returns the sum of zero or more float values.\n\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:sum(1.2, 2.3, 3.4) ⇒ 6.9\nfloat[] scores = [11.1, 22.2, 33.3];\nfloat:sum(...scores) ⇒ 66.6\nfloat f = 21.2;\nf.sum(10.5, 21, 32.4) ⇒ 85.1\nfloat:sum(float:NaN, 2.3, 3.4) ⇒ NaN\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "description": "Returns the sum of zero or more decimal values.\n\n```ballerina\ndecimal:sum(1.2, 2.3, 3.4) ⇒ 6.9\ndecimal[] scores = [11.1, 22.2, 33.3];\ndecimal:sum(...scores) ⇒ 66.6\n[decimal, decimal, decimal] marks = [7.21, 10.32, 9.2];\ndecimal:sum(...marks) ⇒ 26.73\ndecimal d = 21.2;\nd.sum(10.5, 21, 32.4) ⇒ 85.1\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.decimal_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", + "module": "lang.decimal", "symbol": "sum", "version": "0.0.0" }, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/default.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/default.json index d583f5a25..a6f2ce378 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/default.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/default.json @@ -39,6 +39,120 @@ ] }, "items": [ + { + "metadata": { + "label": "regex", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "items": [ + { + "metadata": { + "label": "matches", + "description": "Checks whether the given string matches the provided regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nboolean isMatched = regex:matches(\"Ballerina is great\", \"Ba[a-z ]+\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "matches", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "replace", + "description": "Replaces the first substring that matches the given regex with\nthe provided replacement string or string returned by the provided function.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replace(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "replace", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "replaceAll", + "description": "Replaces each occurrence of the substrings, which match the provided\nregex from the given original string value with the provided replacement string.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replaceAll(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "replaceAll", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "replaceFirst", + "description": "Replaces the first substring that matches the given regex with\nthe provided replacement string.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replaceFirst(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "replaceFirst", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "split", + "description": "Returns an array of strings by splitting a string using the provided\nregex as the delimiter.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring[] result = regex:split(\"Ballerina is great\", \" \");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "split", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "search", + "description": "Returns the first substring in str that matches the regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nregex:Match? result = regex:search(\"Betty Botter bought some butter but she said the butter’s bitter.\",\n \"\\\\b[bB].tt[a-z]*\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "search", + "version": "1.3.2" + }, + "enabled": true + }, + { + "metadata": { + "label": "searchAll", + "description": "Returns all substrings in string that match the regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nregex:Match[] result = regex:searchAll(\"Betty Botter bought some butter but she said the butter’s bitter.\",\n \"\\\\b[bB].tt[a-z]*\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "regex", + "symbol": "searchAll", + "version": "1.3.2" + }, + "enabled": true + } + ] + }, { "metadata": { "label": "lang.table", @@ -290,293 +404,326 @@ }, { "metadata": { - "label": "lang.value", + "label": "lang.future", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.future_0.0.0.png" }, "items": [ { "metadata": { - "label": "clone", - "description": "Returns a clone of a value.\n\nA clone is a deep copy that does not copy immutable subtrees.\nA clone can therefore safely be used concurrently with the original.\nIt corresponds to the Clone(v) abstract operation,\ndefined in the Ballerina Language Specification.\n\n```ballerina\nint[] arr = [1, 2, 3, 4];\nint[] clone = arr.clone();\nclone ⇒ [1,2,3,4]\narr === clone ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "cancel", + "description": "Requests cancellation of a future.\n\nThis sets the cancellation flag in the strand corresponding to `f`.\nEach time that a strand yields, it will check the cancellation flag\nand terminate abnormally if the flag is set.\n\n```ballerina\nfuture sumFuture = start int:sum(10, 13, 54, 245, 24, 29, 343, 34);\nsumFuture.cancel();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.future_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "clone", + "module": "lang.future", + "symbol": "cancel", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.map", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "cloneReadOnly", - "description": "Returns a clone of a value that is read-only, i.e., immutable.\n\nIt corresponds to the ImmutableClone(v) abstract operation,\ndefined in the Ballerina Language Specification.\n\n```ballerina\nint[] arr = [1, 2, 3, 4];\nint[] & readonly immutableClone = arr.cloneReadOnly();\nimmutableClone ⇒ [1,2,3,4]\nimmutableClone is readonly ⇒ true \n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "'map", + "description": "Applies a function each member of a map and returns a map of the result.\n\nThe resulting map will have the same keys as the argument map.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.map(m => m > 50) ⇒ {\"Carl\":true,\"Bob\":false,\"Max\":true}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "cloneReadOnly", + "module": "lang.map", + "symbol": "'map", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "cloneWithType", - "description": "Constructs a value with a specified type by cloning another value.\n\nWhen parameter `v` is a structural value, the inherent type of the value to be constructed\ncomes from parameter `t`. When parameter `t` is a union, it must be possible to determine which\nmember of the union to use for the inherent type by following the same rules\nthat are used by list constructor expressions and mapping constructor expressions\nwith the contextually expected type. If not, then an error is returned.\nThe `cloneWithType` operation is recursively applied to each member of parameter `v` using\nthe type descriptor that the inherent type requires for that member.\n\nLike the Clone abstract operation, this does a deep copy, but differs in\nthe following respects:\n- the inherent type of any structural values constructed comes from the specified\ntype descriptor rather than the value being constructed\n- the read-only bit of values and fields comes from the specified type descriptor\n- the graph structure of `v` is not preserved; the result will always be a tree;\nan error will be returned if `v` has cycles\n- immutable structural values are copied rather being returned as is; all\nstructural values in the result will be mutable.\n- numeric values can be converted using the NumericConvert abstract operation\n- if a record type descriptor specifies default values, these will be used\nto supply any missing members\n\n```ballerina\nanydata[] arr = [1, 2, 3, 4];\nint[] intArray = check arr.cloneWithType();\nintArray ⇒ [1,2,3,4]\narr === intArray ⇒ false\ntype Vowels string:Char[];\nstring[] vowels = [\"a\", \"e\", \"i\", \"o\", \"u\"];\nvowels.cloneWithType(Vowels) ⇒ [\"a\",\"e\",\"i\",\"o\",\"u\"]\nvowels.cloneWithType(string) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "length", + "description": "Returns number of members of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.length() ⇒ 3\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "cloneWithType", + "module": "lang.map", + "symbol": "length", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "ensureType", - "description": "Safely casts a value to a type.\n\nThis casts a value to a type in the same way as a type cast expression,\nbut returns an error if the cast cannot be done, rather than panicking.\n\n```ballerina\njson student = {name: \"Jo\", subjects: [\"CS1212\", \"CS2021\"]};\njson[] subjects = check student.subjects.ensureType();\nsubjects ⇒ [\"CS1212\",\"CS2021\"]\nanydata vowel = \"I\";\nvowel.ensureType(string:Char) ⇒ I;\nvowel.ensureType(int) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "iterator", + "description": "Returns an iterator over a map.\n\nThe iterator will iterate over the members of the map not the keys.\nThe function `entries` can be used to iterate over the keys and members together.\nThe function `keys` can be used to iterator over just the keys.\n\n```ballerina\nobject {\n public isolated function next() returns record {|int value;|}?;\n} iterator = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.iterator();\niterator.next() ⇒ {\"value\":85}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "ensureType", + "module": "lang.map", + "symbol": "iterator", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "isReadOnly", - "description": "Tests whether a value is read-only, i.e., immutable.\n\nReturns true if read-only, false otherwise.\n\n```ballerina\nint[] scores = [21, 12, 33, 45, 81];\nscores.isReadOnly() ⇒ true\nstring[] sports = [\"cricket\", \"football\", \"rugby\"];\nsports.isReadOnly() ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "get", + "description": "Returns the member of a map with given key.\n\nThis for use in a case where it is known that the map has a specific key,\nand accordingly panics if parameter `m` does not have a member with parameter `k` key.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.get(\"Carl\") ⇒ 85\nmarks.get(\"John\") ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "isReadOnly", + "module": "lang.map", + "symbol": "get", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toString", - "description": "Performs a direct conversion of a value to a string.\n\nThe conversion is direct in the sense that when applied to a value that is already\na string it leaves the value unchanged.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the direct style.\n\n```ballerina\ndecimal value = 12.12d;\nvalue.toString() ⇒ 12.12\nanydata[] data = [1, \"Sam\", 12.3f, 12.12d, {value: 12}];\ndata.toString() ⇒ [1,\"Sam\",12.3,12.12,{\"value\":12}]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "entries", + "description": "Returns a map containing [key, member] pair as the value for each key.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50}.entries() ⇒ {\"Carl\":[\"Carl\",85],\"Bob\":[\"Bob\",50]}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "toString", + "module": "lang.map", + "symbol": "entries", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toBalString", - "description": "Converts a value to a string that describes the value in Ballerina syntax.\n\nIf parameter `v` is anydata and does not have cycles, then the result will\nconform to the grammar for a Ballerina expression and when evaluated\nwill result in a value that is == to parameter `v`.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the expression style.\n\n```ballerina\ndecimal value = 12.12d;\nvalue.toBalString() ⇒ 12.12d\nanydata[] data = [1, \"Sam\", 12.3f, 12.12d, {value: 12}];\ndata.toBalString() ⇒ [1,\"Sam\",12.3,12.12d,{\"value\":12}]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "forEach", + "description": "Applies a function to each member of a map.\n\nThe parameter `func` is applied to each member of parameter `m`.\n\n```ballerina\nint total = 0;\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.forEach(function (int m) {\n total += m;\n});\ntotal ⇒ 195\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "toBalString", + "module": "lang.map", + "symbol": "forEach", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromBalString", - "description": "Parses and evaluates a subset of Ballerina expression syntax.\n\nThe subset of Ballerina expression syntax supported is that produced\nby toBalString when applied to an anydata value.\n\n```ballerina\nstring a = \"12.12d\";\na.fromBalString() ⇒ 12.12\nstring b = \"[1, 2, !]\";\nb.fromBalString() ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "filter", + "description": "Selects the members from a map for which a function returns true.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.filter(m => m >= 60) ⇒ {\"Carl\":85,\"Max\":60}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromBalString", + "module": "lang.map", + "symbol": "filter", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toJson", - "description": "Converts a value of type `anydata` to `json`.\n\nThis does a deep copy of parameter `v` converting values that do\nnot belong to json into values that do.\nA value of type `xml` is converted into a string as if\nby the `toString` function.\nA value of type `table` is converted into a list of\nmappings one for each row.\nThe inherent type of arrays in the return value will be\n`json[]` and of mappings will be `map`.\nA new copy is made of all structural values, including\nimmutable values.\nThis panics if parameter `v` has cycles.\n\n```ballerina\nanydata student = {name: \"Jo\", age: 11};\nstudent.toJson() ⇒ {\"name\":\"Jo\",\"age\":11}\nanydata[] array = [];\narray.push(array);\narray.toJson() ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "reduce", + "description": "Combines the members of a map using a combining function.\n\nThe combining function takes the combined value so far and a member of the map,\nand returns a new combined value.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.reduce(isolated function (int total, int next) returns int => total + next, 0) ⇒ 195\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "toJson", + "module": "lang.map", + "symbol": "reduce", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toJsonString", - "description": "Returns the string that represents a anydata value in JSON format.\n\nparameter `v` is first converted to `json` as if by the function `toJson`.\n\n```ballerina\nanydata marks = {\"Alice\": 90, \"Bob\": 85, \"Jo\": 91};\nmarks.toJsonString() ⇒ {\"Alice\":90, \"Bob\":85, \"Jo\":91}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "remove", + "description": "Removes a member of a map.\n\nThis removes the member of parameter `m` with key parameter `k` and returns it.\nIt panics if there is no such member.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.remove(\"Carl\") ⇒ 85\nmarks ⇒ {\"Bob\":50,\"Max\":60}\nmarks.remove(\"John\") ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "toJsonString", + "module": "lang.map", + "symbol": "remove", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromJsonString", - "description": "Parses a string in JSON format and returns the value that it represents.\n\nNumbers in the JSON string are converted into Ballerina values of type\ndecimal except in the following two cases:\nif the JSON number starts with `-` and is numerically equal to zero, then it is\nconverted into float value of `-0.0`;\notherwise, if the JSON number is syntactically an integer and is in the range representable\nby a Ballerina int, then it is converted into a Ballerina int.\nA JSON number is considered syntactically an integer if it contains neither\na decimal point nor an exponent.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"{\\\"id\\\": 12, \\\"name\\\": \\\"John\\\"}\".fromJsonString() ⇒ {\"id\":12,\"name\":\"John\"}\n\"{12: 12}\".fromJsonString() ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "removeIfHasKey", + "description": "Removes a member of a map with a given key, if the map has member with the key.\n\nIf parameter `m` has a member with key parameter `k`, it removes and returns it;\notherwise it returns `()`.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.removeIfHasKey(\"Carl\") ⇒ 85\nmarks ⇒ {\"Bob\":50,\"Max\":60}\nmarks.removeIfHasKey(\"John\") is () ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromJsonString", + "module": "lang.map", + "symbol": "removeIfHasKey", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromJsonFloatString", - "description": "Parses a string in JSON format, using float to represent numbers.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"[12, true, 123.4, \\\"hello\\\"]\".fromJsonFloatString() ⇒ [12.0,true,123.4,\"hello\"]\n\"[12, true, 12.5, !]\".fromJsonFloatString() ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "removeAll", + "description": "Removes all members of a map.\n\nThis panics if any member cannot be removed.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.removeAll();\nmarks ⇒ {}\nmap values = {x: 10, y: 20};\nvalues.removeAll() ⇒ panic;\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromJsonFloatString", + "module": "lang.map", + "symbol": "removeAll", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromJsonDecimalString", - "description": "Parses a string in JSON format, using decimal to represent numbers.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"[12, true, 123.4, \\\"hello\\\"]\".fromJsonDecimalString() ⇒ [12.0,true,123.4,\"hello\"]\n\"[12, true, 12.5, !]\".fromJsonDecimalString() ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "hasKey", + "description": "Tests whether a map value has a member with a given key.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.hasKey(\"Carl\") ⇒ true\nmarks.hasKey(\"John\") ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromJsonDecimalString", + "module": "lang.map", + "symbol": "hasKey", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromJsonWithType", - "description": "Converts a value of type json to a user-specified type.\n\nThis works the same as function `cloneWithType`,\nexcept that it also does the inverse of the conversions done by `toJson`.\n\n```ballerina\njson arr = [1, 2, 3, 4];\nint[] intArray = check arr.fromJsonWithType();\nintArray ⇒ [1,2,3,4]\ntype Vowels string:Char[];\njson vowels = [\"a\", \"e\", \"i\", \"o\", \"u\"];\nvowels.fromJsonWithType(Vowels) ⇒ [\"a\",\"e\",\"i\",\"o\",\"u\"]\nvowels.fromJsonWithType(string) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "keys", + "description": "Returns a list of all the keys of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.keys() ⇒ [\"Carl\",\"Bob\",\"Max\"]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromJsonWithType", + "module": "lang.map", + "symbol": "keys", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromJsonStringWithType", - "description": "Converts a string in JSON format to a user-specified type.\n\nThis is a combination of function `fromJsonString` followed by function `fromJsonWithType`.\n\n```ballerina\nint[] intArray = check \"[1, 2, 3, 4]\".fromJsonStringWithType(); \nintArray ⇒ [1,2,3,4]\n\"2022\".fromJsonStringWithType(int) ⇒ 2022\n\"2022\".fromJsonStringWithType(boolean) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "toArray", + "description": "Returns a list of all the members of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.toArray() ⇒ [85,50,60]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "fromJsonStringWithType", + "module": "lang.map", + "symbol": "toArray", "version": "0.0.0" }, "enabled": true + } + ] + }, + { + "metadata": { + "label": "data.csv", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + }, + "items": [ + { + "metadata": { + "label": "parseString", + "description": "Parse a CSV string as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstring csvString = string `id,name\n 1,John\n 3,Jane`;\nrecord {int id; string name;}[] csv1 = check csv:parseString(csvString);\n[int, string][] csv2 = check csv:parseString(csvString);\nrecord {|int id;|}[] csv3 = check csv:parseString(csvString);\nrecord {int id;}[] csv4 = check csv:parseString(csvString, {skipLines: [1]});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "data.csv", + "symbol": "parseString", + "version": "0.1.0" + }, + "enabled": true }, { "metadata": { - "label": "mergeJson", - "description": "Merges two `json` values.\n\nThe merge of parameter `j1` with parameter `j2` is defined as follows:\n- if parameter `j1` is `()`, then the result is parameter `j2`\n- if parameter `j2` is `()`, then the result is parameter `j1`\n- if parameter `j1` is a mapping and parameter `j2` is a mapping, then for each entry [k, j] in parameter `j2`, set `j1[k]` to the merge of `j1[k]` with `j`\n- if `j1[k]` is undefined, then set `j1[k]` to `j`\n- if any merge fails, then the merge of parameter `j1` with parameter `j2` fails\n- otherwise, the result is parameter `j1`.\n- otherwise, the merge fails\nIf the merge fails, then parameter `j1` is unchanged.\n\n```ballerina\njson student = {name: \"John\", age: 23};\njson location = {city: \"Colombo\", country: \"Sri Lanka\"};\nstudent.mergeJson(location) ⇒ {\"name\":\"John\",\"age\":23,\"city\":\"Colombo\",\"country\":\"Sri Lanka\"}\nvalue:mergeJson(student, location) ⇒ {\"name\":\"John\",\"age\":23,\"city\":\"Colombo\",\"country\":\"Sri Lanka\"}\njson city = \"Colombo\";\nstudent.mergeJson(city) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "parseBytes", + "description": "Parse a byte[] as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nbyte[] csvBytes = check io:fileReadBytes(\"example.csv\");\nrecord {int id; string name;}[] csv1 = check csv:parseBytes(csvBytes);\n[int, string][] csv2 = check csv:parseBytes(csvBytes);\nrecord {|int id;|}[] csv3 = check csv:parseBytes(csvBytes);\nrecord {int id;}[] csv4 = check csv:parseBytes(csvBytes, {skipLines: [1]});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "mergeJson", - "version": "0.0.0" + "module": "data.csv", + "symbol": "parseBytes", + "version": "0.1.0" }, "enabled": true }, { "metadata": { - "label": "count", - "description": "Returns the number of arguments.\n\n```ballerina\nvalue:count(1, 2, 3) ⇒ 3\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "parseStream", + "description": "Parse a CSV byte block stream as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstream csvByteStream = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {int id; string name;}[] csv1 = check csv:parseStream(csvByteStream);\nstream csvByteStream2 = check io:fileReadBlocksAsStream(\"example.csv\");\n[int, string][] csv2 = check csv:parseStream(csvByteStream2);\nstream csvByteStream3 = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {|int id;|}[] csv3 = check csv:parseStream(csvByteStream3);\nstream csvByteStream4 = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {int id;}[] csv4 = check csv:parseStream(csvByteStream4, {skipLines: [1]});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "count", - "version": "0.0.0" + "module": "data.csv", + "symbol": "parseStream", + "version": "0.1.0" }, "enabled": true }, { "metadata": { - "label": "first", - "description": "Returns the first argument.\n\n```ballerina\nvalue:first(1, 2, 3) ⇒ 1\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "transform", + "description": "Transform value of type record {}[] to subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nrecord {int id; string name;}[] csvRecords = [{id: 1, name: \"John\"}, {id: 2, name: \"Jane\"}];\n[int, string][] csv1 = check csv:transform(csvRecords);\nrecord {|int id;|}[] csv2 = check csv:transform(csvRecords);\nrecord {int id;}[] csv3 = check csv:transform(csvRecords, {skipLines: [1]});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "first", - "version": "0.0.0" + "module": "data.csv", + "symbol": "transform", + "version": "0.1.0" }, "enabled": true }, { "metadata": { - "label": "last", - "description": "Returns the last argument.\n\n```ballerina\nvalue:last(1, 2, 3) ⇒ 3\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + "label": "parseList", + "description": "Parse a string array of array as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstring[][] csvList = [[\"1\", \"John\"], [\"2\", \"Jane\"]];\n[int, string][] csv1 = check csv:parseList(csvList);\nrecord {|int id;|}[] csv2 = check csv:parseList(csvList, {customHeaders: [\"id\", \"name\"]});\nrecord {int id;}[] csv3 = check csv:parseList(csvList, {skipLines: [1], customHeaders: [\"id\", \"name\"]});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.value", - "symbol": "last", - "version": "0.0.0" + "module": "data.csv", + "symbol": "parseList", + "version": "0.1.0" }, "enabled": true } @@ -584,217 +731,250 @@ }, { "metadata": { - "label": "lang.map", + "label": "log", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "items": [ { "metadata": { - "label": "'map", - "description": "Applies a function each member of a map and returns a map of the result.\n\nThe resulting map will have the same keys as the argument map.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.map(m => m > 50) ⇒ {\"Carl\":true,\"Bob\":false,\"Max\":true}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "printDebug", + "description": "Prints debug logs.\n```ballerina\nlog:printDebug(\"debug message\", id = 845315)\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "'map", - "version": "0.0.0" + "module": "log", + "symbol": "printDebug", + "version": "2.10.0" }, "enabled": true }, { "metadata": { - "label": "length", - "description": "Returns number of members of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.length() ⇒ 3\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "printError", + "description": "Prints error logs.\n```ballerina\nerror e = error(\"error occurred\");\nlog:printError(\"error log with cause\", 'error = e, id = 845315);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "length", - "version": "0.0.0" + "module": "log", + "symbol": "printError", + "version": "2.10.0" }, "enabled": true }, { "metadata": { - "label": "iterator", - "description": "Returns an iterator over a map.\n\nThe iterator will iterate over the members of the map not the keys.\nThe function `entries` can be used to iterate over the keys and members together.\nThe function `keys` can be used to iterator over just the keys.\n\n```ballerina\nobject {\n public isolated function next() returns record {|int value;|}?;\n} iterator = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.iterator();\niterator.next() ⇒ {\"value\":85}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "printInfo", + "description": "Prints info logs.\n```ballerina\nlog:printInfo(\"info message\", id = 845315)\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "iterator", - "version": "0.0.0" + "module": "log", + "symbol": "printInfo", + "version": "2.10.0" }, "enabled": true }, { "metadata": { - "label": "get", - "description": "Returns the member of a map with given key.\n\nThis for use in a case where it is known that the map has a specific key,\nand accordingly panics if parameter `m` does not have a member with parameter `k` key.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.get(\"Carl\") ⇒ 85\nmarks.get(\"John\") ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "printWarn", + "description": "Prints warn logs.\n```ballerina\nlog:printWarn(\"warn message\", id = 845315)\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "get", - "version": "0.0.0" + "module": "log", + "symbol": "printWarn", + "version": "2.10.0" }, "enabled": true }, { "metadata": { - "label": "entries", - "description": "Returns a map containing [key, member] pair as the value for each key.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50}.entries() ⇒ {\"Carl\":[\"Carl\",85],\"Bob\":[\"Bob\",50]}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "setOutputFile", + "description": "Set the log output to a file. Note that all the subsequent logs of the entire application will be written to this file.\n```ballerina\nvar result = log:setOutputFile(\"./resources/myfile.log\");\nvar result = log:setOutputFile(\"./resources/myfile.log\", log:OVERWRITE);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "entries", - "version": "0.0.0" + "module": "log", + "symbol": "setOutputFile", + "version": "2.10.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "editoolspackage", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_editoolspackage_2.0.3.png" + }, + "items": [ { "metadata": { - "label": "forEach", - "description": "Applies a function to each member of a map.\n\nThe parameter `func` is applied to each member of parameter `m`.\n\n```ballerina\nint total = 0;\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.forEach(function (int m) {\n total += m;\n});\ntotal ⇒ 195\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "main", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_editoolspackage_2.0.3.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "forEach", - "version": "0.0.0" + "module": "editoolspackage", + "symbol": "main", + "version": "2.0.3" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.int", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "filter", - "description": "Selects the members from a map for which a function returns true.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.filter(m => m >= 60) ⇒ {\"Carl\":85,\"Max\":60}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "abs", + "description": "Returns the absolute value of an int value.\n\n```ballerina\nint n = -25;\nn.abs() ⇒ 25\nint:abs(-30) ⇒ 30\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "filter", + "module": "lang.int", + "symbol": "abs", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "reduce", - "description": "Combines the members of a map using a combining function.\n\nThe combining function takes the combined value so far and a member of the map,\nand returns a new combined value.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.reduce(isolated function (int total, int next) returns int => total + next, 0) ⇒ 195\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "sum", + "description": "Returns sum of zero or more int values.\n\n```ballerina\nint:sum(10, 20, 30, 40) ⇒ 100\nint[] marks = [50, 65, 78, 95];\nint:sum(...marks) ⇒ 288\nint num = 24;\nnum.sum(38, 15, 97, 27) ⇒ 201\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "reduce", + "module": "lang.int", + "symbol": "sum", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "remove", - "description": "Removes a member of a map.\n\nThis removes the member of parameter `m` with key parameter `k` and returns it.\nIt panics if there is no such member.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.remove(\"Carl\") ⇒ 85\nmarks ⇒ {\"Bob\":50,\"Max\":60}\nmarks.remove(\"John\") ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "max", + "description": "Returns the maximum of one or more int values.\n\n```ballerina\nint:max(50, 20, 30, 70, 65) ⇒ 70\n[int, int, int] scores = [52, 95, 76];\nint:max(...scores) ⇒ 95\nint n = 18;\nn.max(25, 30, 4, 15) ⇒ 30\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "remove", + "module": "lang.int", + "symbol": "max", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "removeIfHasKey", - "description": "Removes a member of a map with a given key, if the map has member with the key.\n\nIf parameter `m` has a member with key parameter `k`, it removes and returns it;\notherwise it returns `()`.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.removeIfHasKey(\"Carl\") ⇒ 85\nmarks ⇒ {\"Bob\":50,\"Max\":60}\nmarks.removeIfHasKey(\"John\") is () ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "min", + "description": "Returns the minimum of one or more int values.\n\n```ballerina\nint:min(45, 25, 30, 75, 50) ⇒ 25\n[int, int, int, int] points = [21, 12, 48, 14];\nint:min(...points) ⇒ 12\nint m = 23;\nm.min(12, 43, 7, 19) ⇒ 7\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "removeIfHasKey", + "module": "lang.int", + "symbol": "min", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "removeAll", - "description": "Removes all members of a map.\n\nThis panics if any member cannot be removed.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.removeAll();\nmarks ⇒ {}\nmap values = {x: 10, y: 20};\nvalues.removeAll() ⇒ panic;\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "fromString", + "description": "Returns the integer of a string that represents in decimal.\n\nReturns error if parameter `s` is not the decimal representation of an integer.\nThe first character may be `+` or `-`.\nThis is the inverse of function ``value:toString`` applied to an `int`.\n\n```ballerina\nint:fromString(\"76\") ⇒ 76\nint:fromString(\"-120\") ⇒ -120\nint:fromString(\"0xFFFF\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "removeAll", + "module": "lang.int", + "symbol": "fromString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "hasKey", - "description": "Tests whether a map value has a member with a given key.\n\n```ballerina\nmap marks = {\"Carl\": 85, \"Bob\": 50, \"Max\": 60};\nmarks.hasKey(\"Carl\") ⇒ true\nmarks.hasKey(\"John\") ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "toHexString", + "description": "Returns representation of an integer as hexdecimal string.\n\nThere is no `0x` prefix. Lowercase letters a-f are used.\nNegative numbers will have a `-` prefix. No sign for\nnon-negative numbers.\n\n```ballerina\n26.toHexString() ⇒ 1a\nint:toHexString(-158) ⇒ -9e\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "hasKey", + "module": "lang.int", + "symbol": "toHexString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "keys", - "description": "Returns a list of all the keys of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.keys() ⇒ [\"Carl\",\"Bob\",\"Max\"]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "fromHexString", + "description": "Returns the integer that a string value represents in hexadecimal.\n\nBoth uppercase A-F and lowercase a-f are allowed.\nIt may start with an optional `+` or `-` sign.\nNo `0x` or `0X` prefix is allowed.\nReturns an error if the parameter `s` is not in an allowed format.\n\n```ballerina\nint:fromHexString(\"1A5F\") ⇒ 6751\nint:fromHexString(\"-2b4a\") ⇒ -11082\nint:fromHexString(\"1Y4K\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "keys", + "module": "lang.int", + "symbol": "fromHexString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toArray", - "description": "Returns a list of all the members of a map.\n\n```ballerina\n{\"Carl\": 85, \"Bob\": 50, \"Max\": 60}.toArray() ⇒ [85,50,60]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.map_0.0.0.png" + "label": "range", + "description": "Returns an iterable object that iterates over a range of integers.\nThe integers returned by the iterator belong to the set S,\nwhere S is `{ rangeStart + step*i such that i >= 0 }`.\nWhen `step > 0`, the members of S that are `< rangeEnd` are returned in increasing order.\nWhen `step < 0`, the members of S that are `> rangeEnd` are returned in decreasing order.\nWhen `step = 0`, the function panics.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.map", - "symbol": "toArray", + "module": "lang.int", + "symbol": "range", + "version": "0.0.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "avg", + "description": "Returns the average of its arguments.\n\n```ballerina\nint:avg(10, 20, 30, 40) ⇒ 25.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.int", + "symbol": "avg", "version": "0.0.0" }, "enabled": true @@ -803,197 +983,188 @@ }, { "metadata": { - "label": "regex", + "label": "lang.regexp", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "items": [ { "metadata": { - "label": "matches", - "description": "Checks whether the given string matches the provided regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nboolean isMatched = regex:matches(\"Ballerina is great\", \"Ba[a-z ]+\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "find", + "description": "Returns the first match of a regular expression within a string.\n\n```ballerina\nstring:RegExp r = re `World`;\nr.find(\"Not A Match\") is () ⇒ true\nr.find(\"Hello World\") is regexp:Span ⇒ true\nr.find(\"Hello World\", 6) is regexp:Span ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "matches", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "find", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "replace", - "description": "Replaces the first substring that matches the given regex with\nthe provided replacement string or string returned by the provided function.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replace(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "findGroups", + "description": "Returns the `Groups` for the first match of a regular expression within a string.\n\n```ballerina\nstring:RegExp r = re `([bB].tt[a-z]*)`;\nr.findGroups(\"Not A Match\") is () ⇒ true\nr.findGroups(\"Butter was bought by Betty but the butter was bitter.\") is regexp:Groups ⇒ true\nr.findGroups(\"Butter was bought by Betty but the butter was bitter.\", 7) is regexp:Groups ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "replace", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "findGroups", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "replaceAll", - "description": "Replaces each occurrence of the substrings, which match the provided\nregex from the given original string value with the provided replacement string.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replaceAll(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "findAll", + "description": "Returns a list of all the matches of a regular expression within a string.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the list of matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `[bB].tt[a-z]*`;\nr.findAll(\"Not A Match\").length() ⇒ 0\nr.findAll(\"Butter was bought by Betty but the butter was bitter.\").length() ⇒ 4\nr.findAll(\"Butter was bought by Betty but the butter was bitter.\", 7).length() ⇒ 3\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "replaceAll", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "findAll", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "replaceFirst", - "description": "Replaces the first substring that matches the given regex with\nthe provided replacement string.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring result = regex:replaceFirst(\"Ballerina is great\", \"\\\\s+\", \"_\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "findAllGroups", + "description": "Returns the `Groups` of all the matches of a regular expression within a string.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the list of matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `(([a-z]u)(bble))`;\nr.findAllGroups(\"Not A Match\").length() ⇒ 0\nr.findAllGroups(\"rubble, trouble, bubble, hubble\").length() ⇒ 3\nr.findAllGroups(\"rubble, trouble, bubble, hubble\", 7).length() ⇒ 2\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "replaceFirst", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "findAllGroups", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "split", - "description": "Returns an array of strings by splitting a string using the provided\nregex as the delimiter.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nstring[] result = regex:split(\"Ballerina is great\", \" \");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "matchAt", + "description": "Tests whether there is a match of a regular expression at a specific index in the string.\n\n```ballerina\nstring:RegExp r = re `World`;\nr.matchAt(\"Hello World\") is () ⇒ true\nr.matchAt(\"Hello World\", 6) is regexp:Span ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "split", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "matchAt", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "search", - "description": "Returns the first substring in str that matches the regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nregex:Match? result = regex:search(\"Betty Botter bought some butter but she said the butter’s bitter.\",\n \"\\\\b[bB].tt[a-z]*\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "matchGroupsAt", + "description": "Returns the `Groups` of the match of a regular expression at a specific index in the string.\n\n```ballerina\nstring:RegExp r = re `([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])?`;\nr.matchGroupsAt(\"time: 14:35:59\") is () ⇒ true\nr.matchGroupsAt(\"time: 14:35:59\", 6) is regexp:Groups ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "search", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "matchGroupsAt", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "searchAll", - "description": "Returns all substrings in string that match the regex.\nNote that `\\\\` is used as for escape sequence and `\\\\\\\\` is used to insert a backslash\ncharacter in the string or regular expression. The following special characters should be escaped\nin the regex definition.\nSpecial Characters: `.`, `+`, `*`, `?`, `^`, `$`, `(`, `)`, `[`, `]`,` {`, `}`\n\n```ballerina\nregex:Match[] result = regex:searchAll(\"Betty Botter bought some butter but she said the butter’s bitter.\",\n \"\\\\b[bB].tt[a-z]*\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_regex_1.3.2.png" + "label": "isFullMatch", + "description": "Tests whether there is full match of regular expression with a string.\nA match of a regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\n\n```ballerina\nstring:RegExp r = re `A|Th.*ch|^`;\nr.isFullMatch(\"This is a Match\") ⇒ true\nr.isFullMatch(\"Not a complete Match\") ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "regex", - "symbol": "searchAll", - "version": "1.3.2" + "module": "lang.regexp", + "symbol": "isFullMatch", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "data.csv", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" - }, - "items": [ + }, { "metadata": { - "label": "parseString", - "description": "Parse a CSV string as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstring csvString = string `id,name\n 1,John\n 3,Jane`;\nrecord {int id; string name;}[] csv1 = check csv:parseString(csvString);\n[int, string][] csv2 = check csv:parseString(csvString);\nrecord {|int id;|}[] csv3 = check csv:parseString(csvString);\nrecord {int id;}[] csv4 = check csv:parseString(csvString, {skipLines: [1]});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + "label": "fullMatchGroups", + "description": "Returns the `Groups` of the match of a regular expression that is a full match of a string.\nA match of the regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\n\n```ballerina\nstring:RegExp r = re `([0-9]+)×([0-9]+)`;\nr.fullMatchGroups(\"test: 1440×900\") is () ⇒ true\nr.fullMatchGroups(\"1440×900\") is regexp:Groups ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.csv", - "symbol": "parseString", - "version": "0.1.0" + "module": "lang.regexp", + "symbol": "fullMatchGroups", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "parseBytes", - "description": "Parse a byte[] as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nbyte[] csvBytes = check io:fileReadBytes(\"example.csv\");\nrecord {int id; string name;}[] csv1 = check csv:parseBytes(csvBytes);\n[int, string][] csv2 = check csv:parseBytes(csvBytes);\nrecord {|int id;|}[] csv3 = check csv:parseBytes(csvBytes);\nrecord {int id;}[] csv4 = check csv:parseBytes(csvBytes, {skipLines: [1]});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + "label": "replace", + "description": "Replaces the first match of a regular expression.\n\n```ballerina\nstring:RegExp r = re `0+`;\nr.replace(\"10010011\", \"*\") ⇒ 1*10011\nr.replace(\"10010011\", \"*\", 4) ⇒ 1001*11\nr.replace(\"122111\", \"*\") ⇒ 122111\nr.replace(\"10010011\", replaceFunction) ⇒ 1*10011\nr.replace(\"10010011\", replaceFunction, 4) ⇒ 1001*11\nisolated function replaceFunction(regexp:Groups groups) returns string => \"*\";\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.csv", - "symbol": "parseBytes", - "version": "0.1.0" + "module": "lang.regexp", + "symbol": "replace", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "parseStream", - "description": "Parse a CSV byte block stream as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstream csvByteStream = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {int id; string name;}[] csv1 = check csv:parseStream(csvByteStream);\nstream csvByteStream2 = check io:fileReadBlocksAsStream(\"example.csv\");\n[int, string][] csv2 = check csv:parseStream(csvByteStream2);\nstream csvByteStream3 = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {|int id;|}[] csv3 = check csv:parseStream(csvByteStream3);\nstream csvByteStream4 = check io:fileReadBlocksAsStream(\"example.csv\");\nrecord {int id;}[] csv4 = check csv:parseStream(csvByteStream4, {skipLines: [1]});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + "label": "replaceAll", + "description": "Replaces all matches of a regular expression.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `0+`;\nr.replaceAll(\"10010011\", \"*\") ⇒ 1*1*11\nr.replaceAll(\"10010011\", \"*\", 4) ⇒ 1001*11\nr.replaceAll(\"122111\", \"*\") ⇒ 122111\nr.replaceAll(\"10010011\", replaceFunction) ⇒ 121211\nr.replaceAll(\"10010011\", replaceFunction, 4) ⇒ 1001211\nisolated function replaceFunction(regexp:Groups groups) returns string => groups[0].substring().length().toString();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.csv", - "symbol": "parseStream", - "version": "0.1.0" + "module": "lang.regexp", + "symbol": "replaceAll", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "transform", - "description": "Transform value of type record {}[] to subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nrecord {int id; string name;}[] csvRecords = [{id: 1, name: \"John\"}, {id: 2, name: \"Jane\"}];\n[int, string][] csv1 = check csv:transform(csvRecords);\nrecord {|int id;|}[] csv2 = check csv:transform(csvRecords);\nrecord {int id;}[] csv3 = check csv:transform(csvRecords, {skipLines: [1]});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + "label": "split", + "description": "Splits a string into substrings separated by matches of a regular expression.\nThis finds the the non-overlapping matches of a regular expression and\nreturns a list of substrings of `str` that occur before the first match,\nbetween matches, or after the last match. If there are no matches, then\n`[str]` will be returned.\n\n```ballerina\nstring:RegExp r = re `,`;\nr.split(\"abc,cde,efg\") ⇒ [\"abc\",\"cde\",\"efg\"]\nr.split(\"abc cde efg\") ⇒ [\"abc cde efg\"]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.csv", - "symbol": "transform", - "version": "0.1.0" + "module": "lang.regexp", + "symbol": "split", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "parseList", - "description": "Parse a string array of array as a subtype of `record {}[]` or `anydata[][]`.\n\n```ballerina\nstring[][] csvList = [[\"1\", \"John\"], [\"2\", \"Jane\"]];\n[int, string][] csv1 = check csv:parseList(csvList);\nrecord {|int id;|}[] csv2 = check csv:parseList(csvList, {customHeaders: [\"id\", \"name\"]});\nrecord {int id;}[] csv3 = check csv:parseList(csvList, {skipLines: [1], customHeaders: [\"id\", \"name\"]});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.csv_0.1.0.png" + "label": "fromString", + "description": "Constructs a regular expression from a string.\nThe syntax of the regular expression is the same as accepted by the `re` tagged data template expression.\n\n```ballerina\nregexp:fromString(\"AB+C*D{1,4}\") ⇒ re `AB+C*D{1,4}`\nregexp:fromString(\"AB+^*\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.csv", - "symbol": "parseList", - "version": "0.1.0" + "module": "lang.regexp", + "symbol": "fromString", + "version": "0.0.0" }, "enabled": true } @@ -1001,779 +1172,770 @@ }, { "metadata": { - "label": "lang.xml", + "label": "lang.transaction", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "items": [ { "metadata": { - "label": "'map", - "description": "Applies a function to each item in an xml sequence, and returns an xml sequence of the results.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.map(function (xml xmlContent) returns xml => \n xml `${xmlContent.children()}`\n) ⇒ HamletMacbeth\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "info", + "description": "Returns information about the current transaction.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:Info info = transaction:info();\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:Info info = transaction:info();\n info.xid ⇒ [100,102,53,51,97,57,57,51,45]\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "'map", + "module": "lang.transaction", + "symbol": "info", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "length", - "description": "Returns number of xml items in an xml value.\n\n```ballerina\nxml `Sherlock Holmes`.length() ⇒ 2\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "getInfo", + "description": "Returns information about the transaction with the specified xid.\n\n```ballerina\nbyte[] xid = [48, 53, 101, 102, 101, 55];\ntransaction:getInfo(xid) ⇒ {\"xid\":[48, 53, 101, 102, 101, 55],\"retryNumber\":0,\"prevAttempt\":null,\"startTime\":2022-12-20 16:03:37,228}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "length", + "module": "lang.transaction", + "symbol": "getInfo", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "iterator", - "description": "Returns an iterator over the xml items of an xml sequence.\n\n# Each item is represented by an xml singleton.\n\n```ballerina\nobject {\n public isolated function next() returns record {|xml value;|}?;\n} iterator = xml `JohnPeter`.iterator();\niterator.next() ⇒ {\"value\":`John`}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "setRollbackOnly", + "description": "Prevents the global transaction from committing successfully.\n\nThis ask the transaction manager that when it makes the decision\nwhether to commit or rollback, it should decide to rollback.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "iterator", + "module": "lang.transaction", + "symbol": "setRollbackOnly", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "get", - "description": "Returns the item of an xml sequence with given index.\n\nThis differs from `x[i]` in that it panics if\nparameter `x` does not have an item with index parameter `i`.\n\n```ballerina\nxml x = xml `MacbethHamlet`;\nx.get(1) ⇒ Hamlet\nx.get(15) ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "getRollbackOnly", + "description": "Tells whether it is known that the transaction will be rolled back.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n transaction:getRollbackOnly() ⇒ true\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:getRollbackOnly() ⇒ false\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "get", + "module": "lang.transaction", + "symbol": "getRollbackOnly", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "concat", - "description": "Concatenates xml and string values.\n\n```ballerina\nxml bookA = xml `Sherlock Holmes`;\nxml bookB = xml `Hamlet`;\nxml:concat(bookA, bookB, xml `Macbeth`) ⇒ Sherlock HolmesHamletMacbeth\nbookA.concat(bookB) ⇒ Sherlock HolmesHamlet\nbookB.concat(\"Novel\") ⇒ HamletNovel\nxml:concat(\"Hello\", \"World\") ⇒ HelloWorld\nxml[] subjects = [xml `English`, xml `Math`, xml `ICT`];\nxml:concat(...subjects) ⇒ EnglishMathICT\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "setData", + "description": "Associates some data with the current transaction branch.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setData({accessType: \"RO\"});\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setData({accessType: \"RO\"});\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "concat", + "module": "lang.transaction", + "symbol": "setData", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getName", - "description": "Returns a string giving the expanded name of an xml element.\n\n```ballerina\nxml:Element e = xml `John`;\ne.getName() ⇒ person\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "getData", + "description": "Retrieves data associated with the current transaction branch.\n\nThe data is set using `setData`.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setData({accessType: \"RO\"});\n transaction:getData() ⇒ {\"accessType\":\"RO\"}\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setData({accessType: \"RO\"});\n transaction:getData() ⇒ {\"accessType\":\"RO\"}\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getName", + "module": "lang.transaction", + "symbol": "getData", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setName", - "description": "Changes the name of an XML element.\n\n```ballerina\nxml:Element e = xml `John`;\ne.setName(\"student\");\ne ⇒ John\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "onCommit", + "description": "Adds a handler to be called if and when the global transaction commits.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:onCommit(onCommitHandle);\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:onCommit(onCommitHandle);\n}\nisolated function onCommitHandle(transaction:Info info) {\n // Include the code to be executed when the transaction commits.\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "setName", + "module": "lang.transaction", + "symbol": "onCommit", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getAttributes", - "description": "Returns the map representing the attributes of an xml element.\n\nThis includes namespace attributes.\nThe keys in the map are the expanded names of the attributes.\n\n```ballerina\nxml:Element e = xml `John`;\ne.getAttributes() ⇒ {\"id\":\"1012\",\"employed\":\"yes\"}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "onRollback", + "description": "Adds a handler to be called if and when the global transaction rolls back.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:onRollback(onRollBackHandle);\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:onRollback(onRollBackHandle);\n}\nisolated function onRollBackHandle(transaction:Info info, error? cause, boolean willRetry) {\n // Include the code to be executed when the transaction rollback.\n}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getAttributes", + "module": "lang.transaction", + "symbol": "onRollback", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.float", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "getChildren", - "description": "Returns the children of an xml element.\n\n```ballerina\nxml:Element e = xml `HamletMacbeth`;\ne.getChildren() ⇒ HamletMacbeth\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "isFinite", + "description": "Tests whether a float is finite.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value\n\n```ballerina\nfloat f = 1.2;\nf.isFinite() ⇒ true\nfloat:Infinity.isFinite() ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getChildren", + "module": "lang.float", + "symbol": "isFinite", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setChildren", - "description": "Sets the children of an xml element.\n\nThis panics if it would result in the element structure\nbecoming cyclic.\n\n```ballerina\nxml:Element employees = xml `DavidPeter`;\nemployees.setChildren(xml `AliceBob`);\nemployees ⇒ AliceBob\nxml:Element student = xml `John`;\nstudent.setChildren(\"Jane\");\nstudent ⇒ Jane\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "isInfinite", + "description": "Tests whether a float is infinite.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value\n\n```ballerina\nfloat f = 3.21;\nf.isInfinite() ⇒ false\nfloat:Infinity.isInfinite() ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "setChildren", + "module": "lang.float", + "symbol": "isInfinite", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getDescendants", - "description": "Returns the descendants of an xml element.\n\nThe descendants of an element are the children of the element\ntogether with, for each of those children that is an element,\nthe descendants of that element, ordered so that\neach element immediately precedes all its descendants.\nThe order of the items in the returned sequence will thus correspond\nto the order in which the first character of the representation\nof the item would occur in the representation of the element in XML syntax.\n\n```ballerina\nxml:Element e = xml `John Doe30`;\ne.getDescendants() ⇒ John DoeJohn Doe3030\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "isNaN", + "description": "Tests whether a float is NaN.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value.\n\n```ballerina\nfloat f = 0.23;\nf.isNaN() ⇒ false\nfloat:NaN.isNaN() ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getDescendants", + "module": "lang.float", + "symbol": "isNaN", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "data", - "description": "Returns a string with the character data of an xml value.\n\nThe character data of an xml value is as follows:\n* the character data of a text item is a string with one character for each\ncharacter information item represented by the text item;\n* the character data of an element item is the character data of its children;\n* the character data of a comment item is the empty string;\n* the character data of a processing instruction item is the empty string;\n* the character data of an empty xml sequence is the empty string;\n* the character data of the concatenation of two xml sequences x1 and x2 is the\nconcatenation of the character data of x1 and the character data of x2.\n\n```ballerina\nxml x = xml `Jane Eyre`;\nx.data() ⇒ Jane Eyre\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "sum", + "description": "Returns the sum of zero or more float values.\n\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:sum(1.2, 2.3, 3.4) ⇒ 6.9\nfloat[] scores = [11.1, 22.2, 33.3];\nfloat:sum(...scores) ⇒ 66.6\nfloat f = 21.2;\nf.sum(10.5, 21, 32.4) ⇒ 85.1\nfloat:sum(float:NaN, 2.3, 3.4) ⇒ NaN\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "data", + "module": "lang.float", + "symbol": "sum", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getTarget", - "description": "Returns the target part of the processing instruction.\n\n```ballerina\nxml:ProcessingInstruction p = xml ``;\np.getTarget() ⇒ sort\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "max", + "description": "Returns the maximum of zero or more float values.\n\nResult is -∞ if no args\nNaN if any arg is NaN\n\n```ballerina\nfloat:max(1.2, 12.3, 3.4) ⇒ 12.3\nfloat[] marks = [70.3, 80.5, 98.1, 92.3];\nfloat:max(...marks) ⇒ 98.1\nfloat f = 21.2;\nf.max(40.5, 21, 32.4) ⇒ 40.5\nfloat:max() ⇒ -Infinity\nfloat:max(1.2, float:NaN, 3.4) ⇒ NaN\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getTarget", + "module": "lang.float", + "symbol": "max", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getContent", - "description": "Returns the content of a processing instruction or comment item.\n\n```ballerina\nxml:ProcessingInstruction procInstruction = xml ``;\nprocInstruction.getContent() ⇒ ascending\nxml:Comment comment = xml ``;\ncomment.getContent() ⇒ Employees by department\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "min", + "description": "Returns the minimum of zero or more float values.\n\nResult is +∞ if no args\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:min(5.2, 2.3, 3.4) ⇒ 2.3\nfloat[] marks = [90.3, 80.5, 98, 92.3];\nfloat:min(...marks) ⇒ 80.5\nfloat f = 1.2;\nf.min(10.5, 21, 32.4) ⇒ 1.2\nfloat:min() ⇒ Infinity\nfloat:min(5.2, float:NaN, 3.4) ⇒ NaN\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "getContent", + "module": "lang.float", + "symbol": "min", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createElement", - "description": "Creates a new xml element item.\n\n```ballerina\nxml:createElement(\n \"book\", \n {genre: \"Mystery\", year: \"1892\"}, \n xml `Sherlock HolmesArthur Conan Doyle`\n) ⇒ Sherlock HolmesArthur Conan Doyle\nxml:createElement(\"person\") ⇒ \nxml:createElement(\"student\", {id: \"1209\"}) ⇒ \nxml:createElement(\"employee\", children = xml `John`) ⇒ John\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "abs", + "description": "Returns the IEEE absolute value of a float value.\n\n```ballerina\nfloat f = -3.21;\nf.abs() ⇒ 3.21\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "createElement", + "module": "lang.float", + "symbol": "abs", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createProcessingInstruction", - "description": "Creates a new xml processing instruction item.\n\n```ballerina\nxml:createProcessingInstruction(\"sort\", \"descending\") ⇒ \n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "round", + "description": "Rounds a float value to a specified number of digits.\n\nReturns the float value that is an integral multiple of 10 raised to the power of `-fractionDigits` and closest to `x`.\nIf there are two such values, choose the one whose final digit is even\n(this is the round-to-nearest rounding mode, which is the default for IEEE and for Ballerina).\nA value of `fractionDigits` greater than 0 thus corresponds to the number of digits after the decimal\npoint being `fractionDigits`; a value of 0 for `fractionDigits` rounds to an integer.\nIf `x` is NaN, +0, -0, +∞ or -∞, then the result is `x`.\nWhen `fractionDigits` is 0, this is\nthe same as Java Math.rint method, .NET Math.Round method and\nIEEE roundToIntegralTiesToEven operation\nNote that `x` is the same as `x.round(0)`.\n\n```ballerina\nfloat f = 3.55;\nf.round() ⇒ 4.0\nfloat g = 4.55555;\ng.round(3) ⇒ 4.556\nfloat h = 2.5;\nh.round(0) ⇒ 2.0\nfloat i = 3.5;\ni.round(0) ⇒ 4.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "createProcessingInstruction", + "module": "lang.float", + "symbol": "round", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createComment", - "description": "Creates a new xml comment item.\n\n```ballerina\nxml:createComment(\"Example comment\") ⇒ \n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "floor", + "description": "Rounds a float down to the closest integral value.\n\n```ballerina\nfloat f = 3.51;\nf.floor() ⇒ 3.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "createComment", + "module": "lang.float", + "symbol": "floor", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createText", - "description": "Constructs an xml value of type Text.\n\nThe constructed sequence will be empty when the length of parameter `data` is zero.\n\n```ballerina\nxml:createText(\"Hello!\") ⇒ Hello!\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "ceiling", + "description": "Rounds a float up to the closest integral value.\n\n```ballerina\nfloat f = 3.51;\nf.ceiling() ⇒ 4.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "createText", + "module": "lang.float", + "symbol": "ceiling", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "slice", - "description": "Returns a subsequence of an xml value.\n\n```ballerina\nxml x = xml `HTMLInvisible ManDavid CopperfieldJane Eyre`;\nx.slice(2) ⇒ David CopperfieldJane Eyre\nx.slice(1, 3) ⇒ Invisible ManDavid Copperfield\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "sqrt", + "description": "Returns the square root of a float value.\n\nCorresponds to IEEE squareRoot operation.\n\n```ballerina\nfloat f = 1.96;\nf.sqrt() ⇒ 1.4\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "slice", + "module": "lang.float", + "symbol": "sqrt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "strip", - "description": "Strips the insignificant parts of the an xml value.\n\nComment items, processing instruction items are considered insignificant.\nAfter removal of comments and processing instructions, the text is grouped into\nthe biggest possible chunks (i.e., only elements cause division into multiple chunks)\nand a chunk is considered insignificant if the entire chunk is whitespace.\n\n```ballerina\nxml x = xml `\n Othello`;\nx.strip() ⇒ Othello\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "cbrt", + "description": "Returns the cube root of a float value.\n\nCorresponds to IEEE rootn(x, 3) operation.\n\n```ballerina\nfloat f = 0.125;\nf.cbrt() ⇒ 0.5\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "strip", + "module": "lang.float", + "symbol": "cbrt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "elements", - "description": "Selects elements from an xml value.\n\nIf parameter `nm` is `()`, selects all elements;\notherwise, selects only elements whose expanded name is parameter `nm`.\n\n```ballerina\nxml x = xml `Sherlock HolmesHamlet\n Jane EyreMacbeth`;\nx.elements() ⇒ Sherlock HolmesHamletJane EyreMacbeth\nx.elements(\"novel\") ⇒ Sherlock HolmesJane Eyre\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "pow", + "description": "Raises one float value to the power of another float values.\n\nCorresponds to IEEE pow(x, y) operation.\n\n```ballerina\nfloat f = 2.1;\nf.pow(2) ⇒ 4.41\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "elements", + "module": "lang.float", + "symbol": "pow", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "children", - "description": "Returns the children of elements in an xml value.\n\nWhen parameter `x` is of type `Element`, it is equivalent to function `getChildren`.\nThis is equivalent to `elements(x).map(getChildren)`.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.children() ⇒ HamletMacbeth\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "log", + "description": "Returns the natural logarithm of a float value.\n\nCorresponds to IEEE log operation.\n\n```ballerina\nfloat f = 234.56;\nf.log() ⇒ 5.4577114186982865\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "children", + "module": "lang.float", + "symbol": "log", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "elementChildren", - "description": "Selects element children of an xml value.\n\nThis is equivalent to `children(x).elements(nm)`.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.elementChildren() ⇒ HamletMacbeth\nx.elementChildren(\"novel\") ⇒ Macbeth\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "log10", + "description": "Returns the base 10 logarithm of a float value.\n\nCorresponds to IEEE log10 operation.\n\n```ballerina\nfloat f = 0.1;\nf.log10() ⇒ -1.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "elementChildren", + "module": "lang.float", + "symbol": "log10", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "forEach", - "description": "Applies a function to each item in an xml sequence.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml books = xml `Sherlock HolmesInvisible Man`;\nxml titles = xml ``;\nbooks.forEach(function (xml xmlItem) {\n titles += xml `${xmlItem.data()}`;\n});\ntitles ⇒ Sherlock HolmesInvisible Man\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "exp", + "description": "Raises Euler's number to a power.\n\nCorresponds to IEEE exp operation.\n\n```ballerina\nfloat f = 2.3;\nf.exp() ⇒ 9.974182454814718\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "forEach", + "module": "lang.float", + "symbol": "exp", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "filter", - "description": "Selects the items from an xml sequence for which a function returns true.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml x = xml `Sherlock HolemesHamletInvisible ManRomeo and Juliet`;\nx.filter(x => x is xml:Element && x.getName() == \"play\") ⇒ HamletRomeo and Juliet\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "sin", + "description": "Returns the sine of a float value.\n\nCorresponds to IEEE sin operation.\n\n```ballerina\nfloat f = 2.3;\nf.sin() ⇒ 0.7457052121767203\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "filter", + "module": "lang.float", + "symbol": "sin", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromString", - "description": "Constructs an xml value from a string.\n\nThis parses the string using the `content` production of the\nXML 1.0 Recommendation.\n\n```ballerina\nxml:fromString(\"HamletSherlock Holmes\") ⇒ HamletSherlock Holmes\nxml:fromString(\"b\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "cos", + "description": "Returns the cosine of a float value.\n\nCorresponds to IEEE cos operation.\n\n```ballerina\nfloat f = 0.7;\nf.cos() ⇒ 0.7648421872844885\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "fromString", + "module": "lang.float", + "symbol": "cos", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "text", - "description": "Selects all the items in a sequence that are of type `xml:Text`.\n\n```ballerina\nxml x = xml `JohnAlex Doe`;\nx.text() ⇒ John Doe\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + "label": "tan", + "description": "Returns the tangent of a float value.\n\nCorresponds to IEEE tan operation\n\n```ballerina\nfloat f = 0.2;\nf.tan() ⇒ 0.2027100355086725\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.xml", - "symbol": "text", + "module": "lang.float", + "symbol": "tan", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.transaction", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "info", - "description": "Returns information about the current transaction.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:Info info = transaction:info();\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:Info info = transaction:info();\n info.xid ⇒ [100,102,53,51,97,57,57,51,45]\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "acos", + "description": "Returns the arccosine of a float value.\n\nCorresponds to IEEE acos operation.\n\n```ballerina\nfloat f = 0.5;\nf.acos() ⇒ 1.0471975511965979\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "info", + "module": "lang.float", + "symbol": "acos", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getInfo", - "description": "Returns information about the transaction with the specified xid.\n\n```ballerina\nbyte[] xid = [48, 53, 101, 102, 101, 55];\ntransaction:getInfo(xid) ⇒ {\"xid\":[48, 53, 101, 102, 101, 55],\"retryNumber\":0,\"prevAttempt\":null,\"startTime\":2022-12-20 16:03:37,228}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "atan", + "description": "Returns the arctangent of a float value.\n\n```ballerina\nfloat f = 243.25;\nf.atan() ⇒ 1.5666853530369307\n```\n\nCorresponds to IEEE atan operation.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "getInfo", + "module": "lang.float", + "symbol": "atan", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setRollbackOnly", - "description": "Prevents the global transaction from committing successfully.\n\nThis ask the transaction manager that when it makes the decision\nwhether to commit or rollback, it should decide to rollback.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" - }, - "codedata": { + "label": "asin", + "description": "Returns the arcsine of a float value.\n\nCorresponds to IEEE asin operation.\n\n```ballerina\nfloat f = 0.5;\nf.asin() ⇒ 0.5235987755982989\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + }, + "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "setRollbackOnly", + "module": "lang.float", + "symbol": "asin", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getRollbackOnly", - "description": "Tells whether it is known that the transaction will be rolled back.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setRollbackOnly(error(\"marked as rollback only\"));\n transaction:getRollbackOnly() ⇒ true\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:getRollbackOnly() ⇒ false\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "atan2", + "description": "Performs the 2-argument arctangent operation.\n\nCorresponds IEEE atan2(y, x) operation.\n\n```ballerina\nfloat:atan2(24.21, 12.345) ⇒ 1.0992495979622232\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "getRollbackOnly", + "module": "lang.float", + "symbol": "atan2", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setData", - "description": "Associates some data with the current transaction branch.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setData({accessType: \"RO\"});\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setData({accessType: \"RO\"});\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "sinh", + "description": "Returns the hyperbolic sine of a float value.\n\nCorresponds to IEEE sinh operation.\n\n```ballerina\nfloat f = 0.71;\nf.sinh() ⇒ 0.7711735305928927\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "setData", + "module": "lang.float", + "symbol": "sinh", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getData", - "description": "Retrieves data associated with the current transaction branch.\n\nThe data is set using `setData`.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:setData({accessType: \"RO\"});\n transaction:getData() ⇒ {\"accessType\":\"RO\"}\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:setData({accessType: \"RO\"});\n transaction:getData() ⇒ {\"accessType\":\"RO\"}\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "cosh", + "description": "Returns the hyperbolic cosine of a float value.\n\nCorresponds to IEEE cosh operation.\n\n```ballerina\nfloat f = 0.52;\nf.cosh() ⇒ 1.1382740988345403\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "getData", + "module": "lang.float", + "symbol": "cosh", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "onCommit", - "description": "Adds a handler to be called if and when the global transaction commits.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:onCommit(onCommitHandle);\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:onCommit(onCommitHandle);\n}\nisolated function onCommitHandle(transaction:Info info) {\n // Include the code to be executed when the transaction commits.\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "tanh", + "description": "Returns the hyperbolic tangent of a float value.\n\nCorresponds to IEEE tanh operation.\n\n```ballerina\nfloat f = 0.9;\nf.tanh() ⇒ 0.7162978701990245\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "onCommit", + "module": "lang.float", + "symbol": "tanh", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "onRollback", - "description": "Adds a handler to be called if and when the global transaction rolls back.\n\n```ballerina\nfunction createEntity() returns error? {\n transaction {\n transaction:onRollback(onRollBackHandle);\n check commit;\n }\n}\ntransactional function updateDB() {\n transaction:onRollback(onRollBackHandle);\n}\nisolated function onRollBackHandle(transaction:Info info, error? cause, boolean willRetry) {\n // Include the code to be executed when the transaction rollback.\n}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.transaction_0.0.0.png" + "label": "fromString", + "description": "Returns the float value represented by a string.\n\nparameter `s` must follow the syntax of DecimalFloatingPointNumber as defined by the Ballerina specification\nwith the following modifications\n- the DecimalFloatingPointNumber may have a leading `+` or `-` sign\n- `NaN` is allowed\n- `Infinity` is allowed with an optional leading `+` or `-` sign\n- a FloatingPointTypeSuffix is not allowed\nThis is the inverse of function ``value:toString`` applied to an `float`.\n\n```ballerina\nfloat:fromString(\"0.2453\") ⇒ 0.2453\nfloat:fromString(\"-10\") ⇒ -10.0\nfloat:fromString(\"123f\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.transaction", - "symbol": "onRollback", + "module": "lang.float", + "symbol": "fromString", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "editoolspackage", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_editoolspackage_2.0.3.png" - }, - "items": [ + }, { "metadata": { - "label": "main", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_editoolspackage_2.0.3.png" + "label": "toHexString", + "description": "Returns a string that represents a float value as a hexadecimal floating point number.\n\nThe returned string will comply to the grammar of HexFloatingPointLiteral\nin the Ballerina spec with the following modifications:\n- it will have a leading `-` sign if negative\n- positive infinity will be represented by `Infinity`\n- negative infinity will be represented by `-Infinity`\n- NaN will be represented by `NaN`\nThe representation includes `0x` for finite numbers.\n\n```ballerina\nfloat f = -10.2453;\nf.toHexString() ⇒ -0x1.47d97f62b6ae8p3\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "editoolspackage", - "symbol": "main", - "version": "2.0.3" + "module": "lang.float", + "symbol": "toHexString", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.typedesc", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.typedesc_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "typeIds", - "description": "Returns the type-ids induced by a typedesc value.\n\n```ballerina\ntype Error distinct error;\ntype SampleError distinct (Error & error);\nError.typeIds() ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"Error\"}]\nSampleError.typeIds() ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"SampleError\"},{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"Error\"}]\nSampleError.typeIds(true) ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"SampleError\"}]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.typedesc_0.0.0.png" + "label": "fromHexString", + "description": "Return the float value represented by a string.\n\nparameter `s` must follow the syntax of HexFloatingPointLiteral as defined by the Ballerina specification\nwith the following modifications\n- the HexFloatingPointLiteral may have a leading `+` or `-` sign\n- `NaN` is allowed\n- `Infinity` is allowed with an optional leading `+` or `-` sign\n\n```ballerina\nfloat:fromHexString(\"0x1.0a3d70a3d70a4p4\") ⇒ 16.64\nfloat:fromHexString(\"0x1J\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.typedesc", - "symbol": "typeIds", + "module": "lang.float", + "symbol": "fromHexString", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.regexp", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "find", - "description": "Returns the first match of a regular expression within a string.\n\n```ballerina\nstring:RegExp r = re `World`;\nr.find(\"Not A Match\") is () ⇒ true\nr.find(\"Hello World\") is regexp:Span ⇒ true\nr.find(\"Hello World\", 6) is regexp:Span ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "toBitsInt", + "description": "Returns IEEE 64-bit binary floating point format representation of a float value as an int.\n\n```ballerina\nfloat f = 4.16;\nf.toBitsInt() ⇒ 4616369762039853220\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "find", + "module": "lang.float", + "symbol": "toBitsInt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "findGroups", - "description": "Returns the `Groups` for the first match of a regular expression within a string.\n\n```ballerina\nstring:RegExp r = re `([bB].tt[a-z]*)`;\nr.findGroups(\"Not A Match\") is () ⇒ true\nr.findGroups(\"Butter was bought by Betty but the butter was bitter.\") is regexp:Groups ⇒ true\nr.findGroups(\"Butter was bought by Betty but the butter was bitter.\", 7) is regexp:Groups ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "fromBitsInt", + "description": "Returns the float that is represented in IEEE 64-bit floating point by an int.\n\nAll bit patterns that IEEE defines to be NaNs will all be mapped to the single float NaN value.\n\n```ballerina\nfloat:fromBitsInt(4) ⇒ 2.0E-323\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "findGroups", + "module": "lang.float", + "symbol": "fromBitsInt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "findAll", - "description": "Returns a list of all the matches of a regular expression within a string.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the list of matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `[bB].tt[a-z]*`;\nr.findAll(\"Not A Match\").length() ⇒ 0\nr.findAll(\"Butter was bought by Betty but the butter was bitter.\").length() ⇒ 4\nr.findAll(\"Butter was bought by Betty but the butter was bitter.\", 7).length() ⇒ 3\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "toFixedString", + "description": "Returns a string that represents `x` using fixed-point notation.\nThe returned string will be in the same format used by `value:toString`,\nexcept that it will not include an exponent.\nIf `x` is NaN or infinite, the result will be the same as `value:toString`.\nThis will panic if `fractionDigits` is less than 0.\nIf `fractionDigits` is zero, there will be no decimal point.\nAny necessary rounding will use the roundTiesToEven rounding direction.\n\n```ballerina\nfloat f = 12.456;\nf.toFixedString(2) ⇒ 12.46\nfloat g = 12.456;\ng.toFixedString(0) ⇒ 12\nfloat h = 12.456;\nh.toFixedString(-3) ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "findAll", + "module": "lang.float", + "symbol": "toFixedString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "findAllGroups", - "description": "Returns the `Groups` of all the matches of a regular expression within a string.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the list of matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `(([a-z]u)(bble))`;\nr.findAllGroups(\"Not A Match\").length() ⇒ 0\nr.findAllGroups(\"rubble, trouble, bubble, hubble\").length() ⇒ 3\nr.findAllGroups(\"rubble, trouble, bubble, hubble\", 7).length() ⇒ 2\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "toExpString", + "description": "Returns a string that represents `x` using scientific notation.\nThe returned string will be in the same format used by `value:toString`,\nexcept that it will always include an exponent and there will be exactly\none digit before the decimal point.\nBut if `x` is NaN or infinite, the result will be the same as `value:toString`.\nThe digit before the decimal point will be zero only if all other digits\nare zero.\nThis will panic if `fractionDigits` is less than 0.\nIf `fractionDigits` is zero, there will be no decimal point.\nAny necessary rounding will use the roundTiesToEven rounding direction.\nThe exponent in the result uses lower-case `e`, followed by a `+` or `-` sign,\nfollowed by at least two digits, and only as many more digits as are needed\nto represent the result. If `x` is zero, the exponent is zero. A zero exponent\nis represented with a `+` sign.\n\n```ballerina\nfloat f = 12.456;\nf.toExpString(2) ⇒ 1.25e+1\nfloat g = 12.456;\ng.toExpString(()) ⇒ 1.2456e+1\nfloat h = 12.456;\nh.toExpString(-2) ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "findAllGroups", + "module": "lang.float", + "symbol": "toExpString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "matchAt", - "description": "Tests whether there is a match of a regular expression at a specific index in the string.\n\n```ballerina\nstring:RegExp r = re `World`;\nr.matchAt(\"Hello World\") is () ⇒ true\nr.matchAt(\"Hello World\", 6) is regexp:Span ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "avg", + "description": "Returns the average of its arguments.\nReturn NaN if there are no arguments,\n\n```ballerina\nfloat:avg(2, 2) ⇒ 2.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "matchAt", + "module": "lang.float", + "symbol": "avg", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.typedesc", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.typedesc_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "matchGroupsAt", - "description": "Returns the `Groups` of the match of a regular expression at a specific index in the string.\n\n```ballerina\nstring:RegExp r = re `([01][0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])?`;\nr.matchGroupsAt(\"time: 14:35:59\") is () ⇒ true\nr.matchGroupsAt(\"time: 14:35:59\", 6) is regexp:Groups ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "typeIds", + "description": "Returns the type-ids induced by a typedesc value.\n\n```ballerina\ntype Error distinct error;\ntype SampleError distinct (Error & error);\nError.typeIds() ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"Error\"}]\nSampleError.typeIds() ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"SampleError\"},{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"Error\"}]\nSampleError.typeIds(true) ⇒ [{\"moduleId\":{\"organization\":\"$anon\",\"name\":\".\",\"platformParts\":[\"0\"]},\"localId\":\"SampleError\"}]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.typedesc_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "matchGroupsAt", + "module": "lang.typedesc", + "symbol": "typeIds", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "mime", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + }, + "items": [ { "metadata": { - "label": "isFullMatch", - "description": "Tests whether there is full match of regular expression with a string.\nA match of a regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\n\n```ballerina\nstring:RegExp r = re `A|Th.*ch|^`;\nr.isFullMatch(\"This is a Match\") ⇒ true\nr.isFullMatch(\"Not a complete Match\") ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "base64Encode", + "description": "Encodes a given input with MIME specific Base64 encoding scheme.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "isFullMatch", - "version": "0.0.0" + "module": "mime", + "symbol": "base64Encode", + "version": "2.10.1" }, "enabled": true }, { "metadata": { - "label": "fullMatchGroups", - "description": "Returns the `Groups` of the match of a regular expression that is a full match of a string.\nA match of the regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\n\n```ballerina\nstring:RegExp r = re `([0-9]+)×([0-9]+)`;\nr.fullMatchGroups(\"test: 1440×900\") is () ⇒ true\nr.fullMatchGroups(\"1440×900\") is regexp:Groups ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "base64Decode", + "description": "Decodes a given input with MIME specific Base64 encoding scheme.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "fullMatchGroups", - "version": "0.0.0" + "module": "mime", + "symbol": "base64Decode", + "version": "2.10.1" }, "enabled": true }, { "metadata": { - "label": "replace", - "description": "Replaces the first match of a regular expression.\n\n```ballerina\nstring:RegExp r = re `0+`;\nr.replace(\"10010011\", \"*\") ⇒ 1*10011\nr.replace(\"10010011\", \"*\", 4) ⇒ 1001*11\nr.replace(\"122111\", \"*\") ⇒ 122111\nr.replace(\"10010011\", replaceFunction) ⇒ 1*10011\nr.replace(\"10010011\", replaceFunction, 4) ⇒ 1001*11\nisolated function replaceFunction(regexp:Groups groups) returns string => \"*\";\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "base64EncodeBlob", + "description": "Encodes a given byte[] using the Base64 encoding scheme.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "replace", - "version": "0.0.0" + "module": "mime", + "symbol": "base64EncodeBlob", + "version": "2.10.1" }, "enabled": true }, { "metadata": { - "label": "replaceAll", - "description": "Replaces all matches of a regular expression.\nAfter one match is found, it looks for the next match starting where the previous\nmatch ended, so the matches will be non-overlapping.\n\n```ballerina\nstring:RegExp r = re `0+`;\nr.replaceAll(\"10010011\", \"*\") ⇒ 1*1*11\nr.replaceAll(\"10010011\", \"*\", 4) ⇒ 1001*11\nr.replaceAll(\"122111\", \"*\") ⇒ 122111\nr.replaceAll(\"10010011\", replaceFunction) ⇒ 121211\nr.replaceAll(\"10010011\", replaceFunction, 4) ⇒ 1001211\nisolated function replaceFunction(regexp:Groups groups) returns string => groups[0].substring().length().toString();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "base64DecodeBlob", + "description": "Decodes a given byte[] using the Base64 encoding scheme.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "replaceAll", - "version": "0.0.0" + "module": "mime", + "symbol": "base64DecodeBlob", + "version": "2.10.1" }, "enabled": true }, { "metadata": { - "label": "split", - "description": "Splits a string into substrings separated by matches of a regular expression.\nThis finds the the non-overlapping matches of a regular expression and\nreturns a list of substrings of `str` that occur before the first match,\nbetween matches, or after the last match. If there are no matches, then\n`[str]` will be returned.\n\n```ballerina\nstring:RegExp r = re `,`;\nr.split(\"abc,cde,efg\") ⇒ [\"abc\",\"cde\",\"efg\"]\nr.split(\"abc cde efg\") ⇒ [\"abc cde efg\"]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "getMediaType", + "description": "Gets the `MediaType` object populated with it when the `Content-Type` is in string.\n```ballerina\nmime:MediaType|mime:InvalidContentTypeError returnVal = getMediaType(\"custom-header\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "split", - "version": "0.0.0" + "module": "mime", + "symbol": "getMediaType", + "version": "2.10.1" }, "enabled": true }, { "metadata": { - "label": "fromString", - "description": "Constructs a regular expression from a string.\nThe syntax of the regular expression is the same as accepted by the `re` tagged data template expression.\n\n```ballerina\nregexp:fromString(\"AB+C*D{1,4}\") ⇒ re `AB+C*D{1,4}`\nregexp:fromString(\"AB+^*\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.regexp_0.0.0.png" + "label": "getContentDispositionObject", + "description": "Given the Content-Disposition as a string, gets the `ContentDisposition` object with it.\n```ballerina\nmime:ContentDisposition cDisposition = getContentDispositionObject(\"form-data; name=filepart; filename=file-01.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.regexp", - "symbol": "fromString", - "version": "0.0.0" + "module": "mime", + "symbol": "getContentDispositionObject", + "version": "2.10.1" }, "enabled": true } @@ -1781,232 +1943,289 @@ }, { "metadata": { - "label": "test", + "label": "lang.runtime", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "items": [ { "metadata": { - "label": "registerTest", - "description": "Register a test function to run. This function is intended for internal use only.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "registerListener", + "description": "Registers a listener object with a module.\n\nThe listener becomes a module listener of the module from which this\nfunction is called.\n\n```ballerina\nruntime:DynamicListener ln = object {\n public function 'start() returns error? {}\n public function gracefulStop() returns error? {}\n public function immediateStop() returns error? {}\n};\nruntime:registerListener(ln);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "registerTest", + "module": "lang.runtime", + "symbol": "registerListener", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createBallerinaError", - "description": "Creates an `AssertError` with the custom message and category.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "deregisterListener", + "description": "Deregisters a listener from a module.\n\nThe `listener` ceases to be a module listener of the module from\nwhich this function is called.\n\n```ballerina\nruntime:DynamicListener ln = object {\n public function 'start() returns error? {}\n public function gracefulStop() returns error? {}\n public function immediateStop() returns error? {}\n};\nruntime:deregisterListener(ln);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "createBallerinaError", + "module": "lang.runtime", + "symbol": "deregisterListener", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "assertTrue", - "description": "Asserts whether the given condition is true. If it is not, a AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertTrue() {\n boolean value = false;\n test:assertTrue(value, msg = \"AssertTrue failed\");\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "sleep", + "description": "Halts the current strand for a predefined amount of time.\n\n```ballerina\nruntime:sleep(5);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertTrue", + "module": "lang.runtime", + "symbol": "sleep", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "assertFalse", - "description": "Asserts whether the given condition is false. If it is not, a AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertFalse() {\n boolean value = false;\n test:assertFalse(value, msg = \"AssertFalse failed\");\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "getStackTrace", + "description": "Returns a stack trace for the current call stack.\n\n```ballerina\nruntime:StackFrame[] stackTrace = runtime:getStackTrace();\n```\n\nThe first member of the array represents the top of the call stack.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertFalse", + "module": "lang.runtime", + "symbol": "getStackTrace", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "assertEquals", - "description": "Asserts whether the given values are equal. If it is not, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n@test:Config {}\n function testAssertIntEquals() {\n int answer = intAdd(5, 3);\n test:assertEquals(answer, 8, msg = \"IntAdd function failed\");\n }\n function intAdd(int a, int b) returns (int) {\n return (a + b);\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "onGracefulStop", + "description": "Registers a function that will be called during graceful shutdown.\nA call to `onGracefulStop` will result in one call to the handler function\nthat was passed as an argument; the handler functions will be called\nafter calling `gracefulStop` on all registered listeners,\nin reverse order of the corresponding calls to `onGracefulStop`.\n\n```ballerina\nruntime:onGracefulStop(function() returns error? {});\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertEquals", + "module": "lang.runtime", + "symbol": "onGracefulStop", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "wsdltool", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_wsdltool_0.1.0.png" + }, + "items": [ { "metadata": { - "label": "assertNotEquals", - "description": "Asserts whether the given values are not equal. If it is equal, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertIntEquals() {\n int answer = intAdd(5, 3);\n test:assertNotEquals(answer, 8, msg = \"Matches\");\n }\n function intAdd(int a, int b) returns (int) {\n return (a + b);\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "main", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_wsdltool_0.1.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertNotEquals", - "version": "0.0.0" + "module": "wsdltool", + "symbol": "main", + "version": "0.1.0" + }, + "enabled": true + } + ] + }, + { + "metadata": { + "label": "toml", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + }, + "items": [ + { + "metadata": { + "label": "readString", + "description": "Parses a Ballerina string of TOML content into a Ballerina map object.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "toml", + "symbol": "readString", + "version": "0.6.0" }, "enabled": true }, { "metadata": { - "label": "assertExactEquals", - "description": "Asserts whether the given values are exactly equal. If it is not, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n class Person {\n public string name = \"\";\n public int age = 0;\n public Person? parent = ();\n private string email = \"default@abc.com\";\n string address = \"No 20, Palm grove\";\n }\n @test:Config {}\n function testAssertExactEqualsObject() {\n Person p1 = new;\n Person p2 = p1;\n test:assertExactEquals(p1, p2, msg = \"Objects are not exactly equal\");\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "readFile", + "description": "Parses a TOML file into a Ballerina map object.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertExactEquals", - "version": "0.0.0" + "module": "toml", + "symbol": "readFile", + "version": "0.6.0" }, "enabled": true }, { "metadata": { - "label": "assertNotExactEquals", - "description": "Asserts whether the given values are not exactly equal. If it is equal, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\nclass Person {\n public string name = \"\";\n public int age = 0;\n public Person? parent = ();\n private string email = \"default@abc.com\";\n string address = \"No 20, Palm grove\";\n }\n @test:Config {}\n function testAssertNotExactEqualsObject() {\n Person p1 = new;\n Person p2 = new ();\n test:assertNotExactEquals(p1, p2, msg = \"Objects are exactly equal\");\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "writeString", + "description": "Converts the TOML structure to an array of strings.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertNotExactEquals", - "version": "0.0.0" + "module": "toml", + "symbol": "writeString", + "version": "0.6.0" }, "enabled": true }, { "metadata": { - "label": "assertFail", - "description": "Assert failure is triggered based on your discretion. AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function foo() {\n error? e = trap bar(); // Expecting `bar()` to panic\n if e is error {\n test:assertEquals(e.message().toString(), \"Invalid Operation\", msg = \"Invalid error reason\");\n } else {\n test:assertFail(msg = \"Expected an error\");\n }\n }\n function bar() {\n panic error(\"Invalid Operation\");\n }\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "writeFile", + "description": "Writes the TOML structure to a file.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "assertFail", + "module": "toml", + "symbol": "writeFile", + "version": "0.6.0" + }, + "enabled": true + } + ] + }, + { + "metadata": { + "label": "lang.stream", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + }, + "items": [ + { + "metadata": { + "label": "'map", + "description": "Applies a function to each member of a stream and returns a stream of the results.\n\n```ballerina\nstream ms = [14.5f, 45.5f, 6.8f, 4f].toStream();\nstream cms = ms.map(m => m * 100.0);\ncms.next() ⇒ {\"value\":1450.0}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.stream", + "symbol": "'map", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "startSuite", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "filter", + "description": "Selects the members from a stream for which a function returns true.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.filter(score => score > 50).next() ⇒ {\"value\":60}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "startSuite", + "module": "lang.stream", + "symbol": "filter", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "split", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "next", + "description": "Returns the next element in the stream wrapped in a record or () if the stream ends.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.next() ⇒ {\"value\":45}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "split", + "module": "lang.stream", + "symbol": "next", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setTestOptions", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "reduce", + "description": "Combines the members of a stream using a combining function.\n\nThe combining function takes the combined value so far and a member of the stream,\nand returns a new combined value.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.reduce(isolated function (int total, int score) returns int => total + score, 0) ⇒ 300\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "setTestOptions", + "module": "lang.stream", + "symbol": "reduce", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "prepare", - "description": "Prepares a provided default mock object for stubbing.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "forEach", + "description": "Applies a function to each member of a stream.\n\nThe parameter `func` is applied to each member of parameter `stm` stream in order.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nint total = 0;\nscores.forEach(function(int score) {\n total += score;\n});\ntotal ⇒ 300\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "prepare", + "module": "lang.stream", + "symbol": "forEach", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "when", - "description": "Objects and functions related to function mocking\nAllows a function to stub.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "iterator", + "description": "Returns an iterator over a stream.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nobject {\n public isolated function next() returns record {|int value;|}?;\n} iterator = scores.iterator();\niterator.next() ⇒ {\"value\":45}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "when", + "module": "lang.stream", + "symbol": "iterator", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "mock", - "description": "Creates a mock object of provided type description.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + "label": "close", + "description": "Closes a stream.\n\nThis releases any system resources being used by the stream.\nClosing a stream that has already been closed has no effect and returns `()`.\n\n```ballerina\nstream strm = new;\ncheck strm.close();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "test", - "symbol": "mock", + "module": "lang.stream", + "symbol": "close", "version": "0.0.0" }, "enabled": true @@ -2015,97 +2234,106 @@ }, { "metadata": { - "label": "jballerina.java", + "label": "math.vector", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "items": [ { "metadata": { - "label": "fromString", - "description": "Returns a `handle`, which refers to the Java string representation of the Ballerina `string`.\n```ballerina\nhandle header = java:fromString(\"Content-Type\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "vectorNorm", + "description": "Calculates the L1 and L2 norm of a float vector.\n\n```ballerina\nfloat[] v = [1.0, 2.0, 3.0];\nvectorNorm(v, vector:L2) ⇒ 3.7416573867739413\nvectorNorm(v, vector:L1) ⇒ 6.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "fromString", - "version": "0.0.0" + "module": "math.vector", + "symbol": "vectorNorm", + "version": "1.0.2" }, "enabled": true }, { "metadata": { - "label": "toString", - "description": "Returns a Ballerina `string` representation of the Java object referred by the `handle`.\nIf the `handle` refers to Java null, then this function returns a `nil` value.\n```ballerina\nstring? version = java:toString(versionProperty);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "dotProduct", + "description": "Calculates the dot product of two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\ndotProduct(v1, v2) ⇒ 32.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "toString", - "version": "0.0.0" + "module": "math.vector", + "symbol": "dotProduct", + "version": "1.0.2" }, "enabled": true }, { "metadata": { - "label": "isNull", - "description": "Returns `true` if this handle refers to Java null.\n```ballerina\nboolean status = java:isNull(value);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "cosineSimilarity", + "description": "Calculates the cosine similarity between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\ncosineSimilarity(v1, v2) ⇒ 0.9746318461970762\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "isNull", - "version": "0.0.0" + "module": "math.vector", + "symbol": "cosineSimilarity", + "version": "1.0.2" }, "enabled": true }, { "metadata": { - "label": "createNull", - "description": "Returns a `handle`, which refers to Java null.\n```ballerina\nhandle nullHandle = java:createNull();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "euclideanDistance", + "description": "Calculates the Euclidean distance between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\neuclideanDistance(v1, v2) ⇒ 5.196152422706632\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "createNull", - "version": "0.0.0" + "module": "math.vector", + "symbol": "euclideanDistance", + "version": "1.0.2" }, "enabled": true }, { "metadata": { - "label": "getClass", - "description": "Returns a `handle`, which refers to the Java Class object associated with the class or interface with the given\nstring name.\n```ballerina\nhandle|error intClass = java:getClass(\"int\");\n```\n\nThis function performs a Java `class.forName(name)` except for the following cases:\n\n| Name | Output |\n|:---------|:--------------------------------------------------------------|\n| boolean | Java Class instance representing the primitive type boolean |\n| byte | Java Class instance representing the primitive type byte |\n| char | Java Class instance representing the primitive type char |\n| short | Java Class instance representing the primitive type short |\n| int | Java Class instance representing the primitive type int |\n| long | Java Class instance representing the primitive type long |\n| float | Java Class instance representing the primitive type float |\n| double | Java Class instance representing the primitive type double |\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "manhattanDistance", + "description": "Calculates the Manhattan distance between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\nmanhattanDistance(v1, v2) ⇒ 9.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "getClass", - "version": "0.0.0" + "module": "math.vector", + "symbol": "manhattanDistance", + "version": "1.0.2" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.function", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.function_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "cast", - "description": "Performs a Java cast operation on a value.\nThis casts a value describing a `JObject` to a type describing a `JObject` based on Java assignability,\nreturns an error if the cast cannot be done.\n```ballerina\nFileInputStream|error obj = java:cast(inputStream);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + "label": "call", + "description": "Calls a function dynamically.\n\nIf the arguments specified in `args` are not of the type required by `func`,\nthen this will panic.\n\n```ballerina\nfunction getGreeting(string? name = ()) returns string => name is () ? \"Hello\" : string `Hello ${name}!`;\nfunction:call(getGreeting) ⇒ Hello\nfunction:call(getGreeting, \"David\") ⇒ Hello David!\nfunction:call(getGreeting, 1) ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.function_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jballerina.java", - "symbol": "cast", + "module": "lang.function", + "symbol": "call", "version": "0.0.0" }, "enabled": true @@ -2114,665 +2342,650 @@ }, { "metadata": { - "label": "lang.stream", + "label": "lang.string", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "items": [ { "metadata": { - "label": "'map", - "description": "Applies a function to each member of a stream and returns a stream of the results.\n\n```ballerina\nstream ms = [14.5f, 45.5f, 6.8f, 4f].toStream();\nstream cms = ms.map(m => m * 100.0);\ncms.next() ⇒ {\"value\":1450.0}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "length", + "description": "Returns the length of the string.\n\n```ballerina\n\"Hello, World!\".length() ⇒ 13;\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "'map", + "module": "lang.string", + "symbol": "length", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "filter", - "description": "Selects the members from a stream for which a function returns true.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.filter(score => score > 50).next() ⇒ {\"value\":60}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "iterator", + "description": "Returns an iterator over the string.\n\nThe iterator will yield the substrings of length 1 in order.\n\n```ballerina\nobject {\n public isolated function next() returns record {|string:Char value;|}?;\n} iterator = \"Hello, World!\".iterator();\niterator.next() ⇒ {\"value\":\"H\"}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "filter", + "module": "lang.string", + "symbol": "iterator", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "next", - "description": "Returns the next element in the stream wrapped in a record or () if the stream ends.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.next() ⇒ {\"value\":45}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "concat", + "description": "Concatenates zero or more strings.\n\n```ballerina\n\"http://worldtimeapi.org\".concat(\"/api/timezone/\", \"Asia\", \"/\", \"Colombo\") ⇒ http://worldtimeapi.org/api/timezone/Asia/Colombo\n// Alternative approach to achieve the same.\nstring:concat(\"http://worldtimeapi.org\", \"/api/timezone/\", \"Asia\", \"/\", \"Colombo\") ⇒ http://worldtimeapi.org/api/timezone/Asia/Colombo\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "next", + "module": "lang.string", + "symbol": "concat", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "reduce", - "description": "Combines the members of a stream using a combining function.\n\nThe combining function takes the combined value so far and a member of the stream,\nand returns a new combined value.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nscores.reduce(isolated function (int total, int score) returns int => total + score, 0) ⇒ 300\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "getCodePoint", + "description": "Returns the code point of a character in a string.\n\n```ballerina\n\"Hello, World!\".getCodePoint(3) ⇒ 108\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "reduce", + "module": "lang.string", + "symbol": "getCodePoint", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "forEach", - "description": "Applies a function to each member of a stream.\n\nThe parameter `func` is applied to each member of parameter `stm` stream in order.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nint total = 0;\nscores.forEach(function(int score) {\n total += score;\n});\ntotal ⇒ 300\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "substring", + "description": "Returns a substring of a string.\n\n```ballerina\n\"Hello, my name is John\".substring(7) ⇒ my name is John\n\"Hello, my name is John Anderson\".substring(18, 22) ⇒ John\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "forEach", + "module": "lang.string", + "symbol": "substring", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "iterator", - "description": "Returns an iterator over a stream.\n\n```ballerina\nstream scores = [45, 60, 75, 30, 90].toStream();\nobject {\n public isolated function next() returns record {|int value;|}?;\n} iterator = scores.iterator();\niterator.next() ⇒ {\"value\":45}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "codePointCompare", + "description": "Lexicographically compares strings using their Unicode code points.\n\nThis orders strings in a consistent and well-defined way,\nbut the ordering will often not be consistent with cultural expectations\nfor sorted order.\n\n```ballerina\n\"Austria\".codePointCompare(\"Australia\") ⇒ 1\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "iterator", + "module": "lang.string", + "symbol": "codePointCompare", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "close", - "description": "Closes a stream.\n\nThis releases any system resources being used by the stream.\nClosing a stream that has already been closed has no effect and returns `()`.\n\n```ballerina\nstream strm = new;\ncheck strm.close();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.stream_0.0.0.png" + "label": "'join", + "description": "Joins zero or more strings together with a separator.\n\n```ballerina\nstring:'join(\" \", \"Ballerina\", \"is\", \"a\", \"programming\", \"language\") ⇒ Ballerina is a programming language\nstring[] array = [\"John\", \"23\", \"USA\", \"Computer Science\", \"Swimmer\"];\nstring:'join(\",\", ...array) ⇒ John,23,USA,Computer Science,Swimmer\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.stream", - "symbol": "close", + "module": "lang.string", + "symbol": "'join", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.runtime", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "registerListener", - "description": "Registers a listener object with a module.\n\nThe listener becomes a module listener of the module from which this\nfunction is called.\n\n```ballerina\nruntime:DynamicListener ln = object {\n public function 'start() returns error? {}\n public function gracefulStop() returns error? {}\n public function immediateStop() returns error? {}\n};\nruntime:registerListener(ln);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" + "label": "indexOf", + "description": "Finds the first occurrence of one string in another string.\n\n```ballerina\n\"New Zealand\".indexOf(\"land\") ⇒ 7\n\"Ballerinalang is a unique programming language\".indexOf(\"lang\", 15) ⇒ 38\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.runtime", - "symbol": "registerListener", + "module": "lang.string", + "symbol": "indexOf", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "deregisterListener", - "description": "Deregisters a listener from a module.\n\nThe `listener` ceases to be a module listener of the module from\nwhich this function is called.\n\n```ballerina\nruntime:DynamicListener ln = object {\n public function 'start() returns error? {}\n public function gracefulStop() returns error? {}\n public function immediateStop() returns error? {}\n};\nruntime:deregisterListener(ln);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" + "label": "lastIndexOf", + "description": "Finds the last occurrence of one string in another string.\n\n```ballerina\n\"Ballerinalang is a unique programming language\".lastIndexOf(\"lang\") ⇒ 38\n// Search backwards for the last occurrence of a string from a specific index.\n\"Ballerinalang is a unique programming language\".lastIndexOf(\"lang\", 15) ⇒ 9\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.runtime", - "symbol": "deregisterListener", + "module": "lang.string", + "symbol": "lastIndexOf", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "sleep", - "description": "Halts the current strand for a predefined amount of time.\n\n```ballerina\nruntime:sleep(5);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" + "label": "includes", + "description": "Tests whether a string includes another string.\n\n```ballerina\n\"Hello World, from Ballerina\".includes(\"Bal\") ⇒ true\n\"Hello World! from Ballerina\".includes(\"Hello\", 10) ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.runtime", - "symbol": "sleep", + "module": "lang.string", + "symbol": "includes", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getStackTrace", - "description": "Returns a stack trace for the current call stack.\n\n```ballerina\nruntime:StackFrame[] stackTrace = runtime:getStackTrace();\n```\n\nThe first member of the array represents the top of the call stack.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" + "label": "startsWith", + "description": "Tests whether a string starts with another string.\n\n```ballerina\n\"Welcome to the Ballerina programming language\".startsWith(\"Welcome\") ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.runtime", - "symbol": "getStackTrace", + "module": "lang.string", + "symbol": "startsWith", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "onGracefulStop", - "description": "Registers a function that will be called during graceful shutdown.\nA call to `onGracefulStop` will result in one call to the handler function\nthat was passed as an argument; the handler functions will be called\nafter calling `gracefulStop` on all registered listeners,\nin reverse order of the corresponding calls to `onGracefulStop`.\n\n```ballerina\nruntime:onGracefulStop(function() returns error? {});\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.runtime_0.0.0.png" + "label": "endsWith", + "description": "Tests whether a string ends with another string.\n\n```ballerina\n\"Welcome to the Ballerina programming language\".endsWith(\"language\") ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.runtime", - "symbol": "onGracefulStop", + "module": "lang.string", + "symbol": "endsWith", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.boolean", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "fromString", - "description": "Converts a string to a boolean.\n\nReturns the boolean of which parameter `s` is a string representation.\nThe accepted representations are `true`, `false`\n(in any combination of lower- and upper-case),\nand also `1` for true and `0` for `false`.\nThis is the inverse of function ``value:toString`` applied to a `boolean`.\n\n```ballerina\nboolean:fromString(\"true\") ⇒ true\nboolean:fromString(\"0\") ⇒ false\nboolean:fromString(\"01\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" + "label": "toLowerAscii", + "description": "Converts occurrences of A-Z to a-z.\n\nOther characters are left unchanged.\n\n```ballerina\n\"HELLO, World!\".toLowerAscii() ⇒ hello, world!\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.boolean", - "symbol": "fromString", + "module": "lang.string", + "symbol": "toLowerAscii", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "some", - "description": "Returns true if one or more of its arguments are true and false otherwise.\nIn particular, it returns false if there are no arguments.\n\n```ballerina\nboolean:some(true, false) ⇒ true\nboolean:some(false, false) ⇒ false\nboolean:some() ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" + "label": "toUpperAscii", + "description": "Converts occurrences of a-z to A-Z.\n\nOther characters are left unchanged.\n\n```ballerina\n\"hello, World!\".toUpperAscii() ⇒ HELLO, WORLD!\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.boolean", - "symbol": "some", + "module": "lang.string", + "symbol": "toUpperAscii", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "every", - "description": "Returns true if all of its arguments are true and false otherwise.\nIn particular, it returns true if there are no arguments.\n\n```ballerina\nboolean:every(true, false) ⇒ false\nboolean:every(true, true) ⇒ true\nboolean:every() ⇒ true \n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" + "label": "equalsIgnoreCaseAscii", + "description": "Tests whether two strings are the same, ignoring the case of ASCII characters.\n\nA character in the range a-z is treated the same as the corresponding character in the range A-Z.\n\n```ballerina\n\"BALLERINA\".equalsIgnoreCaseAscii(\"ballerina\") ⇒ true\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.boolean", - "symbol": "every", + "module": "lang.string", + "symbol": "equalsIgnoreCaseAscii", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.string", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "length", - "description": "Returns the length of the string.\n\n```ballerina\n\"Hello, World!\".length() ⇒ 13;\n```\n", + "label": "trim", + "description": "Removes ASCII white space characters from the start and end of a string.\n\nThe ASCII white space characters are 0x9...0xD, 0x20.\n\n```ballerina\n\" Hello World \".trim() + \"!\" ⇒ Hello World!\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "length", + "symbol": "trim", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "iterator", - "description": "Returns an iterator over the string.\n\nThe iterator will yield the substrings of length 1 in order.\n\n```ballerina\nobject {\n public isolated function next() returns record {|string:Char value;|}?;\n} iterator = \"Hello, World!\".iterator();\niterator.next() ⇒ {\"value\":\"H\"}\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "toBytes", + "description": "Represents a string as an array of bytes using UTF-8.\n\n```ballerina\n\"Hello, World!\".toBytes() ⇒ [72,101,108,108,111,44,32,87,111,114,108,100,33]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "iterator", + "symbol": "toBytes", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "concat", - "description": "Concatenates zero or more strings.\n\n```ballerina\n\"http://worldtimeapi.org\".concat(\"/api/timezone/\", \"Asia\", \"/\", \"Colombo\") ⇒ http://worldtimeapi.org/api/timezone/Asia/Colombo\n// Alternative approach to achieve the same.\nstring:concat(\"http://worldtimeapi.org\", \"/api/timezone/\", \"Asia\", \"/\", \"Colombo\") ⇒ http://worldtimeapi.org/api/timezone/Asia/Colombo\n```\n", + "label": "fromBytes", + "description": "Constructs a string from its UTF-8 representation in bytes.\n\n```ballerina\nstring:fromBytes([72, 101, 108, 108, 111, 32, 66, 97, 108, 108, 101, 114, 105, 110, 97, 33]) ⇒ Hello, World!\nstring:fromBytes([149, 169, 224]) ⇒ error\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "concat", + "symbol": "fromBytes", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getCodePoint", - "description": "Returns the code point of a character in a string.\n\n```ballerina\n\"Hello, World!\".getCodePoint(3) ⇒ 108\n```\n", + "label": "toCodePointInts", + "description": "Converts a string to an array of code points.\n\n```ballerina\n\"Hello, world 🌎\".toCodePointInts() ⇒ [72,101,108,108,111,44,32,119,111,114,108,100,32,127758]\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "getCodePoint", + "symbol": "toCodePointInts", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "substring", - "description": "Returns a substring of a string.\n\n```ballerina\n\"Hello, my name is John\".substring(7) ⇒ my name is John\n\"Hello, my name is John Anderson\".substring(18, 22) ⇒ John\n```\n", + "label": "toCodePointInt", + "description": "Converts a single character string to a code point.\n\n```ballerina\nstring:toCodePointInt(\"a\") ⇒ 97\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "substring", + "symbol": "toCodePointInt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "codePointCompare", - "description": "Lexicographically compares strings using their Unicode code points.\n\nThis orders strings in a consistent and well-defined way,\nbut the ordering will often not be consistent with cultural expectations\nfor sorted order.\n\n```ballerina\n\"Austria\".codePointCompare(\"Australia\") ⇒ 1\n```\n", + "label": "fromCodePointInts", + "description": "Constructs a string from an array of code points.\n\nAn int is a valid code point if it is in the range 0 to 0x10FFFF inclusive,\nbut not in the range 0xD800 or 0xDFFF inclusive.\n\n```ballerina\nstring:fromCodePointInts([66, 97, 108, 108, 101, 114, 105, 110, 97]) ⇒ Ballerina\nstring:fromCodePointInts([1114113, 1114114, 1114115]) ⇒ error\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "codePointCompare", + "symbol": "fromCodePointInts", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "'join", - "description": "Joins zero or more strings together with a separator.\n\n```ballerina\nstring:'join(\" \", \"Ballerina\", \"is\", \"a\", \"programming\", \"language\") ⇒ Ballerina is a programming language\nstring[] array = [\"John\", \"23\", \"USA\", \"Computer Science\", \"Swimmer\"];\nstring:'join(\",\", ...array) ⇒ John,23,USA,Computer Science,Swimmer\n```\n", + "label": "fromCodePointInt", + "description": "Constructs a single character string from a code point.\n\nAn int is a valid code point if it is in the range 0 to 0x10FFFF inclusive,\nbut not in the range 0xD800 or 0xDFFF inclusive.\n\n```ballerina\nstring:fromCodePointInt(97) ⇒ a\nstring:fromCodePointInt(1114113) ⇒ error\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "'join", + "symbol": "fromCodePointInt", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "indexOf", - "description": "Finds the first occurrence of one string in another string.\n\n```ballerina\n\"New Zealand\".indexOf(\"land\") ⇒ 7\n\"Ballerinalang is a unique programming language\".indexOf(\"lang\", 15) ⇒ 38\n```\n", + "label": "padStart", + "description": "Adds padding to the start of a string.\nAdds sufficient `padChar` characters at the start of `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"100Km\".padStart(10) ⇒ 100Km\n\"100Km\".padStart(10, \"0\") ⇒ 00000100Km\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "indexOf", + "symbol": "padStart", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "lastIndexOf", - "description": "Finds the last occurrence of one string in another string.\n\n```ballerina\n\"Ballerinalang is a unique programming language\".lastIndexOf(\"lang\") ⇒ 38\n// Search backwards for the last occurrence of a string from a specific index.\n\"Ballerinalang is a unique programming language\".lastIndexOf(\"lang\", 15) ⇒ 9\n```\n", + "label": "padEnd", + "description": "Adds padding to the end of a string.\nAdds sufficient `padChar` characters to the end of `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"Ballerina for developers\".padEnd(30) ⇒ Ballerina for developers\n\"Ballerina for developers\".padEnd(30, \"!\") ⇒ Ballerina for developers!!!!!!\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "lastIndexOf", + "symbol": "padEnd", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "includes", - "description": "Tests whether a string includes another string.\n\n```ballerina\n\"Hello World, from Ballerina\".includes(\"Bal\") ⇒ true\n\"Hello World! from Ballerina\".includes(\"Hello\", 10) ⇒ false\n```\n", + "label": "padZero", + "description": "Pads a string with zeros.\nThe zeros are added at the start of the string, after a `+` or `-` sign if there is one.\nSufficient zero characters are added to `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"-256\".padZero(9) ⇒ -00000256\n\"-880\".padZero(8, \"#\") ⇒ -####880\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "includes", + "symbol": "padZero", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "startsWith", - "description": "Tests whether a string starts with another string.\n\n```ballerina\n\"Welcome to the Ballerina programming language\".startsWith(\"Welcome\") ⇒ true\n```\n", + "label": "matches", + "description": "Tests whether there is a full match of a regular expression with a string.\nA match of a regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\nThis is equivalent to `regex:isFullMatch(re, str)`.\n\n```ballerina\n\"This is a Match\".matches(re `A|Th.*ch|^`) ⇒ true\n\"Not a Match\".matches(re `A|Th.*ch|^`) ⇒ false\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "startsWith", + "symbol": "matches", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "endsWith", - "description": "Tests whether a string ends with another string.\n\n```ballerina\n\"Welcome to the Ballerina programming language\".endsWith(\"language\") ⇒ true\n```\n", + "label": "includesMatch", + "description": "Tests whether there is a match of a regular expression somewhere within a string.\nThis is equivalent to `regexp:find(re, str, startIndex) != ()`.\n\n```ballerina\n\"This will match\".includesMatch(re `Th.*ch`) ⇒ true\n\"Will this match\".includesMatch(re `th.*ch`, 5) ⇒ true\n\"Not a match\".includesMatch(re `Th.*ch`) ⇒ false\n\"Will this match\".includesMatch(re `Th.*ch`, 5) ⇒ false\n```\n", "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", "module": "lang.string", - "symbol": "endsWith", + "symbol": "includesMatch", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.query", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "toLowerAscii", - "description": "Converts occurrences of A-Z to a-z.\n\nOther characters are left unchanged.\n\n```ballerina\n\"HELLO, World!\".toLowerAscii() ⇒ hello, world!\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "prepareQueryBodyError", + "description": "Prepare `error` as a distinct `Error`.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "toLowerAscii", + "module": "lang.query", + "symbol": "prepareQueryBodyError", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toUpperAscii", - "description": "Converts occurrences of a-z to A-Z.\n\nOther characters are left unchanged.\n\n```ballerina\n\"hello, World!\".toUpperAscii() ⇒ HELLO, WORLD!\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "prepareCompleteEarlyError", + "description": "Prepare `error` as a distinct `CompleteEarlyError`.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "toUpperAscii", + "module": "lang.query", + "symbol": "prepareCompleteEarlyError", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "equalsIgnoreCaseAscii", - "description": "Tests whether two strings are the same, ignoring the case of ASCII characters.\n\nA character in the range a-z is treated the same as the corresponding character in the range A-Z.\n\n```ballerina\n\"BALLERINA\".equalsIgnoreCaseAscii(\"ballerina\") ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "getQueryErrorRootCause", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "equalsIgnoreCaseAscii", + "module": "lang.query", + "symbol": "getQueryErrorRootCause", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.boolean", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "trim", - "description": "Removes ASCII white space characters from the start and end of a string.\n\nThe ASCII white space characters are 0x9...0xD, 0x20.\n\n```ballerina\n\" Hello World \".trim() + \"!\" ⇒ Hello World!\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "fromString", + "description": "Converts a string to a boolean.\n\nReturns the boolean of which parameter `s` is a string representation.\nThe accepted representations are `true`, `false`\n(in any combination of lower- and upper-case),\nand also `1` for true and `0` for `false`.\nThis is the inverse of function ``value:toString`` applied to a `boolean`.\n\n```ballerina\nboolean:fromString(\"true\") ⇒ true\nboolean:fromString(\"0\") ⇒ false\nboolean:fromString(\"01\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "trim", + "module": "lang.boolean", + "symbol": "fromString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toBytes", - "description": "Represents a string as an array of bytes using UTF-8.\n\n```ballerina\n\"Hello, World!\".toBytes() ⇒ [72,101,108,108,111,44,32,87,111,114,108,100,33]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "some", + "description": "Returns true if one or more of its arguments are true and false otherwise.\nIn particular, it returns false if there are no arguments.\n\n```ballerina\nboolean:some(true, false) ⇒ true\nboolean:some(false, false) ⇒ false\nboolean:some() ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "toBytes", + "module": "lang.boolean", + "symbol": "some", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromBytes", - "description": "Constructs a string from its UTF-8 representation in bytes.\n\n```ballerina\nstring:fromBytes([72, 101, 108, 108, 111, 32, 66, 97, 108, 108, 101, 114, 105, 110, 97, 33]) ⇒ Hello, World!\nstring:fromBytes([149, 169, 224]) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "every", + "description": "Returns true if all of its arguments are true and false otherwise.\nIn particular, it returns true if there are no arguments.\n\n```ballerina\nboolean:every(true, false) ⇒ false\nboolean:every(true, true) ⇒ true\nboolean:every() ⇒ true \n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.boolean_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "fromBytes", + "module": "lang.boolean", + "symbol": "every", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "grpc", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + }, + "items": [ { "metadata": { - "label": "toCodePointInts", - "description": "Converts a string to an array of code points.\n\n```ballerina\n\"Hello, world 🌎\".toCodePointInts() ⇒ [72,101,108,108,111,44,32,119,111,114,108,100,32,127758]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "initStub", + "description": "Calls when initializing the client endpoint with the service descriptor data extracted from the proto file.\n```ballerina\ngrpc:Error? result = grpcClient.initStub(self, ROOT_DESCRIPTOR, getDescriptorMap());\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "toCodePointInts", - "version": "0.0.0" + "module": "grpc", + "symbol": "initStub", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "toCodePointInt", - "description": "Converts a single character string to a code point.\n\n```ballerina\nstring:toCodePointInt(\"a\") ⇒ 97\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "authenticateResource", + "description": "Uses for declarative auth design, where the authentication/authorization decision is taken\nby reading the auth annotations provided in service/resource and the `Authorization` header of request.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "toCodePointInt", - "version": "0.0.0" + "module": "grpc", + "symbol": "authenticateResource", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "fromCodePointInts", - "description": "Constructs a string from an array of code points.\n\nAn int is a valid code point if it is in the range 0 to 0x10FFFF inclusive,\nbut not in the range 0xD800 or 0xDFFF inclusive.\n\n```ballerina\nstring:fromCodePointInts([66, 97, 108, 108, 101, 114, 105, 110, 97]) ⇒ Ballerina\nstring:fromCodePointInts([1114113, 1114114, 1114115]) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "setCompression", + "description": "Enables the compression support by adding the `grpc-encoding` header to the given headers.\n```ballerina\nmap headers = grpc:setCompression(grpc:GZIP);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "fromCodePointInts", - "version": "0.0.0" + "module": "grpc", + "symbol": "setCompression", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "fromCodePointInt", - "description": "Constructs a single character string from a code point.\n\nAn int is a valid code point if it is in the range 0 to 0x10FFFF inclusive,\nbut not in the range 0xD800 or 0xDFFF inclusive.\n\n```ballerina\nstring:fromCodePointInt(97) ⇒ a\nstring:fromCodePointInt(1114113) ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "setDeadline", + "description": "Enables the deadline by adding the `deadline` header to the given headers.\n```ballerina\ntime:Utc current = time:utcNow();\ntime:Utc deadline = time:utcAddSeconds(current, 300);\nmap headers = grpc:setDeadline(deadline);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "fromCodePointInt", - "version": "0.0.0" + "module": "grpc", + "symbol": "setDeadline", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "padStart", - "description": "Adds padding to the start of a string.\nAdds sufficient `padChar` characters at the start of `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"100Km\".padStart(10) ⇒ 100Km\n\"100Km\".padStart(10, \"0\") ⇒ 00000100Km\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "isCancelled", + "description": "Checks whether the deadline is already exceeded or not.\n```ballerina\nboolean|time:Error isCancelled = grpc:isCancelled(map headerMap);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "padStart", - "version": "0.0.0" + "module": "grpc", + "symbol": "isCancelled", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "padEnd", - "description": "Adds padding to the end of a string.\nAdds sufficient `padChar` characters to the end of `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"Ballerina for developers\".padEnd(30) ⇒ Ballerina for developers\n\"Ballerina for developers\".padEnd(30, \"!\") ⇒ Ballerina for developers!!!!!!\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "getDeadline", + "description": "Returns the deadline value as `time:Utc`. This can be used to get the deadline and propagate it to subsequent internal calls.\n```ballerina\ntime:Utc?|time:Error deadline = grpc:getDeadline(map headerMap);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "padEnd", - "version": "0.0.0" + "module": "grpc", + "symbol": "getDeadline", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "padZero", - "description": "Pads a string with zeros.\nThe zeros are added at the start of the string, after a `+` or `-` sign if there is one.\nSufficient zero characters are added to `str` to make its length be `len`.\nIf the length of `str` is >= `len`, returns `str`.\n\n```ballerina\n\"-256\".padZero(9) ⇒ -00000256\n\"-880\".padZero(8, \"#\") ⇒ -####880\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "getHeader", + "description": "Returns the header value with the specified header name. If there are more than one header values for the\nspecified header name, the first value is returned.\n```ballerina\nmap headerMap = request.headers;\nstring|grpc:Error result = grpc:getHeader(headerMap, \"content-type\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "padZero", - "version": "0.0.0" + "module": "grpc", + "symbol": "getHeader", + "version": "1.12.1" }, "enabled": true }, { "metadata": { - "label": "matches", - "description": "Tests whether there is a full match of a regular expression with a string.\nA match of a regular expression in a string is a full match if it\nstarts at index 0 and ends at index `n`, where `n` is the length of the string.\nThis is equivalent to `regex:isFullMatch(re, str)`.\n\n```ballerina\n\"This is a Match\".matches(re `A|Th.*ch|^`) ⇒ true\n\"Not a Match\".matches(re `A|Th.*ch|^`) ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" + "label": "getHeaders", + "description": "Gets all the transport headers with the specified header name.\n```ballerina\nmap headerMap = request.headers;\nstring[]|grpc:Error result = grpc:getHeaders(headerMap, \"content-type\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.string", - "symbol": "matches", - "version": "0.0.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "includesMatch", - "description": "Tests whether there is a match of a regular expression somewhere within a string.\nThis is equivalent to `regexp:find(re, str, startIndex) != ()`.\n\n```ballerina\n\"This will match\".includesMatch(re `Th.*ch`) ⇒ true\n\"Will this match\".includesMatch(re `th.*ch`, 5) ⇒ true\n\"Not a match\".includesMatch(re `Th.*ch`) ⇒ false\n\"Will this match\".includesMatch(re `Th.*ch`, 5) ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.string_0.0.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "lang.string", - "symbol": "includesMatch", - "version": "0.0.0" + "module": "grpc", + "symbol": "getHeaders", + "version": "1.12.1" }, "enabled": true } @@ -2939,23 +3152,23 @@ }, { "metadata": { - "label": "wsdltool", + "label": "auth", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_wsdltool_0.1.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_auth_2.12.0.png" }, "items": [ { "metadata": { - "label": "main", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_wsdltool_0.1.0.png" + "label": "extractUsernameAndPassword", + "description": "Extracts the username and the password from the Base64-encoded `username:password` value.\n```ballerina\n[string, string] [username, password] = check auth:extractUsernameAndPassword(\"\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_auth_2.12.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "wsdltool", - "symbol": "main", - "version": "0.1.0" + "module": "auth", + "symbol": "extractUsernameAndPassword", + "version": "2.12.0" }, "enabled": true } @@ -2963,98 +3176,98 @@ }, { "metadata": { - "label": "mime", + "label": "lang.error", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "items": [ { "metadata": { - "label": "base64Encode", - "description": "Encodes a given input with MIME specific Base64 encoding scheme.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "message", + "description": "Returns the error's message.\n\n```ballerina\nerror(\"IO error\").message() ⇒ IO error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "base64Encode", - "version": "2.10.1" + "module": "lang.error", + "symbol": "message", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "base64Decode", - "description": "Decodes a given input with MIME specific Base64 encoding scheme.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "cause", + "description": "Returns the error's cause.\n\n```ballerina\nerror fileNotFoundError = error(\"file not found\", file = \"test.bal\");\nfileNotFoundError.cause() is () ⇒ true\nerror ioError = error(\"IO error\", fileNotFoundError);\nioError.cause() ⇒ error(\"file not found\",file=\"test.bal\")\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "base64Decode", - "version": "2.10.1" + "module": "lang.error", + "symbol": "cause", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "base64EncodeBlob", - "description": "Encodes a given byte[] using the Base64 encoding scheme.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "detail", + "description": "Returns the error's detail record.\n\n```ballerina\nerror(\"file not found\", file = \"test.bal\").detail() ⇒ {\"file\":\"test.bal\"}\n```\n\nThe returned value will be immutable.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "base64EncodeBlob", - "version": "2.10.1" + "module": "lang.error", + "symbol": "detail", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "base64DecodeBlob", - "description": "Decodes a given byte[] using the Base64 encoding scheme.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "stackTrace", + "description": "Returns an object representing the stack trace of the error.\n\n```ballerina\nerror(\"IO error\").stackTrace() ⇒ [callableName: main fileName: test.bal lineNumber: 5]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "base64DecodeBlob", - "version": "2.10.1" + "module": "lang.error", + "symbol": "stackTrace", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getMediaType", - "description": "Gets the `MediaType` object populated with it when the `Content-Type` is in string.\n```ballerina\nmime:MediaType|mime:InvalidContentTypeError returnVal = getMediaType(\"custom-header\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "toString", + "description": "Converts an error to a string.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the direct style.\n\n```ballerina\nerror(\"invalid salary\", value = 0d).toString() ⇒ error(\"invalid salary\",value=0)\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "getMediaType", - "version": "2.10.1" + "module": "lang.error", + "symbol": "toString", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getContentDispositionObject", - "description": "Given the Content-Disposition as a string, gets the `ContentDisposition` object with it.\n```ballerina\nmime:ContentDisposition cDisposition = getContentDispositionObject(\"form-data; name=filepart; filename=file-01.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_mime_2.10.1.png" + "label": "toBalString", + "description": "Converts an error to a string that describes the value in Ballerina syntax.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the expression style.\n\n```ballerina\nerror(\"invalid salary\", value = 0d).toBalString() ⇒ error(\"invalid salary\",value=0d)\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "mime", - "symbol": "getContentDispositionObject", - "version": "2.10.1" + "module": "lang.error", + "symbol": "toBalString", + "version": "0.0.0" }, "enabled": true } @@ -3062,259 +3275,232 @@ }, { "metadata": { - "label": "math.vector", + "label": "test", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "items": [ { "metadata": { - "label": "vectorNorm", - "description": "Calculates the L1 and L2 norm of a float vector.\n\n```ballerina\nfloat[] v = [1.0, 2.0, 3.0];\nvectorNorm(v, vector:L2) ⇒ 3.7416573867739413\nvectorNorm(v, vector:L1) ⇒ 6.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "label": "registerTest", + "description": "Register a test function to run. This function is intended for internal use only.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "math.vector", - "symbol": "vectorNorm", - "version": "1.0.2" + "module": "test", + "symbol": "registerTest", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "dotProduct", - "description": "Calculates the dot product of two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\ndotProduct(v1, v2) ⇒ 32.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "label": "createBallerinaError", + "description": "Creates an `AssertError` with the custom message and category.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "math.vector", - "symbol": "dotProduct", - "version": "1.0.2" + "module": "test", + "symbol": "createBallerinaError", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "cosineSimilarity", - "description": "Calculates the cosine similarity between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\ncosineSimilarity(v1, v2) ⇒ 0.9746318461970762\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "label": "assertTrue", + "description": "Asserts whether the given condition is true. If it is not, a AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertTrue() {\n boolean value = false;\n test:assertTrue(value, msg = \"AssertTrue failed\");\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "math.vector", - "symbol": "cosineSimilarity", - "version": "1.0.2" + "module": "test", + "symbol": "assertTrue", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "euclideanDistance", - "description": "Calculates the Euclidean distance between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\neuclideanDistance(v1, v2) ⇒ 5.196152422706632\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "label": "assertFalse", + "description": "Asserts whether the given condition is false. If it is not, a AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertFalse() {\n boolean value = false;\n test:assertFalse(value, msg = \"AssertFalse failed\");\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "math.vector", - "symbol": "euclideanDistance", - "version": "1.0.2" + "module": "test", + "symbol": "assertFalse", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "manhattanDistance", - "description": "Calculates the Manhattan distance between two float vectors.\n\n```ballerina\nfloat[] v1 = [1.0, 2.0, 3.0];\nfloat[] v2 = [4.0, 5.0, 6.0];\nmanhattanDistance(v1, v2) ⇒ 9.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_math.vector_1.0.2.png" + "label": "assertEquals", + "description": "Asserts whether the given values are equal. If it is not, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n@test:Config {}\n function testAssertIntEquals() {\n int answer = intAdd(5, 3);\n test:assertEquals(answer, 8, msg = \"IntAdd function failed\");\n }\n function intAdd(int a, int b) returns (int) {\n return (a + b);\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "math.vector", - "symbol": "manhattanDistance", - "version": "1.0.2" + "module": "test", + "symbol": "assertEquals", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.error", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "message", - "description": "Returns the error's message.\n\n```ballerina\nerror(\"IO error\").message() ⇒ IO error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "assertNotEquals", + "description": "Asserts whether the given values are not equal. If it is equal, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function testAssertIntEquals() {\n int answer = intAdd(5, 3);\n test:assertNotEquals(answer, 8, msg = \"Matches\");\n }\n function intAdd(int a, int b) returns (int) {\n return (a + b);\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "message", + "module": "test", + "symbol": "assertNotEquals", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "cause", - "description": "Returns the error's cause.\n\n```ballerina\nerror fileNotFoundError = error(\"file not found\", file = \"test.bal\");\nfileNotFoundError.cause() is () ⇒ true\nerror ioError = error(\"IO error\", fileNotFoundError);\nioError.cause() ⇒ error(\"file not found\",file=\"test.bal\")\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "assertExactEquals", + "description": "Asserts whether the given values are exactly equal. If it is not, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n class Person {\n public string name = \"\";\n public int age = 0;\n public Person? parent = ();\n private string email = \"default@abc.com\";\n string address = \"No 20, Palm grove\";\n }\n @test:Config {}\n function testAssertExactEqualsObject() {\n Person p1 = new;\n Person p2 = p1;\n test:assertExactEquals(p1, p2, msg = \"Objects are not exactly equal\");\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "cause", + "module": "test", + "symbol": "assertExactEquals", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "detail", - "description": "Returns the error's detail record.\n\n```ballerina\nerror(\"file not found\", file = \"test.bal\").detail() ⇒ {\"file\":\"test.bal\"}\n```\n\nThe returned value will be immutable.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "assertNotExactEquals", + "description": "Asserts whether the given values are not exactly equal. If it is equal, an AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\nclass Person {\n public string name = \"\";\n public int age = 0;\n public Person? parent = ();\n private string email = \"default@abc.com\";\n string address = \"No 20, Palm grove\";\n }\n @test:Config {}\n function testAssertNotExactEqualsObject() {\n Person p1 = new;\n Person p2 = new ();\n test:assertNotExactEquals(p1, p2, msg = \"Objects are exactly equal\");\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "detail", + "module": "test", + "symbol": "assertNotExactEquals", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "stackTrace", - "description": "Returns an object representing the stack trace of the error.\n\n```ballerina\nerror(\"IO error\").stackTrace() ⇒ [callableName: main fileName: test.bal lineNumber: 5]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "assertFail", + "description": "Assert failure is triggered based on your discretion. AssertError is thrown with the given errorMessage.\n\n### Example\n```ballerina\nimport ballerina/test;\n @test:Config {}\n function foo() {\n error? e = trap bar(); // Expecting `bar()` to panic\n if e is error {\n test:assertEquals(e.message().toString(), \"Invalid Operation\", msg = \"Invalid error reason\");\n } else {\n test:assertFail(msg = \"Expected an error\");\n }\n }\n function bar() {\n panic error(\"Invalid Operation\");\n }\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "stackTrace", + "module": "test", + "symbol": "assertFail", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toString", - "description": "Converts an error to a string.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the direct style.\n\n```ballerina\nerror(\"invalid salary\", value = 0d).toString() ⇒ error(\"invalid salary\",value=0)\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "startSuite", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "toString", + "module": "test", + "symbol": "startSuite", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toBalString", - "description": "Converts an error to a string that describes the value in Ballerina syntax.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the expression style.\n\n```ballerina\nerror(\"invalid salary\", value = 0d).toBalString() ⇒ error(\"invalid salary\",value=0d)\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.error_0.0.0.png" + "label": "split", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.error", - "symbol": "toBalString", + "module": "test", + "symbol": "split", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.query", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "prepareQueryBodyError", - "description": "Prepare `error` as a distinct `Error`.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" - }, - "codedata": { + "label": "setTestOptions", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" + }, + "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.query", - "symbol": "prepareQueryBodyError", + "module": "test", + "symbol": "setTestOptions", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "prepareCompleteEarlyError", - "description": "Prepare `error` as a distinct `CompleteEarlyError`.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" + "label": "prepare", + "description": "Prepares a provided default mock object for stubbing.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.query", - "symbol": "prepareCompleteEarlyError", + "module": "test", + "symbol": "prepare", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getQueryErrorRootCause", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.query_0.0.0.png" + "label": "when", + "description": "Objects and functions related to function mocking\nAllows a function to stub.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.query", - "symbol": "getQueryErrorRootCause", + "module": "test", + "symbol": "when", "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.future", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.future_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "cancel", - "description": "Requests cancellation of a future.\n\nThis sets the cancellation flag in the strand corresponding to `f`.\nEach time that a strand yields, it will check the cancellation flag\nand terminate abnormally if the flag is set.\n\n```ballerina\nfuture sumFuture = start int:sum(10, 13, 54, 245, 24, 29, 343, 34);\nsumFuture.cancel();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.future_0.0.0.png" + "label": "mock", + "description": "Creates a mock object of provided type description.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_test_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.future", - "symbol": "cancel", + "module": "test", + "symbol": "mock", "version": "0.0.0" }, "enabled": true @@ -3392,251 +3578,332 @@ }, { "metadata": { - "label": "toml", + "label": "file", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "items": [ { "metadata": { - "label": "readString", - "description": "Parses a Ballerina string of TOML content into a Ballerina map object.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + "label": "getCurrentDir", + "description": "Returns the current working directory.\n```ballerina\nstring dirPath = file:getCurrentDir();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "toml", - "symbol": "readString", - "version": "0.6.0" + "module": "file", + "symbol": "getCurrentDir", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "readFile", - "description": "Parses a TOML file into a Ballerina map object.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + "label": "createDir", + "description": "Creates a new directory with the specified name.\n```ballerina\ncheck file:createDir(\"foo/bar\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "toml", - "symbol": "readFile", - "version": "0.6.0" + "module": "file", + "symbol": "createDir", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "writeString", - "description": "Converts the TOML structure to an array of strings.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + "label": "remove", + "description": "Removes the specified file or directory.\n```ballerina\ncheck file:remove(\"foo/bar.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "toml", - "symbol": "writeString", - "version": "0.6.0" + "module": "file", + "symbol": "remove", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "writeFile", - "description": "Writes the TOML structure to a file.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_toml_0.6.0.png" + "label": "rename", + "description": "Renames(Moves) the old path with the new path.\nIf the new path already exists and it is not a directory, this replaces the file.\n```ballerina\ncheck file:rename(\"/A/B/C\", \"/A/B/D\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "toml", - "symbol": "writeFile", - "version": "0.6.0" + "module": "file", + "symbol": "rename", + "version": "1.10.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.int", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "abs", - "description": "Returns the absolute value of an int value.\n\n```ballerina\nint n = -25;\nn.abs() ⇒ 25\nint:abs(-30) ⇒ 30\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "create", + "description": "Creates a file in the specified file path.\nTruncates if the file already exists in the given path.\n```ballerina\ncheck file:create(\"bar.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "abs", - "version": "0.0.0" + "module": "file", + "symbol": "create", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "sum", - "description": "Returns sum of zero or more int values.\n\n```ballerina\nint:sum(10, 20, 30, 40) ⇒ 100\nint[] marks = [50, 65, 78, 95];\nint:sum(...marks) ⇒ 288\nint num = 24;\nnum.sum(38, 15, 97, 27) ⇒ 201\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "getMetaData", + "description": "Returns the metadata information of the file specified in the file path.\n```ballerina\nfile:MetaData result = check file:getMetaData(\"foo/bar.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "sum", - "version": "0.0.0" + "module": "file", + "symbol": "getMetaData", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "max", - "description": "Returns the maximum of one or more int values.\n\n```ballerina\nint:max(50, 20, 30, 70, 65) ⇒ 70\n[int, int, int] scores = [52, 95, 76];\nint:max(...scores) ⇒ 95\nint n = 18;\nn.max(25, 30, 4, 15) ⇒ 30\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "readDir", + "description": "Reads the directory and returns a list of metadata of files and directories\ninside the specified directory.\n```ballerina\nfile:MetaData[] results = check file:readDir(\"foo/bar\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "max", - "version": "0.0.0" + "module": "file", + "symbol": "readDir", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "min", - "description": "Returns the minimum of one or more int values.\n\n```ballerina\nint:min(45, 25, 30, 75, 50) ⇒ 25\n[int, int, int, int] points = [21, 12, 48, 14];\nint:min(...points) ⇒ 12\nint m = 23;\nm.min(12, 43, 7, 19) ⇒ 7\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "copy", + "description": "Copy the file/directory in the old path to the new path.\n```ballerina\ncheck file:copy(\"/A/B/C\", \"/A/B/D\", true);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "min", - "version": "0.0.0" + "module": "file", + "symbol": "copy", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "fromString", - "description": "Returns the integer of a string that represents in decimal.\n\nReturns error if parameter `s` is not the decimal representation of an integer.\nThe first character may be `+` or `-`.\nThis is the inverse of function ``value:toString`` applied to an `int`.\n\n```ballerina\nint:fromString(\"76\") ⇒ 76\nint:fromString(\"-120\") ⇒ -120\nint:fromString(\"0xFFFF\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "createTemp", + "description": "Creates a temporary file.\n```ballerina\nstring tmpFile = check file:createTemp();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "fromString", - "version": "0.0.0" + "module": "file", + "symbol": "createTemp", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "toHexString", - "description": "Returns representation of an integer as hexdecimal string.\n\nThere is no `0x` prefix. Lowercase letters a-f are used.\nNegative numbers will have a `-` prefix. No sign for\nnon-negative numbers.\n\n```ballerina\n26.toHexString() ⇒ 1a\nint:toHexString(-158) ⇒ -9e\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "createTempDir", + "description": "Creates a temporary directory.\n```ballerina\nstring tmpDir = check file:createTempDir();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "toHexString", - "version": "0.0.0" + "module": "file", + "symbol": "createTempDir", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "fromHexString", - "description": "Returns the integer that a string value represents in hexadecimal.\n\nBoth uppercase A-F and lowercase a-f are allowed.\nIt may start with an optional `+` or `-` sign.\nNo `0x` or `0X` prefix is allowed.\nReturns an error if the parameter `s` is not in an allowed format.\n\n```ballerina\nint:fromHexString(\"1A5F\") ⇒ 6751\nint:fromHexString(\"-2b4a\") ⇒ -11082\nint:fromHexString(\"1Y4K\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "test", + "description": "Tests a file path against a test condition .\n```ballerina\nboolean result = check file:test(\"foo/bar.txt\", file:EXISTS);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "fromHexString", - "version": "0.0.0" + "module": "file", + "symbol": "test", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "range", - "description": "Returns an iterable object that iterates over a range of integers.\nThe integers returned by the iterator belong to the set S,\nwhere S is `{ rangeStart + step*i such that i >= 0 }`.\nWhen `step > 0`, the members of S that are `< rangeEnd` are returned in increasing order.\nWhen `step < 0`, the members of S that are `> rangeEnd` are returned in decreasing order.\nWhen `step = 0`, the function panics.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "getAbsolutePath", + "description": "Retrieves the absolute path from the provided location.\n```ballerina\n string absolutePath = check file:getAbsolutePath(\"test.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "range", - "version": "0.0.0" + "module": "file", + "symbol": "getAbsolutePath", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "avg", - "description": "Returns the average of its arguments.\n\n```ballerina\nint:avg(10, 20, 30, 40) ⇒ 25.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.int_0.0.0.png" + "label": "isAbsolutePath", + "description": "Reports whether the path is absolute.\nA path is absolute if it is independent of the current directory.\nOn Unix, a path is absolute if it starts with the root.\nOn Windows, a path is absolute if it has a prefix and starts with the root: c:\\windows.\n```ballerina\n boolean isAbsolute = check file:isAbsolutePath(\"/A/B/C\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.int", - "symbol": "avg", - "version": "0.0.0" + "module": "file", + "symbol": "isAbsolutePath", + "version": "1.10.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.array", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "'map", - "description": "Applies a function to each member of an array and returns an array of the results.\n\n```ballerina\nint[] numbers = [0, 1, 2];\nnumbers.map(n => n * 2) ⇒ [0,2,4]\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" + "label": "basename", + "description": "Retrieves the base name of the file from the provided location,\nwhich is the last element of the path.\nTrailing path separators are removed before extracting the last element.\n```ballerina\n string name = check file:basename(\"/A/B/C.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.array", - "symbol": "'map", - "version": "0.0.0" + "module": "file", + "symbol": "basename", + "version": "1.10.0" }, "enabled": true }, { "metadata": { - "label": "length", - "description": "Returns the number of members of an array.\n\n```ballerina\n[\"a\", \"b\", \"c\", \"d\"].length() ⇒ 4\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" + "label": "parentPath", + "description": "Returns the enclosing parent directory.\nIf the path is empty, parent returns \".\".\nThe returned path does not end in a separator unless it is the root directory.\n```ballerina\n string parentPath = check file:parentPath(\"/A/B/C.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.array", - "symbol": "length", - "version": "0.0.0" + "module": "file", + "symbol": "parentPath", + "version": "1.10.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "normalizePath", + "description": "Normalizes a path value.\n```ballerina\n string normalizedPath = check file:normalizePath(\"foo/../bar\", file:CLEAN);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "file", + "symbol": "normalizePath", + "version": "1.10.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "splitPath", + "description": "Splits a list of paths joined by the OS-specific path separator.\n```ballerina\n string[] parts = check file:splitPath(\"/A/B/C\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "file", + "symbol": "splitPath", + "version": "1.10.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "joinPath", + "description": "Joins any number of path elements into a single path.\n```ballerina\n string path = check file:joinPath(\"/\", \"foo\", \"bar\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "file", + "symbol": "joinPath", + "version": "1.10.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "relativePath", + "description": "Returns a relative path, which is logically equivalent to the target path when joined to the base path with an\nintervening separator.\nAn error is returned if the target path cannot be made relative to the base path.\n```ballerina\n string relative = check file:relativePath(\"a/b/e\", \"a/c/d\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "file", + "symbol": "relativePath", + "version": "1.10.0" + }, + "enabled": true + } + ] + }, + { + "metadata": { + "label": "lang.array", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" + }, + "items": [ + { + "metadata": { + "label": "'map", + "description": "Applies a function to each member of an array and returns an array of the results.\n\n```ballerina\nint[] numbers = [0, 1, 2];\nnumbers.map(n => n * 2) ⇒ [0,2,4]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.array", + "symbol": "'map", + "version": "0.0.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "length", + "description": "Returns the number of members of an array.\n\n```ballerina\n[\"a\", \"b\", \"c\", \"d\"].length() ⇒ 4\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.array_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.array", + "symbol": "length", + "version": "0.0.0" }, "enabled": true }, @@ -4004,517 +4271,553 @@ }, { "metadata": { - "label": "lang.float", + "label": "jwt", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" }, "items": [ { "metadata": { - "label": "isFinite", - "description": "Tests whether a float is finite.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value\n\n```ballerina\nfloat f = 1.2;\nf.isFinite() ⇒ true\nfloat:Infinity.isFinite() ⇒ false\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "issue", + "description": "Issues a JWT based on the provided configurations. JWT will be signed (JWS) if `crypto:KeyStore` information is\nprovided in the `jwt:KeyStoreConfig` and the `jwt:SigningAlgorithm` is not `jwt:NONE`.\n```ballerina\nstring jwt = check jwt:issue(issuerConfig);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "isFinite", - "version": "0.0.0" + "module": "jwt", + "symbol": "issue", + "version": "2.13.0" }, "enabled": true }, { "metadata": { - "label": "isInfinite", - "description": "Tests whether a float is infinite.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value\n\n```ballerina\nfloat f = 3.21;\nf.isInfinite() ⇒ false\nfloat:Infinity.isInfinite() ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "validate", + "description": "Validates the provided JWT, against the provided configurations.\n```ballerina\njwt:Payload result = check jwt:validate(jwt, validatorConfig);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "isInfinite", - "version": "0.0.0" + "module": "jwt", + "symbol": "validate", + "version": "2.13.0" }, "enabled": true }, { "metadata": { - "label": "isNaN", - "description": "Tests whether a float is NaN.\n\nExactly one of isFinite, isInfinite and IsNaN will be true for any float value.\n\n```ballerina\nfloat f = 0.23;\nf.isNaN() ⇒ false\nfloat:NaN.isNaN() ⇒ true\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "decode", + "description": "Decodes the provided JWT into the header and payload.\n```ballerina\n[jwt:Header, jwt:Payload] [header, payload] = check jwt:decode(jwt);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "isNaN", - "version": "0.0.0" + "module": "jwt", + "symbol": "decode", + "version": "2.13.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "jballerina.java", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "sum", - "description": "Returns the sum of zero or more float values.\n\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:sum(1.2, 2.3, 3.4) ⇒ 6.9\nfloat[] scores = [11.1, 22.2, 33.3];\nfloat:sum(...scores) ⇒ 66.6\nfloat f = 21.2;\nf.sum(10.5, 21, 32.4) ⇒ 85.1\nfloat:sum(float:NaN, 2.3, 3.4) ⇒ NaN\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromString", + "description": "Returns a `handle`, which refers to the Java string representation of the Ballerina `string`.\n```ballerina\nhandle header = java:fromString(\"Content-Type\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "sum", + "module": "jballerina.java", + "symbol": "fromString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "max", - "description": "Returns the maximum of zero or more float values.\n\nResult is -∞ if no args\nNaN if any arg is NaN\n\n```ballerina\nfloat:max(1.2, 12.3, 3.4) ⇒ 12.3\nfloat[] marks = [70.3, 80.5, 98.1, 92.3];\nfloat:max(...marks) ⇒ 98.1\nfloat f = 21.2;\nf.max(40.5, 21, 32.4) ⇒ 40.5\nfloat:max() ⇒ -Infinity\nfloat:max(1.2, float:NaN, 3.4) ⇒ NaN\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toString", + "description": "Returns a Ballerina `string` representation of the Java object referred by the `handle`.\nIf the `handle` refers to Java null, then this function returns a `nil` value.\n```ballerina\nstring? version = java:toString(versionProperty);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "max", + "module": "jballerina.java", + "symbol": "toString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "min", - "description": "Returns the minimum of zero or more float values.\n\nResult is +∞ if no args\nResult is NaN if any arg is NaN\n\n```ballerina\nfloat:min(5.2, 2.3, 3.4) ⇒ 2.3\nfloat[] marks = [90.3, 80.5, 98, 92.3];\nfloat:min(...marks) ⇒ 80.5\nfloat f = 1.2;\nf.min(10.5, 21, 32.4) ⇒ 1.2\nfloat:min() ⇒ Infinity\nfloat:min(5.2, float:NaN, 3.4) ⇒ NaN\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "isNull", + "description": "Returns `true` if this handle refers to Java null.\n```ballerina\nboolean status = java:isNull(value);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "min", + "module": "jballerina.java", + "symbol": "isNull", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "abs", - "description": "Returns the IEEE absolute value of a float value.\n\n```ballerina\nfloat f = -3.21;\nf.abs() ⇒ 3.21\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "createNull", + "description": "Returns a `handle`, which refers to Java null.\n```ballerina\nhandle nullHandle = java:createNull();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "abs", + "module": "jballerina.java", + "symbol": "createNull", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "round", - "description": "Rounds a float value to a specified number of digits.\n\nReturns the float value that is an integral multiple of 10 raised to the power of `-fractionDigits` and closest to `x`.\nIf there are two such values, choose the one whose final digit is even\n(this is the round-to-nearest rounding mode, which is the default for IEEE and for Ballerina).\nA value of `fractionDigits` greater than 0 thus corresponds to the number of digits after the decimal\npoint being `fractionDigits`; a value of 0 for `fractionDigits` rounds to an integer.\nIf `x` is NaN, +0, -0, +∞ or -∞, then the result is `x`.\nWhen `fractionDigits` is 0, this is\nthe same as Java Math.rint method, .NET Math.Round method and\nIEEE roundToIntegralTiesToEven operation\nNote that `x` is the same as `x.round(0)`.\n\n```ballerina\nfloat f = 3.55;\nf.round() ⇒ 4.0\nfloat g = 4.55555;\ng.round(3) ⇒ 4.556\nfloat h = 2.5;\nh.round(0) ⇒ 2.0\nfloat i = 3.5;\ni.round(0) ⇒ 4.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "getClass", + "description": "Returns a `handle`, which refers to the Java Class object associated with the class or interface with the given\nstring name.\n```ballerina\nhandle|error intClass = java:getClass(\"int\");\n```\n\nThis function performs a Java `class.forName(name)` except for the following cases:\n\n| Name | Output |\n|:---------|:--------------------------------------------------------------|\n| boolean | Java Class instance representing the primitive type boolean |\n| byte | Java Class instance representing the primitive type byte |\n| char | Java Class instance representing the primitive type char |\n| short | Java Class instance representing the primitive type short |\n| int | Java Class instance representing the primitive type int |\n| long | Java Class instance representing the primitive type long |\n| float | Java Class instance representing the primitive type float |\n| double | Java Class instance representing the primitive type double |\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "round", + "module": "jballerina.java", + "symbol": "getClass", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "floor", - "description": "Rounds a float down to the closest integral value.\n\n```ballerina\nfloat f = 3.51;\nf.floor() ⇒ 3.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "cast", + "description": "Performs a Java cast operation on a value.\nThis casts a value describing a `JObject` to a type describing a `JObject` based on Java assignability,\nreturns an error if the cast cannot be done.\n```ballerina\nFileInputStream|error obj = java:cast(inputStream);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "floor", + "module": "jballerina.java", + "symbol": "cast", "version": "0.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "url", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" + }, + "items": [ { "metadata": { - "label": "ceiling", - "description": "Rounds a float up to the closest integral value.\n\n```ballerina\nfloat f = 3.51;\nf.ceiling() ⇒ 4.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "encode", + "description": "Encodes the given string value into a `string` using the provided charset.\n```ballerina\nstring value = \"param1=http://xyz.com/?a=12&b=55¶m2=99\";\nstring encoded = check url:encode(value, \"UTF-8\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "ceiling", - "version": "0.0.0" + "module": "url", + "symbol": "encode", + "version": "2.4.0" }, "enabled": true }, { "metadata": { - "label": "sqrt", - "description": "Returns the square root of a float value.\n\nCorresponds to IEEE squareRoot operation.\n\n```ballerina\nfloat f = 1.96;\nf.sqrt() ⇒ 1.4\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "decode", + "description": "Decodes the given string value into a `string` using the provided charset.\n```ballerina\nstring value = \"http://www.domain.com/?param1=http%3A%2F%2Fxyz.com%2F%3Fa%3D12%26b%3D55¶m2=99\";\nstring decoded = check url:decode(value, \"UTF-8\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "sqrt", - "version": "0.0.0" + "module": "url", + "symbol": "decode", + "version": "2.4.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "edi", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + }, + "items": [ { "metadata": { - "label": "cbrt", - "description": "Returns the cube root of a float value.\n\nCorresponds to IEEE rootn(x, 3) operation.\n\n```ballerina\nfloat f = 0.125;\nf.cbrt() ⇒ 0.5\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromEdiString", + "description": "Reads the given EDI text according to the provided schema.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "cbrt", - "version": "0.0.0" + "module": "edi", + "symbol": "fromEdiString", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "pow", - "description": "Raises one float value to the power of another float values.\n\nCorresponds to IEEE pow(x, y) operation.\n\n```ballerina\nfloat f = 2.1;\nf.pow(2) ⇒ 4.41\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toEdiString", + "description": "Writes the given JSON varibale into a EDI text according to the provided schema.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "pow", - "version": "0.0.0" + "module": "edi", + "symbol": "toEdiString", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "log", - "description": "Returns the natural logarithm of a float value.\n\nCorresponds to IEEE log operation.\n\n```ballerina\nfloat f = 234.56;\nf.log() ⇒ 5.4577114186982865\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "getSchema", + "description": "Creates an EDI schema from a string or a JSON.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "log", - "version": "0.0.0" + "module": "edi", + "symbol": "getSchema", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "log10", - "description": "Returns the base 10 logarithm of a float value.\n\nCorresponds to IEEE log10 operation.\n\n```ballerina\nfloat f = 0.1;\nf.log10() ⇒ -1.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "getDataType", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "log10", - "version": "0.0.0" + "module": "edi", + "symbol": "getDataType", + "version": "1.3.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.value", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "exp", - "description": "Raises Euler's number to a power.\n\nCorresponds to IEEE exp operation.\n\n```ballerina\nfloat f = 2.3;\nf.exp() ⇒ 9.974182454814718\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "clone", + "description": "Returns a clone of a value.\n\nA clone is a deep copy that does not copy immutable subtrees.\nA clone can therefore safely be used concurrently with the original.\nIt corresponds to the Clone(v) abstract operation,\ndefined in the Ballerina Language Specification.\n\n```ballerina\nint[] arr = [1, 2, 3, 4];\nint[] clone = arr.clone();\nclone ⇒ [1,2,3,4]\narr === clone ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "exp", + "module": "lang.value", + "symbol": "clone", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "sin", - "description": "Returns the sine of a float value.\n\nCorresponds to IEEE sin operation.\n\n```ballerina\nfloat f = 2.3;\nf.sin() ⇒ 0.7457052121767203\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "cloneReadOnly", + "description": "Returns a clone of a value that is read-only, i.e., immutable.\n\nIt corresponds to the ImmutableClone(v) abstract operation,\ndefined in the Ballerina Language Specification.\n\n```ballerina\nint[] arr = [1, 2, 3, 4];\nint[] & readonly immutableClone = arr.cloneReadOnly();\nimmutableClone ⇒ [1,2,3,4]\nimmutableClone is readonly ⇒ true \n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "sin", + "module": "lang.value", + "symbol": "cloneReadOnly", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "cos", - "description": "Returns the cosine of a float value.\n\nCorresponds to IEEE cos operation.\n\n```ballerina\nfloat f = 0.7;\nf.cos() ⇒ 0.7648421872844885\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "cloneWithType", + "description": "Constructs a value with a specified type by cloning another value.\n\nWhen parameter `v` is a structural value, the inherent type of the value to be constructed\ncomes from parameter `t`. When parameter `t` is a union, it must be possible to determine which\nmember of the union to use for the inherent type by following the same rules\nthat are used by list constructor expressions and mapping constructor expressions\nwith the contextually expected type. If not, then an error is returned.\nThe `cloneWithType` operation is recursively applied to each member of parameter `v` using\nthe type descriptor that the inherent type requires for that member.\n\nLike the Clone abstract operation, this does a deep copy, but differs in\nthe following respects:\n- the inherent type of any structural values constructed comes from the specified\ntype descriptor rather than the value being constructed\n- the read-only bit of values and fields comes from the specified type descriptor\n- the graph structure of `v` is not preserved; the result will always be a tree;\nan error will be returned if `v` has cycles\n- immutable structural values are copied rather being returned as is; all\nstructural values in the result will be mutable.\n- numeric values can be converted using the NumericConvert abstract operation\n- if a record type descriptor specifies default values, these will be used\nto supply any missing members\n\n```ballerina\nanydata[] arr = [1, 2, 3, 4];\nint[] intArray = check arr.cloneWithType();\nintArray ⇒ [1,2,3,4]\narr === intArray ⇒ false\ntype Vowels string:Char[];\nstring[] vowels = [\"a\", \"e\", \"i\", \"o\", \"u\"];\nvowels.cloneWithType(Vowels) ⇒ [\"a\",\"e\",\"i\",\"o\",\"u\"]\nvowels.cloneWithType(string) ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "cos", + "module": "lang.value", + "symbol": "cloneWithType", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "tan", - "description": "Returns the tangent of a float value.\n\nCorresponds to IEEE tan operation\n\n```ballerina\nfloat f = 0.2;\nf.tan() ⇒ 0.2027100355086725\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "ensureType", + "description": "Safely casts a value to a type.\n\nThis casts a value to a type in the same way as a type cast expression,\nbut returns an error if the cast cannot be done, rather than panicking.\n\n```ballerina\njson student = {name: \"Jo\", subjects: [\"CS1212\", \"CS2021\"]};\njson[] subjects = check student.subjects.ensureType();\nsubjects ⇒ [\"CS1212\",\"CS2021\"]\nanydata vowel = \"I\";\nvowel.ensureType(string:Char) ⇒ I;\nvowel.ensureType(int) ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "tan", + "module": "lang.value", + "symbol": "ensureType", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "acos", - "description": "Returns the arccosine of a float value.\n\nCorresponds to IEEE acos operation.\n\n```ballerina\nfloat f = 0.5;\nf.acos() ⇒ 1.0471975511965979\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "isReadOnly", + "description": "Tests whether a value is read-only, i.e., immutable.\n\nReturns true if read-only, false otherwise.\n\n```ballerina\nint[] scores = [21, 12, 33, 45, 81];\nscores.isReadOnly() ⇒ true\nstring[] sports = [\"cricket\", \"football\", \"rugby\"];\nsports.isReadOnly() ⇒ false\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "acos", + "module": "lang.value", + "symbol": "isReadOnly", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "atan", - "description": "Returns the arctangent of a float value.\n\n```ballerina\nfloat f = 243.25;\nf.atan() ⇒ 1.5666853530369307\n```\n\nCorresponds to IEEE atan operation.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toString", + "description": "Performs a direct conversion of a value to a string.\n\nThe conversion is direct in the sense that when applied to a value that is already\na string it leaves the value unchanged.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the direct style.\n\n```ballerina\ndecimal value = 12.12d;\nvalue.toString() ⇒ 12.12\nanydata[] data = [1, \"Sam\", 12.3f, 12.12d, {value: 12}];\ndata.toString() ⇒ [1,\"Sam\",12.3,12.12,{\"value\":12}]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "atan", + "module": "lang.value", + "symbol": "toString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "asin", - "description": "Returns the arcsine of a float value.\n\nCorresponds to IEEE asin operation.\n\n```ballerina\nfloat f = 0.5;\nf.asin() ⇒ 0.5235987755982989\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toBalString", + "description": "Converts a value to a string that describes the value in Ballerina syntax.\n\nIf parameter `v` is anydata and does not have cycles, then the result will\nconform to the grammar for a Ballerina expression and when evaluated\nwill result in a value that is == to parameter `v`.\n\nThe details of the conversion are specified by the ToString abstract operation\ndefined in the Ballerina Language Specification, using the expression style.\n\n```ballerina\ndecimal value = 12.12d;\nvalue.toBalString() ⇒ 12.12d\nanydata[] data = [1, \"Sam\", 12.3f, 12.12d, {value: 12}];\ndata.toBalString() ⇒ [1,\"Sam\",12.3,12.12d,{\"value\":12}]\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "asin", + "module": "lang.value", + "symbol": "toBalString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "atan2", - "description": "Performs the 2-argument arctangent operation.\n\nCorresponds IEEE atan2(y, x) operation.\n\n```ballerina\nfloat:atan2(24.21, 12.345) ⇒ 1.0992495979622232\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromBalString", + "description": "Parses and evaluates a subset of Ballerina expression syntax.\n\nThe subset of Ballerina expression syntax supported is that produced\nby toBalString when applied to an anydata value.\n\n```ballerina\nstring a = \"12.12d\";\na.fromBalString() ⇒ 12.12\nstring b = \"[1, 2, !]\";\nb.fromBalString() ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "atan2", + "module": "lang.value", + "symbol": "fromBalString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "sinh", - "description": "Returns the hyperbolic sine of a float value.\n\nCorresponds to IEEE sinh operation.\n\n```ballerina\nfloat f = 0.71;\nf.sinh() ⇒ 0.7711735305928927\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toJson", + "description": "Converts a value of type `anydata` to `json`.\n\nThis does a deep copy of parameter `v` converting values that do\nnot belong to json into values that do.\nA value of type `xml` is converted into a string as if\nby the `toString` function.\nA value of type `table` is converted into a list of\nmappings one for each row.\nThe inherent type of arrays in the return value will be\n`json[]` and of mappings will be `map`.\nA new copy is made of all structural values, including\nimmutable values.\nThis panics if parameter `v` has cycles.\n\n```ballerina\nanydata student = {name: \"Jo\", age: 11};\nstudent.toJson() ⇒ {\"name\":\"Jo\",\"age\":11}\nanydata[] array = [];\narray.push(array);\narray.toJson() ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "sinh", + "module": "lang.value", + "symbol": "toJson", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "cosh", - "description": "Returns the hyperbolic cosine of a float value.\n\nCorresponds to IEEE cosh operation.\n\n```ballerina\nfloat f = 0.52;\nf.cosh() ⇒ 1.1382740988345403\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "toJsonString", + "description": "Returns the string that represents a anydata value in JSON format.\n\nparameter `v` is first converted to `json` as if by the function `toJson`.\n\n```ballerina\nanydata marks = {\"Alice\": 90, \"Bob\": 85, \"Jo\": 91};\nmarks.toJsonString() ⇒ {\"Alice\":90, \"Bob\":85, \"Jo\":91}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "cosh", + "module": "lang.value", + "symbol": "toJsonString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "tanh", - "description": "Returns the hyperbolic tangent of a float value.\n\nCorresponds to IEEE tanh operation.\n\n```ballerina\nfloat f = 0.9;\nf.tanh() ⇒ 0.7162978701990245\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromJsonString", + "description": "Parses a string in JSON format and returns the value that it represents.\n\nNumbers in the JSON string are converted into Ballerina values of type\ndecimal except in the following two cases:\nif the JSON number starts with `-` and is numerically equal to zero, then it is\nconverted into float value of `-0.0`;\notherwise, if the JSON number is syntactically an integer and is in the range representable\nby a Ballerina int, then it is converted into a Ballerina int.\nA JSON number is considered syntactically an integer if it contains neither\na decimal point nor an exponent.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"{\\\"id\\\": 12, \\\"name\\\": \\\"John\\\"}\".fromJsonString() ⇒ {\"id\":12,\"name\":\"John\"}\n\"{12: 12}\".fromJsonString() ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "tanh", + "module": "lang.value", + "symbol": "fromJsonString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromString", - "description": "Returns the float value represented by a string.\n\nparameter `s` must follow the syntax of DecimalFloatingPointNumber as defined by the Ballerina specification\nwith the following modifications\n- the DecimalFloatingPointNumber may have a leading `+` or `-` sign\n- `NaN` is allowed\n- `Infinity` is allowed with an optional leading `+` or `-` sign\n- a FloatingPointTypeSuffix is not allowed\nThis is the inverse of function ``value:toString`` applied to an `float`.\n\n```ballerina\nfloat:fromString(\"0.2453\") ⇒ 0.2453\nfloat:fromString(\"-10\") ⇒ -10.0\nfloat:fromString(\"123f\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromJsonFloatString", + "description": "Parses a string in JSON format, using float to represent numbers.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"[12, true, 123.4, \\\"hello\\\"]\".fromJsonFloatString() ⇒ [12.0,true,123.4,\"hello\"]\n\"[12, true, 12.5, !]\".fromJsonFloatString() ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "fromString", + "module": "lang.value", + "symbol": "fromJsonFloatString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toHexString", - "description": "Returns a string that represents a float value as a hexadecimal floating point number.\n\nThe returned string will comply to the grammar of HexFloatingPointLiteral\nin the Ballerina spec with the following modifications:\n- it will have a leading `-` sign if negative\n- positive infinity will be represented by `Infinity`\n- negative infinity will be represented by `-Infinity`\n- NaN will be represented by `NaN`\nThe representation includes `0x` for finite numbers.\n\n```ballerina\nfloat f = -10.2453;\nf.toHexString() ⇒ -0x1.47d97f62b6ae8p3\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromJsonDecimalString", + "description": "Parses a string in JSON format, using decimal to represent numbers.\n\nReturns an error if the string cannot be parsed.\n\n```ballerina\n\"[12, true, 123.4, \\\"hello\\\"]\".fromJsonDecimalString() ⇒ [12.0,true,123.4,\"hello\"]\n\"[12, true, 12.5, !]\".fromJsonDecimalString() ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "toHexString", + "module": "lang.value", + "symbol": "fromJsonDecimalString", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromHexString", - "description": "Return the float value represented by a string.\n\nparameter `s` must follow the syntax of HexFloatingPointLiteral as defined by the Ballerina specification\nwith the following modifications\n- the HexFloatingPointLiteral may have a leading `+` or `-` sign\n- `NaN` is allowed\n- `Infinity` is allowed with an optional leading `+` or `-` sign\n\n```ballerina\nfloat:fromHexString(\"0x1.0a3d70a3d70a4p4\") ⇒ 16.64\nfloat:fromHexString(\"0x1J\") ⇒ error\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromJsonWithType", + "description": "Converts a value of type json to a user-specified type.\n\nThis works the same as function `cloneWithType`,\nexcept that it also does the inverse of the conversions done by `toJson`.\n\n```ballerina\njson arr = [1, 2, 3, 4];\nint[] intArray = check arr.fromJsonWithType();\nintArray ⇒ [1,2,3,4]\ntype Vowels string:Char[];\njson vowels = [\"a\", \"e\", \"i\", \"o\", \"u\"];\nvowels.fromJsonWithType(Vowels) ⇒ [\"a\",\"e\",\"i\",\"o\",\"u\"]\nvowels.fromJsonWithType(string) ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "fromHexString", + "module": "lang.value", + "symbol": "fromJsonWithType", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toBitsInt", - "description": "Returns IEEE 64-bit binary floating point format representation of a float value as an int.\n\n```ballerina\nfloat f = 4.16;\nf.toBitsInt() ⇒ 4616369762039853220\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "fromJsonStringWithType", + "description": "Converts a string in JSON format to a user-specified type.\n\nThis is a combination of function `fromJsonString` followed by function `fromJsonWithType`.\n\n```ballerina\nint[] intArray = check \"[1, 2, 3, 4]\".fromJsonStringWithType(); \nintArray ⇒ [1,2,3,4]\n\"2022\".fromJsonStringWithType(int) ⇒ 2022\n\"2022\".fromJsonStringWithType(boolean) ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "toBitsInt", + "module": "lang.value", + "symbol": "fromJsonStringWithType", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "fromBitsInt", - "description": "Returns the float that is represented in IEEE 64-bit floating point by an int.\n\nAll bit patterns that IEEE defines to be NaNs will all be mapped to the single float NaN value.\n\n```ballerina\nfloat:fromBitsInt(4) ⇒ 2.0E-323\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "mergeJson", + "description": "Merges two `json` values.\n\nThe merge of parameter `j1` with parameter `j2` is defined as follows:\n- if parameter `j1` is `()`, then the result is parameter `j2`\n- if parameter `j2` is `()`, then the result is parameter `j1`\n- if parameter `j1` is a mapping and parameter `j2` is a mapping, then for each entry [k, j] in parameter `j2`, set `j1[k]` to the merge of `j1[k]` with `j`\n- if `j1[k]` is undefined, then set `j1[k]` to `j`\n- if any merge fails, then the merge of parameter `j1` with parameter `j2` fails\n- otherwise, the result is parameter `j1`.\n- otherwise, the merge fails\nIf the merge fails, then parameter `j1` is unchanged.\n\n```ballerina\njson student = {name: \"John\", age: 23};\njson location = {city: \"Colombo\", country: \"Sri Lanka\"};\nstudent.mergeJson(location) ⇒ {\"name\":\"John\",\"age\":23,\"city\":\"Colombo\",\"country\":\"Sri Lanka\"}\nvalue:mergeJson(student, location) ⇒ {\"name\":\"John\",\"age\":23,\"city\":\"Colombo\",\"country\":\"Sri Lanka\"}\njson city = \"Colombo\";\nstudent.mergeJson(city) ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "fromBitsInt", + "module": "lang.value", + "symbol": "mergeJson", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toFixedString", - "description": "Returns a string that represents `x` using fixed-point notation.\nThe returned string will be in the same format used by `value:toString`,\nexcept that it will not include an exponent.\nIf `x` is NaN or infinite, the result will be the same as `value:toString`.\nThis will panic if `fractionDigits` is less than 0.\nIf `fractionDigits` is zero, there will be no decimal point.\nAny necessary rounding will use the roundTiesToEven rounding direction.\n\n```ballerina\nfloat f = 12.456;\nf.toFixedString(2) ⇒ 12.46\nfloat g = 12.456;\ng.toFixedString(0) ⇒ 12\nfloat h = 12.456;\nh.toFixedString(-3) ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "count", + "description": "Returns the number of arguments.\n\n```ballerina\nvalue:count(1, 2, 3) ⇒ 3\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "toFixedString", + "module": "lang.value", + "symbol": "count", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "toExpString", - "description": "Returns a string that represents `x` using scientific notation.\nThe returned string will be in the same format used by `value:toString`,\nexcept that it will always include an exponent and there will be exactly\none digit before the decimal point.\nBut if `x` is NaN or infinite, the result will be the same as `value:toString`.\nThe digit before the decimal point will be zero only if all other digits\nare zero.\nThis will panic if `fractionDigits` is less than 0.\nIf `fractionDigits` is zero, there will be no decimal point.\nAny necessary rounding will use the roundTiesToEven rounding direction.\nThe exponent in the result uses lower-case `e`, followed by a `+` or `-` sign,\nfollowed by at least two digits, and only as many more digits as are needed\nto represent the result. If `x` is zero, the exponent is zero. A zero exponent\nis represented with a `+` sign.\n\n```ballerina\nfloat f = 12.456;\nf.toExpString(2) ⇒ 1.25e+1\nfloat g = 12.456;\ng.toExpString(()) ⇒ 1.2456e+1\nfloat h = 12.456;\nh.toExpString(-2) ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "first", + "description": "Returns the first argument.\n\n```ballerina\nvalue:first(1, 2, 3) ⇒ 1\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "toExpString", + "module": "lang.value", + "symbol": "first", "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "avg", - "description": "Returns the average of its arguments.\nReturn NaN if there are no arguments,\n\n```ballerina\nfloat:avg(2, 2) ⇒ 2.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + "label": "last", + "description": "Returns the last argument.\n\n```ballerina\nvalue:last(1, 2, 3) ⇒ 3\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.value_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.float", - "symbol": "avg", + "module": "lang.value", + "symbol": "last", "version": "0.0.0" }, "enabled": true @@ -4523,128 +4826,98 @@ }, { "metadata": { - "label": "grpc", + "label": "jballerina.java.arrays", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "items": [ { "metadata": { - "label": "initStub", - "description": "Calls when initializing the client endpoint with the service descriptor data extracted from the proto file.\n```ballerina\ngrpc:Error? result = grpcClient.initStub(self, ROOT_DESCRIPTOR, getDescriptorMap());\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "grpc", - "symbol": "initStub", - "version": "1.12.1" - }, - "enabled": true - }, - { - "metadata": { - "label": "authenticateResource", - "description": "Uses for declarative auth design, where the authentication/authorization decision is taken\nby reading the auth annotations provided in service/resource and the `Authorization` header of request.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "grpc", - "symbol": "authenticateResource", - "version": "1.12.1" - }, - "enabled": true - }, - { - "metadata": { - "label": "setCompression", - "description": "Enables the compression support by adding the `grpc-encoding` header to the given headers.\n```ballerina\nmap headers = grpc:setCompression(grpc:GZIP);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "newInstance", + "description": "Returns a new Java array instance with the specified element type and dimensions. This function completes abruptly\nwith a `panic` if the specified handle refers to a Java null or if zero dimensions have been provided.\n```ballerina\nhandle stringClass = check java:getClass(\"java.lang.String\");\nhandle StrArray = arrays:newInstance(stringClass, 4);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "setCompression", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "newInstance", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "setDeadline", - "description": "Enables the deadline by adding the `deadline` header to the given headers.\n```ballerina\ntime:Utc current = time:utcNow();\ntime:Utc deadline = time:utcAddSeconds(current, 300);\nmap headers = grpc:setDeadline(deadline);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "get", + "description": "Returns a `handle`, which refers to the element at the specified index in the given Java array. This function\ncompletes abruptly with a `panic` if the specified handle refers to a Java null or if the handle does not refer\nto a Java array.\n```ballerina\nhandle words = getSortedArray();\nhandle firstWord = arrays:get(words, 0);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "setDeadline", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "get", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "isCancelled", - "description": "Checks whether the deadline is already exceeded or not.\n```ballerina\nboolean|time:Error isCancelled = grpc:isCancelled(map headerMap);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "set", + "description": "Replaces the indexed element at the specified index in the given Java array with the specified element. This\nfunction completes abruptly with a `panic` if the specified handle refers to a Java null or if the handle does\nnot refer to a Java array.\n```ballerina\nhandle strArray = getStringArray();\narrays:set(strArray, 0, java:fromString(\"Ballerina\"));\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "isCancelled", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "set", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "getDeadline", - "description": "Returns the deadline value as `time:Utc`. This can be used to get the deadline and propagate it to subsequent internal calls.\n```ballerina\ntime:Utc?|time:Error deadline = grpc:getDeadline(map headerMap);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "getLength", + "description": "Returns the length of the given Java array.\n```ballerina\nhandle array = getArray();\nint length = arrays:getLength(array);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "getDeadline", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "getLength", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "getHeader", - "description": "Returns the header value with the specified header name. If there are more than one header values for the\nspecified header name, the first value is returned.\n```ballerina\nmap headerMap = request.headers;\nstring|grpc:Error result = grpc:getHeader(headerMap, \"content-type\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "fromHandle", + "description": "Returns a Ballerina array for a handle that holds a Java array.\n```ballerina\nint[] array = check arrays:fromHandle(arrayHandle, \"int\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "getHeader", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "fromHandle", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "getHeaders", - "description": "Gets all the transport headers with the specified header name.\n```ballerina\nmap headerMap = request.headers;\nstring[]|grpc:Error result = grpc:getHeaders(headerMap, \"content-type\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_grpc_1.12.1.png" + "label": "toHandle", + "description": "Returns a handle value representation for a Ballerina array.\n```ballerina\nhandle handleValue = check arrays:toHandle(array, \"char\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "grpc", - "symbol": "getHeaders", - "version": "1.12.1" + "module": "jballerina.java.arrays", + "symbol": "toHandle", + "version": "1.4.0" }, "enabled": true } @@ -4652,965 +4925,926 @@ }, { "metadata": { - "label": "random", + "label": "io", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "items": [ { "metadata": { - "label": "createDecimal", - "description": "Generates a random decimal number between 0.0 and 1.0.\n```ballerina\nfloat randomValue = random:createDecimal();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" + "label": "fileReadBytes", + "description": "Read the entire file content as a byte array.\n```ballerina\nbyte[]|io:Error content = io:fileReadBytes(\"./resources/myfile.txt\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "random", - "symbol": "createDecimal", - "version": "1.5.0" + "module": "io", + "symbol": "fileReadBytes", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createIntInRange", - "description": "Generates a random number between the given start(inclusive) and end(exclusive) values.\nPlease note that the generated number is not cryptographically secured.\n```ballerina\nint randomInteger = check random:createIntInRange(1, 100);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" + "label": "fileReadBlocksAsStream", + "description": "Read the entire file content as a stream of blocks.\n```ballerina\nstream|io:Error content = io:fileReadBlocksAsStream(\"./resources/myfile.txt\", 1000);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "random", - "symbol": "createIntInRange", - "version": "1.5.0" + "module": "io", + "symbol": "fileReadBlocksAsStream", + "version": "1.6.1" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "auth", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_auth_2.12.0.png" - }, - "items": [ + }, { "metadata": { - "label": "extractUsernameAndPassword", - "description": "Extracts the username and the password from the Base64-encoded `username:password` value.\n```ballerina\n[string, string] [username, password] = check auth:extractUsernameAndPassword(\"\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_auth_2.12.0.png" + "label": "fileWriteBytes", + "description": "Write a set of bytes to a file.\n```ballerina\nbyte[] content = [60, 78, 39, 28];\nio:Error? result = io:fileWriteBytes(\"./resources/myfile.txt\", content);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "auth", - "symbol": "extractUsernameAndPassword", - "version": "2.12.0" + "module": "io", + "symbol": "fileWriteBytes", + "version": "1.6.1" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "lang.function", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.function_0.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "call", - "description": "Calls a function dynamically.\n\nIf the arguments specified in `args` are not of the type required by `func`,\nthen this will panic.\n\n```ballerina\nfunction getGreeting(string? name = ()) returns string => name is () ? \"Hello\" : string `Hello ${name}!`;\nfunction:call(getGreeting) ⇒ Hello\nfunction:call(getGreeting, \"David\") ⇒ Hello David!\nfunction:call(getGreeting, 1) ⇒ panic\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.function_0.0.0.png" + "label": "fileWriteBlocksFromStream", + "description": "Write a byte stream to a file.\n```ballerina\nbyte[] content = [[60, 78, 39, 28]];\nstream byteStream = content.toStream();\nio:Error? result = io:fileWriteBlocksFromStream(\"./resources/myfile.txt\", byteStream);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "lang.function", - "symbol": "call", - "version": "0.0.0" + "module": "io", + "symbol": "fileWriteBlocksFromStream", + "version": "1.6.1" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "uuid", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" - }, - "items": [ + }, { "metadata": { - "label": "createType1AsString", - "description": "Returns a UUID of type 1 as a string.\n```ballerina\nstring uuid1 = uuid:createType1AsString();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadCsv", + "description": "Read file content as a CSV.\nWhen the expected data type is record[], the first entry of the csv file should contain matching headers.\n```ballerina\nstring[][]|io:Error content = io:fileReadCsv(\"./resources/myfile.csv\");\nrecord{}[]|io:Error content = io:fileReadCsv(\"./resources/myfile.csv\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType1AsString", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadCsv", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType1AsRecord", - "description": "Returns a UUID of type 1 as a UUID record.\n```ballerina\nuuid:Uuid uuid1 = check uuid:createType1AsRecord();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadCsvAsStream", + "description": "Read file content as a CSV.\nWhen the expected data type is stream,\nthe first entry of the csv file should contain matching headers.\n```ballerina\nstream|io:Error content = io:fileReadCsvAsStream(\"./resources/myfile.csv\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType1AsRecord", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadCsvAsStream", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType3AsString", - "description": "Returns a UUID of type 3 as a string.\n```ballerina\nstring uuid3 = check uuid:createType3AsString(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteCsv", + "description": "Write CSV content to a file.\nWhen the input is a record[] type in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nio:Error? result = io:fileWriteCsv(\"./resources/myfile.csv\", content);\nio:Error? resultRecord = io:fileWriteCsv(\"./resources/myfileRecord.csv\", contentRecord);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType3AsString", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteCsv", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType3AsRecord", - "description": "Returns a UUID of type 3 as a UUID record.\n```ballerina\nuuid:Uuid uuid3 = check uuid:createType3AsRecord(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteCsvFromStream", + "description": "Write CSV record stream to a file.\nWhen the input is a `stream` in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nstream stringStream = content.toStream();\nstream recordStream = contentRecord.toStream();\nio:Error? result = io:fileWriteCsvFromStream(\"./resources/myfile.csv\", stringStream);\nio:Error? resultRecord = io:fileWriteCsvFromStream(\"./resources/myfileRecord.csv\", recordStream);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType3AsRecord", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteCsvFromStream", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType4AsString", - "description": "Returns a UUID of type 4 as a string.\n```ballerina\nstring uuid4 = uuid:createType4AsString();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadString", + "description": "Reads the entire file content as a `string`.\nThe resulting string output does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstring|io:Error content = io:fileReadString(\"./resources/myfile.txt\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType4AsString", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadString", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType4AsRecord", - "description": "Returns a UUID of type 4 as a UUID record.\n```ballerina\nuuid:Uuid uuid4 = check uuid:createType4AsRecord();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadLines", + "description": "Reads the entire file content as a list of lines.\nThe resulting string array does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstring[]|io:Error content = io:fileReadLines(\"./resources/myfile.txt\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType4AsRecord", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadLines", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType5AsString", - "description": "Returns a UUID of type 5 as a string.\n```ballerina\nstring uuid5 = check uuid:createType5AsString(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadLinesAsStream", + "description": "Reads file content as a stream of lines.\nThe resulting stream does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstream|io:Error content = io:fileReadLinesAsStream(\"./resources/myfile.txt\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType5AsString", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadLinesAsStream", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createType5AsRecord", - "description": "Returns a UUID of type 5 as a UUID record.\n```ballerina\nuuid:Uuid uuid5 = check uuid:createType5AsRecord(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadJson", + "description": "Reads file content as a JSON.\n```ballerina\njson|io:Error content = io:fileReadJson(\"./resources/myfile.json\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createType5AsRecord", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadJson", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createRandomUuid", - "description": "Returns a UUID of type 4 as a string.\nThis function provides a convenient alias for 'createType4AsString()'.\n```ballerina\nstring newUUID = uuid:createRandomUuid();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileReadXml", + "description": "Reads file content as an XML.\n```ballerina\nxml|io:Error content = io:fileReadXml(\"./resources/myfile.xml\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "createRandomUuid", - "version": "1.8.0" + "module": "io", + "symbol": "fileReadXml", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "nilAsString", - "description": "Returns a nil UUID as a string.\n```ballerina\nstring nilUUID = uuid:nilAsString();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteString", + "description": "Write a string content to a file.\n```ballerina\nstring content = \"Hello Universe..!!\";\nio:Error? result = io:fileWriteString(\"./resources/myfile.txt\", content);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "nilAsString", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteString", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "nilAsRecord", - "description": "Returns a nil UUID as a UUID record.\n```ballerina\nuuid:Uuid nilUUID = uuid:nilAsRecord();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteLines", + "description": "Write an array of lines to a file.\nDuring the writing operation, a newline character `\\n` will be added after each line.\n```ballerina\nstring[] content = [\"Hello Universe..!!\", \"How are you?\"];\nio:Error? result = io:fileWriteLines(\"./resources/myfile.txt\", content);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "nilAsRecord", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteLines", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "validate", - "description": "Test a string to see if it is a valid UUID.\n```ballerina\nboolean valid = uuid:validate(\"4397465e-35f9-11eb-adc1-0242ac120002\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteLinesFromStream", + "description": "Write stream of lines to a file.\nDuring the writing operation, a newline character `\\n` will be added after each line.\n```ballerina\nstring content = [\"Hello Universe..!!\", \"How are you?\"];\nstream lineStream = content.toStream();\nio:Error? result = io:fileWriteLinesFromStream(\"./resources/myfile.txt\", lineStream);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "validate", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteLinesFromStream", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "getVersion", - "description": "Detect RFC version of a UUID. Returns an error if the UUID is invalid.\n```ballerina\nuuid:Version v = check uuid:getVersion(\"4397465e-35f9-11eb-adc1-0242ac120002\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteJson", + "description": "Write a JSON to a file.\n```ballerina\njson content = {\"name\": \"Anne\", \"age\": 30};\nio:Error? result = io:fileWriteJson(\"./resources/myfile.json\", content);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "getVersion", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteJson", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "toBytes", - "description": "Converts to an array of bytes. Returns an error if the UUID is invalid.\n```ballerina\nbyte[] b = check uuid:toBytes(“6ec0bd7f-11c0-43da-975e-2aesass0b”);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "fileWriteXml", + "description": "Write XML content to a file.\n```ballerina\nxml content = xml `The Lost World`;\nio:Error? result = io:fileWriteXml(\"./resources/myfile.xml\", content);\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "toBytes", - "version": "1.8.0" + "module": "io", + "symbol": "fileWriteXml", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "toString", - "description": "Converts to a UUID string. Returns an error if the UUID is invalid.\n```ballerina\nstring s = check uuid:toString([5, 12, 16, 35]);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "openReadableFile", + "description": "Retrieves a `ReadableByteChannel` from a given file path.\n```ballerina\nio:ReadableByteChannel readableFieldResult = check io:openReadableFile(\"./files/sample.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "toString", - "version": "1.8.0" + "module": "io", + "symbol": "openReadableFile", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "toRecord", - "description": "Converts to a UUID record. Returns an error if the UUID is invalid.\n```ballerina\nuuid:Uuid r1 = check uuid:toRecord(\"4397465e-35f9-11eb-adc1-0242ac120002\");\nuuid:Uuid r2 = check uuid:toRecord([10, 20, 30]);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + "label": "openWritableFile", + "description": "Retrieves a `WritableByteChannel` from a given file path.\n```ballerina\nio:WritableByteChannel writableFileResult = check io:openWritableFile(\"./files/sampleResponse.txt\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "uuid", - "symbol": "toRecord", - "version": "1.8.0" + "module": "io", + "symbol": "openWritableFile", + "version": "1.6.1" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "file", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" - }, - "items": [ + }, { "metadata": { - "label": "getCurrentDir", - "description": "Returns the current working directory.\n```ballerina\nstring dirPath = file:getCurrentDir();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "createReadableChannel", + "description": "Creates an in-memory channel, which will be a reference stream of bytes.\n```ballerina\nvar byteChannel = io:createReadableChannel(content);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "getCurrentDir", - "version": "1.10.0" + "module": "io", + "symbol": "createReadableChannel", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "createDir", - "description": "Creates a new directory with the specified name.\n```ballerina\ncheck file:createDir(\"foo/bar\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "openReadableCsvFile", + "description": "Retrieves a readable CSV channel from a given file path.\n```ballerina\nio:ReadableCSVChannel rCsvChannel = check io:openReadableCsvFile(srcFileName);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "createDir", - "version": "1.10.0" + "module": "io", + "symbol": "openReadableCsvFile", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "remove", - "description": "Removes the specified file or directory.\n```ballerina\ncheck file:remove(\"foo/bar.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "openWritableCsvFile", + "description": "Retrieves a writable CSV channel from a given file path.\n```ballerina\nio:WritableCSVChannel wCsvChannel = check io:openWritableCsvFile(srcFileName);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "remove", - "version": "1.10.0" + "module": "io", + "symbol": "openWritableCsvFile", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "rename", - "description": "Renames(Moves) the old path with the new path.\nIf the new path already exists and it is not a directory, this replaces the file.\n```ballerina\ncheck file:rename(\"/A/B/C\", \"/A/B/D\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "print", + "description": "Prints `any`, `error`, or string templates (such as `The respective int value is ${val}`) value(s) to the `STDOUT`.\n```ballerina\nio:print(\"Start processing the CSV file from \", srcFileName);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "rename", - "version": "1.10.0" + "module": "io", + "symbol": "print", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "create", - "description": "Creates a file in the specified file path.\nTruncates if the file already exists in the given path.\n```ballerina\ncheck file:create(\"bar.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "println", + "description": "Prints `any`, `error` or string templates(such as `The respective int value is ${val}`) value(s) to the STDOUT\nfollowed by a new line.\n```ballerina\nio:println(\"Start processing the CSV file from \", srcFileName);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "create", - "version": "1.10.0" + "module": "io", + "symbol": "println", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "getMetaData", - "description": "Returns the metadata information of the file specified in the file path.\n```ballerina\nfile:MetaData result = check file:getMetaData(\"foo/bar.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "fprint", + "description": "Prints `any`, `error`, or string templates(such as `The respective int value is ${val}`) value(s) to\na given stream(STDOUT or STDERR).\n```ballerina\nio:fprint(io:stderr, \"Unexpected error occurred\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "getMetaData", - "version": "1.10.0" + "module": "io", + "symbol": "fprint", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "readDir", - "description": "Reads the directory and returns a list of metadata of files and directories\ninside the specified directory.\n```ballerina\nfile:MetaData[] results = check file:readDir(\"foo/bar\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "fprintln", + "description": "Prints `any`, `error`, or string templates(such as `The respective int value is ${val}`) value(s) to\na given stream(STDOUT or STDERR) followed by a new line.\n```ballerina\nio:fprintln(io:stderr, \"Unexpected error occurred\");\n```", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "readDir", - "version": "1.10.0" + "module": "io", + "symbol": "fprintln", + "version": "1.6.1" }, "enabled": true }, { "metadata": { - "label": "copy", - "description": "Copy the file/directory in the old path to the new path.\n```ballerina\ncheck file:copy(\"/A/B/C\", \"/A/B/D\", true);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "readln", + "description": "Retrieves the input read from the STDIN.\n```ballerina\nstring choice = io:readln(\"Enter choice 1 - 5: \");\nstring choice = io:readln();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "copy", - "version": "1.10.0" + "module": "io", + "symbol": "readln", + "version": "1.6.1" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "lang.xml", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" + }, + "items": [ { "metadata": { - "label": "createTemp", - "description": "Creates a temporary file.\n```ballerina\nstring tmpFile = check file:createTemp();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "'map", + "description": "Applies a function to each item in an xml sequence, and returns an xml sequence of the results.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.map(function (xml xmlContent) returns xml => \n xml `${xmlContent.children()}`\n) ⇒ HamletMacbeth\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "createTemp", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "'map", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "createTempDir", - "description": "Creates a temporary directory.\n```ballerina\nstring tmpDir = check file:createTempDir();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "length", + "description": "Returns number of xml items in an xml value.\n\n```ballerina\nxml `Sherlock Holmes`.length() ⇒ 2\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "createTempDir", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "length", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "test", - "description": "Tests a file path against a test condition .\n```ballerina\nboolean result = check file:test(\"foo/bar.txt\", file:EXISTS);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "iterator", + "description": "Returns an iterator over the xml items of an xml sequence.\n\n# Each item is represented by an xml singleton.\n\n```ballerina\nobject {\n public isolated function next() returns record {|xml value;|}?;\n} iterator = xml `JohnPeter`.iterator();\niterator.next() ⇒ {\"value\":`John`}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "test", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "iterator", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "getAbsolutePath", - "description": "Retrieves the absolute path from the provided location.\n```ballerina\n string absolutePath = check file:getAbsolutePath(\"test.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "get", + "description": "Returns the item of an xml sequence with given index.\n\nThis differs from `x[i]` in that it panics if\nparameter `x` does not have an item with index parameter `i`.\n\n```ballerina\nxml x = xml `MacbethHamlet`;\nx.get(1) ⇒ Hamlet\nx.get(15) ⇒ panic\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "getAbsolutePath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "get", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "isAbsolutePath", - "description": "Reports whether the path is absolute.\nA path is absolute if it is independent of the current directory.\nOn Unix, a path is absolute if it starts with the root.\nOn Windows, a path is absolute if it has a prefix and starts with the root: c:\\windows.\n```ballerina\n boolean isAbsolute = check file:isAbsolutePath(\"/A/B/C\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "concat", + "description": "Concatenates xml and string values.\n\n```ballerina\nxml bookA = xml `Sherlock Holmes`;\nxml bookB = xml `Hamlet`;\nxml:concat(bookA, bookB, xml `Macbeth`) ⇒ Sherlock HolmesHamletMacbeth\nbookA.concat(bookB) ⇒ Sherlock HolmesHamlet\nbookB.concat(\"Novel\") ⇒ HamletNovel\nxml:concat(\"Hello\", \"World\") ⇒ HelloWorld\nxml[] subjects = [xml `English`, xml `Math`, xml `ICT`];\nxml:concat(...subjects) ⇒ EnglishMathICT\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "isAbsolutePath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "concat", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "basename", - "description": "Retrieves the base name of the file from the provided location,\nwhich is the last element of the path.\nTrailing path separators are removed before extracting the last element.\n```ballerina\n string name = check file:basename(\"/A/B/C.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "getName", + "description": "Returns a string giving the expanded name of an xml element.\n\n```ballerina\nxml:Element e = xml `John`;\ne.getName() ⇒ person\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "basename", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "getName", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "parentPath", - "description": "Returns the enclosing parent directory.\nIf the path is empty, parent returns \".\".\nThe returned path does not end in a separator unless it is the root directory.\n```ballerina\n string parentPath = check file:parentPath(\"/A/B/C.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "setName", + "description": "Changes the name of an XML element.\n\n```ballerina\nxml:Element e = xml `John`;\ne.setName(\"student\");\ne ⇒ John\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "parentPath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "setName", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "normalizePath", - "description": "Normalizes a path value.\n```ballerina\n string normalizedPath = check file:normalizePath(\"foo/../bar\", file:CLEAN);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "getAttributes", + "description": "Returns the map representing the attributes of an xml element.\n\nThis includes namespace attributes.\nThe keys in the map are the expanded names of the attributes.\n\n```ballerina\nxml:Element e = xml `John`;\ne.getAttributes() ⇒ {\"id\":\"1012\",\"employed\":\"yes\"}\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "normalizePath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "getAttributes", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "splitPath", - "description": "Splits a list of paths joined by the OS-specific path separator.\n```ballerina\n string[] parts = check file:splitPath(\"/A/B/C\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "getChildren", + "description": "Returns the children of an xml element.\n\n```ballerina\nxml:Element e = xml `HamletMacbeth`;\ne.getChildren() ⇒ HamletMacbeth\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "splitPath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "getChildren", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "joinPath", - "description": "Joins any number of path elements into a single path.\n```ballerina\n string path = check file:joinPath(\"/\", \"foo\", \"bar\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "setChildren", + "description": "Sets the children of an xml element.\n\nThis panics if it would result in the element structure\nbecoming cyclic.\n\n```ballerina\nxml:Element employees = xml `DavidPeter`;\nemployees.setChildren(xml `AliceBob`);\nemployees ⇒ AliceBob\nxml:Element student = xml `John`;\nstudent.setChildren(\"Jane\");\nstudent ⇒ Jane\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "joinPath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "setChildren", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "relativePath", - "description": "Returns a relative path, which is logically equivalent to the target path when joined to the base path with an\nintervening separator.\nAn error is returned if the target path cannot be made relative to the base path.\n```ballerina\n string relative = check file:relativePath(\"a/b/e\", \"a/c/d\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_file_1.10.0.png" + "label": "getDescendants", + "description": "Returns the descendants of an xml element.\n\nThe descendants of an element are the children of the element\ntogether with, for each of those children that is an element,\nthe descendants of that element, ordered so that\neach element immediately precedes all its descendants.\nThe order of the items in the returned sequence will thus correspond\nto the order in which the first character of the representation\nof the item would occur in the representation of the element in XML syntax.\n\n```ballerina\nxml:Element e = xml `John Doe30`;\ne.getDescendants() ⇒ John DoeJohn Doe3030\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "file", - "symbol": "relativePath", - "version": "1.10.0" + "module": "lang.xml", + "symbol": "getDescendants", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "log", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" - }, - "items": [ + }, { "metadata": { - "label": "printDebug", - "description": "Prints debug logs.\n```ballerina\nlog:printDebug(\"debug message\", id = 845315)\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" + "label": "data", + "description": "Returns a string with the character data of an xml value.\n\nThe character data of an xml value is as follows:\n* the character data of a text item is a string with one character for each\ncharacter information item represented by the text item;\n* the character data of an element item is the character data of its children;\n* the character data of a comment item is the empty string;\n* the character data of a processing instruction item is the empty string;\n* the character data of an empty xml sequence is the empty string;\n* the character data of the concatenation of two xml sequences x1 and x2 is the\nconcatenation of the character data of x1 and the character data of x2.\n\n```ballerina\nxml x = xml `Jane Eyre`;\nx.data() ⇒ Jane Eyre\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "log", - "symbol": "printDebug", - "version": "2.10.0" + "module": "lang.xml", + "symbol": "data", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "printError", - "description": "Prints error logs.\n```ballerina\nerror e = error(\"error occurred\");\nlog:printError(\"error log with cause\", 'error = e, id = 845315);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" + "label": "getTarget", + "description": "Returns the target part of the processing instruction.\n\n```ballerina\nxml:ProcessingInstruction p = xml ``;\np.getTarget() ⇒ sort\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "log", - "symbol": "printError", - "version": "2.10.0" + "module": "lang.xml", + "symbol": "getTarget", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "printInfo", - "description": "Prints info logs.\n```ballerina\nlog:printInfo(\"info message\", id = 845315)\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" + "label": "getContent", + "description": "Returns the content of a processing instruction or comment item.\n\n```ballerina\nxml:ProcessingInstruction procInstruction = xml ``;\nprocInstruction.getContent() ⇒ ascending\nxml:Comment comment = xml ``;\ncomment.getContent() ⇒ Employees by department\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "log", - "symbol": "printInfo", - "version": "2.10.0" + "module": "lang.xml", + "symbol": "getContent", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "printWarn", - "description": "Prints warn logs.\n```ballerina\nlog:printWarn(\"warn message\", id = 845315)\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" + "label": "createElement", + "description": "Creates a new xml element item.\n\n```ballerina\nxml:createElement(\n \"book\", \n {genre: \"Mystery\", year: \"1892\"}, \n xml `Sherlock HolmesArthur Conan Doyle`\n) ⇒ Sherlock HolmesArthur Conan Doyle\nxml:createElement(\"person\") ⇒ \nxml:createElement(\"student\", {id: \"1209\"}) ⇒ \nxml:createElement(\"employee\", children = xml `John`) ⇒ John\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "log", - "symbol": "printWarn", - "version": "2.10.0" + "module": "lang.xml", + "symbol": "createElement", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "setOutputFile", - "description": "Set the log output to a file. Note that all the subsequent logs of the entire application will be written to this file.\n```ballerina\nvar result = log:setOutputFile(\"./resources/myfile.log\");\nvar result = log:setOutputFile(\"./resources/myfile.log\", log:OVERWRITE);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_log_2.10.0.png" + "label": "createProcessingInstruction", + "description": "Creates a new xml processing instruction item.\n\n```ballerina\nxml:createProcessingInstruction(\"sort\", \"descending\") ⇒ \n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "log", - "symbol": "setOutputFile", - "version": "2.10.0" + "module": "lang.xml", + "symbol": "createProcessingInstruction", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "sql", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" - }, - "items": [ + }, { "metadata": { - "label": "getGlobalConnectionPool", - "description": "Returns the global connection pool.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" + "label": "createComment", + "description": "Creates a new xml comment item.\n\n```ballerina\nxml:createComment(\"Example comment\") ⇒ \n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "sql", - "symbol": "getGlobalConnectionPool", - "version": "1.14.1" + "module": "lang.xml", + "symbol": "createComment", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "queryConcat", - "description": "Concatenates all provided `sql:ParameterizedQuery`s into a single `sql:ParameterizedQuery`.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" + "label": "createText", + "description": "Constructs an xml value of type Text.\n\nThe constructed sequence will be empty when the length of parameter `data` is zero.\n\n```ballerina\nxml:createText(\"Hello!\") ⇒ Hello!\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "sql", - "symbol": "queryConcat", - "version": "1.14.1" + "module": "lang.xml", + "symbol": "createText", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "arrayFlattenQuery", - "description": "Joins the parameters in the array with the `,` delimiter into an `sql:ParameterizedQuery`.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" + "label": "slice", + "description": "Returns a subsequence of an xml value.\n\n```ballerina\nxml x = xml `HTMLInvisible ManDavid CopperfieldJane Eyre`;\nx.slice(2) ⇒ David CopperfieldJane Eyre\nx.slice(1, 3) ⇒ Invisible ManDavid Copperfield\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "sql", - "symbol": "arrayFlattenQuery", - "version": "1.14.1" + "module": "lang.xml", + "symbol": "slice", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "generateApplicationErrorStream", - "description": "Generates a stream consisting of `sql:Error` elements.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" + "label": "strip", + "description": "Strips the insignificant parts of the an xml value.\n\nComment items, processing instruction items are considered insignificant.\nAfter removal of comments and processing instructions, the text is grouped into\nthe biggest possible chunks (i.e., only elements cause division into multiple chunks)\nand a chunk is considered insignificant if the entire chunk is whitespace.\n\n```ballerina\nxml x = xml `\n Othello`;\nx.strip() ⇒ Othello\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "sql", - "symbol": "generateApplicationErrorStream", - "version": "1.14.1" + "module": "lang.xml", + "symbol": "strip", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "constraint", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_constraint_1.5.0.png" - }, - "items": [ + }, { "metadata": { - "label": "validate", - "description": "Validates the provided value against the configured annotations. Additionally, if the type of the value is different\nfrom the expected return type then the value will be cloned with the contextually expected type before the validation.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_constraint_1.5.0.png" + "label": "elements", + "description": "Selects elements from an xml value.\n\nIf parameter `nm` is `()`, selects all elements;\notherwise, selects only elements whose expanded name is parameter `nm`.\n\n```ballerina\nxml x = xml `Sherlock HolmesHamlet\n Jane EyreMacbeth`;\nx.elements() ⇒ Sherlock HolmesHamletJane EyreMacbeth\nx.elements(\"novel\") ⇒ Sherlock HolmesJane Eyre\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "constraint", - "symbol": "validate", - "version": "1.5.0" + "module": "lang.xml", + "symbol": "elements", + "version": "0.0.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "task", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" - }, - "items": [ + }, { "metadata": { - "label": "getTimeInMillies", - "description": "Gets time in milliseconds of the given `time:Civil`.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "children", + "description": "Returns the children of elements in an xml value.\n\nWhen parameter `x` is of type `Element`, it is equivalent to function `getChildren`.\nThis is equivalent to `elements(x).map(getChildren)`.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.children() ⇒ HamletMacbeth\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "getTimeInMillies", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "children", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "configureWorkerPool", - "description": "Configure the scheduler worker pool.\n```ballerina\ncheck task:configureWorkerPool(4, 7);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "elementChildren", + "description": "Selects element children of an xml value.\n\nThis is equivalent to `children(x).elements(nm)`.\n\n```ballerina\nxml x = xml `HamletMacbeth`;\nx.elementChildren() ⇒ HamletMacbeth\nx.elementChildren(\"novel\") ⇒ Macbeth\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "configureWorkerPool", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "elementChildren", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "scheduleOneTimeJob", - "description": "Schedule the given `task:Job` for the given time. Once scheduled, it will return a job ID, which can be used to manage\nthe job.\n```ballerina\ntime:Utc newTime = time:utcAddSeconds(time:utcNow(), 3);\ntime:Civil time = time:utcToCivil(newTime);\ntask:JobId jobId = check task:scheduleOneTimeJob(new Job(), time);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "forEach", + "description": "Applies a function to each item in an xml sequence.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml books = xml `Sherlock HolmesInvisible Man`;\nxml titles = xml ``;\nbooks.forEach(function (xml xmlItem) {\n titles += xml `${xmlItem.data()}`;\n});\ntitles ⇒ Sherlock HolmesInvisible Man\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "scheduleOneTimeJob", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "forEach", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "scheduleJobRecurByFrequency", - "description": "Schedule the recurring `task:Job` according to the given duration. Once scheduled, it will return the job ID, which\ncan be used to manage the job.\n```ballerina\ntask:JobId jobId = check task:scheduleJobRecurByFrequency(new Job(), 3);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "filter", + "description": "Selects the items from an xml sequence for which a function returns true.\n\nEach item is represented as a singleton value.\n\n```ballerina\nxml x = xml `Sherlock HolemesHamletInvisible ManRomeo and Juliet`;\nx.filter(x => x is xml:Element && x.getName() == \"play\") ⇒ HamletRomeo and Juliet\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "scheduleJobRecurByFrequency", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "filter", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "unscheduleJob", - "description": "Unschedule the `task:Job`, which is associated with the given job ID. If no job is running in the scheduler,\nthe scheduler will be shut down automatically.\n```ballerina\ncheck task:unscheduleJob(jobId);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "fromString", + "description": "Constructs an xml value from a string.\n\nThis parses the string using the `content` production of the\nXML 1.0 Recommendation.\n\n```ballerina\nxml:fromString(\"HamletSherlock Holmes\") ⇒ HamletSherlock Holmes\nxml:fromString(\"b\") ⇒ error\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "unscheduleJob", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "fromString", + "version": "0.0.0" }, "enabled": true }, { "metadata": { - "label": "pauseAllJobs", - "description": "Pauses all the jobs.\n```ballerina\ncheck task:pauseAllJobs();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "text", + "description": "Selects all the items in a sequence that are of type `xml:Text`.\n\n```ballerina\nxml x = xml `JohnAlex Doe`;\nx.text() ⇒ John Doe\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.xml_0.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "pauseAllJobs", - "version": "2.5.0" + "module": "lang.xml", + "symbol": "text", + "version": "0.0.0" + }, + "enabled": true + } + ] + }, + { + "metadata": { + "label": "persist", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + }, + "items": [ + { + "metadata": { + "label": "getNotFoundError", + "description": "Generates a new `persist:NotFoundError` with the given parameters.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "persist", + "symbol": "getNotFoundError", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "resumeAllJobs", - "description": "Resumes all the jobs.\n```ballerina\ncheck task:resumeAllJobs();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "getAlreadyExistsError", + "description": "Generates a new `persist:AlreadyExistsError` with the given parameters.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "resumeAllJobs", - "version": "2.5.0" + "module": "persist", + "symbol": "getAlreadyExistsError", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "pauseJob", - "description": "Pauses the particular job.\n```ballerina\ncheck task:pauseJob(jobId);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "convertToArray", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "pauseJob", - "version": "2.5.0" + "module": "persist", + "symbol": "convertToArray", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "resumeJob", - "description": "Resumes the particular job.\n```ballerina\ncheck task:resumeJob(jobId);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "filterRecord", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "resumeJob", - "version": "2.5.0" + "module": "persist", + "symbol": "filterRecord", + "version": "1.4.0" }, "enabled": true }, { "metadata": { - "label": "getRunningJobs", - "description": "Gets all the running jobs.\n```ballerina\ntask:JobId[] result = task:getRunningJobs();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" + "label": "getKey", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "task", - "symbol": "getRunningJobs", - "version": "2.5.0" + "module": "persist", + "symbol": "getKey", + "version": "1.4.0" }, "enabled": true } @@ -5687,281 +5921,311 @@ }, { "metadata": { - "label": "edi", + "label": "random", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" }, "items": [ { "metadata": { - "label": "fromEdiString", - "description": "Reads the given EDI text according to the provided schema.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + "label": "createDecimal", + "description": "Generates a random decimal number between 0.0 and 1.0.\n```ballerina\nfloat randomValue = random:createDecimal();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "edi", - "symbol": "fromEdiString", - "version": "1.3.0" + "module": "random", + "symbol": "createDecimal", + "version": "1.5.0" }, "enabled": true }, { "metadata": { - "label": "toEdiString", - "description": "Writes the given JSON varibale into a EDI text according to the provided schema.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + "label": "createIntInRange", + "description": "Generates a random number between the given start(inclusive) and end(exclusive) values.\nPlease note that the generated number is not cryptographically secured.\n```ballerina\nint randomInteger = check random:createIntInRange(1, 100);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_random_1.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "edi", - "symbol": "toEdiString", - "version": "1.3.0" + "module": "random", + "symbol": "createIntInRange", + "version": "1.5.0" + }, + "enabled": true + } + ] + }, + { + "metadata": { + "label": "uuid", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + }, + "items": [ + { + "metadata": { + "label": "createType1AsString", + "description": "Returns a UUID of type 1 as a string.\n```ballerina\nstring uuid1 = uuid:createType1AsString();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "uuid", + "symbol": "createType1AsString", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getSchema", - "description": "Creates an EDI schema from a string or a JSON.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + "label": "createType1AsRecord", + "description": "Returns a UUID of type 1 as a UUID record.\n```ballerina\nuuid:Uuid uuid1 = check uuid:createType1AsRecord();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "edi", - "symbol": "getSchema", - "version": "1.3.0" + "module": "uuid", + "symbol": "createType1AsRecord", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getDataType", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_edi_1.3.0.png" + "label": "createType3AsString", + "description": "Returns a UUID of type 3 as a string.\n```ballerina\nstring uuid3 = check uuid:createType3AsString(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "edi", - "symbol": "getDataType", - "version": "1.3.0" + "module": "uuid", + "symbol": "createType3AsString", + "version": "1.8.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "data.xmldata", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" - }, - "items": [ + }, { "metadata": { - "label": "parseAsType", - "description": "Converts XML to record type with projection.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createType3AsRecord", + "description": "Returns a UUID of type 3 as a UUID record.\n```ballerina\nuuid:Uuid uuid3 = check uuid:createType3AsRecord(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "parseAsType", - "version": "1.0.0" + "module": "uuid", + "symbol": "createType3AsRecord", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "parseString", - "description": "Converts XML string to record type with projection.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createType4AsString", + "description": "Returns a UUID of type 4 as a string.\n```ballerina\nstring uuid4 = uuid:createType4AsString();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "parseString", - "version": "1.0.0" + "module": "uuid", + "symbol": "createType4AsString", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "parseBytes", - "description": "Converts XML byte[] to record type with projection.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createType4AsRecord", + "description": "Returns a UUID of type 4 as a UUID record.\n```ballerina\nuuid:Uuid uuid4 = check uuid:createType4AsRecord();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "parseBytes", - "version": "1.0.0" + "module": "uuid", + "symbol": "createType4AsRecord", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "parseStream", - "description": "Converts XML byte-block-stream to record type with projection.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createType5AsString", + "description": "Returns a UUID of type 5 as a string.\n```ballerina\nstring uuid5 = check uuid:createType5AsString(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "parseStream", - "version": "1.0.0" + "module": "uuid", + "symbol": "createType5AsString", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "toXml", - "description": "Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createType5AsRecord", + "description": "Returns a UUID of type 5 as a UUID record.\n```ballerina\nuuid:Uuid uuid5 = check uuid:createType5AsRecord(uuid:NAME_SPACE_DNS, “ballerina.io”);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "toXml", - "version": "1.0.0" + "module": "uuid", + "symbol": "createType5AsRecord", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "fromJson", - "description": "Converts a JSON object to an XML representation.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" + "label": "createRandomUuid", + "description": "Returns a UUID of type 4 as a string.\nThis function provides a convenient alias for 'createType4AsString()'.\n```ballerina\nstring newUUID = uuid:createRandomUuid();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "data.xmldata", - "symbol": "fromJson", - "version": "1.0.0" + "module": "uuid", + "symbol": "createRandomUuid", + "version": "1.8.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "os", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" - }, - "items": [ + }, { "metadata": { - "label": "getEnv", - "description": "Returns the environment variable value associated with the provided name.\n```ballerina\nstring port = os:getEnv(\"HTTP_PORT\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "nilAsString", + "description": "Returns a nil UUID as a string.\n```ballerina\nstring nilUUID = uuid:nilAsString();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "getEnv", + "module": "uuid", + "symbol": "nilAsString", "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getUsername", - "description": "Returns the current user's name.\n```ballerina\nstring username = os:getUsername();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "nilAsRecord", + "description": "Returns a nil UUID as a UUID record.\n```ballerina\nuuid:Uuid nilUUID = uuid:nilAsRecord();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "getUsername", + "module": "uuid", + "symbol": "nilAsRecord", "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getUserHome", - "description": "Returns the current user's home directory path.\n```ballerina\nstring userHome = os:getUserHome();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "validate", + "description": "Test a string to see if it is a valid UUID.\n```ballerina\nboolean valid = uuid:validate(\"4397465e-35f9-11eb-adc1-0242ac120002\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "getUserHome", + "module": "uuid", + "symbol": "validate", + "version": "1.8.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "getVersion", + "description": "Detect RFC version of a UUID. Returns an error if the UUID is invalid.\n```ballerina\nuuid:Version v = check uuid:getVersion(\"4397465e-35f9-11eb-adc1-0242ac120002\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "uuid", + "symbol": "getVersion", "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "setEnv", - "description": "Sets the value of the environment variable named by the key. \nNote that the parameter key cannot be an empty string or \"==\" sign.\n```ballerina\nos:Error? err = os:setEnv(\"BALCONFIGFILE\", \"/path/to/Config.toml\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "toBytes", + "description": "Converts to an array of bytes. Returns an error if the UUID is invalid.\n```ballerina\nbyte[] b = check uuid:toBytes(“6ec0bd7f-11c0-43da-975e-2aesass0b”);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "setEnv", + "module": "uuid", + "symbol": "toBytes", "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "unsetEnv", - "description": "Removes a single environment variable from the system if it exists.\nNote that the parameter key cannot be an empty string.\n```ballerina\nos:Error? err = os:unsetEnv(\"BALCONFIGFILE\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "toString", + "description": "Converts to a UUID string. Returns an error if the UUID is invalid.\n```ballerina\nstring s = check uuid:toString([5, 12, 16, 35]);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "unsetEnv", + "module": "uuid", + "symbol": "toString", "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "listEnv", - "description": "Returns a map of environment variables.\n```ballerina\nmap envs = os:listEnv();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "toRecord", + "description": "Converts to a UUID record. Returns an error if the UUID is invalid.\n```ballerina\nuuid:Uuid r1 = check uuid:toRecord(\"4397465e-35f9-11eb-adc1-0242ac120002\");\nuuid:Uuid r2 = check uuid:toRecord([10, 20, 30]);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_uuid_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "listEnv", + "module": "uuid", + "symbol": "toRecord", "version": "1.8.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "constraint", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_constraint_1.5.0.png" + }, + "items": [ { "metadata": { - "label": "exec", - "description": "Executes an operating system command as a subprocess of the current process.\n```ballerina\nos:Process|os:Error result = os:exec({value: \"bal\", arguments: [\"run\", filepath]}, BAL_CONFIG_FILE = \"/abc/Config.toml\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + "label": "validate", + "description": "Validates the provided value against the configured annotations. Additionally, if the type of the value is different\nfrom the expected return type then the value will be cloned with the contextually expected type before the validation.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_constraint_1.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "os", - "symbol": "exec", - "version": "1.8.0" + "module": "constraint", + "symbol": "validate", + "version": "1.5.0" }, "enabled": true } @@ -6983,425 +7247,272 @@ }, { "metadata": { - "label": "xslt", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png" - }, - "items": [ - { - "metadata": { - "label": "transform", - "description": "Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.\n```ballerina\nxml|error target = xslt:transform(sourceXml, xsl);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xslt", - "symbol": "transform", - "version": "2.7.0" - }, - "enabled": true - } - ] - }, - { - "metadata": { - "label": "jballerina.java.arrays", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "items": [ - { - "metadata": { - "label": "newInstance", - "description": "Returns a new Java array instance with the specified element type and dimensions. This function completes abruptly\nwith a `panic` if the specified handle refers to a Java null or if zero dimensions have been provided.\n```ballerina\nhandle stringClass = check java:getClass(\"java.lang.String\");\nhandle StrArray = arrays:newInstance(stringClass, 4);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "newInstance", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "get", - "description": "Returns a `handle`, which refers to the element at the specified index in the given Java array. This function\ncompletes abruptly with a `panic` if the specified handle refers to a Java null or if the handle does not refer\nto a Java array.\n```ballerina\nhandle words = getSortedArray();\nhandle firstWord = arrays:get(words, 0);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "get", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "set", - "description": "Replaces the indexed element at the specified index in the given Java array with the specified element. This\nfunction completes abruptly with a `panic` if the specified handle refers to a Java null or if the handle does\nnot refer to a Java array.\n```ballerina\nhandle strArray = getStringArray();\narrays:set(strArray, 0, java:fromString(\"Ballerina\"));\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "set", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "getLength", - "description": "Returns the length of the given Java array.\n```ballerina\nhandle array = getArray();\nint length = arrays:getLength(array);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "getLength", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "fromHandle", - "description": "Returns a Ballerina array for a handle that holds a Java array.\n```ballerina\nint[] array = check arrays:fromHandle(arrayHandle, \"int\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "fromHandle", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "toHandle", - "description": "Returns a handle value representation for a Ballerina array.\n```ballerina\nhandle handleValue = check arrays:toHandle(array, \"char\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jballerina.java.arrays_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "jballerina.java.arrays", - "symbol": "toHandle", - "version": "1.4.0" - }, - "enabled": true - } - ] - }, - { - "metadata": { - "label": "persist", + "label": "task", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "items": [ { "metadata": { - "label": "getNotFoundError", - "description": "Generates a new `persist:NotFoundError` with the given parameters.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "persist", - "symbol": "getNotFoundError", - "version": "1.4.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "getAlreadyExistsError", - "description": "Generates a new `persist:AlreadyExistsError` with the given parameters.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + "label": "getTimeInMillies", + "description": "Gets time in milliseconds of the given `time:Civil`.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "persist", - "symbol": "getAlreadyExistsError", - "version": "1.4.0" + "module": "task", + "symbol": "getTimeInMillies", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "convertToArray", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + "label": "configureWorkerPool", + "description": "Configure the scheduler worker pool.\n```ballerina\ncheck task:configureWorkerPool(4, 7);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "persist", - "symbol": "convertToArray", - "version": "1.4.0" + "module": "task", + "symbol": "configureWorkerPool", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "filterRecord", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" + "label": "scheduleOneTimeJob", + "description": "Schedule the given `task:Job` for the given time. Once scheduled, it will return a job ID, which can be used to manage\nthe job.\n```ballerina\ntime:Utc newTime = time:utcAddSeconds(time:utcNow(), 3);\ntime:Civil time = time:utcToCivil(newTime);\ntask:JobId jobId = check task:scheduleOneTimeJob(new Job(), time);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "persist", - "symbol": "filterRecord", - "version": "1.4.0" + "module": "task", + "symbol": "scheduleOneTimeJob", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "getKey", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_persist_1.4.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "persist", - "symbol": "getKey", - "version": "1.4.0" - }, - "enabled": true - } - ] - }, - { - "metadata": { - "label": "observe", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" - }, - "items": [ - { - "metadata": { - "label": "isObservabilityEnabled", - "description": "Check whether observability is enabled.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "scheduleJobRecurByFrequency", + "description": "Schedule the recurring `task:Job` according to the given duration. Once scheduled, it will return the job ID, which\ncan be used to manage the job.\n```ballerina\ntask:JobId jobId = check task:scheduleJobRecurByFrequency(new Job(), 3);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "isObservabilityEnabled", - "version": "1.3.0" + "module": "task", + "symbol": "scheduleJobRecurByFrequency", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "isMetricsEnabled", - "description": "Check whether metrics is enabled.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "unscheduleJob", + "description": "Unschedule the `task:Job`, which is associated with the given job ID. If no job is running in the scheduler,\nthe scheduler will be shut down automatically.\n```ballerina\ncheck task:unscheduleJob(jobId);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "isMetricsEnabled", - "version": "1.3.0" + "module": "task", + "symbol": "unscheduleJob", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "getMetricsProvider", - "description": "Retrieve metrics provider.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "pauseAllJobs", + "description": "Pauses all the jobs.\n```ballerina\ncheck task:pauseAllJobs();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "getMetricsProvider", - "version": "1.3.0" + "module": "task", + "symbol": "pauseAllJobs", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "getMetricsReporter", - "description": "Retrieve metrics reporter.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "resumeAllJobs", + "description": "Resumes all the jobs.\n```ballerina\ncheck task:resumeAllJobs();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "getMetricsReporter", - "version": "1.3.0" + "module": "task", + "symbol": "resumeAllJobs", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "isTracingEnabled", - "description": "Check whether tracing is enabled.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "pauseJob", + "description": "Pauses the particular job.\n```ballerina\ncheck task:pauseJob(jobId);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "isTracingEnabled", - "version": "1.3.0" + "module": "task", + "symbol": "pauseJob", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "getTracingProvider", - "description": "Retrieve tracer provider.", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "resumeJob", + "description": "Resumes the particular job.\n```ballerina\ncheck task:resumeJob(jobId);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "getTracingProvider", - "version": "1.3.0" + "module": "task", + "symbol": "resumeJob", + "version": "2.5.0" }, "enabled": true }, { "metadata": { - "label": "startRootSpan", - "description": "Start a span with no parent span.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "getRunningJobs", + "description": "Gets all the running jobs.\n```ballerina\ntask:JobId[] result = task:getRunningJobs();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_task_2.5.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "startRootSpan", - "version": "1.3.0" + "module": "task", + "symbol": "getRunningJobs", + "version": "2.5.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "os", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" + }, + "items": [ { "metadata": { - "label": "startSpan", - "description": "Start a span and create child relationship to current active span or user specified span.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "getEnv", + "description": "Returns the environment variable value associated with the provided name.\n```ballerina\nstring port = os:getEnv(\"HTTP_PORT\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "startSpan", - "version": "1.3.0" + "module": "os", + "symbol": "getEnv", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "addTagToSpan", - "description": "Add a key value pair as a tag to the span.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "getUsername", + "description": "Returns the current user's name.\n```ballerina\nstring username = os:getUsername();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "addTagToSpan", - "version": "1.3.0" + "module": "os", + "symbol": "getUsername", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "addTagToMetrics", - "description": "Add a key value pair as a tag to system metrics.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "getUserHome", + "description": "Returns the current user's home directory path.\n```ballerina\nstring userHome = os:getUserHome();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "addTagToMetrics", - "version": "1.3.0" + "module": "os", + "symbol": "getUserHome", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "finishSpan", - "description": "Finish the current span.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "setEnv", + "description": "Sets the value of the environment variable named by the key. \nNote that the parameter key cannot be an empty string or \"==\" sign.\n```ballerina\nos:Error? err = os:setEnv(\"BALCONFIGFILE\", \"/path/to/Config.toml\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "finishSpan", - "version": "1.3.0" + "module": "os", + "symbol": "setEnv", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getSpanContext", - "description": "Retrieve a map of span context data.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "unsetEnv", + "description": "Removes a single environment variable from the system if it exists.\nNote that the parameter key cannot be an empty string.\n```ballerina\nos:Error? err = os:unsetEnv(\"BALCONFIGFILE\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "getSpanContext", - "version": "1.3.0" + "module": "os", + "symbol": "unsetEnv", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "getAllMetrics", - "description": "Retrieve all registered metrics including default metrics from the ballerina runtime, and user defined metrics.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "listEnv", + "description": "Returns a map of environment variables.\n```ballerina\nmap envs = os:listEnv();\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "getAllMetrics", - "version": "1.3.0" + "module": "os", + "symbol": "listEnv", + "version": "1.8.0" }, "enabled": true }, { "metadata": { - "label": "lookupMetric", - "description": "Retrieve the specific metric that is described by the given name and tags.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + "label": "exec", + "description": "Executes an operating system command as a subprocess of the current process.\n```ballerina\nos:Process|os:Error result = os:exec({value: \"bal\", arguments: [\"run\", filepath]}, BAL_CONFIG_FILE = \"/abc/Config.toml\");\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_os_1.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "observe", - "symbol": "lookupMetric", - "version": "1.3.0" + "module": "os", + "symbol": "exec", + "version": "1.8.0" }, "enabled": true } @@ -7409,428 +7520,449 @@ }, { "metadata": { - "label": "io", + "label": "data.xmldata", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "items": [ { "metadata": { - "label": "fileReadBytes", - "description": "Read the entire file content as a byte array.\n```ballerina\nbyte[]|io:Error content = io:fileReadBytes(\"./resources/myfile.txt\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "io", - "symbol": "fileReadBytes", - "version": "1.6.1" - }, - "enabled": true - }, - { - "metadata": { - "label": "fileReadBlocksAsStream", - "description": "Read the entire file content as a stream of blocks.\n```ballerina\nstream|io:Error content = io:fileReadBlocksAsStream(\"./resources/myfile.txt\", 1000);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "parseAsType", + "description": "Converts XML to record type with projection.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadBlocksAsStream", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "parseAsType", + "version": "1.0.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteBytes", - "description": "Write a set of bytes to a file.\n```ballerina\nbyte[] content = [60, 78, 39, 28];\nio:Error? result = io:fileWriteBytes(\"./resources/myfile.txt\", content);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "parseString", + "description": "Converts XML string to record type with projection.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteBytes", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "parseString", + "version": "1.0.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteBlocksFromStream", - "description": "Write a byte stream to a file.\n```ballerina\nbyte[] content = [[60, 78, 39, 28]];\nstream byteStream = content.toStream();\nio:Error? result = io:fileWriteBlocksFromStream(\"./resources/myfile.txt\", byteStream);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "parseBytes", + "description": "Converts XML byte[] to record type with projection.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteBlocksFromStream", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "parseBytes", + "version": "1.0.0" }, "enabled": true }, { "metadata": { - "label": "fileReadCsv", - "description": "Read file content as a CSV.\nWhen the expected data type is record[], the first entry of the csv file should contain matching headers.\n```ballerina\nstring[][]|io:Error content = io:fileReadCsv(\"./resources/myfile.csv\");\nrecord{}[]|io:Error content = io:fileReadCsv(\"./resources/myfile.csv\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "parseStream", + "description": "Converts XML byte-block-stream to record type with projection.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadCsv", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "parseStream", + "version": "1.0.0" }, "enabled": true }, { "metadata": { - "label": "fileReadCsvAsStream", - "description": "Read file content as a CSV.\nWhen the expected data type is stream,\nthe first entry of the csv file should contain matching headers.\n```ballerina\nstream|io:Error content = io:fileReadCsvAsStream(\"./resources/myfile.csv\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "toXml", + "description": "Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadCsvAsStream", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "toXml", + "version": "1.0.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteCsv", - "description": "Write CSV content to a file.\nWhen the input is a record[] type in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nio:Error? result = io:fileWriteCsv(\"./resources/myfile.csv\", content);\nio:Error? resultRecord = io:fileWriteCsv(\"./resources/myfileRecord.csv\", contentRecord);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "fromJson", + "description": "Converts a JSON object to an XML representation.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_data.xmldata_1.0.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteCsv", - "version": "1.6.1" + "module": "data.xmldata", + "symbol": "fromJson", + "version": "1.0.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "observe", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" + }, + "items": [ { "metadata": { - "label": "fileWriteCsvFromStream", - "description": "Write CSV record stream to a file.\nWhen the input is a `stream` in `OVERWRITE`, headers will be written to the CSV file by default.\nFor `APPEND`, order of the existing csv file is inferred using the headers and used as the order.\n```ballerina\ntype Coord record {int x;int y;};\nCoord[] contentRecord = [{x: 1,y: 2},{x: 1,y: 2}]\nstring[][] content = [[\"Anne\", \"Johnson\", \"SE\"], [\"John\", \"Cameron\", \"QA\"]];\nstream stringStream = content.toStream();\nstream recordStream = contentRecord.toStream();\nio:Error? result = io:fileWriteCsvFromStream(\"./resources/myfile.csv\", stringStream);\nio:Error? resultRecord = io:fileWriteCsvFromStream(\"./resources/myfileRecord.csv\", recordStream);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "isObservabilityEnabled", + "description": "Check whether observability is enabled.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteCsvFromStream", - "version": "1.6.1" + "module": "observe", + "symbol": "isObservabilityEnabled", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileReadString", - "description": "Reads the entire file content as a `string`.\nThe resulting string output does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstring|io:Error content = io:fileReadString(\"./resources/myfile.txt\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "isMetricsEnabled", + "description": "Check whether metrics is enabled.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadString", - "version": "1.6.1" + "module": "observe", + "symbol": "isMetricsEnabled", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileReadLines", - "description": "Reads the entire file content as a list of lines.\nThe resulting string array does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstring[]|io:Error content = io:fileReadLines(\"./resources/myfile.txt\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getMetricsProvider", + "description": "Retrieve metrics provider.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadLines", - "version": "1.6.1" + "module": "observe", + "symbol": "getMetricsProvider", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileReadLinesAsStream", - "description": "Reads file content as a stream of lines.\nThe resulting stream does not contain the terminal carriage (e.g., `\\r` or `\\n`).\n```ballerina\nstream|io:Error content = io:fileReadLinesAsStream(\"./resources/myfile.txt\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getMetricsReporter", + "description": "Retrieve metrics reporter.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadLinesAsStream", - "version": "1.6.1" + "module": "observe", + "symbol": "getMetricsReporter", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileReadJson", - "description": "Reads file content as a JSON.\n```ballerina\njson|io:Error content = io:fileReadJson(\"./resources/myfile.json\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "isTracingEnabled", + "description": "Check whether tracing is enabled.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadJson", - "version": "1.6.1" + "module": "observe", + "symbol": "isTracingEnabled", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileReadXml", - "description": "Reads file content as an XML.\n```ballerina\nxml|io:Error content = io:fileReadXml(\"./resources/myfile.xml\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getTracingProvider", + "description": "Retrieve tracer provider.", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileReadXml", - "version": "1.6.1" + "module": "observe", + "symbol": "getTracingProvider", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteString", - "description": "Write a string content to a file.\n```ballerina\nstring content = \"Hello Universe..!!\";\nio:Error? result = io:fileWriteString(\"./resources/myfile.txt\", content);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "startRootSpan", + "description": "Start a span with no parent span.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteString", - "version": "1.6.1" + "module": "observe", + "symbol": "startRootSpan", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteLines", - "description": "Write an array of lines to a file.\nDuring the writing operation, a newline character `\\n` will be added after each line.\n```ballerina\nstring[] content = [\"Hello Universe..!!\", \"How are you?\"];\nio:Error? result = io:fileWriteLines(\"./resources/myfile.txt\", content);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "startSpan", + "description": "Start a span and create child relationship to current active span or user specified span.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteLines", - "version": "1.6.1" + "module": "observe", + "symbol": "startSpan", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteLinesFromStream", - "description": "Write stream of lines to a file.\nDuring the writing operation, a newline character `\\n` will be added after each line.\n```ballerina\nstring content = [\"Hello Universe..!!\", \"How are you?\"];\nstream lineStream = content.toStream();\nio:Error? result = io:fileWriteLinesFromStream(\"./resources/myfile.txt\", lineStream);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "addTagToSpan", + "description": "Add a key value pair as a tag to the span.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteLinesFromStream", - "version": "1.6.1" + "module": "observe", + "symbol": "addTagToSpan", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteJson", - "description": "Write a JSON to a file.\n```ballerina\njson content = {\"name\": \"Anne\", \"age\": 30};\nio:Error? result = io:fileWriteJson(\"./resources/myfile.json\", content);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "addTagToMetrics", + "description": "Add a key value pair as a tag to system metrics.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteJson", - "version": "1.6.1" + "module": "observe", + "symbol": "addTagToMetrics", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "fileWriteXml", - "description": "Write XML content to a file.\n```ballerina\nxml content = xml `The Lost World`;\nio:Error? result = io:fileWriteXml(\"./resources/myfile.xml\", content);\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "finishSpan", + "description": "Finish the current span.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fileWriteXml", - "version": "1.6.1" + "module": "observe", + "symbol": "finishSpan", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "openReadableFile", - "description": "Retrieves a `ReadableByteChannel` from a given file path.\n```ballerina\nio:ReadableByteChannel readableFieldResult = check io:openReadableFile(\"./files/sample.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getSpanContext", + "description": "Retrieve a map of span context data.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "openReadableFile", - "version": "1.6.1" + "module": "observe", + "symbol": "getSpanContext", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "openWritableFile", - "description": "Retrieves a `WritableByteChannel` from a given file path.\n```ballerina\nio:WritableByteChannel writableFileResult = check io:openWritableFile(\"./files/sampleResponse.txt\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getAllMetrics", + "description": "Retrieve all registered metrics including default metrics from the ballerina runtime, and user defined metrics.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "openWritableFile", - "version": "1.6.1" + "module": "observe", + "symbol": "getAllMetrics", + "version": "1.3.0" }, "enabled": true }, { "metadata": { - "label": "createReadableChannel", - "description": "Creates an in-memory channel, which will be a reference stream of bytes.\n```ballerina\nvar byteChannel = io:createReadableChannel(content);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "lookupMetric", + "description": "Retrieve the specific metric that is described by the given name and tags.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_observe_1.3.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "createReadableChannel", - "version": "1.6.1" + "module": "observe", + "symbol": "lookupMetric", + "version": "1.3.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "xslt", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png" + }, + "items": [ { "metadata": { - "label": "openReadableCsvFile", - "description": "Retrieves a readable CSV channel from a given file path.\n```ballerina\nio:ReadableCSVChannel rCsvChannel = check io:openReadableCsvFile(srcFileName);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "transform", + "description": "Transforms the single-rooted XML content to another XML/HTML/plain text using XSL transformations.\n```ballerina\nxml|error target = xslt:transform(sourceXml, xsl);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xslt_2.7.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "openReadableCsvFile", - "version": "1.6.1" + "module": "xslt", + "symbol": "transform", + "version": "2.7.0" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "sql", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" + }, + "items": [ { "metadata": { - "label": "openWritableCsvFile", - "description": "Retrieves a writable CSV channel from a given file path.\n```ballerina\nio:WritableCSVChannel wCsvChannel = check io:openWritableCsvFile(srcFileName);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getGlobalConnectionPool", + "description": "Returns the global connection pool.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "openWritableCsvFile", - "version": "1.6.1" + "module": "sql", + "symbol": "getGlobalConnectionPool", + "version": "1.14.1" }, "enabled": true }, { "metadata": { - "label": "print", - "description": "Prints `any`, `error`, or string templates (such as `The respective int value is ${val}`) value(s) to the `STDOUT`.\n```ballerina\nio:print(\"Start processing the CSV file from \", srcFileName);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "queryConcat", + "description": "Concatenates all provided `sql:ParameterizedQuery`s into a single `sql:ParameterizedQuery`.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "print", - "version": "1.6.1" + "module": "sql", + "symbol": "queryConcat", + "version": "1.14.1" }, "enabled": true }, - { - "metadata": { - "label": "println", - "description": "Prints `any`, `error` or string templates(such as `The respective int value is ${val}`) value(s) to the STDOUT\nfollowed by a new line.\n```ballerina\nio:println(\"Start processing the CSV file from \", srcFileName);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + { + "metadata": { + "label": "arrayFlattenQuery", + "description": "Joins the parameters in the array with the `,` delimiter into an `sql:ParameterizedQuery`.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "println", - "version": "1.6.1" + "module": "sql", + "symbol": "arrayFlattenQuery", + "version": "1.14.1" }, "enabled": true }, { "metadata": { - "label": "fprint", - "description": "Prints `any`, `error`, or string templates(such as `The respective int value is ${val}`) value(s) to\na given stream(STDOUT or STDERR).\n```ballerina\nio:fprint(io:stderr, \"Unexpected error occurred\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "generateApplicationErrorStream", + "description": "Generates a stream consisting of `sql:Error` elements.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_sql_1.14.1.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fprint", - "version": "1.6.1" + "module": "sql", + "symbol": "generateApplicationErrorStream", + "version": "1.14.1" }, "enabled": true - }, + } + ] + }, + { + "metadata": { + "label": "websub", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" + }, + "items": [ { "metadata": { - "label": "fprintln", - "description": "Prints `any`, `error`, or string templates(such as `The respective int value is ${val}`) value(s) to\na given stream(STDOUT or STDERR) followed by a new line.\n```ballerina\nio:fprintln(io:stderr, \"Unexpected error occurred\");\n```", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getHeader", + "description": "Returns the value of the specified header. If the specified header key maps to multiple values, the first of\nthese values is returned.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "fprintln", - "version": "1.6.1" + "module": "websub", + "symbol": "getHeader", + "version": "2.12.0" }, "enabled": true }, { "metadata": { - "label": "readln", - "description": "Retrieves the input read from the STDIN.\n```ballerina\nstring choice = io:readln(\"Enter choice 1 - 5: \");\nstring choice = io:readln();\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_io_1.6.1.png" + "label": "getHeaders", + "description": "Gets all the header values to which the specified header key maps to.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "io", - "symbol": "readln", - "version": "1.6.1" + "module": "websub", + "symbol": "getHeaders", + "version": "2.12.0" }, "enabled": true } @@ -7838,92 +7970,83 @@ }, { "metadata": { - "label": "jwt", + "label": "xmldata", "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "items": [ { "metadata": { - "label": "issue", - "description": "Issues a JWT based on the provided configurations. JWT will be signed (JWS) if `crypto:KeyStore` information is\nprovided in the `jwt:KeyStoreConfig` and the `jwt:SigningAlgorithm` is not `jwt:NONE`.\n```ballerina\nstring jwt = check jwt:issue(issuerConfig);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" + "label": "toXml", + "description": "Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jwt", - "symbol": "issue", - "version": "2.13.0" + "module": "xmldata", + "symbol": "toXml", + "version": "2.8.0" }, "enabled": true }, { "metadata": { - "label": "validate", - "description": "Validates the provided JWT, against the provided configurations.\n```ballerina\njwt:Payload result = check jwt:validate(jwt, validatorConfig);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" + "label": "fromJson", + "description": "Converts a JSON object to an XML representation.\n```ballerina\njson data = {\n name: \"John\",\n age: 30\n};\nxml? xmlValue = check xmldata:fromJson(data);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jwt", - "symbol": "validate", - "version": "2.13.0" + "module": "xmldata", + "symbol": "fromJson", + "version": "2.8.0" }, "enabled": true }, { "metadata": { - "label": "decode", - "description": "Decodes the provided JWT into the header and payload.\n```ballerina\n[jwt:Header, jwt:Payload] [header, payload] = check jwt:decode(jwt);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_jwt_2.13.0.png" + "label": "toJson", + "description": "Converts an XML object to its JSON representation.\n```ballerina\nxml xmlValue = xml `` + xml `supun`;\njson jsonValue = check xmldata:toJson(xmlValue);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "jwt", - "symbol": "decode", - "version": "2.13.0" + "module": "xmldata", + "symbol": "toJson", + "version": "2.8.0" }, "enabled": true - } - ] - }, - { - "metadata": { - "label": "url", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" - }, - "items": [ + }, { "metadata": { - "label": "encode", - "description": "Encodes the given string value into a `string` using the provided charset.\n```ballerina\nstring value = \"param1=http://xyz.com/?a=12&b=55¶m2=99\";\nstring encoded = check url:encode(value, \"UTF-8\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" + "label": "toRecord", + "description": "Converts an XML to its Record representation.\n```ballerina\ntype Person record {\n string name;\n};\nxml xmlValue = xml `` + xml `Alex`;\nPerson|xmldata:Error person = xmldata:toRecord(xmlValue);\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "url", - "symbol": "encode", - "version": "2.4.0" + "module": "xmldata", + "symbol": "toRecord", + "version": "2.8.0" }, "enabled": true }, { "metadata": { - "label": "decode", - "description": "Decodes the given string value into a `string` using the provided charset.\n```ballerina\nstring value = \"http://www.domain.com/?param1=http%3A%2F%2Fxyz.com%2F%3Fa%3D12%26b%3D55¶m2=99\";\nstring decoded = check url:decode(value, \"UTF-8\");\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_url_2.4.0.png" + "label": "fromXml", + "description": "Converts an XML to its `Map` or `Record` representation.\nAdditionally, when converting to a record, XML `namespaces`, `name of elements` and `attributes` can be validated\nthrough `xmldata:Namespace`, `xmldata:Name` and `xmldata:Attribute` annotations.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" }, "codedata": { "node": "FUNCTION_CALL", "org": "ballerina", - "module": "url", - "symbol": "decode", - "version": "2.4.0" + "module": "xmldata", + "symbol": "fromXml", + "version": "2.8.0" }, "enabled": true } @@ -8226,129 +8349,6 @@ } ] }, - { - "metadata": { - "label": "websub", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" - }, - "items": [ - { - "metadata": { - "label": "getHeader", - "description": "Returns the value of the specified header. If the specified header key maps to multiple values, the first of\nthese values is returned.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "websub", - "symbol": "getHeader", - "version": "2.12.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "getHeaders", - "description": "Gets all the header values to which the specified header key maps to.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_websub_2.12.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "websub", - "symbol": "getHeaders", - "version": "2.12.0" - }, - "enabled": true - } - ] - }, - { - "metadata": { - "label": "xmldata", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "items": [ - { - "metadata": { - "label": "toXml", - "description": "Converts a `Map` or `Record` representation to its XML representation.\nAdditionally, when converting from a record, the `xmldata:Namespace`, `xmldata:Name`, and `xmldata:Attribute`\nannotations can be used to add `namespaces`, `name of elements`, and `attributes` to XML representation.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xmldata", - "symbol": "toXml", - "version": "2.8.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "fromJson", - "description": "Converts a JSON object to an XML representation.\n```ballerina\njson data = {\n name: \"John\",\n age: 30\n};\nxml? xmlValue = check xmldata:fromJson(data);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xmldata", - "symbol": "fromJson", - "version": "2.8.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "toJson", - "description": "Converts an XML object to its JSON representation.\n```ballerina\nxml xmlValue = xml `` + xml `supun`;\njson jsonValue = check xmldata:toJson(xmlValue);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xmldata", - "symbol": "toJson", - "version": "2.8.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "toRecord", - "description": "Converts an XML to its Record representation.\n```ballerina\ntype Person record {\n string name;\n};\nxml xmlValue = xml `` + xml `Alex`;\nPerson|xmldata:Error person = xmldata:toRecord(xmlValue);\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xmldata", - "symbol": "toRecord", - "version": "2.8.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "fromXml", - "description": "Converts an XML to its `Map` or `Record` representation.\nAdditionally, when converting to a record, XML `namespaces`, `name of elements` and `attributes` can be validated\nthrough `xmldata:Namespace`, `xmldata:Name` and `xmldata:Attribute` annotations.\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_xmldata_2.8.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "xmldata", - "symbol": "fromXml", - "version": "2.8.0" - }, - "enabled": true - } - ] - }, { "metadata": { "label": "http", diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/log.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/log.json index cbfa07bb9..ae59a4e73 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/log.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/get_functions/config/log.json @@ -39,45 +39,6 @@ ] }, "items": [ - { - "metadata": { - "label": "lang.float", - "description": "", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" - }, - "items": [ - { - "metadata": { - "label": "log", - "description": "Returns the natural logarithm of a float value.\n\nCorresponds to IEEE log operation.\n\n```ballerina\nfloat f = 234.56;\nf.log() ⇒ 5.4577114186982865\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "lang.float", - "symbol": "log", - "version": "0.0.0" - }, - "enabled": true - }, - { - "metadata": { - "label": "log10", - "description": "Returns the base 10 logarithm of a float value.\n\nCorresponds to IEEE log10 operation.\n\n```ballerina\nfloat f = 0.1;\nf.log10() ⇒ -1.0\n```\n", - "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" - }, - "codedata": { - "node": "FUNCTION_CALL", - "org": "ballerina", - "module": "lang.float", - "symbol": "log10", - "version": "0.0.0" - }, - "enabled": true - } - ] - }, { "metadata": { "label": "log", @@ -161,6 +122,45 @@ "enabled": true } ] + }, + { + "metadata": { + "label": "lang.float", + "description": "", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + }, + "items": [ + { + "metadata": { + "label": "log", + "description": "Returns the natural logarithm of a float value.\n\nCorresponds to IEEE log operation.\n\n```ballerina\nfloat f = 234.56;\nf.log() ⇒ 5.4577114186982865\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.float", + "symbol": "log", + "version": "0.0.0" + }, + "enabled": true + }, + { + "metadata": { + "label": "log10", + "description": "Returns the base 10 logarithm of a float value.\n\nCorresponds to IEEE log10 operation.\n\n```ballerina\nfloat f = 0.1;\nf.log10() ⇒ -1.0\n```\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_lang.float_0.0.0.png" + }, + "codedata": { + "node": "FUNCTION_CALL", + "org": "ballerina", + "module": "lang.float", + "symbol": "log10", + "version": "0.0.0" + }, + "enabled": true + } + ] } ] } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-covid.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-covid.json index a3793be60..9404c8113 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-covid.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-covid.json @@ -25,7 +25,7 @@ "module": "covid19", "object": "Client", "symbol": "init", - "id": 1784 + "id": 699 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-docusign.dsadmin.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-docusign.dsadmin.json index fbc7dac51..234cf0634 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-docusign.dsadmin.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-docusign.dsadmin.json @@ -20,7 +20,7 @@ "module": "docusign.dsadmin", "object": "Client", "symbol": "init", - "id": 1569 + "id": 3099 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json index fd6a0e4ed..b31b75a24 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-http.json @@ -25,7 +25,7 @@ "module": "http", "object": "Client", "symbol": "init", - "id": 568 + "id": 563 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json index 4e59ed8a3..97ae1bb91 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-redis.json @@ -25,7 +25,7 @@ "module": "redis", "object": "Client", "symbol": "init", - "id": 669 + "id": 1087 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-snowflake.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-snowflake.json index d3318eb0a..6f6ccd58e 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-snowflake.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/new_connection-snowflake.json @@ -20,7 +20,7 @@ "module": "snowflake", "object": "Client", "symbol": "init", - "id": 1180 + "id": 645 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-covid-getStatusByCountry.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-covid-getStatusByCountry.json index 83f4bba49..3a440905d 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-covid-getStatusByCountry.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-covid-getStatusByCountry.json @@ -26,7 +26,7 @@ "module": "covid19", "object": "Client", "symbol": "getStatusByCountry", - "id": 1795 + "id": 716 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-http-post.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-http-post.json index 571aba54d..1b8149cd6 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-http-post.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-http-post.json @@ -26,7 +26,7 @@ "module": "http", "object": "Client", "symbol": "post", - "id": 570 + "id": 566 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-get.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-get.json index 712dc5be4..fab6044db 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-get.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-get.json @@ -26,7 +26,7 @@ "module": "redis", "object": "Client", "symbol": "get", - "id": 681 + "id": 1120 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-set.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-set.json index 715abdc7a..37d7d54ee 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-set.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-redis-set.json @@ -26,7 +26,7 @@ "module": "redis", "object": "Client", "symbol": "set", - "id": 689 + "id": 1152 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-snowflake-query.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-snowflake-query.json index 1c4a316fe..cb06c1e49 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-snowflake-query.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/remote_action_call-snowflake-query.json @@ -26,7 +26,7 @@ "module": "snowflake", "object": "Client", "symbol": "query", - "id": 1181 + "id": 646 }, "returning": false, "properties": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-docusign.dsadmin-get.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-docusign.dsadmin-get.json index 211e275bd..2f23702bf 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-docusign.dsadmin-get.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-docusign.dsadmin-get.json @@ -12,7 +12,7 @@ "object": "Client", "symbol": "get", "parentSymbol": "dsAdminClient", - "resourcePath": "/v2/organizations/[\"\"]/accounts/[\"\"]/groups" + "resourcePath": "/v2/organizations/[organizationId]/accounts/[accountId]/groups" }, "output": { "id": "31", @@ -27,7 +27,7 @@ "module": "docusign.dsadmin", "object": "Client", "symbol": "get", - "id": 1577 + "id": 3152 }, "returning": false, "properties": { @@ -49,10 +49,45 @@ "description": "Resource Path" }, "valueType": "EXPRESSION", - "value": "/v2/organizations/[\"\"]/accounts/[\"\"]/groups", + "value": "/v2/organizations/[organizationId]/accounts/[accountId]/groups", + "optional": false, + "editable": false, + "advanced": false, + "codedata": { + "originalName": "/v2/organizations/[organizationId]/accounts/[accountId]/groups" + } + }, + "organizationId": { + "metadata": { + "label": "organizationId", + "description": "The organization ID Guid" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "placeholder": "\"\"", "optional": false, "editable": true, - "advanced": false + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "organizationId" + } + }, + "accountId": { + "metadata": { + "label": "accountId", + "description": "The account ID Guid" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "placeholder": "\"\"", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "accountId" + } }, "start": { "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-github.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-github.json index ecb51d9b4..221bed8a3 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-github.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-github.json @@ -12,7 +12,7 @@ "object": "Client", "symbol": "post", "parentSymbol": "githubClient", - "resourcePath": "/app\\-manifests/[\"\"]/conversions" + "resourcePath": "/app\\-manifests/[code]/conversions" }, "output": { "id": "31", @@ -27,7 +27,7 @@ "module": "github", "object": "Client", "symbol": "post", - "id": 2963 + "id": 1891 }, "returning": false, "properties": { @@ -49,10 +49,28 @@ "description": "Resource Path" }, "valueType": "EXPRESSION", - "value": "/app\\-manifests/[\"\"]/conversions", + "value": "/app-manifests/[code]/conversions", + "optional": false, + "editable": false, + "advanced": false, + "codedata": { + "originalName": "/app\\-manifests/[code]/conversions" + } + }, + "code": { + "metadata": { + "label": "code" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "placeholder": "\"\"", "optional": false, "editable": true, - "advanced": false + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "code" + } }, "type": { "metadata": { diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-http-get.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-http-get.json index f2a29ce89..d97e5ecf6 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-http-get.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/node_template/config/resource_action_call-http-get.json @@ -13,14 +13,118 @@ "symbol": "get", "version": "2.12.0", "parentSymbol": "httpClient", - "resourcePath": "[/path/to/resource]" + "resourcePath": "/path/to/subdirectory" }, "output": { "id": "31", + "metadata": { + "label": "get", + "description": "The client resource function to send HTTP GET requests to HTTP endpoints.\n", + "icon": "https://bcentral-packageicons.azureedge.net/images/ballerina_http_2.12.2.png" + }, "codedata": { - "node": "RESOURCE_ACTION_CALL" + "node": "RESOURCE_ACTION_CALL", + "org": "ballerina", + "module": "http", + "object": "Client", + "symbol": "get", + "id": 579 }, "returning": false, + "properties": { + "connection": { + "metadata": { + "label": "Connection", + "description": "Connection to use" + }, + "valueType": "IDENTIFIER", + "valueTypeConstraint": "http:Client", + "value": "httpClient", + "optional": false, + "editable": false, + "advanced": false + }, + "resourcePath": { + "metadata": { + "label": "Resource Path", + "description": "Resource Path" + }, + "valueType": "EXPRESSION", + "value": "/path/to/subdirectory", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "originalName": "/path/to/subdirectory" + } + }, + "headers": { + "metadata": { + "label": "headers", + "description": "The entity headers" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "map|()", + "placeholder": "()", + "optional": true, + "editable": true, + "advanced": true, + "codedata": { + "kind": "DEFAULTABLE", + "originalName": "headers" + } + }, + "additionalValues": { + "metadata": { + "label": "Additional Values", + "description": "Capture key value pairs" + }, + "valueType": "MAPPING_EXPRESSION_SET", + "valueTypeConstraint": "http:QueryParamType", + "placeholder": "[]", + "optional": true, + "editable": true, + "advanced": true, + "codedata": { + "kind": "INCLUDED_RECORD_REST", + "originalName": "Additional Values" + } + }, + "type": { + "metadata": { + "label": "Variable Type", + "description": "Type of the variable" + }, + "valueType": "TYPE", + "value": "json", + "placeholder": "var", + "optional": false, + "editable": false, + "advanced": false + }, + "variable": { + "metadata": { + "label": "Variable Name", + "description": "Name of the variable" + }, + "valueType": "IDENTIFIER", + "value": "jsonResult", + "optional": false, + "editable": true, + "advanced": false + }, + "checkError": { + "metadata": { + "label": "Check Error", + "description": "Trigger error flow" + }, + "valueType": "FLAG", + "value": true, + "optional": false, + "editable": true, + "advanced": true + } + }, "flags": 0 } } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-github.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-github.json index 9bc22ea78..b11fba863 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-github.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-github.json @@ -71,10 +71,28 @@ "description": "Resource Path" }, "valueType": "EXPRESSION", - "value": "/app\\-manifests/[string]/conversions", + "value": "/app-manifests/[code]/conversions", "optional": false, "editable": true, - "advanced": false + "advanced": false, + "codedata": { + "originalName": "/app\\-manifests/[code]/conversions" + } + }, + "code": { + "metadata": { + "label": "code" + }, + "valueType": "EXPRESSION", + "valueTypeConstraint": "string", + "value": "\"abc-def\"", + "optional": false, + "editable": true, + "advanced": false, + "codedata": { + "kind": "PATH_PARAM", + "originalName": "code" + } }, "checkError": { "metadata": { @@ -116,7 +134,7 @@ "character": 0 } }, - "newText": "github:ManifestConversions|error item = check githubClient->/app\\-manifests/[string]/conversions.post();" + "newText": "github:ManifestConversions|error item = check githubClient->/app\\-manifests/[\"abc-def\"]/conversions.post();" } ] } diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get1.json index 5b073bce2..6173713ac 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get1.json @@ -47,7 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, - "valueType": "EXPRESSION", + "codedata": { + "originalName": "/path/to/subdirectory" + }, "value": "/western/apples", "optional": false, "editable": true, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get2.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get2.json index 2496047ac..b48cbb2ae 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get2.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get2.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get3.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get3.json index 6f132abb9..0527a2954 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get3.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get3.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get4.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get4.json index ad86951f4..02027b368 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get4.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get4.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get5.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get5.json index e3c70c3cf..f3dbaf598 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get5.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get5.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get6.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get6.json index 95920a308..f807cc6ae 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get6.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get6.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get7.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get7.json index 9527f4f99..8ac187ce5 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get7.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get7.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get8.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get8.json index bd3af3e8c..6cf740259 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get8.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-get8.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples/[varRef]/[12 + 3]", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post1.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post1.json index 8e9375dda..1c2fdfcbe 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post1.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post1.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/western/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post2.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post2.json index 5f1bf83bb..9ab53628a 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post2.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post2.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post3.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post3.json index 095e5e157..a67a27f51 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post3.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post3.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post4.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post4.json index e0f24d68b..0581ebdf3 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post4.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post4.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post5.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post5.json index 925dd95cd..d84cb33ec 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post5.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post5.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post6.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post6.json index 606677798..a8902c5a8 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post6.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post6.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples", "optional": false, diff --git a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post7.json b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post7.json index b1dfdc206..2bb320572 100644 --- a/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post7.json +++ b/flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/to_source/config/resource_action_call-http-post7.json @@ -47,6 +47,9 @@ "label": "Resource Path", "description": "Resource Path" }, + "codedata": { + "originalName": "/path/to/subdirectory" + }, "valueType": "EXPRESSION", "value": "/apples/[varRef]/[12 + 3]", "optional": false, diff --git a/flow-model-generator/modules/flow-model-index-generator/src/main/java/io/ballerina/indexgenerator/IndexGenerator.java b/flow-model-generator/modules/flow-model-index-generator/src/main/java/io/ballerina/indexgenerator/IndexGenerator.java index df61339a3..63d32c646 100644 --- a/flow-model-generator/modules/flow-model-index-generator/src/main/java/io/ballerina/indexgenerator/IndexGenerator.java +++ b/flow-model-generator/modules/flow-model-index-generator/src/main/java/io/ballerina/indexgenerator/IndexGenerator.java @@ -49,6 +49,7 @@ import io.ballerina.compiler.syntax.tree.RecordFieldWithDefaultValueNode; import io.ballerina.compiler.syntax.tree.SimpleNameReferenceNode; import io.ballerina.compiler.syntax.tree.SyntaxKind; +import io.ballerina.flowmodelgenerator.core.db.model.ParameterResult; import io.ballerina.flowmodelgenerator.core.model.ModuleInfo; import io.ballerina.flowmodelgenerator.core.utils.CommonUtils; import io.ballerina.flowmodelgenerator.core.utils.DefaultValueGeneratorUtil; @@ -146,7 +147,7 @@ private static void resolvePackage(BuildProject buildProject, String org, continue; } - processFunctionSymbol(functionSymbol, functionSymbol, packageId, FunctionType.FUNCTION, + processFunctionSymbol(semanticModel, functionSymbol, functionSymbol, packageId, FunctionType.FUNCTION, descriptor.name().value(), errorTypeSymbol, resolvedPackage); continue; } @@ -163,7 +164,7 @@ private static void resolvePackage(BuildProject buildProject, String org, if (!classSymbol.nameEquals("Client")) { continue; } - int connectorId = processFunctionSymbol(initMethodSymbol.get(), classSymbol, packageId, + int connectorId = processFunctionSymbol(semanticModel, initMethodSymbol.get(), classSymbol, packageId, FunctionType.CONNECTOR, descriptor.name().value(), errorTypeSymbol, resolvedPackage); if (connectorId == -1) { @@ -186,8 +187,8 @@ private static void resolvePackage(BuildProject buildProject, String org, } else { continue; } - int functionId = processFunctionSymbol(methodSymbol, methodSymbol, packageId, functionType, - descriptor.name().value(), errorTypeSymbol, resolvedPackage); + int functionId = processFunctionSymbol(semanticModel, methodSymbol, methodSymbol, packageId, + functionType, descriptor.name().value(), errorTypeSymbol, resolvedPackage); if (functionId == -1) { continue; } @@ -201,14 +202,10 @@ private static boolean hasAllQualifiers(List actualQualifiers, List(actualQualifiers).containsAll(expectedQualifiers); } - private static int processFunctionSymbol(FunctionSymbol functionSymbol, Documentable documentable, int packageId, + private static int processFunctionSymbol(SemanticModel semanticModel, FunctionSymbol functionSymbol, + Documentable documentable, int packageId, FunctionType functionType, String packageName, TypeSymbol errorTypeSymbol, Package resolvedPackage) { - String pathBuilder = ""; - if (functionType == FunctionType.RESOURCE) { - pathBuilder = ParamUtils.buildResourcePathTemplate(functionSymbol); - } - // Capture the name of the function Optional name = functionSymbol.getName(); if (name.isEmpty()) { @@ -250,8 +247,26 @@ private static int processFunctionSymbol(FunctionSymbol functionSymbol, Document int returnError = functionTypeSymbol.returnTypeDescriptor() .map(returnTypeDesc -> CommonUtils.subTypeOf(returnTypeDesc, errorTypeSymbol) ? 1 : 0).orElse(0); + ParamUtils.ResourcePathTemplate resourcePathTemplate = null; + if (functionType == FunctionType.RESOURCE) { + resourcePathTemplate = ParamUtils.buildResourcePathTemplate(semanticModel, functionSymbol, + errorTypeSymbol); + } + + String resourcePath = resourcePathTemplate == null ? "" : resourcePathTemplate.resourcePathTemplate(); int functionId = DatabaseManager.insertFunction(packageId, name.get(), description, returnType, - functionType.name(), pathBuilder, returnError); + functionType.name(), resourcePath, returnError); + + // Store the resource path params + if (resourcePathTemplate != null) { + List parameterResults = resourcePathTemplate.pathParams(); + for (ParameterResult parameterResult : parameterResults) { + DatabaseManager.insertFunctionParameter(functionId, parameterResult.name(), + parameterResult.description(), parameterResult.type(), parameterResult.defaultValue(), + FunctionParameterKind.fromString(parameterResult.kind().name()), + parameterResult.optional(), null); + } + } // Handle the parameters of the function ParamForTypeInfer finalParamForTypeInfer = paramForTypeInfer; @@ -460,7 +475,9 @@ enum FunctionParameterKind { REST_PARAMETER, INCLUDED_FIELD, PARAM_FOR_TYPE_INFER, - INCLUDED_RECORD_REST; + INCLUDED_RECORD_REST, + PATH_PARAM, + PATH_REST_PARAM; // need to have a fromString logic here public static FunctionParameterKind fromString(String value) { diff --git a/flow-model-generator/modules/flow-model-index-generator/src/main/resources/central-index.sql b/flow-model-generator/modules/flow-model-index-generator/src/main/resources/central-index.sql index 8f8768295..13703e57f 100644 --- a/flow-model-generator/modules/flow-model-index-generator/src/main/resources/central-index.sql +++ b/flow-model-generator/modules/flow-model-index-generator/src/main/resources/central-index.sql @@ -42,7 +42,7 @@ CREATE TABLE Parameter ( name TEXT NOT NULL, description TEXT, kind TEXT CHECK(kind IN ('REQUIRED', 'DEFAULTABLE', 'INCLUDED_RECORD', 'REST_PARAMETER', - 'INCLUDED_FIELD', 'INCLUDED_RECORD_REST', 'PARAM_FOR_TYPE_INFER')), + 'INCLUDED_FIELD', 'INCLUDED_RECORD_REST', 'PARAM_FOR_TYPE_INFER', 'PATH_PARAM', 'PATH_REST_PARAM')), type JSON, -- JSON type for parameter type information default_value TEXT, optional INTEGER CHECK(optional IN (0, 1)), diff --git a/flow-model-generator/modules/flow-model-index-generator/src/main/resources/packages.json b/flow-model-generator/modules/flow-model-index-generator/src/main/resources/packages.json index d3b17c212..4e69b07d1 100644 --- a/flow-model-generator/modules/flow-model-index-generator/src/main/resources/packages.json +++ b/flow-model-generator/modules/flow-model-index-generator/src/main/resources/packages.json @@ -298,6 +298,10 @@ } ], "ballerinax": [ + { + "name": "github", + "version": "5.0.2" + }, { "name": "googleapis.sheets", "version": "3.5.1" @@ -438,10 +442,6 @@ "name": "docusign.dsesign", "version": "1.0.0" }, - { - "name": "github", - "version": "5.0.2" - }, { "name": "googleapis.calendar", "version": "3.2.0"