-
Notifications
You must be signed in to change notification settings - Fork 5.6k
wiki for apis and products #21595
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wiki for apis and products #21595
Changes from 3 commits
c8e9dad
35e7540
b7aae04
9f5938e
db165ec
bcd86bc
6a9186a
6f3c507
35b5e76
a5a7106
bf7b3a0
b5badfa
265a88d
54c7a08
6960157
e2b8e7d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4415,6 +4415,283 @@ | |
| }, | ||
| "x-ms-odata": "./definitions.json#/definitions/TagResourceContract" | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/wikis/default": { | ||
| "head": { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We have HEAD method for most of our specifications. It is used to set the ETag header. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like I was mistaken , there are a couple of other RPs using HEAD as well. Thanks. |
||
| "tags": [ | ||
| "ApiWiki" | ||
| ], | ||
| "operationId": "ApiWiki_GetEntityTag", | ||
| "description": "Gets the entity state (Etag) version of the Wiki for an API specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementHeadApiWiki": { | ||
| "$ref": "./examples/ApiManagementHeadApiWiki.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Operation completed successfully.", | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
malincrist marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
| } | ||
| } | ||
| }, | ||
| "get": { | ||
| "tags": [ | ||
| "ApiWiki" | ||
| ], | ||
| "operationId": "ApiWiki_Get", | ||
| "description": "Gets the details of the Wiki for an API specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementGetApiWiki": { | ||
| "$ref": "./examples/ApiManagementGetApiWiki.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "The response body contains the specified Wiki entity.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "put": { | ||
| "tags": [ | ||
| "ApiWiki" | ||
| ], | ||
| "operationId": "ApiWiki_CreateOrUpdate", | ||
| "description": "Creates a new Wiki for an API or updates an existing one.", | ||
| "x-ms-examples": { | ||
| "ApiManagementCreateApiWiki": { | ||
| "$ref": "./examples/ApiManagementCreateApiWiki.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "description": "Create parameters." | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchOptionalParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "201": { | ||
| "description": "Wiki was successfully created.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "200": { | ||
| "description": "Wiki was successfully updated.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "patch": { | ||
| "tags": [ | ||
| "ApiWiki" | ||
| ], | ||
| "operationId": "ApiWiki_Update", | ||
| "description": "Updates the details of the Wiki for an API specified by its identifier.", | ||
| "x-ms-examples": { | ||
| "ApiManagementUpdateApiWiki": { | ||
| "$ref": "./examples/ApiManagementUpdateApiWiki.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiIdParameter" | ||
| }, | ||
| { | ||
| "name": "parameters", | ||
| "in": "body", | ||
| "required": true, | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "description": "Wiki Update parameters." | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Wiki was successfully updated.", | ||
| "schema": { | ||
| "$ref": "./definitions.json#/definitions/WikiContract" | ||
| }, | ||
| "headers": { | ||
| "ETag": { | ||
| "description": "Current entity state version. Should be treated as opaque and used to make conditional HTTP requests.", | ||
| "type": "string" | ||
| } | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "delete": { | ||
| "tags": [ | ||
| "ApiWiki" | ||
| ], | ||
| "operationId": "ApiWiki_Delete", | ||
| "description": "Deletes the specified Wiki from an API.", | ||
| "x-ms-examples": { | ||
| "ApiManagementDeleteApiWiki": { | ||
| "$ref": "./examples/ApiManagementDeleteApiWiki.json" | ||
| } | ||
| }, | ||
| "parameters": [ | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ResourceGroupNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ServiceNameParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/ApiIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./apimanagement.json#/parameters/IfMatchRequiredParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Wiki successfully removed" | ||
| }, | ||
| "204": { | ||
| "description": "Wiki successfully removed by previous request or does not exist" | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./apimanagement.json#/definitions/ErrorResponse" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-paths": { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.