openapi: 3.2.0 info: title: X-Author Analytics API version: v1 description: This class holds APIs related to application usage servers: - url: https://xauthor-prod-rls10.congacloud.com - url: https://xauthor-preview-rls09.congacloud.com security: - bearerAuth: [] tags: - name: Analytics description: This class holds APIs related to application usage paths: /api/xauthor/v1/analytics: post: tags: - Analytics summary: Add application usage data parameters: - name: OrgType in: header required: true schema: type: string default: RLP requestBody: description: data for analytics/metrics content: application/json-patch+json: schema: $ref: '#/components/schemas/Apttus.XAuthor.Common.Model.AnalyticsRequest' application/json: schema: $ref: '#/components/schemas/Apttus.XAuthor.Common.Model.AnalyticsRequest' text/json: schema: $ref: '#/components/schemas/Apttus.XAuthor.Common.Model.AnalyticsRequest' application/*+json: schema: $ref: '#/components/schemas/Apttus.XAuthor.Common.Model.AnalyticsRequest' responses: '200': description: Success '400': description: Bad Request '401': description: Unauthorized '404': description: Not Found '500': description: Server Error components: schemas: Apttus.XAuthor.Common.Model.TagInformation: type: object properties: key: type: - string - 'null' value: type: - string - 'null' additionalProperties: false Apttus.XAuthor.Common.Model.AnalyticsRequest: type: object properties: eventName: type: - string - 'null' timeTaken: type: - string - 'null' tags: type: - array - 'null' items: $ref: '#/components/schemas/Apttus.XAuthor.Common.Model.TagInformation' additionalProperties: false securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT