swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector documentModels:compose API schemes: - https tags: - name: documentModels:compose paths: /documentModels:compose: post: operationId: microsoftAzureDocumentmodelsComposemodel description: Creates a new document model from document types of existing document models. parameters: - $ref: '#/parameters/Azure.Core.Foundations.ApiVersionParameter' - name: composeRequest in: body description: Compose request parameters. required: true schema: $ref: '#/definitions/ComposeDocumentModelRequest' responses: '202': description: The request has been accepted for processing, but processing has not yet completed. headers: Operation-Location: type: string format: uri description: The location of an instance of DocumentModelComposeOperationDetails Retry-After: type: integer format: int32 description: The Retry-After header can indicate how long the client should wait before polling the operation status. default: description: An unexpected error response. schema: $ref: '#/definitions/ErrorResponse' x-ms-examples: Compose Document Model: $ref: ./examples/ComposeDocumentModel.json x-ms-long-running-operation: true summary: Microsoft Azure Post Documentmodels:compose tags: - documentModels:compose definitions: ErrorResponse: type: object description: Error response object. properties: error: $ref: '#/definitions/Error' description: Error info. required: - error ComposeDocumentModelRequest: type: object description: Request body to create a composed document model from component document models. properties: modelId: type: string description: Unique document model name. pattern: ^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$ description: type: string description: Document model description. maxLength: 4096 componentModels: type: array description: List of component document models to compose. items: $ref: '#/definitions/ComponentDocumentModelDetails' x-ms-identifiers: [] tags: type: object description: List of key-value tag attributes associated with the document model. additionalProperties: type: string required: - modelId - componentModels ComponentDocumentModelDetails: type: object description: A component of a composed document model. properties: modelId: type: string description: Unique document model name. maxLength: 64 pattern: ^[a-zA-Z0-9][a-zA-Z0-9._~-]{1,63}$ required: - modelId InnerError: type: object description: An object containing more specific information about the error. properties: code: type: string description: One of a server-defined set of error codes. message: type: string description: A human-readable representation of the error. innererror: $ref: '#/definitions/InnerError' description: Inner error. Error: type: object description: The error object. properties: code: type: string description: One of a server-defined set of error codes. message: type: string description: A human-readable representation of the error. target: type: string description: The target of the error. details: type: array description: An array of details about specific errors that led to this reported error. items: $ref: '#/definitions/Error' x-ms-identifiers: [] innererror: $ref: '#/definitions/InnerError' description: An object containing more specific information than the current object about the error. required: - code - message parameters: Azure.Core.Foundations.ApiVersionParameter: name: api-version in: query description: The API version to use for this operation. required: true type: string minLength: 1 x-ms-parameter-location: method x-ms-client-name: apiVersion x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'