Skip to content

Commit

Permalink
NextLinkName and fix Check Entity Exist
Browse files Browse the repository at this point in the history
  • Loading branch information
solankisamir committed Feb 23, 2018
1 parent a338474 commit 9298f56
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 98 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
}
},
"x-ms-pageable": {
"nextLinkName": null
"nextLinkName": "nextLink"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,24 +396,7 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions": {
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
}
],
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions": {
"get": {
"tags": [
"Revisions"
Expand All @@ -426,6 +409,21 @@
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"name": "$filter",
"in": "query",
Expand Down Expand Up @@ -461,23 +459,6 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases": {
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
}
],
"get": {
"tags": [
"Releases"
Expand All @@ -490,6 +471,21 @@
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"name": "$filter",
"in": "query",
Expand Down Expand Up @@ -525,33 +521,6 @@
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}": {
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"name": "releaseId",
"in": "path",
"required": true,
"type": "string",
"description": "Release identifier within an API. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"
}
],
"head": {
"tags": [
"Releases"
Expand All @@ -563,6 +532,26 @@
"$ref": "./examples/ApiManagementHeadApiRelease.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "#/parameters/ReleaseIdParameter"
}
],
"responses": {
"200": {
"description": "The operation returns the details of an API Release.",
Expand Down Expand Up @@ -592,6 +581,26 @@
"$ref": "./examples/ApiManagementGetApiRelease.json"
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "#/parameters/ReleaseIdParameter"
}
],
"responses": {
"200": {
"description": "The operation returns the details of an API Release.",
Expand Down Expand Up @@ -619,6 +628,24 @@
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "#/parameters/ReleaseIdParameter"
},
{
"name": "parameters",
"in": "body",
Expand Down Expand Up @@ -662,6 +689,24 @@
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "#/parameters/ReleaseIdParameter"
},
{
"name": "parameters",
"in": "body",
Expand Down Expand Up @@ -699,6 +744,24 @@
}
},
"parameters": [
{
"$ref": "./apimanagement.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ServiceNameParameter"
},
{
"$ref": "./apimanagement.json#/parameters/ApiVersionParameter"
},
{
"$ref": "./apimanagement.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ApiIdParameter"
},
{
"$ref": "#/parameters/ReleaseIdParameter"
},
{
"$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter"
}
Expand Down Expand Up @@ -2947,6 +3010,17 @@
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
"x-ms-parameter-location": "method"
},
"ReleaseIdParameter": {
"name": "releaseId",
"in": "path",
"required": true,
"type": "string",
"description": "Release identifier within an API. Must be unique in the current API Management service instance.",
"minLength": 1,
"maxLength": 80,
"pattern": "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)",
"x-ms-parameter-location": "method"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,10 @@
],
"responses": {
"204": {
"description": "Entity exists"
"description": "The logger is associated with the diagnostic entity."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "The logger is not associated with the diagnostic entity."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,8 @@
"204": {
"description": "Entity exists"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "Entity does not exists."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
}
],
"x-ms-pageable": {
"nextLinkName": null
"nextLinkName": "nextLink"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,8 @@
"204": {
"description": "The User is subscribed to receive the notification."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "Entity does not exists."
}
}
},
Expand Down Expand Up @@ -439,11 +436,8 @@
"204": {
"description": "The Users is subscribed to receive the notification."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "The Users is not subscribed to receive the notification."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,8 @@
"204": {
"description": "Entity exists"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "API is not associated with the product."
}
}
},
Expand Down Expand Up @@ -664,13 +661,10 @@
],
"responses": {
"204": {
"description": "Entity exists"
"description": "The Group is associated with the Product."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "./apimanagement.json#/definitions/ErrorResponse"
}
"404" : {
"description": "The Group entity is not associated with the Product."
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@
}
},
"x-ms-pageable": {
"nextLinkName": null
"nextLinkName": "nextLink"
},
"x-ms-odata": "#/definitions/RequestReportRecordContract"
}
Expand Down
Loading

0 comments on commit 9298f56

Please sign in to comment.