Updating swagger files.

This commit is contained in:
Fabric-APIs-Publish-Specification-Pipeline committed 2025-04-06 09:44:40 +00:00
1 parent 82495be1d6
commit 4ce8f82672
29 files changed
+2281

No files matched your search

+190
View File
@@ -0,0 +1,190 @@
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "Eventhouse data types"
},
"paths": {},
"definitions": {
"Eventhouses": {
"description": "A list of eventhouses.",
"type": "object",
"required": ["value"],
"properties": {
"value": {
"description": "A list of eventhouses.",
"type": "array",
"items": {
"$ref": "#/definitions/Eventhouse"
}
}
},
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/PaginatedResponse"
}
]
},
"Eventhouse": {
"description": "An eventhouse object.",
"type": "object",
"required": ["type"],
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/Item"
}
],
"properties": {
"properties": {
"description": "The eventhouse properties.",
"$ref": "#/definitions/EventhouseProperties"
}
}
},
"EventhouseProperties": {
"description": "The eventhouse properties.",
"type": "object",
"required": ["queryServiceUri", "ingestionServiceUri"],
"properties": {
"queryServiceUri": {
"description": "Query service URI.",
"type": "string"
},
"ingestionServiceUri": {
"description": "Ingestion service URI.",
"type": "string"
},
"databasesItemIds": {
"description": "List of all KQL database children",
"type": "array",
"items": {
"type": "string",
"format": "uuid",
"readOnly": true
}
},
"minimumConsumptionUnits": {
"description": "Use Minimum consumption for highly time-sensitive systems to keep the service always available at a selected minimum level. You pay for the minimum consumption level or actual consumption if above the minimum. Supported values include [0, 2.25, 4.25, 8.5, 13, 18, 26, 34, 50] or any number between 51 and 322. For more information, see [minimum consumption](/fabric/real-time-intelligence/eventhouse#minimum-consumption).",
"type": "number",
"format": "double",
"default": 0
}
}
},
"CreateEventhouseRequest": {
"description": "Create eventhouse request.",
"type": "object",
"required": ["displayName"],
"properties": {
"displayName": {
"description": "The eventhouse display name. The eventhouse name can contain alphanumeric characters, underscores, periods, and hyphens. Special characters aren't supported.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The eventhouse description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
},
"creationPayload": {
"description": "The eventhouse creation payload. Use `definition` or `creationPayload`. You can't use both at the same time.",
"$ref": "#/definitions/EventhouseCreationPayload",
"readOnly": false
},
"definition": {
"description": "The eventhouse public definition. Use `definition` or `creationPayload`. You can't use both at the same time.",
"$ref": "#/definitions/EventhouseDefinition",
"readOnly": false
}
}
},
"UpdateEventhouseRequest": {
"description": "Update eventhouse request.",
"properties": {
"displayName": {
"description": "The eventhouse display name. The eventhouse name can contain alphanumeric characters, underscores, periods, and hyphens. Special characters aren't supported.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The eventhouse description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
}
}
},
"EventhouseCreationPayload": {
"description": "Eventhouse item payload",
"type": "object",
"properties": {
"minimumConsumptionUnits": {
"description": "Use Minimum consumption for highly time-sensitive systems to keep the service always available at a selected minimum level. You pay for the minimum consumption level or actual consumption if above the minimum. Supported values include [0, 2.25, 4.25, 8.5, 13, 18, 26, 34, 50] or any number between 51 and 322. For more information, see [minimum consumption](/fabric/real-time-intelligence/eventhouse#minimum-consumption).",
"type": "number",
"format": "double",
"default": 0
}
}
},
"EventhouseDefinition" : {
"description": "Eventhouse public definition object.",
"type": "object",
"required": ["parts"],
"properties": {
"format": {
"description": "The format of the item definition.",
"type": "string",
"readOnly": false
},
"parts": {
"description": "A list of definition parts.",
"type": "array",
"items": {
"$ref": "#/definitions/EventhouseDefinitionPart"
},
"readOnly": false
}
}
},
"EventhouseDefinitionPart": {
"description": "Eventhouse definition part object.",
"type": "object",
"required": ["path", "payload", "payloadType"],
"properties": {
"path": {
"description": "The eventhouse part path.",
"type": "string",
"readOnly": false
},
"payload": {
"description": "The eventhouse part payload.",
"type": "string",
"readOnly": false
},
"payloadType":{
"description": "The payload type.",
"$ref": "../common/definitions.json#/definitions/PayloadType",
"readOnly": false
}
}
},
"UpdateEventhouseDefinitionRequest": {
"description": "Update eventhouse public definition request payload.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/EventhouseDefinition"
}
}
},
"EventhouseDefinitionResponse": {
"description": "Eventhouse public definition response.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/EventhouseDefinition",
"readOnly": true
}
}
}
}
}
+27
View File
@@ -0,0 +1,27 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createEventhouseRequest": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description."
}
},
"responses": {
"201": {
"body": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047655"
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
@@ -0,0 +1,30 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createEventhouseRequest": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"creationPayload": {
"minimumConsumptionUnits": 2.25
}
}
},
"responses": {
"201": {
"body": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047655"
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
@@ -0,0 +1,41 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createEventhouseRequest": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"definition": {
"parts": [
{
"path": "EventhouseProperties.json",
"payload": "e30=",
"payloadType": "InlineBase64"
},
{
"path": ".platform",
"payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc=",
"payloadType": "InlineBase64"
}
]
}
}
},
"responses": {
"201": {
"body": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047655"
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
@@ -0,0 +1,9 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"eventhouseId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {}
}
}
+26
View File
@@ -0,0 +1,26 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"eventhouseId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {
"body": {
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"properties": {
"queryServiceUri": "https://trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"ingestionServiceUri": "https://ingest-trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"databasesItemIds": [
"f1082404-7716-5b21-8778-e7a5e7a54d73",
"8187f108-2404-4771-6e7a-5b218778e7a5"
],
"minimumConsumptionUnits": 0
}
}
}
}
}
@@ -0,0 +1,33 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"eventhouseId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {
"body": {
"definition": {
"parts": [
{
"path": "EventhouseProperties.json",
"payload": "e30=",
"payloadType": "InlineBase64"
},
{
"path": ".platform",
"payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc",
"payloadType": "InlineBase64"
}
]
}
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
@@ -0,0 +1,44 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"displayName": "Eventhouse_1",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"properties": {
"queryServiceUri": "https://trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"ingestionServiceUri": "https://ingest-trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"databasesItemIds": [
"f1082404-7716-5b21-8778-e7a5e7a54d73",
"8187f108-2404-4771-6e7a-5b218778e7a5"
],
"minimumConsumptionUnits": 2.25
}
},
{
"id": "340d91b9-5a39-409c-b9c0-05ba832c476e",
"displayName": "Eventhouse_2",
"description": "An eventhouse description.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"properties": {
"queryServiceUri": "https://trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"ingestionServiceUri": "https://ingest-trd-f7k1b2rzuqrjmb3wpd.z5.kusto.fabric.microsoft.com",
"databasesItemIds": [
"4d738187-f108-2404-4771-6e7a5b218778"
],
"minimumConsumptionUnits": 0
}
}
]
}
}
}
}
+21
View File
@@ -0,0 +1,21 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"eventhouseId": "5b218778-e7a5-4d73-8187-f10824047715",
"updateEventhouseRequest": {
"displayName": "Eventhouse_New_Name",
"description": "A new description for eventhouse."
}
},
"responses": {
"200": {
"body": {
"displayName": "Eventhouse_New_Name",
"description": "A new description for eventhouse.",
"type": "Eventhouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
}
}
}
@@ -0,0 +1,33 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"eventhouseId": "5b218778-e7a5-4d73-8187-f10824047715",
"updateMetadata" : true,
"updateEventhouseDefinitionRequest": {
"definition": {
"parts": [
{
"path": "EventhouseProperties.json",
"payload": "e30=",
"payloadType": "InlineBase64"
},
{
"path": ".platform",
"payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc=",
"payloadType": "InlineBase64"
}
]
}
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
+459
View File
@@ -0,0 +1,459 @@
{
"swagger": "2.0",
"info": {
"title": "Eventhouse REST APIs",
"version": "v1"
},
"schemes": [
"https"
],
"host": "api.fabric.microsoft.com",
"basePath": "/v1",
"paths": {
"/workspaces/{workspaceId}/eventhouses": {
"get": {
"summary": "Returns a list of eventhouses from the specified workspace.",
"description": "This API supports [pagination](/rest/api/fabric/articles/pagination).\n\n## Permissions\n\n The caller must have *viewer* or higher role on the workspace. \n\n## Required Delegated Scopes \n\nWorkspace.Read.All or Workspace.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_ListEventhouses",
"x-ms-pageable": {
"nextLinkName": "continuationUri"
},
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "continuationToken",
"description": "A token for retrieving the next page of results.",
"type": "string",
"required": false
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Eventhouses"
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Invalid item type",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List eventhouses in workspace example": {
"$ref": "./examples/ListEventhousesInWorkspace.json"
}
}
},
"post": {
"summary": "Creates an eventhouse in the specified workspace.",
"description": "This API supports [long running operations (LRO)](/rest/api/fabric/articles/long-running-operation).\n\n ## Permissions \n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.ReadWrite.All or Item.ReadWrite.All \n\n## Limitations \n- To create an eventhouse the workspace must be on a supported Fabric capacity. For more information see: [Microsoft Fabric license types](/fabric/enterprise/licenses#microsoft-fabric-license-types).\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_CreateEventhouse",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"x-ms-fabric-sdk-long-running-operation": true,
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "createEventhouseRequest",
"description": "Create eventhouse request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/CreateEventhouseRequest"
},
"required": true
}
],
"responses": {
"201": {
"description": "Successfully created",
"schema": {
"$ref": "./definitions.json#/definitions/Eventhouse"
}
},
"202": {
"description": "Request accepted, eventhouse provisioning in progress",
"headers": {
"Location": {
"description": "The URL of the operation status, which can be used to track the operation state.",
"type": "string"
},
"x-ms-operation-id": {
"description": "The operation ID which can be used with long running operations (LRO) APIs to track the operation state and get the result.",
"type": "string",
"format": "uuid"
},
"Retry-After": {
"type": "integer",
"description": "The number of seconds to wait before retrying the request."
}
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Item type is invalid\n\n* ItemDisplayNameAlreadyInUse - Item display name is already used. \n\n* CorruptedPayload - The provided payload is corrupted. \n\n* WorkspaceItemsLimitExceeded - Workspace item limit exceeded.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Create an eventhouse example": {
"$ref": "./examples/CreateEventhouse.json"
},
"create an eventhouse with creationPayload example": {
"$ref": "./examples/CreateEventhouseWithCreationPayload.json"
},
"Create an eventhouse with definition example": {
"$ref": "./examples/CreateEventhouseWithDefinition.json"
}
}
}
},
"/workspaces/{workspaceId}/eventhouses/{eventhouseId}": {
"get": {
"summary": "Returns properties of the specified eventhouse.",
"description": "## Permissions\n\n The caller must have *viewer* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.Read.All or Eventhouse.ReadWrite.All or Item.Read.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_GetEventhouse",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "eventhouseId",
"description": "The eventhouse ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Eventhouse"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get an eventhouse example": {
"$ref": "./examples/GetEventhouse.json"
}
}
},
"patch": {
"summary": "Updates the properties of the specified eventhouse.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_UpdateEventhouse",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "eventhouseId",
"description": "The eventhouse ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "updateEventhouseRequest",
"description": "Update eventhouse request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/UpdateEventhouseRequest"
},
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Eventhouse"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found. \n\n* InvalidRequest - Invalid update request",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update an eventhouse example": {
"$ref": "./examples/UpdateEventhouse.json"
}
}
},
"delete": {
"summary": "Deletes the specified eventhouse.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_DeleteEventhouse",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "eventhouseId",
"description": "The eventhouse ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully."
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Delete an eventhouse example": {
"$ref": "./examples/DeleteEventhouse.json"
}
}
}
},
"/workspaces/{workspaceId}/eventhouses/{eventhouseId}/getDefinition": {
"post": {
"summary": "Returns the specified eventhouse public definition.",
"description": "This API supports [long running operations (LRO)](/rest/api/fabric/articles/long-running-operation).\n\n## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_GetEventhouseDefinition",
"produces": [
"application/json"
],
"x-ms-fabric-sdk-long-running-operation": true,
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "eventhouseId",
"description": "The eventhouse ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "format",
"description": "The format of the eventhouse public definition.",
"type": "string",
"required": false
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/EventhouseDefinitionResponse"
}
},
"202": {
"description": "Request accepted. Retrieving the definition is in progress.",
"headers": {
"Location": {
"description": "The URL of the operation status, which can be used to track the operation state.",
"type": "string"
},
"x-ms-operation-id": {
"description": "The operation ID which can be used with long running operations (LRO) APIs to track the operation state and get the result.",
"type": "string",
"format": "uuid"
},
"Retry-After": {
"type": "integer",
"description": "The number of seconds to wait before retrying the request."
}
}
},
"default": {
"description": "Common error codes:\n\n* OperationNotSupportedForItem - Operation not supported for requested item.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get an eventhouse definition example": {
"$ref": "./examples/GetEventhouseDefinition.json"
}
}
}
},
"/workspaces/{workspaceId}/eventhouses/{eventhouseId}/updateDefinition": {
"post": {
"summary": "Overrides the definition for the specified eventhouse.",
"description": "This API supports [long running operations (LRO)](/rest/api/fabric/articles/long-running-operation).\n\n## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n Eventhouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_UpdateEventhouseDefinition",
"produces": [
"application/json"
],
"x-ms-fabric-sdk-long-running-operation": true,
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "eventhouseId",
"description": "The eventhouse ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "updateMetadata",
"description": "When set to true and the .platform file is provided as part of the definition, the item's metadata is updated using the metadata in the .platform file",
"type": "boolean",
"required": false
},
{
"in": "body",
"name": "updateEventhouseDefinitionRequest",
"description": "Update eventhouse definition request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/UpdateEventhouseDefinitionRequest"
},
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully."
},
"202": {
"description": "Request accepted. Update definition is in progress.",
"headers": {
"Location": {
"description": "The URL of the operation status, which can be used to track the operation state.",
"type": "string"
},
"x-ms-operation-id": {
"description": "The operation ID which can be used with long running operations (LRO) APIs to track the operation state and get the result.",
"type": "string",
"format": "uuid"
},
"Retry-After": {
"type": "integer",
"description": "The number of seconds to wait before retrying the request."
}
}
},
"default": {
"description": "Common error codes:\n\n* OperationNotSupportedForItem - Operation not supported for requested item. \n\n* CorruptedPayload - The provided payload is corrupted.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update an eventhouse definition example": {
"$ref": "./examples/UpdateEventhouseDefinition.json"
}
}
}
}
},
"responses": {},
"security": [],
"tags": []
}
+135
View File
@@ -0,0 +1,135 @@
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "KQLQueryset data types"
},
"paths": {},
"definitions": {
"KQLQuerysets": {
"description": "A list of KQL querysets.",
"required": ["value"],
"type": "object",
"properties": {
"value": {
"description": "A list of KQL querysets.",
"type": "array",
"items": {
"$ref": "#/definitions/KQLQueryset"
}
}
},
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/PaginatedResponse"
}
]
},
"KQLQueryset": {
"description": "A KQL queryset object.",
"type": "object",
"required": ["type"],
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/Item"
}
]
},
"CreateKQLQuerysetRequest": {
"description": "Create KQL queryset request payload.",
"required": ["displayName"],
"properties": {
"displayName": {
"description": "The KQL queryset display name. The display name must follow naming rules according to item type.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The KQL queryset description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
},
"definition": {
"description": "The KQL queryset public definition.",
"$ref": "#/definitions/KQLQuerysetDefinition",
"readOnly": false
}
}
},
"UpdateKQLQuerysetDefinitionRequest": {
"description": "Update KQL queryset public definition request payload.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/KQLQuerysetDefinition"
}
}
},
"KQLQuerysetDefinitionResponse": {
"description": "KQL queryset public definition response.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/KQLQuerysetDefinition",
"readOnly": true
}
}
},
"KQLQuerysetDefinition" : {
"description": "KQL queryset public definition object.",
"type": "object",
"required": ["parts"],
"properties": {
"format": {
"description": "The format of the item definition.",
"type": "string",
"readOnly": false
},
"parts": {
"description": "A list of definition parts.",
"type": "array",
"items": {
"$ref": "#/definitions/KQLQuerysetDefinitionPart"
},
"readOnly": false
}
}
},
"KQLQuerysetDefinitionPart": {
"description": "KQL queryset definition part object.",
"type": "object",
"properties": {
"path": {
"description": "The KQL queryset part path.",
"type": "string",
"readOnly": false
},
"payload": {
"description": "The KQL queryset part payload.",
"type": "string",
"readOnly": false
},
"payloadType":{
"description": "The payload type.",
"$ref": "../common/definitions.json#/definitions/PayloadType",
"readOnly": false
}
}
},
"UpdateKQLQuerysetRequest": {
"description": "Update KQL queryset request.",
"properties": {
"displayName": {
"description": "The KQL queryset display name. The display name must follow naming rules according to item type.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The KQL queryset description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
}
}
}
}
}
@@ -0,0 +1,20 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createKQLQuerysetRequest": {
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description"
}
},
"responses": {
"201": {
"body": {
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
}
}
}
@@ -0,0 +1,30 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createKQLQuerysetRequest": {
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description",
"definition": {
"format": null,
"parts": [
{
"path": "RealTimeQueryset.json",
"payload": "ewogICAgInF1ZXJ5c2V0IjogewogICAgICAgICJ2ZXJzaW9uIjogIjEuMC4wIiwKICAgICAgICAiZGF0YVNvdXJjZXMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImMyNDM0YmY4LTI1YmItNGFhMC04NzQ2LWRiNDcwNTMzYWRhZiIsCiAgICAgICAgICAgICAgICAiY2x1c3RlclVyaSI6ICJodHRwczovL2hlbHAua3VzdG8ud2luZG93cy5uZXQvIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkF6dXJlRGF0YUV4cGxvcmVyIiwKICAgICAgICAgICAgICAgICJkYXRhYmFzZU5hbWUiOiAiU2FtcGxlcyIKICAgICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInRhYnMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImNjZDdiOTBjLTUxZmUtNDI5Zi1hODUzLTM4NWIwMmJkNzRjOSIsCiAgICAgICAgICAgICAgICAiY29udGVudCI6ICJTdG9ybUV2ZW50c1xcXFxufCBjb3VudCIsCiAgICAgICAgICAgICAgICAidGl0bGUiOiAiVGFiMU5hbWUiLAogICAgICAgICAgICAgICAgImRhdGFTb3VyY2VJZCI6ICJjMjQzNGJmOC0yNWJiLTRhYTAtODc0Ni1kYjQ3MDUzM2FkYWYiCiAgICAgICAgICAgIH0KICAgICAgICBdCiAgICB9Cn0=",
"payloadType": "InlineBase64"
}
]
}
}
},
"responses": {
"201": {
"body": {
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
}
}
}
@@ -0,0 +1,9 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"kqlQuerysetId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {}
}
}
+17
View File
@@ -0,0 +1,17 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"kqlQuerysetId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {
"body": {
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description.",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
}
}
}
@@ -0,0 +1,26 @@
{
"parameters": {
"workspaceId": "314fff62-7c47-4225-9a6c-1a2220f4ce32",
"kqlQuerysetId": "9b7de20c-a62f-470e-931d-e7e53f373c0c"
},
"responses": {
"200": {
"body": {
"definition": {
"parts": [
{
"path": "RealTimeQueryset.json",
"payload": "ewogICAgInF1ZXJ5c2V0IjogewogICAgICAgICJ2ZXJzaW9uIjogIjEuMC4wIiwKICAgICAgICAiZGF0YVNvdXJjZXMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImMyNDM0YmY4LTI1YmItNGFhMC04NzQ2LWRiNDcwNTMzYWRhZiIsCiAgICAgICAgICAgICAgICAiY2x1c3RlclVyaSI6ICJodHRwczovL2hlbHAua3VzdG8ud2luZG93cy5uZXQvIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkF6dXJlRGF0YUV4cGxvcmVyIiwKICAgICAgICAgICAgICAgICJkYXRhYmFzZU5hbWUiOiAiU2FtcGxlcyIKICAgICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInRhYnMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImNjZDdiOTBjLTUxZmUtNDI5Zi1hODUzLTM4NWIwMmJkNzRjOSIsCiAgICAgICAgICAgICAgICAiY29udGVudCI6ICJTdG9ybUV2ZW50c1xcXFxufCBjb3VudCIsCiAgICAgICAgICAgICAgICAidGl0bGUiOiAiVGFiMU5hbWUiLAogICAgICAgICAgICAgICAgImRhdGFTb3VyY2VJZCI6ICJjMjQzNGJmOC0yNWJiLTRhYTAtODc0Ni1kYjQ3MDUzM2FkYWYiCiAgICAgICAgICAgIH0KICAgICAgICBdCiAgICB9Cn0=",
"payloadType": "InlineBase64"
},
{
"path": ".platform",
"payload": "ewogICIkc2NoZW1hIjogImh0dHBzOi8vZGV2ZWxvcGVyLm1pY3Jvc29mdC5jb20vanNvbi1zY2hlbWFzL2ZhYnJpYy9naXRJbnRlZ3JhdGlvbi9wbGF0Zm9ybVByb3BlcnRpZXMvMi4wLjAvc2NoZW1hLmpzb24iLAogICJtZXRhZGF0YSI6IHsKICAgICJ0eXBlIjogIktRTFF1ZXJ5c2V0IiwKICAgICJkaXNwbGF5TmFtZSI6ICJjeHp2ZWFyZ2giLAogICAgImRlc2NyaXB0aW9uIjogImN4enZlYXJnaCIKICB9LAogICJjb25maWciOiB7CiAgICAidmVyc2lvbiI6ICIyLjAiLAogICAgImxvZ2ljYWxJZCI6ICIwMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAiCiAgfQp9",
"payloadType": "InlineBase64"
}
]
}
}
}
}
}
@@ -0,0 +1,34 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "3546052c-ae64-4526-b1a8-52af7761426f",
"displayName": "KQLQueryset_1",
"description": "A KQL queryset description.",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
},
{
"id": "4c9adc22-ffb1-491f-baaa-9c9987745591",
"displayName": "KQLQueryset_2",
"description": "A KQL queryset description.",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
},
{
"id": "8b681594-894d-4adf-8ae8-aed415dd1de6",
"displayName": "KQLQueryset_3",
"description": "A KQL queryset description.",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
}
]
}
}
}
}
@@ -0,0 +1,21 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"kqlQuerysetId": "5b218778-e7a5-4d73-8187-f10824047715",
"updateKQLQuerysetRequest": {
"displayName": "KQLQueryset_New_Name",
"description": "A new description for KQL queryset."
}
},
"responses": {
"200": {
"body": {
"displayName": "KQLQueryset_New_Name",
"description": "A new description for KQL queryset.",
"type": "KQLQueryset",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
}
}
}
@@ -0,0 +1,26 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"kqlQuerysetId": "5b218778-e7a5-4d73-8187-f10824047715",
"updateMetadata" : true,
"updateKQLQuerysetDefinitionRequest": {
"definition": {
"parts": [
{
"path": "RealTimeQueryset.json",
"payload": "ewogICAgInF1ZXJ5c2V0IjogewogICAgICAgICJ2ZXJzaW9uIjogIjEuMC4wIiwKICAgICAgICAiZGF0YVNvdXJjZXMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImMyNDM0YmY4LTI1YmItNGFhMC04NzQ2LWRiNDcwNTMzYWRhZiIsCiAgICAgICAgICAgICAgICAiY2x1c3RlclVyaSI6ICJodHRwczovL2hlbHAua3VzdG8ud2luZG93cy5uZXQvIiwKICAgICAgICAgICAgICAgICJ0eXBlIjogIkF6dXJlRGF0YUV4cGxvcmVyIiwKICAgICAgICAgICAgICAgICJkYXRhYmFzZU5hbWUiOiAiU2FtcGxlcyIKICAgICAgICAgICAgfQogICAgICAgIF0sCiAgICAgICAgInRhYnMiOiBbewogICAgICAgICAgICAgICAgImlkIjogImNjZDdiOTBjLTUxZmUtNDI5Zi1hODUzLTM4NWIwMmJkNzRjOSIsCiAgICAgICAgICAgICAgICAiY29udGVudCI6ICJTdG9ybUV2ZW50c1xcXFxufCBjb3VudCIsCiAgICAgICAgICAgICAgICAidGl0bGUiOiAiVGFiMU5hbWUiLAogICAgICAgICAgICAgICAgImRhdGFTb3VyY2VJZCI6ICJjMjQzNGJmOC0yNWJiLTRhYTAtODc0Ni1kYjQ3MDUzM2FkYWYiCiAgICAgICAgICAgIH0KICAgICAgICBdCiAgICB9Cn0=",
"payloadType": "InlineBase64"
},
{
"path": ".platform",
"payload": "ZG90UGxhdGZvcm1CYXNlNjRTdHJpbmc=",
"payloadType": "InlineBase64"
}
]
}
}
},
"responses": {
"200": {}
}
}
+399
View File
@@ -0,0 +1,399 @@
{
"swagger": "2.0",
"info": {
"title": "KQLQueryset REST APIs",
"version": "v1"
},
"schemes": [
"https"
],
"host": "api.fabric.microsoft.com",
"basePath": "/v1",
"paths": {
"/workspaces/{workspaceId}/kqlQuerysets": {
"get": {
"summary": "Returns a list of KQL querysets from the specified workspace.",
"description": "This API supports [pagination](/rest/api/fabric/articles/pagination).\n\n## Permissions\n\n The caller must have *viewer* or higher workspace role. \n\n## Required Delegated Scopes \n\nWorkspace.Read.All or Workspace.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_ListKQLQuerysets",
"x-ms-pageable": {
"nextLinkName": "continuationUri"
},
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "continuationToken",
"description": "A token for retrieving the next page of results.",
"type": "string",
"required": false
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/KQLQuerysets"
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Invalid item type",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List KQL querysets in workspace example": {
"$ref": "./examples/ListKQLQuerysetsInWorkspace.json"
}
}
},
"post": {
"summary": "Creates a KQL queryset in the specified workspace.",
"description": "To create a KQL queryset with definition, refer to the [KQL queryset definition article](/rest/api/fabric/articles/item-management/definitions/kql-queryset-definition).\n\n## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\nKQLQueryset.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_CreateKQLQueryset",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "createKQLQuerysetRequest",
"description": "Create item request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/CreateKQLQuerysetRequest"
},
"required": true
}
],
"responses": {
"201": {
"description": "Successfully created",
"schema": {
"$ref": "./definitions.json#/definitions/KQLQueryset"
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Item type is invalid\n\n* ItemDisplayNameAlreadyInUse - Item display name is already used. \n\n* CorruptedPayload - The provided payload is corrupted. \n\n* WorkspaceItemsLimitExceeded - Workspace item limit exceeded.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Create a KQL queryset with definition example": {
"$ref": "./examples/CreateKQLQuerysetWithDefinition.json"
},
"Create a KQL queryset example": {
"$ref": "./examples/CreateKQLQueryset.json"
}
}
}
},
"/workspaces/{workspaceId}/kqlQuerysets/{kqlQuerysetId}": {
"get": {
"summary": "Returns properties of the specified KQL queryset.",
"description": "## Permissions\n\n The caller must have *viewer* or higher workspace role. \n\n## Required Delegated Scopes \n\n KQLQueryset.Read.All or KQLQueryset.ReadWrite.All or Item.Read.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_GetKQLQueryset",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "kqlQuerysetId",
"description": "The KQL queryset ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/KQLQueryset"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get a KQL queryset example": {
"$ref": "./examples/GetKQLQueryset.json"
}
}
},
"patch": {
"summary": "Updates the properties of the specified KQL queryset.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n KQLQueryset.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_UpdateKQLQueryset",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "kqlQuerysetId",
"description": "The KQL queryset ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "updateKQLQuerysetRequest",
"description": "Update KQL queryset request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/UpdateKQLQuerysetRequest"
},
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/KQLQueryset"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found. \n\n* InvalidRequest - Invalid update request",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update a KQL queryset example": {
"$ref": "./examples/UpdateKQLQueryset.json"
}
}
},
"delete": {
"summary": "Deletes the specified KQL queryset.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n KQLQueryset.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_DeleteKQLQueryset",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "kqlQuerysetId",
"description": "The KQL queryset ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully."
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Delete a KQL queryset example": {
"$ref": "./examples/DeleteKQLQueryset.json"
}
}
}
},
"/workspaces/{workspaceId}/kqlQuerysets/{kqlQuerysetId}/getDefinition": {
"post": {
"summary": "Returns the specified KQL queryset public definition.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n KQLQueryset.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_GetKQLQuerysetDefinition",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "kqlQuerysetId",
"description": "The KQL queryset ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "format",
"description": "The format of the KQL queryset public definition.",
"type": "string",
"required": false
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/KQLQuerysetDefinitionResponse"
}
},
"default": {
"description": "Common error codes:\n\n* OperationNotSupportedForItem - Operation not supported for requested item.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get a KQL queryset definition example": {
"$ref": "./examples/GetKQLQuerysetDefinition.json"
}
}
}
},
"/workspaces/{workspaceId}/kqlQuerysets/{kqlQuerysetId}/updateDefinition": {
"post": {
"summary": "Overrides the definition for the specified KQL queryset.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes \n\n KQLQueryset.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_UpdateKQLQuerysetDefinition",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "kqlQuerysetId",
"description": "The KQL queryset ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "updateMetadata",
"description": "When set to true and the .platform file is provided as part of the definition, the item's metadata is updated using the metadata in the .platform file",
"type": "boolean",
"required": false
},
{
"in": "body",
"name": "updateKQLQuerysetDefinitionRequest",
"description": "Update KQL queryset definition request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/UpdateKQLQuerysetDefinitionRequest"
},
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully."
},
"default": {
"description": "Common error codes:\n\n* OperationNotSupportedForItem - Operation not supported for requested item. \n\n* CorruptedPayload - The provided payload is corrupted.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update a KQL queryset definition example": {
"$ref": "./examples/UpdateKQLQuerysetDefinition.json"
}
}
}
}
},
"responses": {},
"security": [],
"tags": []
}
+198
View File
@@ -0,0 +1,198 @@
{
"swagger": "2.0",
"info": {
"version": "v1",
"title": "Warehouse data types"
},
"paths": {},
"definitions": {
"Warehouses": {
"description": "A list of warehouses.",
"required": ["value"],
"type": "object",
"properties": {
"value": {
"description": "A list of warehouses.",
"type": "array",
"items": {
"$ref": "#/definitions/Warehouse"
}
}
},
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/PaginatedResponse"
}
]
},
"Warehouse": {
"description": "A warehouse object.",
"type": "object",
"required": ["type"],
"allOf": [
{
"$ref": "../common/definitions.json#/definitions/Item"
}
],
"properties": {
"properties": {
"description": "The warehouse properties.",
"$ref": "#/definitions/WarehouseProperties"
}
}
},
"WarehouseProperties": {
"description": "The warehouse item properties.",
"type": "object",
"required": ["connectionString", "createdDate", "lastUpdatedTime"],
"properties": {
"connectionString": {
"description": "The SQL connection string connected to the workspace containing this warehouse.",
"type": "string"
},
"createdDate": {
"description": "The date and time the warehouse was created.",
"type": "string",
"format": "date-time"
},
"lastUpdatedTime": {
"description": "The date and time the warehouse was last updated",
"type": "string",
"format": "date-time"
},
"collationType": {
"description": "The collation type of the warehouse.",
"$ref": "#/definitions/CollationType"
}
}
},
"CollationType": {
"type": "string",
"description": "Warehouse collation. Additional `collations` may be added over time.",
"enum": ["Latin1_General_100_BIN2_UTF8", "Latin1_General_100_CI_AS_KS_WS_SC_UTF8"],
"x-ms-enum": {
"name": "CollationType",
"modelAsString": true,
"values": [
{
"value": "Latin1_General_100_BIN2_UTF8",
"description": "The default - case-sensitive (CS) collation"
},
{
"value": "Latin1_General_100_CI_AS_KS_WS_SC_UTF8",
"description": "case-insensitive (CI) collation"
}
]
}
},
"CreateWarehouseRequest": {
"description": "Create warehouse request payload.",
"required": ["displayName"],
"properties": {
"displayName": {
"description": "The warehouse display name. The display name must follow naming rules according to item type.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The warehouse description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
},
"creationPayload": {
"description": "The warehouse creation payload. Use `creationPayload`. You can't use `definition` or `creationPayload` at the same time.",
"$ref": "#/definitions/WarehouseCreationPayload",
"readOnly": false
}
}
},
"WarehouseCreationPayload": {
"description": "Warehouse item payload",
"type": "object",
"required": [
"collationType"
],
"properties": {
"collationType": {
"description": "The default collation type of the warehouse.",
"$ref": "#/definitions/CollationType"
}
}
},
"UpdateWarehouseDefinitionRequest": {
"description": "Update warehouse public definition request payload.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/WarehouseDefinition"
}
}
},
"WarehouseDefinitionResponse": {
"description": "Warehouse public definition response.",
"required": ["definition"],
"properties": {
"definition": {
"$ref": "#/definitions/WarehouseDefinition",
"readOnly": true
}
}
},
"WarehouseDefinition": {
"description": "Warehouse public definition object.",
"type": "object",
"required": ["parts"],
"properties": {
"format": {
"description": "The format of the item definition.",
"type": "string",
"readOnly": false
},
"parts": {
"description": "A list of definition parts.",
"type": "array",
"items": {
"$ref": "#/definitions/WarehouseDefinitionPart"
},
"readOnly": false
}
}
},
"WarehouseDefinitionPart": {
"description": "Warehouse definition part object.",
"type": "object",
"properties": {
"path": {
"description": "The warehouse part path.",
"type": "string",
"readOnly": false
},
"payload": {
"description": "The warehouse part payload.",
"type": "string",
"readOnly": false
},
"payloadType": {
"description": "The payload type.",
"$ref": "../common/definitions.json#/definitions/PayloadType",
"readOnly": false
}
}
},
"UpdateWarehouseRequest": {
"description": "Update warehouse request.",
"properties": {
"displayName": {
"description": "The warehouse display name. The display name must follow naming rules according to item type.",
"type": "string",
"readOnly": false
},
"description": {
"description": "The warehouse description. Maximum length is 256 characters.",
"type": "string",
"readOnly": false
}
}
}
}
}
+27
View File
@@ -0,0 +1,27 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createWarehouseRequest": {
"displayName": "Warehouse 1",
"description": "A warehouse description."
}
},
"responses": {
"201": {
"body": {
"displayName": "Warehouse 1",
"description": "A warehouse description.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
@@ -0,0 +1,30 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"createWarehouseRequest": {
"displayName": "Warehouse 1",
"description": "A warehouse description.",
"creationPayload": {
"collationType": "Latin1_General_100_CI_AS_KS_WS_SC_UTF8"
}
}
},
"responses": {
"201": {
"body": {
"displayName": "Warehouse 1",
"description": "A warehouse description.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715"
}
},
"202": {
"headers": {
"Location": "https://api.fabric.microsoft.com/v1/operations/0acd697c-1550-43cd-b998-91bfbfbd47c6",
"x-ms-operation-id": "0acd697c-1550-43cd-b998-91bfbfbd47c6",
"Retry-After": 30
}
}
}
}
+9
View File
@@ -0,0 +1,9 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"warehouseId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {}
}
}
+23
View File
@@ -0,0 +1,23 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"warehouseId": "5b218778-e7a5-4d73-8187-f10824047715"
},
"responses": {
"200": {
"body": {
"displayName": "Warehouse 1",
"description": "A warehouse description.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"properties": {
"connectionString": "qvrmbuxie7we7glrekxgy6npqu-6xgyei3x2xiejip4iime6knh5m.datawarehouse.fabric.microsoft.com",
"createdDate": "2023-09-28T22:52:13.78",
"lastUpdatedTime": "2023-10-04T22:56:33.283",
"collationType": "Latin1_General_100_BIN2_UTF8"
}
}
}
}
}
@@ -0,0 +1,39 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "3546052c-ae64-4526-b1a8-52af7761426f",
"displayName": "Warehouse Name 1",
"description": "A warehouse description.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"properties": {
"connectionString": "qvrmbuxie7we7glrekxgy6npqu-6xgyei3x2xiejip4iime6knh5m.datawarehouse.fabric.microsoft.com",
"createdDate": "2023-09-28T22:52:13.78",
"lastUpdatedTime": "2023-10-04T22:56:33.283",
"collationType": "Latin1_General_100_CI_AS_KS_WS_SC_UTF8"
}
},
{
"id": "6281bf94-81b9-46b2-b8d3-79bb868fc822",
"displayName": "Warehouse Name 2",
"description": "A warehouse description.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"properties": {
"connectionString": "qvrmbuxie7we7glrekxgy6npqu-6xgyei3x2xiejip4iime6knh5m.datawarehouse.fabric.microsoft.com",
"createdDate": "2023-11-21T13:14:30.54",
"lastUpdatedTime": "2023-12-04T20:03:43.110",
"collationType": "Latin1_General_100_BIN2_UTF8"
}
}
]
}
}
}
}
+27
View File
@@ -0,0 +1,27 @@
{
"parameters": {
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"warehouseId": "5b218778-e7a5-4d73-8187-f10824047715",
"updateWarehouseRequest": {
"displayName": "Warehouse's New name",
"description": "A new description for warehouse."
}
},
"responses": {
"200": {
"body": {
"displayName": "Warehouse's New name",
"description": "A new description for warehouse.",
"type": "Warehouse",
"workspaceId": "cfafbeb1-8037-4d0c-896e-a46fb27ff229",
"id": "5b218778-e7a5-4d73-8187-f10824047715",
"properties": {
"connectionString": "x6eps4xrq2xudenlfv6naeo3i4-ro6aurrmwwpujdbmljjuqvyisi.msit-datawarehouse.fabric.microsoft.com",
"createdDate": "2025-03-04T18:20:39.5261099",
"lastUpdatedTime": "2025-03-05T17:23:03.3485446",
"collationType": "Latin1_General_100_BIN2_UTF8"
}
}
}
}
}
+298
View File
@@ -0,0 +1,298 @@
{
"swagger": "2.0",
"info": {
"title": "Warehouse REST APIs",
"version": "v1"
},
"schemes": [
"https"
],
"host": "api.fabric.microsoft.com",
"basePath": "/v1",
"paths": {
"/workspaces/{workspaceId}/warehouses": {
"get": {
"summary": "Returns a list of warehouses from the specified workspace.",
"description": "This API supports [pagination](/rest/api/fabric/articles/pagination).\n\n## Permissions\n\n The caller must have *viewer* or higher workspace role. \n\n## Required Delegated Scopes\n\nWorkspace.Read.All or Workspace.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_ListWarehouses",
"x-ms-pageable": {
"nextLinkName": "continuationUri"
},
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "query",
"name": "continuationToken",
"description": "A token for retrieving the next page of results.",
"type": "string",
"required": false
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Warehouses"
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Invalid item type.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"List warehouses in workspace example": {
"$ref": "./examples/ListWarehousesInWorkspace.json"
}
}
},
"post": {
"summary": "Creates a warehouse in the specified workspace.",
"description": "This API supports [long running operations (LRO)](/rest/api/fabric/articles/long-running-operation).\n\n This API does not support create a warehouse with definition. \n\n ## Permissions \n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes\n\n Warehouse.ReadWrite.All or Item.ReadWrite.All \n\n## Limitations \n- To create a warehouse the workspace must be on a supported Fabric capacity. For more information see: [Microsoft Fabric license types](/fabric/enterprise/licenses#microsoft-fabric-license-types).\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_CreateWarehouse",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"x-ms-fabric-sdk-long-running-operation": true,
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "createWarehouseRequest",
"description": "Create item request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/CreateWarehouseRequest"
},
"required": true
}
],
"responses": {
"201": {
"description": "Successfully created",
"schema": {
"$ref": "./definitions.json#/definitions/Warehouse"
}
},
"202": {
"description": "Request accepted, warehouse provisioning in progress.",
"headers": {
"Location": {
"description": "The URL of the operation status, which can be used to track the operation state.",
"type": "string"
},
"x-ms-operation-id": {
"description": "The operation ID which can be used with long running operations (LRO) APIs to track the operation state and get the result.",
"type": "string",
"format": "uuid"
},
"Retry-After": {
"type": "integer",
"description": "The number of seconds to wait before retrying the request."
}
}
},
"default": {
"description": "Common error codes:\n\n* InvalidItemType - Item type is invalid.\n\n* ItemDisplayNameAlreadyInUse - Item display name is already used.\n\n* CorruptedPayload - The provided payload is corrupted.\n\n* WorkspaceItemsLimitExceeded - Workspace item limit exceeded.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Create a warehouse example": {
"$ref": "./examples/CreateWarehouse.json"
},
"Create a warehouse example with payload": {
"$ref": "./examples/CreateWarehouseWithCreationPayload.json"
}
}
}
},
"/workspaces/{workspaceId}/warehouses/{warehouseId}": {
"get": {
"summary": "Returns properties of the specified warehouse.",
"description": "## Permissions\n\n The caller must have *viewer* or higher workspace role. \n\n## Required Delegated Scopes\n\n Warehouse.Read.All or Warehouse.ReadWrite.All or Item.Read.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_GetWarehouse",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "warehouseId",
"description": "The warehouse ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Warehouse"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Get a warehouse example": {
"$ref": "./examples/GetWarehouse.json"
}
}
},
"patch": {
"summary": "Updates the properties of the specified warehouse.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspce role.\n\n## Required Delegated Scopes\n\n Warehouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_UpdateWarehouse",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "warehouseId",
"description": "The warehouse ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "body",
"name": "updateWarehouseRequest",
"description": "Update warehouse request payload.",
"schema": {
"$ref": "./definitions.json#/definitions/UpdateWarehouseRequest"
},
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully.",
"schema": {
"$ref": "./definitions.json#/definitions/Warehouse"
}
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found. \n\n* InvalidRequest - Invalid update request.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Update a warehouse example": {
"$ref": "./examples/UpdateWarehouse.json"
}
}
},
"delete": {
"summary": "Deletes the specified warehouse.",
"description": "## Permissions\n\n The caller must have *contributor* or higher workspace role. \n\n## Required Delegated Scopes\n\n Warehouse.ReadWrite.All or Item.ReadWrite.All\n\n## Microsoft Entra supported identities\n\nThis API supports the Microsoft [identities](/rest/api/fabric/articles/identity-support) listed in this section.\n\n| Identity | Support |\n|-|-|\n| User | Yes |\n| [Service principal](/entra/identity-platform/app-objects-and-service-principals#service-principal-object) and [Managed identities](/entra/identity/managed-identities-azure-resources/overview) | Yes |\n\n## Interface",
"tags": [
"Items"
],
"operationId": "Items_DeleteWarehouse",
"produces": [
"application/json"
],
"parameters": [
{
"in": "path",
"name": "workspaceId",
"description": "The workspace ID.",
"type": "string",
"format": "uuid",
"required": true
},
{
"in": "path",
"name": "warehouseId",
"description": "The warehouse ID.",
"type": "string",
"format": "uuid",
"required": true
}
],
"responses": {
"200": {
"description": "Request completed successfully."
},
"default": {
"description": "Common error codes:\n\n* ItemNotFound - The requested item was not found.",
"schema": {
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"Delete a warehouse example": {
"$ref": "./examples/DeleteWarehouse.json"
}
}
}
}
},
"responses": {},
"security": [],
"tags": []
}