diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json new file mode 100644 index 000000000000..5b06c98ac5bf --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "repetitionName": "000001", + "requestHistoryName": "08586611142732800686" + }, + "responses": { + "200": { + "body": { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json new file mode 100644 index 000000000000..72adfc688a82 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "repetitionName": "000001" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json new file mode 100644 index 000000000000..a39cfc2daa86 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_Get.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "requestHistoryName": "08586611142732800686" + }, + "responses": { + "200": { + "body": { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json new file mode 100644 index 000000000000..e2177e2559a4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/examples/WorkflowRunActionRequestHistories_List.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json index f17786cc5756..82ad4eabcd2c 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/preview/2018-07-01-preview/logic.json @@ -1993,6 +1993,296 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", + "description": "List a workflow run repetition request history.", + "x-ms-examples": { + "List repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistoryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", + "description": "Gets a workflow run repetition request history.", + "x-ms-examples": { + "Get a repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "requestHistoryName", + "description": "The request history name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistory" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRequestHistories_List", + "description": "List a workflow run request history.", + "x-ms-examples": { + "List a request history": { + "$ref": "./examples/WorkflowRunActionRequestHistories_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistoryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories/{requestHistoryName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRequestHistories_Get", + "description": "Gets a workflow run request history.", + "x-ms-examples": { + "Get a request history": { + "$ref": "./examples/WorkflowRunActionRequestHistories_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "requestHistoryName", + "description": "The request history name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistory" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions": { "get": { "tags": [ @@ -9641,6 +9931,103 @@ "description": "The recurrence." } } + }, + "RequestHistoryListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RequestHistory" + }, + "description": "A list of workflow request histories." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow request histories." + }, + "RequestHistory": { + "type": "object", + "additionalProperties": false, + "description": "The request history.", + "properties": { + "properties": { + "$ref": "#/definitions/RequestHistoryProperties", + "description": "The request history properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "RequestHistoryProperties": { + "type": "object", + "additionalProperties": false, + "description": "The request history.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the request started." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The time the request ended." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request." + }, + "response": { + "$ref": "#/definitions/Response", + "description": "The response." + } + } + }, + "Request": { + "type": "object", + "additionalProperties": false, + "description": "A request.", + "properties": { + "headers": { + "$ref": "#/definitions/Object", + "description": "A list of all the headers attached to the request." + }, + "uri": { + "type": "string", + "description": "The destination for the request." + }, + "method": { + "type": "string", + "description": "The HTTP method used for the request." + } + } + }, + "Response": { + "type": "object", + "additionalProperties": false, + "description": "A response.", + "properties": { + "headers": { + "$ref": "#/definitions/Object", + "description": "A list of all the headers attached to the response." + }, + "statusCode": { + "type": "integer", + "format": "int32", + "description": "The status code of the response." + }, + "bodyLink": { + "$ref": "#/definitions/ContentLink", + "description": "Details on the location of the body content." + } + } } }, "parameters": { diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json new file mode 100644 index 000000000000..5b06c98ac5bf --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_Get.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "repetitionName": "000001", + "requestHistoryName": "08586611142732800686" + }, + "responses": { + "200": { + "body": { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json new file mode 100644 index 000000000000..72adfc688a82 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRepetitionsRequestHistories_List.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "repetitionName": "000001" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json new file mode 100644 index 000000000000..a39cfc2daa86 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_Get.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook", + "requestHistoryName": "08586611142732800686" + }, + "responses": { + "200": { + "body": { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json new file mode 100644 index 000000000000..e2177e2559a4 --- /dev/null +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/examples/WorkflowRunActionRequestHistories_List.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2018-07-01-preview", + "resourceGroupName": "test-resource-group", + "subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "workflowName": "test-workflow", + "runName": "08586776228332053161046300351", + "actionName": "HTTP_Webhook" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "startTime": "2018-10-25T18:36:51.9206732Z", + "endTime": "2018-10-25T18:36:52.1863033Z", + "request": { + "headers": { + "Accept-Language": "en-US", + "User-Agent": "azure-logic-apps/1.0,(workflow 80244732be3648f59d2084fd979cdd56; version 08586611142904036539)", + "x-ms-execution-location": "brazilsouth", + "x-ms-workflow-id": "80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-version": "08586611142904036539", + "x-ms-workflow-name": "test-workflow", + "x-ms-workflow-system-id": "/locations/brazilsouth/scaleunits/prod-17/workflows/80244732be3648f59d2084fd979cdd56", + "x-ms-workflow-run-id": "08586611142736787787412824395CU21", + "x-ms-workflow-run-tracking-id": "b4cd2e77-f949-4d8c-8753-791407aebde8", + "x-ms-workflow-operation-name": "HTTP_Webhook", + "x-ms-workflow-subscription-id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", + "x-ms-workflow-resourcegroup-name": "test-resource-group", + "x-ms-workflow-subscription-capacity": "Large", + "x-ms-tracking-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-correlation-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-request-id": "ad484925-4148-4dd0-9488-07aed418b256", + "x-ms-client-tracking-id": "08586611142736787787412824395CU21", + "x-ms-action-tracking-id": "ad27f634-6523-492f-924e-9a75e28619c8" + }, + "uri": "http://tempuri.org", + "method": "GET" + }, + "response": { + "headers": { + "Cache-Control": "private", + "Date": "Thu, 25 Oct 2018 18:36:51 GMT", + "Location": "http://www.bing.com/", + "Server": "Microsoft-IIS/10.0", + "X-AspNet-Version": "4.0.30319", + "X-Powered-By": "ASP.NET" + }, + "statusCode": 302, + "bodyLink": { + "uri": "https://tempuri.org", + "contentVersion": "2LOOAR8Eh2pd7AvRHXUhRg==", + "contentSize": 137, + "contentHash": { + "algorithm": "md5", + "value": "2LOOAR8Eh2pd7AvRHXUhRg==" + } + } + } + }, + "id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-resource-group/providers/Microsoft.Logic/workflows/test-workflow/runs/08586611142736787787412824395CU21/actions/HTTP_Webhook/requestHistories/08586611142732800686", + "name": "08586611142732800686", + "type": "Microsoft.Logic/workflows/runs/actions/requestHistories" + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json index cdefcc99dbee..88be3b519f46 100644 --- a/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json +++ b/specification/logic/resource-manager/Microsoft.Logic/stable/2016-06-01/logic.json @@ -1993,6 +1993,296 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitionsRequestHistories_List", + "description": "List a workflow run repetition request history.", + "x-ms-examples": { + "List repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistoryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/repetitions/{repetitionName}/requestHistories/{requestHistoryName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRepetitionsRequestHistories_Get", + "description": "Gets a workflow run repetition request history.", + "x-ms-examples": { + "Get a repetition request history": { + "$ref": "./examples/WorkflowRunActionRepetitionsRequestHistories_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "repetitionName", + "description": "The workflow repetition.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "requestHistoryName", + "description": "The request history name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistory" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRequestHistories_List", + "description": "List a workflow run request history.", + "x-ms-examples": { + "List a request history": { + "$ref": "./examples/WorkflowRunActionRequestHistories_List.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistoryListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/requestHistories/{requestHistoryName}": { + "get": { + "tags": [ + "WorkflowRunActions" + ], + "operationId": "WorkflowRunActionRequestHistories_Get", + "description": "Gets a workflow run request history.", + "x-ms-examples": { + "Get a request history": { + "$ref": "./examples/WorkflowRunActionRequestHistories_Get.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "name": "resourceGroupName", + "description": "The resource group name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "workflowName", + "description": "The workflow name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "runName", + "description": "The workflow run name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "actionName", + "description": "The workflow action name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "requestHistoryName", + "description": "The request history name.", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RequestHistory" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/workflows/{workflowName}/runs/{runName}/actions/{actionName}/scopeRepetitions": { "get": { "tags": [ @@ -9686,6 +9976,103 @@ "description": "The recurrence." } } + }, + "RequestHistoryListResult": { + "type": "object", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/RequestHistory" + }, + "description": "A list of workflow request histories." + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "description": "The list of workflow request histories." + }, + "RequestHistory": { + "type": "object", + "additionalProperties": false, + "description": "The request history.", + "properties": { + "properties": { + "$ref": "#/definitions/RequestHistoryProperties", + "description": "The request history properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "RequestHistoryProperties": { + "type": "object", + "additionalProperties": false, + "description": "The request history.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The time the request started." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The time the request ended." + }, + "request": { + "$ref": "#/definitions/Request", + "description": "The request." + }, + "response": { + "$ref": "#/definitions/Response", + "description": "The response." + } + } + }, + "Request": { + "type": "object", + "additionalProperties": false, + "description": "A request.", + "properties": { + "headers": { + "$ref": "#/definitions/Object", + "description": "A list of all the headers attached to the request." + }, + "uri": { + "type": "string", + "description": "The destination for the request." + }, + "method": { + "type": "string", + "description": "The HTTP method used for the request." + } + } + }, + "Response": { + "type": "object", + "additionalProperties": false, + "description": "A response.", + "properties": { + "headers": { + "$ref": "#/definitions/Object", + "description": "A list of all the headers attached to the response." + }, + "statusCode": { + "type": "integer", + "format": "int32", + "description": "The status code of the response." + }, + "bodyLink": { + "$ref": "#/definitions/ContentLink", + "description": "Details on the location of the body content." + } + } } }, "parameters": {