diff --git a/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/stable/2023-10-31/digitaltwins.json b/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/stable/2023-10-31/digitaltwins.json index 375539d44431..eb7795ee14b2 100644 --- a/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/stable/2023-10-31/digitaltwins.json +++ b/specification/digitaltwins/data-plane/Microsoft.DigitalTwins/stable/2023-10-31/digitaltwins.json @@ -16,127 +16,6 @@ "application/json" ], "paths": { - "/models": { - "parameters": [ - { - "$ref": "#/parameters/traceparent" - }, - { - "$ref": "#/parameters/tracestate" - } - ], - "post": { - "tags": [ - "Models" - ], - "description": "Uploads one or more models. When any error occurs, no models are uploaded.\nStatus codes:\n* 201 Created\n* 400 Bad Request\n * DTDLParserError - The models provided are not valid DTDL.\n * InvalidArgument - The model id is invalid.\n * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n * ModelVersionNotSupported - The version of DTDL used is not supported.\n* 409 Conflict\n * ModelAlreadyExists - The model provided already exists.", - "operationId": "DigitalTwinModels_Add", - "x-ms-examples": { - "Add models": { - "$ref": "./examples/ModelAdd.json" - } - }, - "parameters": [ - { - "name": "models", - "in": "body", - "description": "An array of models to add.", - "required": true, - "schema": { - "type": "array", - "minItems": 1, - "uniqueItems": true, - "items": { - "type": "object" - } - } - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "201": { - "description": "Success", - "schema": { - "$ref": "#/definitions/NonPagedDigitalTwinsModelDataCollection" - } - }, - "default": { - "description": "Default response.", - "headers": { - "x-ms-error-code": { - "type": "string", - "description": "Error code for specific error that occurred." - } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - }, - "get": { - "tags": [ - "Models" - ], - "description": "Retrieves model metadata and, optionally, model definitions.\nStatus codes:\n* 200 OK\n* 400 Bad Request\n * InvalidArgument - The model id is invalid.\n * LimitExceeded - The maximum number of model ids allowed in 'dependenciesFor' has been reached.\n* 404 Not Found\n * ModelNotFound - The model was not found.", - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "operationId": "DigitalTwinModels_List", - "x-ms-examples": { - "List models": { - "$ref": "./examples/ModelsGet.json" - }, - "List models (include dependencies and definitions)": { - "$ref": "./examples/ModelsGetWithDependenciesAndIncludeModelDefinition.json" - } - }, - "parameters": [ - { - "name": "dependenciesFor", - "in": "query", - "description": "If specified, only return the set of the specified models along with their dependencies. If omitted, all models are retrieved.", - "required": false, - "type": "array", - "collectionFormat": "multi", - "items": { - "type": "string" - } - }, - { - "$ref": "#/parameters/includeModelDefinition" - }, - { - "$ref": "#/parameters/max-items-per-page" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/PagedDigitalTwinsModelDataCollection" - } - }, - "default": { - "description": "Default response.", - "headers": { - "x-ms-error-code": { - "type": "string", - "description": "Error code for specific error that occurred." - } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/models/{id}": { "parameters": [ { @@ -282,77 +161,6 @@ } } }, - "/query": { - "parameters": [ - { - "$ref": "#/parameters/traceparent" - }, - { - "$ref": "#/parameters/tracestate" - } - ], - "post": { - "tags": [ - "Query" - ], - "operationId": "Query_QueryTwins", - "description": "Executes a query that allows traversing relationships and filtering by property values.\nStatus codes:\n* 200 OK\n* 400 Bad Request\n * BadRequest - The continuation token is invalid.\n * SqlQueryError - The query contains some errors.\n * TimeoutError - The query execution timed out after 60 seconds. Try simplifying the query or adding conditions to reduce the result size.\n * 429 Too Many Requests\n * QuotaReachedError - The maximum query rate limit has been reached.", - "x-ms-examples": { - "Query for digital twins": { - "$ref": "./examples/QueryFirstPage.json" - }, - "Retrieve paged query results": { - "$ref": "./examples/QueryNextPage.json" - }, - "Query for digital twins through a relationship": { - "$ref": "./examples/QueryJoin.json" - } - }, - "parameters": [ - { - "name": "querySpecification", - "in": "body", - "description": "The query specification to execute.", - "required": true, - "schema": { - "$ref": "#/definitions/QuerySpecification" - } - }, - { - "$ref": "#/parameters/max-items-per-page" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "#/definitions/QueryResult" - }, - "headers": { - "query-charge": { - "description": "The query charge.", - "type": "number" - } - } - }, - "default": { - "description": "Default response.", - "headers": { - "x-ms-error-code": { - "type": "string", - "description": "Error code for specific error that occurred." - } - }, - "schema": { - "$ref": "#/definitions/ErrorResponse" - } - } - } - } - }, "/digitaltwins/{id}": { "parameters": [ { diff --git a/specificationRepositoryConfiguration.json b/specificationRepositoryConfiguration.json index 9c6ad529e741..9a95f0680257 100644 --- a/specificationRepositoryConfiguration.json +++ b/specificationRepositoryConfiguration.json @@ -4,17 +4,20 @@ "sdkRepositoryMappings": { "azure-sdk-for-go": { "integrationRepository": "azure-sdk/azure-sdk-for-go", - "mainRepository": "Azure/azure-sdk-for-go", + "mainRepository": "Alancere/azure-sdk-for-go", + "mainBranch": "fix_generator_tool_0807", "configFilePath": "eng/swagger_to_sdk_config.json" }, "azure-sdk-for-java": { "integrationRepository": "azure-sdk/azure-sdk-for-java", - "mainRepository": "Azure/azure-sdk-for-java", + "mainRepository": "XiaofeiCao/azure-sdk-for-java", + "mainBranch": "breaking_change_detection", "configFilePath": "eng/automation/swagger_to_sdk_config.json" }, "azure-sdk-for-js": { "integrationRepository": "azure-sdk/azure-sdk-for-js", - "mainRepository": "Azure/azure-sdk-for-js" + "mainRepository": "test-repo-billy/azure-sdk-for-js", + "mainBranch": "test_repo_breaking_change_mlc" }, "azure-sdk-for-net": { "integrationRepository": "azure-sdk/azure-sdk-for-net", @@ -27,7 +30,8 @@ }, "azure-sdk-for-python": { "integrationRepository": "azure-sdk/azure-sdk-for-python", - "mainRepository": "Azure/azure-sdk-for-python" + "mainRepository": "Azure/azure-sdk-for-python", + "mainBranch": "pipeline-optimize-for-multi-input" }, "azure-powershell": { "integrationRepository": "azure-sdk/azure-powershell", @@ -78,4 +82,4 @@ "@azure-tools/typespec-ts": "azure-sdk-for-js", "@azure-tools/typespec-go": "azure-sdk-for-go" } -} +} \ No newline at end of file