swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector Schema API schemes: - https tags: - name: Schema paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/schemas : get: tags: - Schema operationId: microsoftAzureWorkspaceglobalschemaListbyservice description: Lists a collection of schemas registered with workspace in a service instance. x-ms-examples: ApiManagementListWorkspaceSchemas: $ref: ./examples/ApiManagementListWorkspaceSchemas.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - name: $filter in: query required: false type: string description: '| Field | Usage | Supported operators | Supported functions |
|-------------|-------------|-------------|-------------|
| name | filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith |
' - $ref: ./apimanagement.json#/parameters/TopQueryParameter - $ref: ./apimanagement.json#/parameters/SkipQueryParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: Lists a collection of Schema entities. schema: $ref: ./definitions.json#/definitions/GlobalSchemaCollection default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-odata: ./definitions.json#/definitions/GlobalSchemaContract summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Schemas ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/schemas/{schemaId} : head: tags: - Schema operationId: microsoftAzureWorkspaceglobalschemaGetentitytag description: Gets the entity state (Etag) version of the Schema specified by its identifier. x-ms-examples: ApiManagementHeadWorkspaceSchema: $ref: ./examples/ApiManagementHeadWorkspaceSchema.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/SchemaIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: Specified Schema entity exists and current entity state version is present in the ETag header. 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 summary: Microsoft Azure Head Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Schemas Schemaid get: tags: - Schema operationId: microsoftAzureWorkspaceglobalschemaGet description: Gets the details of the Schema specified by its identifier. x-ms-examples: ApiManagementGetWorkspaceSchema: $ref: ./examples/ApiManagementGetWorkspaceSchema.json produces: - application/json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/SchemaIdParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The response body contains the specified Schema entity. schema: $ref: ./definitions.json#/definitions/GlobalSchemaContract 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 summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Schemas Schemaid put: tags: - Schema operationId: microsoftAzureWorkspaceglobalschemaCreateorupdate description: Creates new or updates existing specified Schema of the workspace in an API Management service instance. x-ms-examples: ApiManagementCreateWorkspaceSchema: $ref: ./examples/ApiManagementCreateWorkspaceSchema.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/SchemaIdParameter - name: parameters in: body required: true schema: $ref: ./definitions.json#/definitions/GlobalSchemaContract description: Create or update parameters. - $ref: ./apimanagement.json#/parameters/IfMatchOptionalParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The Schema details were successfully updated. headers: ETag: description: Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. type: string location: description: Location header contains the URL where the status of the long running operation can be checked type: string Azure-AsyncOperation: description: Azure-AsyncOperation header contains the URL where the status of the long running operation can be checked type: string schema: $ref: ./definitions.json#/definitions/GlobalSchemaContract '201': description: The new Schema was successfully added. headers: ETag: description: Current entity state version. Should be treated as opaque and used to make conditional HTTP requests. type: string location: description: Location header contains the URL where the status of the long running operation can be checked type: string Azure-AsyncOperation: description: Azure-AsyncOperation header contains the URL where the status of the long running operation can be checked type: string schema: $ref: ./definitions.json#/definitions/GlobalSchemaContract default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse x-ms-long-running-operation: true x-ms-long-running-operation-options: final-state-via: location summary: Microsoft Azure Put Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Schemas Schemaid delete: tags: - Schema operationId: microsoftAzureWorkspaceglobalschemaDelete description: Deletes specific Schema. x-ms-examples: ApiManagementDeleteWorkspaceSchema: $ref: ./examples/ApiManagementDeleteWorkspaceSchema.json parameters: - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter - $ref: ./apimanagement.json#/parameters/ServiceNameParameter - $ref: ./apimanagement.json#/parameters/WorkspaceIdParameter - $ref: ./apimanagement.json#/parameters/SchemaIdParameter - $ref: ./apimanagement.json#/parameters/IfMatchRequiredParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter responses: '200': description: The Schema was successfully deleted. '204': description: The Schema was successfully deleted. default: description: Error response describing why the operation failed. schema: $ref: ./apimanagement.json#/definitions/ErrorResponse summary: Microsoft Azure Delete Subscriptions Subscriptionid Resourcegroups Resourcegroupname Providers Microsoft Apimanagement Service Servicename Workspaces Workspaceid Schemas Schemaid x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'