mirror of
https://github.com/microsoft/fabric-rest-api-specs.git
synced 2026-11-04 12:04:23 +00:00
Updating swagger files.
This commit is contained in:
1 parent
ebb8a1d53e
commit
7d78f6975d
10 files changed
+429
-17
No files matched your search
@@ -200,8 +200,19 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"numberOfMemberGateways": {
|
||||
"description": "The number of member gateways.",
|
||||
"type": "integer"
|
||||
"description": "The number of member gateways. A number between 1 and 9.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"maxMemberGatewayCount": {
|
||||
"description": "The maximum number of member gateways. A number between 1 and 9.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"minMemberGatewayCount": {
|
||||
"description": "The minimum number of member gateways. A number between 1 and 9.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -257,7 +268,7 @@
|
||||
}
|
||||
},
|
||||
"CreateVirtualNetworkGatewayRequest": {
|
||||
"required": ["displayName", "capacityId", "virtualNetworkAzureResource", "inactivityMinutesBeforeSleep", "numberOfMemberGateways"],
|
||||
"required": ["displayName", "capacityId", "virtualNetworkAzureResource", "inactivityMinutesBeforeSleep"],
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
@@ -284,8 +295,19 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"numberOfMemberGateways": {
|
||||
"description": "The number of member gateways. A number between 1 and 9.",
|
||||
"type": "integer"
|
||||
"description": "The number of member gateways. A number between 1 and 9. Cannot be used together with maxMemberGatewayCount and minMemberGatewayCount.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"maxMemberGatewayCount": {
|
||||
"description": "The maximum number of member gateways. A number between 1 and 9. Cannot be used together with numberOfMemberGateways. minMemberGatewayCount must also be specified. maxMemberGatewayCount value must be greater than or equal to minMemberGatewayCount value.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"minMemberGatewayCount": {
|
||||
"description": "The minimum number of member gateways. A number between 1 and 9. Cannot be used together with numberOfMemberGateways. maxMemberGatewayCount must also be specified. minMemberGatewayCount value must be less than or equal to maxMemberGatewayCount value.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -368,8 +390,19 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"numberOfMemberGateways": {
|
||||
"description": "The number of member gateways. A number between 1 and 9.",
|
||||
"type": "integer"
|
||||
"description": "The number of member gateways. A number between 1 and 9. Cannot be used together with maxMemberGatewayCount and minMemberGatewayCount.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"maxMemberGatewayCount": {
|
||||
"description": "The maximum number of member gateways. A number between 1 and 9. Cannot be used together with numberOfMemberGateways. minMemberGatewayCount must also be specified. maxMemberGatewayCount value must be greater than or equal to minMemberGatewayCount value.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
},
|
||||
"minMemberGatewayCount": {
|
||||
"description": "The minimum number of member gateways. A number between 1 and 9. Cannot be used together with numberOfMemberGateways. maxMemberGatewayCount must also be specified. minMemberGatewayCount value must be less than or equal to maxMemberGatewayCount value.",
|
||||
"type": "integer",
|
||||
"readOnly": false
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -562,4 +595,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -576,6 +576,96 @@
|
||||
"description": "The object ID of the connection.",
|
||||
"type": "string",
|
||||
"format": "uuid"
|
||||
},
|
||||
"WorkspaceRelationType": {
|
||||
"type": "string",
|
||||
"description": "The type of the related workspace in the relation. Additional related workspace types may be added over time.",
|
||||
"enum": ["Base", "Branch", "RelatedWorkspace"],
|
||||
"x-ms-enum": {
|
||||
"name": "WorkspaceRelationType",
|
||||
"modelAsString": true,
|
||||
"values": [
|
||||
{
|
||||
"value": "Base",
|
||||
"description": "The related workspace is the base (source) workspace."
|
||||
},
|
||||
{
|
||||
"value": "Branch",
|
||||
"description": "The related workspace is a branch workspace."
|
||||
},
|
||||
{
|
||||
"value": "RelatedWorkspace",
|
||||
"description": "The related workspace has a general relation."
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"WorkspaceRelation": {
|
||||
"description": "A workspace relation object.",
|
||||
"type": "object",
|
||||
"required": ["id", "workspaceId", "relatedWorkspaceId", "relationType"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"description": "The workspace relation ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"readOnly": true
|
||||
},
|
||||
"workspaceId": {
|
||||
"description": "The workspace ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"readOnly": true
|
||||
},
|
||||
"relatedWorkspaceId": {
|
||||
"description": "The related workspace ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"readOnly": true
|
||||
},
|
||||
"relationType": {
|
||||
"description": "The type of the related workspace in the relation.",
|
||||
"$ref": "#/definitions/WorkspaceRelationType",
|
||||
"readOnly": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"WorkspaceRelations": {
|
||||
"description": "A list of workspace relations.",
|
||||
"type": "object",
|
||||
"required": ["value"],
|
||||
"properties": {
|
||||
"value": {
|
||||
"description": "A list of workspace relations.",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/WorkspaceRelation"
|
||||
}
|
||||
}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "../../common/definitions.json#/definitions/PaginatedResponse"
|
||||
}
|
||||
]
|
||||
},
|
||||
"CreateWorkspaceRelationRequest": {
|
||||
"description": "The request payload for creating a workspace relation.",
|
||||
"type": "object",
|
||||
"required": ["relatedWorkspaceId", "relationType"],
|
||||
"properties": {
|
||||
"relatedWorkspaceId": {
|
||||
"description": "The related workspace ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"readOnly": false
|
||||
},
|
||||
"relationType": {
|
||||
"description": "The type of the related workspace to create in the relation. Only `Base` and `Branch` are valid for creation.",
|
||||
"$ref": "#/definitions/WorkspaceRelationType",
|
||||
"readOnly": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,11 +11,12 @@
|
||||
"subnetName": "ContosoSubnet"
|
||||
},
|
||||
"inactivityMinutesBeforeSleep": 120,
|
||||
"numberOfMemberGateways": 3
|
||||
"maxMemberGatewayCount": 3,
|
||||
"minMemberGatewayCount": 1
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"201": {
|
||||
"body": {
|
||||
"id": "271c5c9a-0860-4927-b1da-ce49008d6565",
|
||||
"type": "VirtualNetwork",
|
||||
@@ -28,8 +29,10 @@
|
||||
"subnetName": "ContosoSubnet"
|
||||
},
|
||||
"inactivityMinutesBeforeSleep": 120,
|
||||
"numberOfMemberGateways": 3
|
||||
"numberOfMemberGateways": 3,
|
||||
"maxMemberGatewayCount": 3,
|
||||
"minMemberGatewayCount": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"parameters": {
|
||||
"createGatewayRequest": {
|
||||
"type": "VirtualNetwork",
|
||||
"displayName": "ContosoVirtualNetworkGateway",
|
||||
"capacityId": "ed26b6f3-7bc5-44b0-9565-a8942619ef4c",
|
||||
"virtualNetworkAzureResource": {
|
||||
"subscriptionId": "879b4ba0-ed17-4ff2-851e-4a2228e00b70",
|
||||
"resourceGroupName": "ContosoResourceGroup",
|
||||
"virtualNetworkName": "ContosoVirtualNetwork",
|
||||
"subnetName": "ContosoSubnet"
|
||||
},
|
||||
"inactivityMinutesBeforeSleep": 120,
|
||||
"numberOfMemberGateways": 3,
|
||||
"maxMemberGatewayCount": 5,
|
||||
"minMemberGatewayCount": 1
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"400": {
|
||||
"body": {
|
||||
"requestId": "c07cc625-4354-4b3e-b345-d13a4ba78f91",
|
||||
"errorCode": "ConflictingMemberGatewayCountProperties",
|
||||
"message": "Cannot specify both 'numberOfMemberGateways' and 'maxMemberGatewayCount'/'minMemberGatewayCount'. Use either the legacy property (fixed value) or the new properties (value range).",
|
||||
"isRetriable": false
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -39,7 +39,9 @@
|
||||
"subnetName": "ContosoSubnet"
|
||||
},
|
||||
"inactivityMinutesBeforeSleep": 1440,
|
||||
"numberOfMemberGateways": 3
|
||||
"numberOfMemberGateways": 3,
|
||||
"maxMemberGatewayCount": 3,
|
||||
"minMemberGatewayCount": 1
|
||||
},
|
||||
{
|
||||
"id": "3f8d6a4b-1c2e-4f5a-9b7c-2d6e8f1a3b9d",
|
||||
@@ -58,4 +60,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,7 +6,8 @@
|
||||
"capacityId": "7cf7181f-9457-4178-b488-e7472b02faf4",
|
||||
"displayName": "ContosoVirtualNetworkGateway1",
|
||||
"inactivityMinutesBeforeSleep": 720,
|
||||
"numberOfMemberGateways": 5
|
||||
"maxMemberGatewayCount": 5,
|
||||
"minMemberGatewayCount": 1
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
@@ -23,8 +24,10 @@
|
||||
"subnetName": "ContosoSubnet"
|
||||
},
|
||||
"inactivityMinutesBeforeSleep": 720,
|
||||
"numberOfMemberGateways": 5
|
||||
"numberOfMemberGateways": 5,
|
||||
"maxMemberGatewayCount": 5,
|
||||
"minMemberGatewayCount": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"parameters": {
|
||||
"workspaceId": "55555555-5555-5555-5555-555555555555",
|
||||
"createWorkspaceRelationRequest": {
|
||||
"relatedWorkspaceId": "33333333-3333-3333-3333-333333333333",
|
||||
"relationType": "Base"
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"201": {
|
||||
"body": {
|
||||
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
|
||||
"workspaceId": "55555555-5555-5555-5555-555555555555",
|
||||
"relatedWorkspaceId": "33333333-3333-3333-3333-333333333333",
|
||||
"relationType": "Base"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"parameters": {
|
||||
"workspaceId": "55555555-5555-5555-5555-555555555555",
|
||||
"workspaceRelationId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa"
|
||||
},
|
||||
"responses": {
|
||||
"200": {}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"parameters": {
|
||||
"workspaceId": "66666666-6666-6666-6666-666666666666"
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"body": {
|
||||
"value": [
|
||||
{
|
||||
"id": "ffffffff-ffff-ffff-ffff-ffffffffffff",
|
||||
"workspaceId": "66666666-6666-6666-6666-666666666666",
|
||||
"relatedWorkspaceId": "88888888-8888-8888-8888-888888888888",
|
||||
"relationType": "Base"
|
||||
},
|
||||
{
|
||||
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
|
||||
"workspaceId": "66666666-6666-6666-6666-666666666666",
|
||||
"relatedWorkspaceId": "22222222-2222-2222-2222-222222222222",
|
||||
"relationType": "RelatedWorkspace"
|
||||
},
|
||||
{
|
||||
"id": "cccccccc-cccc-cccc-cccc-cccccccccccc",
|
||||
"workspaceId": "66666666-6666-6666-6666-666666666666",
|
||||
"relatedWorkspaceId": "44444444-4444-4444-4444-444444444444",
|
||||
"relationType": "RelatedWorkspace"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8563,6 +8563,9 @@
|
||||
"Virtual network gateway example": {
|
||||
"$ref": "./examples/gateways/CreateVirtualNetworkGateway.json"
|
||||
},
|
||||
"Virtual network gateway example with invalid parameters": {
|
||||
"$ref": "./examples/gateways/CreateVirtualNetworkGatewayInvalidBothParameters.json"
|
||||
},
|
||||
"Streaming virtual network gateway example": {
|
||||
"$ref": "./examples/gateways/CreateStreamingVirtualNetworkGateway.json"
|
||||
}
|
||||
@@ -11240,6 +11243,196 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workspaces/{workspaceId}/git/workspaceRelations": {
|
||||
"get": {
|
||||
"summary": "Returns a list of workspace relations for the specified workspace.",
|
||||
"description": "> [!NOTE]\n> This API is part of a Preview release and is provided for evaluation and development purposes only. It may change based on feedback and is not recommended for production use.\n\nThis API supports [pagination](/rest/api/fabric/articles/pagination).\n\n## Permissions\n\nThe caller must have a *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": [
|
||||
"WorkspaceRelations"
|
||||
],
|
||||
"operationId": "WorkspaceRelations_ListWorkspaceRelations",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"x-ms-pageable": {
|
||||
"nextLinkName": "continuationUri"
|
||||
},
|
||||
"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/gitIntegration.json#/definitions/WorkspaceRelations"
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"description": "The service rate limit was exceeded. The server returns a `Retry-After` header indicating, in seconds, how long the client must wait before sending additional requests.",
|
||||
"x-ms-error-response": true,
|
||||
"headers": {
|
||||
"Retry-After": {
|
||||
"type": "integer",
|
||||
"description": "The number of seconds to wait before retrying the request."
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Common error codes:\n\n* InsufficientPrivileges - The caller does not have sufficient workspace permissions.\n\n* WorkspaceNotFound - The specified workspace was not found.",
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-examples": {
|
||||
"List workspace relations example": {
|
||||
"$ref": "./examples/gitIntegration/ListWorkspaceRelations.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"post": {
|
||||
"summary": "Creates a workspace relation between the specified workspace and a related workspace.",
|
||||
"description": "> [!NOTE]\n> This API is part of a Preview release and is provided for evaluation and development purposes only. It may change based on feedback and is not recommended for production use.\n\nCreates a branching relation between a branch workspace and its base workspace.\n\n## Permissions\n\nThe caller must have an *admin* role on the branch workspace and a *contributor* or higher role on the base workspace.\n\n## Required Delegated Scopes\n\nWorkspace.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": [
|
||||
"WorkspaceRelations"
|
||||
],
|
||||
"operationId": "WorkspaceRelations_CreateWorkspaceRelation",
|
||||
"consumes": [
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "workspaceId",
|
||||
"description": "The workspace ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"in": "body",
|
||||
"name": "createWorkspaceRelationRequest",
|
||||
"description": "Create workspace relation request payload.",
|
||||
"schema": {
|
||||
"$ref": "./definitions/gitIntegration.json#/definitions/CreateWorkspaceRelationRequest"
|
||||
},
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"201": {
|
||||
"description": "Successfully created.",
|
||||
"schema": {
|
||||
"$ref": "./definitions/gitIntegration.json#/definitions/WorkspaceRelation"
|
||||
}
|
||||
},
|
||||
"429": {
|
||||
"description": "The service rate limit was exceeded. The server returns a `Retry-After` header indicating, in seconds, how long the client must wait before sending additional requests.",
|
||||
"x-ms-error-response": true,
|
||||
"headers": {
|
||||
"Retry-After": {
|
||||
"type": "integer",
|
||||
"description": "The number of seconds to wait before retrying the request."
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Common error codes:\n\n* InsufficientPrivileges - The caller does not have sufficient workspace permissions.\n\n* WorkspaceNotFound - The specified workspace was not found.\n\n* WorkspaceRelationAlreadyExists - A relation between the specified workspaces already exists.\n\n* WorkspaceRelationBidirectionalExists - A relation between these workspaces already exists in the opposite direction.\n\n* WorkspaceRelationInvalidArgument - Invalid arguments provided for workspace relation operation.\n\n* WorkspaceRelationInvalidType - Invalid workspace relation type.\n\n* WorkspaceRelationSelfReferencing - A workspace cannot be related to itself.\n\n* WorkspaceRelationBaseIsBranch - The base workspace is already a branch of another workspace.\n\n* WorkspaceRelationTargetHasBranches - The target workspace already has branch workspaces.\n\n* WorkspaceRelationDifferentBase - The target workspace has a different base workspace.\n\n* WorkspaceRelationRootDirectoryMismatch - The workspaces are not connected to the same Git repository root.",
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-examples": {
|
||||
"Create a workspace relation example": {
|
||||
"$ref": "./examples/gitIntegration/CreateWorkspaceRelation.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/workspaces/{workspaceId}/git/workspaceRelations/{workspaceRelationId}": {
|
||||
"delete": {
|
||||
"summary": "Deletes a workspace relation.",
|
||||
"description": "> [!NOTE]\n> This API is part of a Preview release and is provided for evaluation and development purposes only. It may change based on feedback and is not recommended for production use.\n\nDeletes an existing workspace relation between two workspaces, identified by the relation ID. The provided workspace ID can be either a base workspace or a branch workspace.\n\n## Permissions\n\nThe caller must have an *admin* workspace role on the specified workspace.\n\n## Required Delegated Scopes\n\nWorkspace.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": [
|
||||
"WorkspaceRelations"
|
||||
],
|
||||
"operationId": "WorkspaceRelations_DeleteWorkspaceRelation",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "workspaceId",
|
||||
"description": "The workspace ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"in": "path",
|
||||
"name": "workspaceRelationId",
|
||||
"description": "The workspace relation ID.",
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Request completed successfully."
|
||||
},
|
||||
"429": {
|
||||
"description": "The service rate limit was exceeded. The server returns a `Retry-After` header indicating, in seconds, how long the client must wait before sending additional requests.",
|
||||
"x-ms-error-response": true,
|
||||
"headers": {
|
||||
"Retry-After": {
|
||||
"type": "integer",
|
||||
"description": "The number of seconds to wait before retrying the request."
|
||||
}
|
||||
},
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"description": "Common error codes:\n\n* InsufficientPrivileges - The caller does not have sufficient workspace permissions.\n\n* WorkspaceNotFound - The specified workspace was not found.\n\n* WorkspaceRelationNotFound - The specified workspace relation was not found.\n\n* WorkspaceNotInvolvedInRelation - The workspace is not involved in the specified relation.\n\n* WorkspaceRelationTypeNotBranch - The relation is not a branch relation and cannot be deleted through this endpoint.",
|
||||
"schema": {
|
||||
"$ref": "../common/definitions.json#/definitions/ErrorResponse"
|
||||
}
|
||||
}
|
||||
},
|
||||
"x-ms-examples": {
|
||||
"Delete a workspace relation example": {
|
||||
"$ref": "./examples/gitIntegration/DeleteWorkspaceRelation.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {},
|
||||
|
||||
Reference in new issue
Block a user