@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api ApiManagementClient
@base https://management.azure.com
@version 2019-01-01
@auth OAuth2
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates
@desc Lists a collection of properties defined within a service instance.
@optional {$filter: any # |   Field     |     Usage     |     Supported operators     |     Supported functions     ||-------------|-------------|-------------|-------------|| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |}
@returns(200) A Collection of the Email Template for the specified API Management service instance.

@endpoint HEAD /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
@desc Gets the entity state (Etag) version of the email template specified by its identifier.
@returns(200) Specified email template entity exists and current entity state version is present in the ETag header.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
@desc Gets the details of the email template specified by its identifier.
@returns(200) The response body contains the specified Email template.

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
@desc Updates an Email Template.
@required {parameters: any # Email Template update parameters.}
@returns(200) Email Template was successfully updated.
@returns(201) Email Template was successfully updated.

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
@desc Updates the specific Email Template.
@required {parameters: any # Update parameters.}
@returns(204) Email Template was successfully updated.

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}
@desc Reset the Email Template to default template provided by the API Management service instance.
@returns(200) Email Template was successfully reset to default.
@returns(204) Email Template was successfully reset to default.

@end
