diff --git a/src/ApiManagement/ApiManagement.ServiceManagement.Test/ScenarioTests/ApiManagementTests.ps1 b/src/ApiManagement/ApiManagement.ServiceManagement.Test/ScenarioTests/ApiManagementTests.ps1
index 7739ffec20ae..e991b2a49df8 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement.Test/ScenarioTests/ApiManagementTests.ps1
+++ b/src/ApiManagement/ApiManagement.ServiceManagement.Test/ScenarioTests/ApiManagementTests.ps1
@@ -3051,6 +3051,7 @@ function ApiRevision-CrudTest {
$swaggerApiId1 = getAssetName
$apiRevisionId = "2"
$apiReleaseId = getAssetName
+ $apiRevisionDescription = getAssetName
try {
# import api from file
@@ -3079,9 +3080,11 @@ function ApiRevision-CrudTest {
# now lets create an api revision
$expectedApiId = [string]::Format("{0};rev={1}", $swaggerApiId1, $apiRevisionId)
- $apiRevision = New-AzApiManagementApiRevision -Context $context -ApiId $swaggerApiId1 -ApiRevision $apiRevisionId -SourceApiRevision "1"
+ $apiRevision = New-AzApiManagementApiRevision -Context $context -ApiId $swaggerApiId1 -ApiRevision $apiRevisionId -SourceApiRevision "1" -ApiRevisionDescription $apiRevisionDescription
Assert-AreEqual $expectedApiId $apiRevision.ApiId
Assert-AreEqual $apiRevisionId $apiRevision.ApiRevision
+ Assert-NotNull $apiRevision.ApiRevisionDescription
+ Assert-AreEqual $apiRevisionDescription $apiRevision.ApiRevisionDescription
Assert-AreEqual $path1 $apiRevision.Path
Assert-False { $apiRevision.IsCurrent }
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiRevisionCrudTest.json b/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiRevisionCrudTest.json
index 7c485815756b..bd85ead145a0 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiRevisionCrudTest.json
+++ b/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/ApiRevisionCrudTest.json
@@ -1,13 +1,13 @@
{
"Entries": [
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "PUT",
"RequestBody": "{\r\n \"properties\": {\r\n \"path\": \"swaggerapifromFile\",\r\n \"value\": \"{\\r\\n \\\"x-comment\\\": \\\"This file was extended from /github.com/swagger-api/swagger-spec/blob/master/examples/v2.0/json/petstore-with-external-docs.json\\\",\\r\\n \\\"swagger\\\": \\\"2.0\\\",\\r\\n \\\"info\\\": {\\r\\n \\\"version\\\": \\\"1.0.0\\\",\\r\\n \\\"title\\\": \\\"Swagger Petstore Extensive\\\",\\r\\n \\\"description\\\": \\\"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\\\",\\r\\n \\\"termsOfService\\\": \\\"http://helloreverb.com/terms/\\\",\\r\\n \\\"contact\\\": {\\r\\n \\\"name\\\": \\\"Wordnik API Team\\\",\\r\\n \\\"email\\\": \\\"foo@example.com\\\",\\r\\n \\\"url\\\": \\\"http://madskristensen.net\\\"\\r\\n },\\r\\n \\\"license\\\": {\\r\\n \\\"name\\\": \\\"MIT\\\",\\r\\n \\\"url\\\": \\\"http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT\\\"\\r\\n }\\r\\n },\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"host\\\": \\\"petstore.swagger.wordnik.com\\\",\\r\\n \\\"basePath\\\": \\\"/api\\\",\\r\\n \\\"schemes\\\": [\\r\\n \\\"http\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"paths\\\": {\\r\\n \\\"/mySamplePath?willbeignored={willbeignored}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid1\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyDateHeaderParam\\\",\\r\\n \\\"in\\\": \\\"header\\\",\\r\\n \\\"description\\\": \\\"dummyDateHeaderParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"date\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyNotReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyNotReqQueryParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"dummyBodyParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\",\\r\\n \\\"example\\\": {\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"description\\\": \\\"sampleheader\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"application/json\\\": {\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\" \\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/resourceWithFormData\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"resourceWithFormData desc\\\",\\r\\n \\\"operationId\\\": \\\"resourceWithFormDataPOST\\\",\\r\\n \\\"consumes\\\": [ \\\"multipart/form-data\\\" ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyFormDataParam\\\",\\r\\n \\\"in\\\": \\\"formData\\\",\\r\\n \\\"description\\\": \\\"dummyFormDataParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"sample response\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/mySamplePath2?definedQueryParam={definedQueryParam}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"produces\\\": [\\r\\n \\\"contenttype1\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid2\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyQueryParameterDef\\\"\\r\\n },\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyBodyParameterDef\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"$ref\\\": \\\"#/responses/dummyResponseDef\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets2?dummyParam={dummyParam}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Dummy description\\\",\\r\\n \\\"operationId\\\": \\\"dummyOperationId\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyParam desc\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns all pets from the system that the user has access to\\\",\\r\\n \\\"operationId\\\": \\\"findPets\\\",\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"tags\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"tags to filter by\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Creates a new pet in the store. Duplicates are allowed\\\",\\r\\n \\\"operationId\\\": \\\"addPet\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"pet\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"Pet to add to the store\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/newPet\\\"\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets/{id}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns a user based on a single ID, if the user does not have access to the pet\\\",\\r\\n \\\"operationId\\\": \\\"findPetById\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\",\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to fetch\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"delete\\\": {\\r\\n \\\"description\\\": \\\"deletes a single pet based on the ID supplied\\\",\\r\\n \\\"operationId\\\": \\\"deletePet\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to delete\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"description\\\": \\\"pet deleted\\\"\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"definitions\\\": {\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"id\\\",\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"code\\\",\\r\\n \\\"message\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"parameters\\\": {\\r\\n \\\"dummyBodyParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"definedBodyParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"title\\\": \\\"Example Schema\\\",\\r\\n \\\"type\\\": \\\"object\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"firstName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"lastName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"age\\\": {\\r\\n \\\"description\\\": \\\"Age in years\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"minimum\\\": 0\\r\\n }\\r\\n },\\r\\n \\\"required\\\": [ \\\"firstName\\\", \\\"lastName\\\" ]\\r\\n }\\r\\n },\\r\\n \\\"dummyQueryParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"definedQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"whateverformat\\\"\\r\\n }\\r\\n },\\r\\n \\\"responses\\\": {\\r\\n \\\"dummyResponseDef\\\": {\\r\\n \\\"description\\\": \\\"dummyResponseDef description\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n },\\r\\n \\\"header2\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"contenttype1\\\": \\\"contenttype1 example\\\",\\r\\n \\\"contenttype2\\\": \\\"contenttype2 example\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\",\r\n \"format\": \"swagger-json\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b16b1b5f-a139-40aa-adb5-ce9e42949653"
+ "a08fa94a-9b51-4fc5-b6e8-3ab738444f5f"
],
"Accept-Language": [
"en-US"
@@ -33,13 +33,13 @@
"no-cache"
],
"Location": [
- "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?api-version=2019-01-01&asyncId=5d3f1d54787c95133452a556&asyncCode=201"
+ "https://management.azure.com/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?api-version=2019-01-01&asyncId=5d426b1b787c95133452a62a&asyncCode=201"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "9ff34bd7-db1c-4c96-838f-23f206934cae"
+ "cfcc135b-56d2-4a23-aa60-6a695cbf4913"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -48,16 +48,16 @@
"1199"
],
"x-ms-correlation-request-id": [
- "c237b006-dfb8-47dd-a9d6-5bca4f4e796f"
+ "ea36cc34-beaf-4033-87f5-5c00647cc100"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162244Z:c237b006-dfb8-47dd-a9d6-5bca4f4e796f"
+ "WESTUS:20190801T043123Z:ea36cc34-beaf-4033-87f5-5c00647cc100"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:22:44 GMT"
+ "Thu, 01 Aug 2019 04:31:23 GMT"
],
"Expires": [
"-1"
@@ -70,8 +70,8 @@
"StatusCode": 202
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?api-version=2019-01-01&asyncId=5d3f1d54787c95133452a556&asyncCode=201",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2P2FwaS12ZXJzaW9uPTIwMTktMDEtMDEmYXN5bmNJZD01ZDNmMWQ1NDc4N2M5NTEzMzQ1MmE1NTYmYXN5bmNDb2RlPTIwMQ==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?api-version=2019-01-01&asyncId=5d426b1b787c95133452a62a&asyncCode=201",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDEmYXN5bmNJZD01ZDQyNmIxYjc4N2M5NTEzMzQ1MmE2MmEmYXN5bmNDb2RlPTIwMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -90,31 +90,31 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFG0=\""
+ "\"AAAAAAAAFwU=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "2426c927-946a-4edd-9d46-49d261bbca08"
+ "f1ccde42-391f-4c29-a2bf-15588e714115"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11998"
+ "11999"
],
"x-ms-correlation-request-id": [
- "5efafc12-67eb-4a25-a73d-b3b077911476"
+ "6327a636-223e-40f4-bb8e-25a761125ca3"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162315Z:5efafc12-67eb-4a25-a73d-b3b077911476"
+ "WESTUS:20190801T043153Z:6327a636-223e-40f4-bb8e-25a761125ca3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:15 GMT"
+ "Thu, 01 Aug 2019 04:31:53 GMT"
],
"Content-Length": [
"849"
@@ -126,17 +126,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "59e122df-8e17-4f7d-8835-0a67f099c916"
+ "16957989-f1cc-4f50-a177-c660c091fb65"
],
"Accept-Language": [
"en-US"
@@ -156,31 +156,31 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFG0=\""
+ "\"AAAAAAAAFwU=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "1336a6ee-a297-4f85-b89b-813af20813c4"
+ "bf31d9da-f02b-42f7-a19a-9addf65b397a"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11997"
+ "11998"
],
"x-ms-correlation-request-id": [
- "0c0f20a4-eb9b-4d37-83ab-b5800d9315d3"
+ "02b5f46c-484f-41cb-aa7e-032e1c2ab358"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162315Z:0c0f20a4-eb9b-4d37-83ab-b5800d9315d3"
+ "WESTUS:20190801T043154Z:02b5f46c-484f-41cb-aa7e-032e1c2ab358"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:15 GMT"
+ "Thu, 01 Aug 2019 04:31:53 GMT"
],
"Content-Length": [
"849"
@@ -192,17 +192,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8b630e6c-ef1e-4602-bc21-30912fdca69b"
+ "2e0c1de7-3df9-44c2-b7c2-dcb2433ebe84"
],
"Accept-Language": [
"en-US"
@@ -222,31 +222,31 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFG0=\""
+ "\"AAAAAAAAFwU=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "544e3553-50e5-4fbc-b24d-23e9521ac96d"
+ "5c154368-aa8a-48c4-8232-f7f0e1efe919"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11993"
+ "11994"
],
"x-ms-correlation-request-id": [
- "d738843f-594a-4829-8ad9-8cce3acb62b2"
+ "96a1fe40-fa35-4479-9b9f-d48f2c164034"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162317Z:d738843f-594a-4829-8ad9-8cce3acb62b2"
+ "WESTUS:20190801T043234Z:96a1fe40-fa35-4479-9b9f-d48f2c164034"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:17 GMT"
+ "Thu, 01 Aug 2019 04:32:33 GMT"
],
"Content-Length": [
"849"
@@ -258,7 +258,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}",
"StatusCode": 200
},
{
@@ -268,7 +268,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "715fbab1-e3ed-41e0-9939-b3ad44be90d0"
+ "951d6fdf-8a55-432c-99d6-d77284ddfec2"
],
"Accept-Language": [
"en-US"
@@ -291,25 +291,25 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "f76af4f5-76e9-4ad6-98a1-597036f7fc4a"
+ "62321068-cbe6-459b-894d-506fb37d01a5"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11996"
+ "11997"
],
"x-ms-correlation-request-id": [
- "0241c281-672b-4009-bcd5-5d5ad70ae2b8"
+ "4f4904fa-cd67-403b-9a4c-ba9653966c7c"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162315Z:0241c281-672b-4009-bcd5-5d5ad70ae2b8"
+ "WESTUS:20190801T043154Z:4f4904fa-cd67-403b-9a4c-ba9653966c7c"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:15 GMT"
+ "Thu, 01 Aug 2019 04:31:53 GMT"
],
"Content-Length": [
"1272"
@@ -325,13 +325,13 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps5516?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL3Byb2R1Y3RzL3N0YXJ0ZXIvYXBpcy9wczU1MTY/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps7991?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL3Byb2R1Y3RzL3N0YXJ0ZXIvYXBpcy9wczc5OTE/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
"RequestMethod": "PUT",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "0963dc09-dd82-473d-9412-1552cdc1cfa3"
+ "42aad62e-c6e2-4f2f-a0fb-2a527e05d6b7"
],
"Accept-Language": [
"en-US"
@@ -351,13 +351,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFG0=\""
+ "\"AAAAAAAAFwU=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "86d2fe7c-243a-4f7e-afbc-a0e26ce1e91c"
+ "7d253943-74bc-45e5-abb1-aa1dd3ee3648"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -366,16 +366,16 @@
"1198"
],
"x-ms-correlation-request-id": [
- "37414d94-c178-4698-81f2-53fa162cb534"
+ "de4803f7-0157-491e-8a85-513b7bebb0eb"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162316Z:37414d94-c178-4698-81f2-53fa162cb534"
+ "WESTUS:20190801T043227Z:de4803f7-0157-491e-8a85-513b7bebb0eb"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:16 GMT"
+ "Thu, 01 Aug 2019 04:32:26 GMT"
],
"Content-Length": [
"723"
@@ -387,7 +387,7 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps5516\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"ps5516\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps7991\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"ps7991\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n}",
"StatusCode": 201
},
{
@@ -397,7 +397,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "507d8f76-98bb-403b-ad6a-414261f80303"
+ "ec7978fa-8484-46ef-b55e-50b04d2c072b"
],
"Accept-Language": [
"en-US"
@@ -420,25 +420,25 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "498f51f7-69ed-4a5a-8ed9-9a85c1799d38"
+ "c5504760-e50a-49ef-889d-a1d198e4783e"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11995"
+ "11996"
],
"x-ms-correlation-request-id": [
- "da2a5ccf-3393-45ab-a699-013f78e3dd01"
+ "81fc4e8e-258e-45af-b209-e2e4e850e487"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162317Z:da2a5ccf-3393-45ab-a699-013f78e3dd01"
+ "WESTUS:20190801T043227Z:81fc4e8e-258e-45af-b209-e2e4e850e487"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:17 GMT"
+ "Thu, 01 Aug 2019 04:32:26 GMT"
],
"Content-Length": [
"1517"
@@ -450,17 +450,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps5516\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"ps5516\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/products/starter/apis/ps7991\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"ps7991\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "bd282f26-889d-49ae-a357-eaf88b537aa9"
+ "496b7513-5f65-4ffe-9d3d-79595776d9dc"
],
"Accept-Language": [
"en-US"
@@ -483,25 +483,25 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "9d6f354b-ad4f-4e24-bc1f-1b850d7374e3"
+ "d7c00518-1e24-4e4d-8e12-32c4b83aae9f"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11994"
+ "11995"
],
"x-ms-correlation-request-id": [
- "70f6847b-1a02-430d-9d34-b5d0a211f679"
+ "df22f4a3-bc86-4cf8-a37a-9d562aae939e"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162317Z:70f6847b-1a02-430d-9d34-b5d0a211f679"
+ "WESTUS:20190801T043227Z:df22f4a3-bc86-4cf8-a37a-9d562aae939e"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:17 GMT"
+ "Thu, 01 Aug 2019 04:32:26 GMT"
],
"Content-Length": [
"18927"
@@ -513,17 +513,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/addPet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"addPet\",\r\n \"properties\": {\r\n \"displayName\": \"addPet\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Creates a new pet in the store. Duplicates are allowed\",\r\n \"request\": {\r\n \"description\": \"Pet to add to the store\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"newPet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"{\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/deletePet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"deletePet\",\r\n \"properties\": {\r\n \"displayName\": \"deletePet\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to delete\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"deletes a single pet based on the ID supplied\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"pet deleted\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/dummyid1\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid1\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid1\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"dummyBodyParam description\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"dummyNotReqQueryParam\",\r\n \"description\": \"dummyNotReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"dummyDateHeaderParam\",\r\n \"description\": \"Format - date (as full-date in RFC3339). dummyDateHeaderParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": \"sampleheader\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/dummyid2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid2\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid2\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath2?definedQueryParam={definedQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"definedQueryParam\",\r\n \"description\": \"Format - whateverformat. definedQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"definedBodyParam description\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"DefinedBodyParam\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"dummyResponseDef description\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"contenttype1\",\r\n \"sample\": \"contenttype1 example\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"contenttype2\",\r\n \"sample\": \"contenttype2 example\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"header2\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/dummyOperationId\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyOperationId\",\r\n \"properties\": {\r\n \"displayName\": \"dummyOperationId\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets2?dummyParam={dummyParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyParam\",\r\n \"description\": \"dummyParam desc\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy description\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"Pets2Get200ApplicationJsonResponse\",\r\n \"generatedSample\": \"[\\r\\n \\\"string\\\"\\r\\n]\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/findPetById\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPetById\",\r\n \"properties\": {\r\n \"displayName\": \"findPetById\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to fetch\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Returns a user based on a single ID, if the user does not have access to the pet\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"{\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/findPets\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPets\",\r\n \"properties\": {\r\n \"displayName\": \"findPets\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Returns all pets from the system that the user has access to\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"tags\",\r\n \"description\": \"tags to filter by\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\",\r\n \"generatedSample\": \"[\\r\\n {\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n }\\r\\n]\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/operations/resourceWithFormDataPOST\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"resourceWithFormDataPOST\",\r\n \"properties\": {\r\n \"displayName\": \"resourceWithFormDataPOST\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resourceWithFormData?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"resourceWithFormData desc\",\r\n \"request\": {\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"multipart/form-data\",\r\n \"formParameters\": [\r\n {\r\n \"name\": \"dummyFormDataParam\",\r\n \"description\": \"dummyFormDataParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"sample response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/addPet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"addPet\",\r\n \"properties\": {\r\n \"displayName\": \"addPet\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Creates a new pet in the store. Duplicates are allowed\",\r\n \"request\": {\r\n \"description\": \"Pet to add to the store\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"newPet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"{\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/deletePet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"deletePet\",\r\n \"properties\": {\r\n \"displayName\": \"deletePet\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to delete\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"deletes a single pet based on the ID supplied\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"pet deleted\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/dummyid1\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid1\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid1\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"dummyBodyParam description\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"dummyNotReqQueryParam\",\r\n \"description\": \"dummyNotReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"dummyDateHeaderParam\",\r\n \"description\": \"Format - date (as full-date in RFC3339). dummyDateHeaderParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": \"sampleheader\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/dummyid2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid2\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid2\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath2?definedQueryParam={definedQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"definedQueryParam\",\r\n \"description\": \"Format - whateverformat. definedQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"definedBodyParam description\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"DefinedBodyParam\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"dummyResponseDef description\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"contenttype1\",\r\n \"sample\": \"contenttype1 example\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"contenttype2\",\r\n \"sample\": \"contenttype2 example\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"header2\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/dummyOperationId\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyOperationId\",\r\n \"properties\": {\r\n \"displayName\": \"dummyOperationId\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets2?dummyParam={dummyParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyParam\",\r\n \"description\": \"dummyParam desc\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy description\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"Pets2Get200ApplicationJsonResponse\",\r\n \"generatedSample\": \"[\\r\\n \\\"string\\\"\\r\\n]\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/findPetById\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPetById\",\r\n \"properties\": {\r\n \"displayName\": \"findPetById\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to fetch\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Returns a user based on a single ID, if the user does not have access to the pet\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"{\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/findPets\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPets\",\r\n \"properties\": {\r\n \"displayName\": \"findPets\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Returns all pets from the system that the user has access to\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"tags\",\r\n \"description\": \"tags to filter by\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\",\r\n \"generatedSample\": \"[\\r\\n {\\r\\n \\\"id\\\": 0,\\r\\n \\\"name\\\": \\\"string\\\",\\r\\n \\\"tag\\\": \\\"string\\\"\\r\\n }\\r\\n]\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\",\r\n \"generatedSample\": \"\\r\\n 0\\r\\n string\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"{\\r\\n \\\"code\\\": 0,\\r\\n \\\"message\\\": \\\"string\\\"\\r\\n}\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\",\r\n \"generatedSample\": \"\\r\\n 0
\\r\\n string\\r\\n\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/operations/resourceWithFormDataPOST\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"resourceWithFormDataPOST\",\r\n \"properties\": {\r\n \"displayName\": \"resourceWithFormDataPOST\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resourceWithFormData?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"resourceWithFormData desc\",\r\n \"request\": {\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"multipart/form-data\",\r\n \"formParameters\": [\r\n {\r\n \"name\": \"dummyFormDataParam\",\r\n \"description\": \"dummyFormDataParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"sample response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516%3Brev%3D2?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2JTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991%3Brev%3D2?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxJTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"sourceApiId\": \"/apis/ps5516;rev=1\",\r\n \"path\": \"swaggerapifromFile\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"apiRevisionDescription\": \"ps9280\",\r\n \"sourceApiId\": \"/apis/ps7991;rev=1\",\r\n \"path\": \"swaggerapifromFile\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "cc42c45d-1653-49c4-a9d2-a29cba5f8285"
+ "bc907a0b-3f7e-468a-aa6f-8434da4b5d14"
],
"Accept-Language": [
"en-US"
@@ -538,7 +538,7 @@
"application/json; charset=utf-8"
],
"Content-Length": [
- "104"
+ "145"
]
},
"ResponseHeaders": {
@@ -549,13 +549,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFI0=\""
+ "\"AAAAAAAAFyY=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "008f8a2a-0853-4770-be14-45a44d562c7e"
+ "2362e199-95ff-4567-bea2-ddb7eb723843"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -564,19 +564,19 @@
"1197"
],
"x-ms-correlation-request-id": [
- "3db685d7-f8ed-4fe0-9388-83a865aca6a6"
+ "24bf472b-c20b-4e95-ab66-12b7e4d428ab"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162320Z:3db685d7-f8ed-4fe0-9388-83a865aca6a6"
+ "WESTUS:20190801T043249Z:24bf472b-c20b-4e95-ab66-12b7e4d428ab"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:20 GMT"
+ "Thu, 01 Aug 2019 04:32:49 GMT"
],
"Content-Length": [
- "837"
+ "878"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -585,12 +585,12 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"apiRevisionDescription\": \"ps9280\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516%3Brev%3D2?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2JTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991%3Brev%3D2?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxJTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
@@ -609,34 +609,34 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFI0=\""
+ "\"AAAAAAAAFyY=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "8a7ce360-f8bf-4db1-856c-42d8ae1b762a"
+ "d780907f-4aac-4c97-8e15-67314327214e"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11992"
+ "11993"
],
"x-ms-correlation-request-id": [
- "54f5e37f-4021-41a9-8d40-f031542bd488"
+ "47b1f1e4-ccc6-4ceb-9d78-1d8403131223"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162350Z:54f5e37f-4021-41a9-8d40-f031542bd488"
+ "WESTUS:20190801T043320Z:47b1f1e4-ccc6-4ceb-9d78-1d8403131223"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:49 GMT"
+ "Thu, 01 Aug 2019 04:33:19 GMT"
],
"Content-Length": [
- "837"
+ "878"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -645,17 +645,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"apiRevisionDescription\": \"ps9280\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516%3Brev%3D2?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2JTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991%3Brev%3D2?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxJTNCcmV2JTNEMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "244bd774-9c44-4fd7-97db-a88f55703e78"
+ "a0ac5c41-95b1-4a9c-b403-50cf9db5d5f9"
],
"Accept-Language": [
"en-US"
@@ -675,34 +675,34 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFI0=\""
+ "\"AAAAAAAAFyY=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "bc23fc60-ac20-4401-91bb-68aaea5db2b4"
+ "8dbf8839-af5c-4043-bbaf-c48edce3f90c"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11990"
+ "11991"
],
"x-ms-correlation-request-id": [
- "9d727b3c-5861-45ad-82b5-987f25cd7399"
+ "77950d0f-3089-4c1d-9d6e-5cb06090e51b"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162351Z:9d727b3c-5861-45ad-82b5-987f25cd7399"
+ "WESTUS:20190801T043339Z:77950d0f-3089-4c1d-9d6e-5cb06090e51b"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:50 GMT"
+ "Thu, 01 Aug 2019 04:33:38 GMT"
],
"Content-Length": [
- "837"
+ "878"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -711,17 +711,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps5516;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"ps7991;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerapifromFile\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"apiRevisionDescription\": \"ps9280\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516%3Brev%3D2/operations?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2JTNCcmV2JTNEMi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991%3Brev%3D2/operations?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxJTNCcmV2JTNEMi9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c5b0f872-43d0-42d4-953c-8fb3e877dd9f"
+ "2224f07f-4dd2-4043-befe-eeee6a7654a5"
],
"Accept-Language": [
"en-US"
@@ -744,25 +744,25 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "7b2e8a51-a534-4d63-948f-5802864f92b1"
+ "3ee5dd5c-02ef-42a8-855c-e29f77cb0f20"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11991"
+ "11992"
],
"x-ms-correlation-request-id": [
- "637617ce-6118-4ece-8001-e71507efbc74"
+ "584fdd62-b013-4e5b-8ce0-4c1d34af97be"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162351Z:637617ce-6118-4ece-8001-e71507efbc74"
+ "WESTUS:20190801T043338Z:584fdd62-b013-4e5b-8ce0-4c1d34af97be"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:50 GMT"
+ "Thu, 01 Aug 2019 04:33:38 GMT"
],
"Content-Length": [
"16908"
@@ -774,17 +774,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/addPet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"addPet\",\r\n \"properties\": {\r\n \"displayName\": \"addPet\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Creates a new pet in the store. Duplicates are allowed\",\r\n \"request\": {\r\n \"description\": \"Pet to add to the store\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"newPet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/deletePet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"deletePet\",\r\n \"properties\": {\r\n \"displayName\": \"deletePet\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to delete\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"deletes a single pet based on the ID supplied\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"pet deleted\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/dummyid1\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid1\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid1\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"dummyBodyParam description\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"dummyNotReqQueryParam\",\r\n \"description\": \"dummyNotReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"dummyDateHeaderParam\",\r\n \"description\": \"Format - date (as full-date in RFC3339). dummyDateHeaderParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": \"sampleheader\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/dummyid2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid2\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid2\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath2?definedQueryParam={definedQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"definedQueryParam\",\r\n \"description\": \"Format - whateverformat. definedQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"definedBodyParam description\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"DefinedBodyParam\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"dummyResponseDef description\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"contenttype1\",\r\n \"sample\": \"contenttype1 example\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"contenttype2\",\r\n \"sample\": \"contenttype2 example\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"header2\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/dummyOperationId\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyOperationId\",\r\n \"properties\": {\r\n \"displayName\": \"dummyOperationId\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets2?dummyParam={dummyParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyParam\",\r\n \"description\": \"dummyParam desc\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy description\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"Pets2Get200ApplicationJsonResponse\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/findPetById\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPetById\",\r\n \"properties\": {\r\n \"displayName\": \"findPetById\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to fetch\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Returns a user based on a single ID, if the user does not have access to the pet\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/findPets\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPets\",\r\n \"properties\": {\r\n \"displayName\": \"findPets\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Returns all pets from the system that the user has access to\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"tags\",\r\n \"description\": \"tags to filter by\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d3f1d54787c95133452a555\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516;rev=2/operations/resourceWithFormDataPOST\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"resourceWithFormDataPOST\",\r\n \"properties\": {\r\n \"displayName\": \"resourceWithFormDataPOST\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resourceWithFormData?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"resourceWithFormData desc\",\r\n \"request\": {\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"multipart/form-data\",\r\n \"formParameters\": [\r\n {\r\n \"name\": \"dummyFormDataParam\",\r\n \"description\": \"dummyFormDataParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"sample response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/addPet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"addPet\",\r\n \"properties\": {\r\n \"displayName\": \"addPet\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Creates a new pet in the store. Duplicates are allowed\",\r\n \"request\": {\r\n \"description\": \"Pet to add to the store\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"newPet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/deletePet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"deletePet\",\r\n \"properties\": {\r\n \"displayName\": \"deletePet\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to delete\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"deletes a single pet based on the ID supplied\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"pet deleted\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/dummyid1\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid1\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid1\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"dummyBodyParam description\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"dummyNotReqQueryParam\",\r\n \"description\": \"dummyNotReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"dummyDateHeaderParam\",\r\n \"description\": \"Format - date (as full-date in RFC3339). dummyDateHeaderParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\"\\r\\n}\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": \"sampleheader\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/dummyid2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid2\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid2\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath2?definedQueryParam={definedQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"definedQueryParam\",\r\n \"description\": \"Format - whateverformat. definedQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"definedBodyParam description\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"DefinedBodyParam\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"dummyResponseDef description\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"contenttype1\",\r\n \"sample\": \"contenttype1 example\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"contenttype2\",\r\n \"sample\": \"contenttype2 example\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"header2\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/dummyOperationId\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyOperationId\",\r\n \"properties\": {\r\n \"displayName\": \"dummyOperationId\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets2?dummyParam={dummyParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyParam\",\r\n \"description\": \"dummyParam desc\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy description\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"Pets2Get200ApplicationJsonResponse\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/findPetById\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPetById\",\r\n \"properties\": {\r\n \"displayName\": \"findPetById\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to fetch\",\r\n \"type\": \"integer\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Returns a user based on a single ID, if the user does not have access to the pet\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/findPets\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findPets\",\r\n \"properties\": {\r\n \"displayName\": \"findPets\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Returns all pets from the system that the user has access to\",\r\n \"request\": {\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"tags\",\r\n \"description\": \"tags to filter by\",\r\n \"type\": \"string\",\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"schemaId\": \"5d426b1b787c95133452a629\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991;rev=2/operations/resourceWithFormDataPOST\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"resourceWithFormDataPOST\",\r\n \"properties\": {\r\n \"displayName\": \"resourceWithFormDataPOST\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resourceWithFormData?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"resourceWithFormData desc\",\r\n \"request\": {\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"multipart/form-data\",\r\n \"formParameters\": [\r\n {\r\n \"name\": \"dummyFormDataParam\",\r\n \"description\": \"dummyFormDataParam description\",\r\n \"type\": \"string\",\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"sample response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/revisions?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JldmlzaW9ucz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/revisions?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JldmlzaW9ucz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "6a4f99c3-322e-4bf2-8e1c-8a9f065582ba"
+ "05e9be53-ed43-47e0-a4fb-a22ed790add3"
],
"Accept-Language": [
"en-US"
@@ -807,28 +807,28 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "9d3f102e-f602-4cef-8b35-d9492ace44d8"
+ "28d7a73b-ed63-4997-a878-8bdad1b8ecf7"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11989"
+ "11990"
],
"x-ms-correlation-request-id": [
- "d996095a-43d1-4454-b55c-e74d337d453d"
+ "2a58ffd1-70c7-47a6-923a-547758b47f70"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162351Z:d996095a-43d1-4454-b55c-e74d337d453d"
+ "WESTUS:20190801T043339Z:2a58ffd1-70c7-47a6-923a-547758b47f70"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:50 GMT"
+ "Thu, 01 Aug 2019 04:33:38 GMT"
],
"Content-Length": [
- "496"
+ "500"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -837,17 +837,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"apiId\": \"/apis/ps5516;rev=2\",\r\n \"apiRevision\": \"2\",\r\n \"createdDateTime\": \"2019-07-29T16:23:19.293Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:23:19.823Z\",\r\n \"description\": null,\r\n \"privateUrl\": \"/swaggerapifromFile;rev=2\",\r\n \"isOnline\": true,\r\n \"isCurrent\": false\r\n },\r\n {\r\n \"apiId\": \"/apis/ps5516;rev=1\",\r\n \"apiRevision\": \"1\",\r\n \"createdDateTime\": \"2019-07-29T16:22:44.837Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:22:44.853Z\",\r\n \"description\": null,\r\n \"privateUrl\": \"/swaggerapifromFile\",\r\n \"isOnline\": true,\r\n \"isCurrent\": true\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"apiId\": \"/apis/ps7991;rev=2\",\r\n \"apiRevision\": \"2\",\r\n \"createdDateTime\": \"2019-08-01T04:32:49.117Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:32:49.197Z\",\r\n \"description\": \"ps9280\",\r\n \"privateUrl\": \"/swaggerapifromFile;rev=2\",\r\n \"isOnline\": true,\r\n \"isCurrent\": false\r\n },\r\n {\r\n \"apiId\": \"/apis/ps7991;rev=1\",\r\n \"apiRevision\": \"1\",\r\n \"createdDateTime\": \"2019-08-01T04:31:23.087Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:31:23.123Z\",\r\n \"description\": null,\r\n \"privateUrl\": \"/swaggerapifromFile\",\r\n \"isOnline\": true,\r\n \"isCurrent\": true\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JlbGVhc2VzL3BzNzAwMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JlbGVhc2VzL3BzODIxOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/apis/ps5516;rev=2\",\r\n \"notes\": \"ps5657\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/apis/ps7991;rev=2\",\r\n \"notes\": \"ps3672\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c75f8e8c-4203-4351-8a2c-70bdce1219b8"
+ "2b69ff44-696f-40ba-9351-6b032ae71d60"
],
"Accept-Language": [
"en-US"
@@ -873,13 +873,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFK4=\""
+ "\"AAAAAAAAF0c=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "285d4613-b3e4-43bc-bd41-55d62bf32845"
+ "40da1159-0cc7-499b-a37f-f67da979234c"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -888,16 +888,16 @@
"1196"
],
"x-ms-correlation-request-id": [
- "44802f40-2745-4c53-84f7-749093f5a352"
+ "4cba9e46-cb0c-4e6a-8386-c6146c50c0a9"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162352Z:44802f40-2745-4c53-84f7-749093f5a352"
+ "WESTUS:20190801T043340Z:4cba9e46-cb0c-4e6a-8386-c6146c50c0a9"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:52 GMT"
+ "Thu, 01 Aug 2019 04:33:39 GMT"
],
"Content-Length": [
"603"
@@ -909,17 +909,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps7002\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"createdDateTime\": \"2019-07-29T16:23:52.1212516Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:23:52.1212516Z\",\r\n \"notes\": \"ps5657\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps8218\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"createdDateTime\": \"2019-08-01T04:33:39.7853362Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:33:39.7853362Z\",\r\n \"notes\": \"ps3672\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JlbGVhc2VzL3BzNzAwMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JlbGVhc2VzL3BzODIxOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "ced33c9c-310a-4163-a600-584e0f24cac0"
+ "2cd4b29c-44c7-49d5-b68d-e884049c3ae6"
],
"Accept-Language": [
"en-US"
@@ -939,34 +939,34 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFK4=\""
+ "\"AAAAAAAAF0c=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "e3b19295-a142-45bd-b63d-10542b1fbbfc"
+ "c514b517-8ad9-4651-b124-7faae91a09dd"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11988"
+ "11989"
],
"x-ms-correlation-request-id": [
- "42f65204-daba-4345-bf3a-61d478730462"
+ "a878a046-0ec2-4a53-a94b-19fa9525418d"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162352Z:42f65204-daba-4345-bf3a-61d478730462"
+ "WESTUS:20190801T043340Z:a878a046-0ec2-4a53-a94b-19fa9525418d"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:52 GMT"
+ "Thu, 01 Aug 2019 04:33:40 GMT"
],
"Content-Length": [
- "593"
+ "595"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -975,17 +975,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps7002\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"createdDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"notes\": \"ps5657\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps8218\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"createdDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"notes\": \"ps3672\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JlbGVhc2VzL3BzNzAwMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JlbGVhc2VzL3BzODIxOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b4c4c6b6-27a2-4a08-aefc-65ed6e3e3f0f"
+ "9399c9ef-be20-4a9d-ab01-a8b5be940764"
],
"Accept-Language": [
"en-US"
@@ -1005,34 +1005,34 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFLE=\""
+ "\"AAAAAAAAF0o=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "7a2dfc24-c041-4c90-b1d1-9bc0c3458852"
+ "8107ce89-7f61-49c3-99ce-85a3d42ef3a2"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11987"
+ "11988"
],
"x-ms-correlation-request-id": [
- "ca8ab9aa-aa10-4000-9147-f1bbbd239e6d"
+ "6519c85e-6e53-4d22-982a-c30979ec5d50"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162353Z:ca8ab9aa-aa10-4000-9147-f1bbbd239e6d"
+ "WESTUS:20190801T043341Z:6519c85e-6e53-4d22-982a-c30979ec5d50"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:53 GMT"
+ "Thu, 01 Aug 2019 04:33:40 GMT"
],
"Content-Length": [
- "593"
+ "595"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1041,17 +1041,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps7002\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"createdDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"notes\": \"ps9074\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps8218\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"createdDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"notes\": \"ps6670\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JlbGVhc2VzL3BzNzAwMj9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JlbGVhc2VzL3BzODIxOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516\",\r\n \"notes\": \"ps9074\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991\",\r\n \"notes\": \"ps6670\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "f6015630-c88c-41b7-ba14-026df1824ea5"
+ "132058f2-310e-4b02-94d2-58ca5239da3a"
],
"If-Match": [
"*"
@@ -1083,7 +1083,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "073b6156-60c1-4379-a4b4-7946f4e94d4a"
+ "69d75189-07dd-4e9a-b9a5-53f42ab7a159"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1092,16 +1092,16 @@
"1195"
],
"x-ms-correlation-request-id": [
- "f7b748d9-ed0d-43af-8539-b064186cd5f4"
+ "e57cd2bb-9cae-4316-bd27-4885f91348bc"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162353Z:f7b748d9-ed0d-43af-8539-b064186cd5f4"
+ "WESTUS:20190801T043341Z:e57cd2bb-9cae-4316-bd27-4885f91348bc"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:53 GMT"
+ "Thu, 01 Aug 2019 04:33:40 GMT"
],
"Expires": [
"-1"
@@ -1111,13 +1111,13 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2L3JlbGVhc2VzP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxL3JlbGVhc2VzP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "96110c4c-a31c-43a0-8a2b-eb2e8db6c520"
+ "d5be73cd-b0ac-4295-a7a6-efc63c67384d"
],
"Accept-Language": [
"en-US"
@@ -1140,28 +1140,28 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "a0973010-dd22-432f-91f4-7dd44b18ea3f"
+ "def2cf1f-4da8-44b5-b386-7f6f90dd3c53"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
],
"x-ms-ratelimit-remaining-subscription-reads": [
- "11986"
+ "11987"
],
"x-ms-correlation-request-id": [
- "0f2b8ee8-b999-45de-b69b-81bdd5359698"
+ "7b57a2c4-dfa5-4ed1-b68f-a3dfdb626673"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162353Z:0f2b8ee8-b999-45de-b69b-81bdd5359698"
+ "WESTUS:20190801T043341Z:7b57a2c4-dfa5-4ed1-b68f-a3dfdb626673"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:53 GMT"
+ "Thu, 01 Aug 2019 04:33:40 GMT"
],
"Content-Length": [
- "484"
+ "486"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -1170,17 +1170,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516/releases/ps7002\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps7002\",\r\n \"properties\": {\r\n \"createdDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"updatedDateTime\": \"2019-07-29T16:23:52.12Z\",\r\n \"notes\": \"ps9074\"\r\n }\r\n }\r\n ]\r\n}",
+ "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991/releases/ps8218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"ps8218\",\r\n \"properties\": {\r\n \"createdDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"updatedDateTime\": \"2019-08-01T04:33:39.787Z\",\r\n \"notes\": \"ps6670\"\r\n }\r\n }\r\n ]\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516%3Brev%3D1?deleteRevisions=false&api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2JTNCcmV2JTNEMT9kZWxldGVSZXZpc2lvbnM9ZmFsc2UmYXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991%3Brev%3D1?deleteRevisions=false&api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxJTNCcmV2JTNEMT9kZWxldGVSZXZpc2lvbnM9ZmFsc2UmYXBpLXZlcnNpb249MjAxOS0wMS0wMQ==",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "d4b45654-18be-4ed3-a448-4005c7b24f19"
+ "9ebd0d75-bae5-491c-83a4-4cef80d34258"
],
"If-Match": [
"*"
@@ -1206,7 +1206,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "e0b826a4-c931-4e66-88e1-4e8d13932466"
+ "75ab377d-cdd4-40fd-85b4-1e190780375b"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1215,16 +1215,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "1d027ad6-b1cc-4dac-b282-c7bf62064586"
+ "f77c2323-0f66-4c64-88bb-77c36b8ba2b6"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162354Z:1d027ad6-b1cc-4dac-b282-c7bf62064586"
+ "WESTUS:20190801T043341Z:f77c2323-0f66-4c64-88bb-77c36b8ba2b6"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:54 GMT"
+ "Thu, 01 Aug 2019 04:33:41 GMT"
],
"Expires": [
"-1"
@@ -1237,13 +1237,13 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps5516?deleteRevisions=true&api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM1NTE2P2RlbGV0ZVJldmlzaW9ucz10cnVlJmFwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/apis/ps7991?deleteRevisions=true&api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2FwaXMvcHM3OTkxP2RlbGV0ZVJldmlzaW9ucz10cnVlJmFwaS12ZXJzaW9uPTIwMTktMDEtMDE=",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "c3405ce3-4e83-4974-8868-f60eefb4754b"
+ "618c6dc0-72a9-4721-bab0-09d3312f3fad"
],
"If-Match": [
"*"
@@ -1269,7 +1269,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "05b8cbac-d70a-447b-a6a6-e16b28319fd1"
+ "43cd22d1-6052-4c9e-8670-2c850c2eca46"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -1278,16 +1278,16 @@
"14998"
],
"x-ms-correlation-request-id": [
- "343d5bc8-a9ab-4082-9f97-f1b34f0d0b7c"
+ "06a01098-a8f9-46ce-9703-31d8f2406817"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162354Z:343d5bc8-a9ab-4082-9f97-f1b34f0d0b7c"
+ "WESTUS:20190801T043342Z:06a01098-a8f9-46ce-9703-31d8f2406817"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:23:54 GMT"
+ "Thu, 01 Aug 2019 04:33:41 GMT"
],
"Expires": [
"-1"
@@ -1302,10 +1302,11 @@
],
"Names": {
"": [
- "ps5516",
- "ps7002",
- "ps5657",
- "ps9074"
+ "ps7991",
+ "ps8218",
+ "ps9280",
+ "ps3672",
+ "ps6670"
]
},
"Variables": {
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json b/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
index 90cca34a49d2..2d54f27367e3 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
+++ b/src/ApiManagement/ApiManagement.ServiceManagement.Test/SessionRecords/Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests.ApiManagementTests/AuthorizationServerCrudTest.json
@@ -7,7 +7,7 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8b11fb08-32b2-4675-a4b6-8ca70dadab61"
+ "bd966197-56c6-49f8-a85f-00f2d9e6dd17"
],
"Accept-Language": [
"en-US"
@@ -30,7 +30,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "2e7bdc63-0c99-43c2-a85e-fbf96cbb1c21"
+ "3667dbed-dc2e-4d53-8369-fcf6b4397ef1"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -39,16 +39,16 @@
"11999"
],
"x-ms-correlation-request-id": [
- "1c42ef4b-d39a-4360-85fb-153f37096ac8"
+ "2f232269-2c32-4328-839d-085ecc7b0864"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162758Z:1c42ef4b-d39a-4360-85fb-153f37096ac8"
+ "WESTUS:20190801T043413Z:2f232269-2c32-4328-839d-085ecc7b0864"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:27:57 GMT"
+ "Thu, 01 Aug 2019 04:34:13 GMT"
],
"Content-Length": [
"19"
@@ -64,13 +64,13 @@
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "PUT",
- "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"ps3293\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps7211\",\r\n \"bearerTokenSendingMethods\": [\r\n \"AuthorizationHeader\",\r\n \"Query\"\r\n ],\r\n \"clientSecret\": \"ps4228\",\r\n \"resourceOwnerUsername\": \"ps6361\",\r\n \"resourceOwnerPassword\": \"ps6865\",\r\n \"displayName\": \"ps8859\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"AuthorizationCode\",\r\n \"Implicit\",\r\n \"ResourceOwnerPassword\"\r\n ],\r\n \"clientId\": \"ps7071\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"ps2732\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps9404\",\r\n \"bearerTokenSendingMethods\": [\r\n \"AuthorizationHeader\",\r\n \"Query\"\r\n ],\r\n \"clientSecret\": \"ps999\",\r\n \"resourceOwnerUsername\": \"ps8287\",\r\n \"resourceOwnerPassword\": \"ps5857\",\r\n \"displayName\": \"ps6380\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"AuthorizationCode\",\r\n \"Implicit\",\r\n \"ResourceOwnerPassword\"\r\n ],\r\n \"clientId\": \"ps2648\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "3b864df7-66fb-49ae-a41f-25784282ac42"
+ "efd745a5-ebfe-4c3f-96ab-abee59b48bf1"
],
"Accept-Language": [
"en-US"
@@ -85,7 +85,7 @@
"application/json; charset=utf-8"
],
"Content-Length": [
- "902"
+ "901"
]
},
"ResponseHeaders": {
@@ -96,13 +96,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFVY=\""
+ "\"AAAAAAAAF1I=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "0629e3d0-3114-45c5-a635-5fd8b7c20664"
+ "ea207112-02aa-4d42-ac49-f67cf3b0b64c"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -111,19 +111,19 @@
"1199"
],
"x-ms-correlation-request-id": [
- "c87f78f4-51d3-430d-b58f-b5f0f5a97b20"
+ "c14e7e85-4a90-448f-9898-732db91d74fb"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162800Z:c87f78f4-51d3-430d-b58f-b5f0f5a97b20"
+ "WESTUS:20190801T043414Z:c14e7e85-4a90-448f-9898-732db91d74fb"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:00 GMT"
+ "Thu, 01 Aug 2019 04:34:14 GMT"
],
"Content-Length": [
- "1175"
+ "1174"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -132,17 +132,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps9107\",\r\n \"properties\": {\r\n \"displayName\": \"ps8859\",\r\n \"description\": \"ps3293\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps7211\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"ps7071\",\r\n \"clientSecret\": \"ps4228\",\r\n \"resourceOwnerUsername\": \"ps6361\",\r\n \"resourceOwnerPassword\": \"ps6865\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps3438\",\r\n \"properties\": {\r\n \"displayName\": \"ps6380\",\r\n \"description\": \"ps2732\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps9404\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"ps2648\",\r\n \"clientSecret\": \"ps999\",\r\n \"resourceOwnerUsername\": \"ps8287\",\r\n \"resourceOwnerPassword\": \"ps5857\"\r\n }\r\n}",
"StatusCode": 201
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8a2d5015-ff74-4035-adf8-0ad92ab81369"
+ "5a29faaa-c779-437d-8a64-9c068071fc42"
],
"Accept-Language": [
"en-US"
@@ -162,13 +162,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFVY=\""
+ "\"AAAAAAAAF1I=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "286829f9-1821-49aa-9879-6c51255cac73"
+ "c2ae856a-80db-4612-b266-21a10f0e19de"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -177,19 +177,19 @@
"11998"
],
"x-ms-correlation-request-id": [
- "2b1d1c0e-b084-4235-9842-93f2926c37ed"
+ "b5c97958-d06e-44ec-8581-1693fd129006"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162800Z:2b1d1c0e-b084-4235-9842-93f2926c37ed"
+ "WESTUS:20190801T043415Z:b5c97958-d06e-44ec-8581-1693fd129006"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:00 GMT"
+ "Thu, 01 Aug 2019 04:34:14 GMT"
],
"Content-Length": [
- "1175"
+ "1174"
],
"Content-Type": [
"application/json; charset=utf-8"
@@ -198,17 +198,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps9107\",\r\n \"properties\": {\r\n \"displayName\": \"ps8859\",\r\n \"description\": \"ps3293\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps7211\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"ps7071\",\r\n \"clientSecret\": \"ps4228\",\r\n \"resourceOwnerUsername\": \"ps6361\",\r\n \"resourceOwnerPassword\": \"ps6865\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps3438\",\r\n \"properties\": {\r\n \"displayName\": \"ps6380\",\r\n \"description\": \"ps2732\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname\",\r\n \"value\": \"tokenvalue\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"ps9404\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"ps2648\",\r\n \"clientSecret\": \"ps999\",\r\n \"resourceOwnerUsername\": \"ps8287\",\r\n \"resourceOwnerPassword\": \"ps5857\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "37311821-8892-494d-86bb-07673f9775dd"
+ "06fb9a1f-94f5-4c34-858c-501aeeac93f5"
],
"Accept-Language": [
"en-US"
@@ -228,13 +228,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFVc=\""
+ "\"AAAAAAAAF1M=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "a69a4f56-1db3-412e-baa7-ddfe37aa9901"
+ "eee60160-b98c-4389-aad4-b00006e82d15"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -243,16 +243,16 @@
"11997"
],
"x-ms-correlation-request-id": [
- "907d1822-37be-4b70-b5fd-446477941339"
+ "2ead1523-2b3f-4bed-8ffd-4f5cabd6f1ac"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162801Z:907d1822-37be-4b70-b5fd-446477941339"
+ "WESTUS:20190801T043415Z:2ead1523-2b3f-4bed-8ffd-4f5cabd6f1ac"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:01 GMT"
+ "Thu, 01 Aug 2019 04:34:15 GMT"
],
"Content-Length": [
"1149"
@@ -264,17 +264,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps9107\",\r\n \"properties\": {\r\n \"displayName\": \"ps8560\",\r\n \"description\": \"ps9088\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps8091\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"ps1555\",\r\n \"clientSecret\": \"ps3493\",\r\n \"resourceOwnerUsername\": \"ps6361\",\r\n \"resourceOwnerPassword\": \"ps6865\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps3438\",\r\n \"properties\": {\r\n \"displayName\": \"ps6819\",\r\n \"description\": \"ps7519\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps6246\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"ps1938\",\r\n \"clientSecret\": \"ps4831\",\r\n \"resourceOwnerUsername\": \"ps8287\",\r\n \"resourceOwnerPassword\": \"ps5857\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "7d4444b3-4bf0-4936-a5df-6f80b1ebe833"
+ "9d70a0fd-2d95-45a8-8dda-f39517f103b3"
],
"Accept-Language": [
"en-US"
@@ -294,13 +294,13 @@
"no-cache"
],
"ETag": [
- "\"AAAAAAAAFVc=\""
+ "\"AAAAAAAAF1M=\""
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "17ffdc67-89a2-4b1c-bf0b-4d412529e21f"
+ "6660e33c-7375-4788-9260-2e4f3381f56e"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -309,16 +309,16 @@
"11996"
],
"x-ms-correlation-request-id": [
- "1e4a884e-a1b6-4ee5-90ab-7040ed097552"
+ "d1c29e43-e43c-41d2-9356-03ec3390baa6"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162801Z:1e4a884e-a1b6-4ee5-90ab-7040ed097552"
+ "WESTUS:20190801T043415Z:d1c29e43-e43c-41d2-9356-03ec3390baa6"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:01 GMT"
+ "Thu, 01 Aug 2019 04:34:15 GMT"
],
"Content-Length": [
"1149"
@@ -330,17 +330,17 @@
"-1"
]
},
- "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps9107\",\r\n \"properties\": {\r\n \"displayName\": \"ps8560\",\r\n \"description\": \"ps9088\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps8091\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"ps1555\",\r\n \"clientSecret\": \"ps3493\",\r\n \"resourceOwnerUsername\": \"ps6361\",\r\n \"resourceOwnerPassword\": \"ps6865\"\r\n }\r\n}",
+ "ResponseBody": "{\r\n \"id\": \"/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"ps3438\",\r\n \"properties\": {\r\n \"displayName\": \"ps6819\",\r\n \"description\": \"ps7519\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps6246\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"clientCredentials\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\"\r\n ],\r\n \"clientId\": \"ps1938\",\r\n \"clientSecret\": \"ps4831\",\r\n \"resourceOwnerUsername\": \"ps8287\",\r\n \"resourceOwnerPassword\": \"ps5857\"\r\n }\r\n}",
"StatusCode": 200
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "b48bb221-74a6-403e-8d8c-4960f5d08bdd"
+ "a7bcb033-1207-4e12-bc74-017c8b1f5df5"
],
"Accept-Language": [
"en-US"
@@ -363,7 +363,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "2aca7b4e-1367-46f8-86cc-eb58bbb98c40"
+ "baeadc7b-d201-4252-99d1-9c34d58859e2"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -372,16 +372,16 @@
"11995"
],
"x-ms-correlation-request-id": [
- "d0b17591-b116-4772-86e4-b1d3225c4968"
+ "e70ef461-02bd-45b0-9318-85c9cfbccef4"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162801Z:d0b17591-b116-4772-86e4-b1d3225c4968"
+ "WESTUS:20190801T043416Z:e70ef461-02bd-45b0-9318-85c9cfbccef4"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:01 GMT"
+ "Thu, 01 Aug 2019 04:34:15 GMT"
],
"Content-Length": [
"101"
@@ -397,13 +397,13 @@
"StatusCode": 404
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "PATCH",
- "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"ps9088\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps8091\",\r\n \"bearerTokenSendingMethods\": [\r\n \"AuthorizationHeader\"\r\n ],\r\n \"clientSecret\": \"ps3493\",\r\n \"displayName\": \"ps8560\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"grantTypes\": [\r\n \"AuthorizationCode\",\r\n \"Implicit\",\r\n \"ClientCredentials\"\r\n ],\r\n \"clientId\": \"ps1555\"\r\n }\r\n}",
+ "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"ps7519\",\r\n \"authorizationMethods\": [\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname1\",\r\n \"value\": \"tokenvalue1\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/tokenv2\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"ps6246\",\r\n \"bearerTokenSendingMethods\": [\r\n \"AuthorizationHeader\"\r\n ],\r\n \"clientSecret\": \"ps4831\",\r\n \"displayName\": \"ps6819\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/regv2\",\r\n \"authorizationEndpoint\": \"https://contoso.com/authv2\",\r\n \"grantTypes\": [\r\n \"AuthorizationCode\",\r\n \"Implicit\",\r\n \"ClientCredentials\"\r\n ],\r\n \"clientId\": \"ps1938\"\r\n }\r\n}",
"RequestHeaders": {
"x-ms-client-request-id": [
- "5cee59f3-ed14-4553-bf32-cf30c36f89fd"
+ "825ded94-06db-4915-b823-b8ab0ac89f05"
],
"If-Match": [
"*"
@@ -435,7 +435,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "cabee7c6-cf2a-481c-88e9-daa937c11169"
+ "442c442c-6e6d-4961-b69e-2bcb4e5018e5"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -444,16 +444,16 @@
"1198"
],
"x-ms-correlation-request-id": [
- "f3c0dd8c-31cb-4e9c-a7da-8c7e545d03a0"
+ "3b473e06-6790-42a3-a906-2143c601b6dd"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162800Z:f3c0dd8c-31cb-4e9c-a7da-8c7e545d03a0"
+ "WESTUS:20190801T043415Z:3b473e06-6790-42a3-a906-2143c601b6dd"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:00 GMT"
+ "Thu, 01 Aug 2019 04:34:14 GMT"
],
"Expires": [
"-1"
@@ -463,13 +463,13 @@
"StatusCode": 204
},
{
- "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps9107?api-version=2019-01-01",
- "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzOTEwNz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
+ "RequestUri": "/subscriptions/a200340d-6b82-494d-9dbf-687ba6e33f9e/resourceGroups/powershelltest/providers/Microsoft.ApiManagement/service/powershellsdkservice/authorizationServers/ps3438?api-version=2019-01-01",
+ "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYTIwMDM0MGQtNmI4Mi00OTRkLTlkYmYtNjg3YmE2ZTMzZjllL3Jlc291cmNlR3JvdXBzL3Bvd2Vyc2hlbGx0ZXN0L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9zZXJ2aWNlL3Bvd2Vyc2hlbGxzZGtzZXJ2aWNlL2F1dGhvcml6YXRpb25TZXJ2ZXJzL3BzMzQzOD9hcGktdmVyc2lvbj0yMDE5LTAxLTAx",
"RequestMethod": "DELETE",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
- "8021a8dc-f510-450a-8a47-0349e9578fb8"
+ "0799daed-0eed-4c2f-a3ad-ce5bb372730a"
],
"If-Match": [
"*"
@@ -495,7 +495,7 @@
"max-age=31536000; includeSubDomains"
],
"x-ms-request-id": [
- "a5937fee-5ccc-49ae-b158-a9e332145d39"
+ "cfb1a6af-3604-4281-b9f6-e87ff6ea2879"
],
"Server": [
"Microsoft-HTTPAPI/2.0"
@@ -504,16 +504,16 @@
"14999"
],
"x-ms-correlation-request-id": [
- "b9031b3e-49b6-4201-9545-8ee1283d78f7"
+ "2d76d1fd-8f90-4694-94ea-5a4c4d7914a3"
],
"x-ms-routing-request-id": [
- "WESTUS:20190729T162801Z:b9031b3e-49b6-4201-9545-8ee1283d78f7"
+ "WESTUS:20190801T043416Z:2d76d1fd-8f90-4694-94ea-5a4c4d7914a3"
],
"X-Content-Type-Options": [
"nosniff"
],
"Date": [
- "Mon, 29 Jul 2019 16:28:01 GMT"
+ "Thu, 01 Aug 2019 04:34:15 GMT"
],
"Expires": [
"-1"
@@ -528,19 +528,19 @@
],
"Names": {
"": [
- "ps9107",
- "ps8859",
- "ps7211",
- "ps7071",
- "ps3293",
- "ps4228",
- "ps6865",
- "ps6361",
- "ps8560",
- "ps8091",
- "ps1555",
- "ps9088",
- "ps3493"
+ "ps3438",
+ "ps6380",
+ "ps9404",
+ "ps2648",
+ "ps2732",
+ "ps999",
+ "ps5857",
+ "ps8287",
+ "ps6819",
+ "ps6246",
+ "ps1938",
+ "ps7519",
+ "ps4831"
]
},
"Variables": {
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/ApiManagementClient.cs b/src/ApiManagement/ApiManagement.ServiceManagement/ApiManagementClient.cs
index 6a563faf484f..1fb486ff807c 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/ApiManagementClient.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/ApiManagementClient.cs
@@ -350,7 +350,7 @@ private static void ConfigureMappings()
.ForMember(dest => dest.CertificateId, opt => opt.MapFrom(src => src.Name));
cfg
- .CreateMap()
+ .CreateMap()
.ForMember(dest => dest.Id, opt => opt.MapFrom(src => src.Id))
.ForMember(dest => dest.ServerId, opt => opt.MapFrom(src => src.Name))
.ForMember(dest => dest.Name, opt => opt.MapFrom(src => src.DisplayName))
@@ -1165,7 +1165,8 @@ public PsApiManagementApi ApiCreateRevision(
string apiId,
string revisionId,
string sourceRevisionId,
- string serviceUrl)
+ string serviceUrl,
+ string apiRevisiondescription)
{
var api = Client.Api.Get(context.ResourceGroupName, context.ServiceName, apiId);
ApiCreateOrUpdateParameter apiCreateParams;
@@ -1185,6 +1186,11 @@ public PsApiManagementApi ApiCreateRevision(
apiCreateParams.ServiceUrl = serviceUrl;
}
+ if (!string.IsNullOrEmpty(apiRevisiondescription))
+ {
+ apiCreateParams.ApiRevisionDescription = apiRevisiondescription;
+ }
+
var getResponse = Client.Api.CreateOrUpdate(
context.ResourceGroupName,
context.ServiceName,
@@ -2404,25 +2410,25 @@ public void CertificateRemove(PsApiManagementContext context, string certificate
#region Authorization Servers
- public IList AuthorizationServerList(string resourceGroupName, string serviceName)
+ public IList AuthorizationServerList(string resourceGroupName, string serviceName)
{
- var results = ListPagedAndMap(
+ var results = ListPagedAndMap(
() => Client.AuthorizationServer.ListByService(resourceGroupName, serviceName, null),
nextLink => Client.AuthorizationServer.ListByServiceNext(nextLink));
return results;
}
- public PsApiManagementOAuth2AuthrozationServer AuthorizationServerById(
+ public PsApiManagementOAuth2AuthorizationServer AuthorizationServerById(
string resourceGroupName, string serviceName, string serverId)
{
var response = Client.AuthorizationServer.Get(resourceGroupName, serviceName, serverId);
- var server = Mapper.Map(response);
+ var server = Mapper.Map(response);
return server;
}
- public PsApiManagementOAuth2AuthrozationServer AuthorizationServerCreate(
+ public PsApiManagementOAuth2AuthorizationServer AuthorizationServerCreate(
PsApiManagementContext context,
string serverId,
string name,
@@ -2481,7 +2487,7 @@ public PsApiManagementOAuth2AuthrozationServer AuthorizationServerCreate(
serverId,
serverContract);
- var server = Mapper.Map(response);
+ var server = Mapper.Map(response);
return server;
}
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
index dc0962af7838..c5f4473c5be0 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/GetAzureApiManagementAuthorizationServer.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models;
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementAuthorizationServer", DefaultParameterSetName = ContextParameterSet)]
- [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
+ [OutputType(typeof(PsApiManagementOAuth2AuthorizationServer))]
public class GetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
#region ParameterSet
@@ -59,7 +59,7 @@ public override void ExecuteApiManagementCmdlet()
if (ParameterSetName.Equals(ResourceIdParameterSet))
{
- var authorizationServer = new PsApiManagementOAuth2AuthrozationServer(ResourceId);
+ var authorizationServer = new PsApiManagementOAuth2AuthorizationServer(ResourceId);
resourceGroupName = authorizationServer.ResourceGroupName;
serviceName = authorizationServer.ServiceName;
authorizationserverId = authorizationServer.ServerId;
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApiRevision.cs b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApiRevision.cs
index 295866779687..1f50d4f4c516 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApiRevision.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementApiRevision.cs
@@ -75,7 +75,8 @@ public override void ExecuteApiManagementCmdlet()
ApiId,
ApiRevision,
SourceApiRevision,
- ServiceUrl);
+ ServiceUrl,
+ ApiRevisionDescription);
WriteObject(newApi);
}
}
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
index feb88695a6c3..af14f54ccb2f 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/NewAzureApiManagementAuthorizationServer.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
[Cmdlet("New", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementAuthorizationServer")]
- [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
+ [OutputType(typeof(PsApiManagementOAuth2AuthorizationServer))]
public class NewAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
index 52765db87cb9..3415dad7337c 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/Commands/SetAzureApiManagementAuthorizationServer.cs
@@ -19,7 +19,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Commands
using System.Management.Automation;
[Cmdlet("Set", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "ApiManagementAuthorizationServer")]
- [OutputType(typeof(PsApiManagementOAuth2AuthrozationServer))]
+ [OutputType(typeof(PsApiManagementOAuth2AuthorizationServer))]
public class SetAzureApiManagementAuthorizationServer : AzureApiManagementCmdletBase
{
[Parameter(
diff --git a/src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs b/src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthorizationServer.cs
similarity index 92%
rename from src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs
rename to src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthorizationServer.cs
index ec1ad748723d..60cdbc6e8c44 100644
--- a/src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthrozationServer.cs
+++ b/src/ApiManagement/ApiManagement.ServiceManagement/Models/PsApiManagementOAuth2AuthorizationServer.cs
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models
using System.Collections;
using System.Text.RegularExpressions;
- public class PsApiManagementOAuth2AuthrozationServer : PsApiManagementArmResource
+ public class PsApiManagementOAuth2AuthorizationServer : PsApiManagementArmResource
{
static readonly Regex AuthorizationServerIdRegex = new Regex(@"(.*?)/providers/microsoft.apimanagement/service/(?[^/]+)/authorizationServers/(?[^/]+)", RegexOptions.IgnoreCase);
@@ -57,9 +57,9 @@ public class PsApiManagementOAuth2AuthrozationServer : PsApiManagementArmResourc
public string ResourceOwnerPassword { get; set; }
- public PsApiManagementOAuth2AuthrozationServer() { }
+ public PsApiManagementOAuth2AuthorizationServer() { }
- public PsApiManagementOAuth2AuthrozationServer(string armResourceId)
+ public PsApiManagementOAuth2AuthorizationServer(string armResourceId)
{
this.Id = armResourceId;
var match = AuthorizationServerIdRegex.Match(Id);
diff --git a/src/ApiManagement/ApiManagement/ChangeLog.md b/src/ApiManagement/ApiManagement/ChangeLog.md
index 3f7eecebfc62..2cc2681b1fff 100644
--- a/src/ApiManagement/ApiManagement/ChangeLog.md
+++ b/src/ApiManagement/ApiManagement/ChangeLog.md
@@ -19,12 +19,18 @@
-->
## Upcoming Release
* Fixed miscellaneous typos across module
+
* Fix for issue https://github.com/Azure/azure-powershell/issues/9351
- Update .net nuget version, which does not enforce restrictions on productId, apiId, groupId and userId
-* Added support for querying products using Api
+* **Get-AzApiManagementProduct** - Added support for querying products using Api.
https://github.com/Azure/azure-powershell/issues/9482
+* **New-AzApiManagementApiRevision** - Fix for issue where ApiRevisionDescription was not being set when creating new api revision
+https://github.com/Azure/azure-powershell/issues/9752
+
+* Fixed typo in model `PsApiManagementOAuth2AuthrozationServer` to `PsApiManagementOAuth2AuthorizationServer`
+
## Version 1.2.0
* Fix for issue https://github.com/Azure/azure-powershell/issues/8671
diff --git a/src/ApiManagement/ApiManagement/help/Get-AzApiManagementAuthorizationServer.md b/src/ApiManagement/ApiManagement/help/Get-AzApiManagementAuthorizationServer.md
index 82fadf08989a..a2ab2b6b4cf6 100644
--- a/src/ApiManagement/ApiManagement/help/Get-AzApiManagementAuthorizationServer.md
+++ b/src/ApiManagement/ApiManagement/help/Get-AzApiManagementAuthorizationServer.md
@@ -116,7 +116,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthorizationServer
## NOTES
diff --git a/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md b/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md
index 19731f160822..dccddca919b5 100644
--- a/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md
+++ b/src/ApiManagement/ApiManagement/help/New-AzApiManagementAuthorizationServer.md
@@ -363,7 +363,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthorizationServer
## NOTES
diff --git a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md
index c1a3578ac8d7..168626493e63 100644
--- a/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md
+++ b/src/ApiManagement/ApiManagement/help/Set-AzApiManagementAuthorizationServer.md
@@ -380,7 +380,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer
+### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthorizationServer
## NOTES