Mavrck Custom Analytics Controller API

The Custom Analytics Controller API from Mavrck — 2 operation(s) for custom analytics controller.

OpenAPI Specification

mavrck-custom-analytics-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.0.0
  description: Identify your most influential customers and activate them to drive more conversions on social.
  title: MAVRCK.IO Custom Analytics Controller API
servers:
- url: http://app.splashscore.com/v1
- url: https://app.splashscore.com/v1
security:
- apiKey: []
tags:
- name: Custom Analytics Controller
paths:
  /v1/custom-analytics/omni-analytics/embed-dashboard:
    get:
      operationId: getOmniAnalyticsDashboard
      responses:
        '200':
          description: The embed URL has been successfully generated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmbedUrlResponse'
        '400':
          description: Missing Parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateErrorJSON'
        '403':
          description: Access forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: The resource does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerError'
      tags:
      - Custom Analytics Controller
      parameters:
      - in: query
        name: dashboardType
        required: false
        schema:
          type: string
  /v1/custom-analytics/dashboard-types:
    get:
      operationId: getDashboardTypes
      responses:
        '200':
          description: Dashboard types retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DashboardTypesResponse'
        '400':
          description: Missing Parameter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidateErrorJSON'
        '403':
          description: Access forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ForbiddenError'
        '404':
          description: The resource does not exist
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotFoundError'
        '500':
          description: Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerError'
      tags:
      - Custom Analytics Controller
      parameters:
      - in: query
        name: instanceId
        required: true
        schema:
          type: string
components:
  schemas:
    ForbiddenError:
      properties:
        message:
          type: string
          enum:
          - Access Forbidden
        details:
          properties: {}
          additionalProperties:
            additionalProperties: true
          type: object
      required:
      - message
      - details
      type: object
      additionalProperties: false
    EmbedUrlResponse:
      properties:
        embed_url:
          type: string
      required:
      - embed_url
      type: object
    ServerError:
      properties:
        message:
          type: string
          enum:
          - Server Error
        details:
          properties: {}
          additionalProperties:
            additionalProperties: true
          type: object
      required:
      - message
      - details
      type: object
      additionalProperties: false
    NotFoundError:
      properties:
        message:
          type: string
          enum:
          - Resource Not Found
        details:
          properties: {}
          additionalProperties:
            additionalProperties: true
          type: object
      required:
      - message
      - details
      type: object
      additionalProperties: false
    DashboardTypesResponse:
      properties:
        dashboardTypes:
          items:
            type: string
          type: array
        instanceId:
          type: string
      required:
      - dashboardTypes
      - instanceId
      type: object
    ValidateErrorJSON:
      properties:
        message:
          type: string
          enum:
          - Validation failed
        details:
          properties: {}
          additionalProperties:
            additionalProperties: true
          type: object
      required:
      - message
      - details
      type: object
      additionalProperties: false
  securitySchemes:
    apiKey:
      type: apiKey
      name: api-key
      in: header