openapi: 3.0.1
info:
  title: Adobe Audience Manager REST API
  description: |
    **Introduction**

    Here at Audience Manager, we're engineers, developers, and code ninjas just like you. And, like you, we want to work with reliable, accurate API documentation. As a result, we're re-writing our API content and making it available here. These changes are designed to:

    - Help improve your experience with the Audience Manager API.
    - Extend the functionality of the Audience Manager UI.
    - Let you work programmatically with the platform.

    But, not all of our APIs have been moved yet. If you can't find a set of methods here, see the older [REST API documentation](https://experiencecloud.adobe.com/resources/help/en_US/aam/c_rest_api_main.html). You may find the methods you're looking for in that location.

    **Audiences**

    The Audience Manager APIs are designed for experienced developers and skilled technical users.

    **How to Begin**

    Access requires an Audience Manager account. Contact your Audience Manager consultant and see the getting started documentation.

    **Configure Role-based Access Control**

    Before making calls to the Audience Manager APIs, you must create an Audience Manager technical user account and assign it to the Audience Manager RBAC group that will make the API calls. See [Technical account RBAC permissions](https://experienceleague.adobe.com/docs/audience-manager/user-guide/api-and-sdk-code/rest-apis/aam-api-getting-started.html?lang=en#technical-account-rbac-permissions) for detailed information on how to do this.
  version: v1
externalDocs:
  description: Getting Started with the Audience Manager APIs
  url: https://experiencecloud.adobe.com/resources/help/en_US/aam/c_rest_api_overview.html
servers:
- url: http://localhost:8080/portal/api/v1
security:
- BearerToken: []
paths:
  /acp-connector-config/{pid}/status:
    put:
      operationId: changeStatus
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /acp-connector-config:
    get:
      operationId: listAll
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: createConfig
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcpConnectorConfig'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /acp-connector-config/{pid}:
    get:
      operationId: getConfig
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateConfig
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcpConnectorConfig'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteConfig
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /acp-connector-config/{pid}/segments:
    get:
      operationId: fetchAnnotatedSegments
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    patch:
      operationId: patchSegment
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcpSegmentPatchActions'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/bulk-delete:
    post:
      tags:
      - Algorithmic Models
      operationId: bulkDelete
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models:
    get:
      tags:
      - Algorithmic Models
      operationId: list
      parameters:
      - name: startsWith
        in: query
        schema:
          type: string
      - name: search
        in: query
        schema:
          type: string
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: includePermissions
        in: query
        schema:
          type: boolean
          default: false
      - name: permission
        in: query
        schema:
          type: array
          items:
            type: string
            default: READ
      - name: status
        in: query
        schema:
          type: string
      - name: includeDataSources
        in: query
        schema:
          type: boolean
      - name: containsSeedFromDataSource
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: usesDataSource
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Algorithmic Models
      operationId: createAlgoModel
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlgoModel'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/{modelId}:
    put:
      tags:
      - Algorithmic Models
      operationId: update
      parameters:
      - name: modelId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlgoModel'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Algorithmic Models
      operationId: deleteModel
      parameters:
      - name: modelId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/{modelid}:
    get:
      tags:
      - Algorithmic Models
      operationId: getAlgoModel
      parameters:
      - name: modelid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeUserInfo
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/limits:
    get:
      tags:
      - Algorithmic Models
      operationId: getLimits
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/{modelId}/processing-history:
    get:
      tags:
      - Algorithmic Models
      operationId: getProcessingHistory
      parameters:
      - name: modelId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/{modelId}/runs/latest/stats:
    get:
      tags:
      - Algorithmic Models
      operationId: getStats
      parameters:
      - name: modelId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /models/{modelId}/runs/latest/traits:
    get:
      tags:
      - Algorithmic Models
      operationId: getTraitsUsedByModel
      parameters:
      - name: modelId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /algorithms/{algoTypeId}:
    get:
      tags:
      - Algorithmic Models
      operationId: get
      parameters:
      - name: algoTypeId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /algorithms:
    get:
      tags:
      - Algorithmic Models
      operationId: list_1
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/{dataSourceId}/requests:
    get:
      tags:
      - Audience Marketplace
      operationId: getFeedRequest_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: type
        in: query
        schema:
          type: string
          enum:
          - ACCESS
          - DETAILS
          - DISCOUNT
      - name: status
        in: query
        schema:
          type: string
          enum:
          - APPROVED
          - DENIED
          - PENDING
          - ACKNOWLEDGED
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Audience Marketplace
      operationId: createFeedRequest
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/{dataSourceId}/subscribe:
    post:
      tags:
      - Audience Marketplace
      operationId: createFeedSubscription
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/revoked-data-feeds:
    post:
      tags:
      - Audience Marketplace
      operationId: downloadCSVForRevokedDataFeeds
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /available-data-feeds/{dataSourceId}/enable-id-sync:
    post:
      tags:
      - Audience Marketplace
      operationId: enableIdSyncForFeed
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/{singleOrMultipleIds}:
    get:
      tags:
      - Audience Marketplace
      operationId: getAvailableDataFeed
      parameters:
      - name: includeTraitCount
        in: query
        schema:
          type: boolean
          default: false
      - name: includeUniques
        in: query
        schema:
          type: boolean
          default: false
      - name: includeOwnerName
        in: query
        schema:
          type: boolean
          default: false
      - name: includeOverlappedProfiles
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSubscribedPlanIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAccessRequestStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includeFeedSubscriptionStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includeIdSyncStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: singleOrMultipleIds
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/{dataSourceId}/requests/{requestId}:
    get:
      tags:
      - Audience Marketplace
      operationId: getFeedRequest
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: requestId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds/{dataSourceId}/plans:
    get:
      tags:
      - Audience Marketplace
      operationId: list_2
      parameters:
      - name: includeSubscriptionDetails
        in: query
        schema:
          type: boolean
          default: false
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /available-data-feeds:
    get:
      tags:
      - Audience Marketplace
      operationId: listAvailableDataFeeds
      parameters:
      - name: includeTraitCount
        in: query
        schema:
          type: boolean
          default: false
      - name: includeUniques
        in: query
        schema:
          type: boolean
          default: false
      - name: includeOwnerName
        in: query
        schema:
          type: boolean
          default: false
      - name: includeOverlappedProfiles
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSubscribedPlanIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAccessRequestStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includeFeedSubscriptionStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includePlanUsecasesByBilling
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /taxonomies/{taxonomyId}/{categoryId}:
    get:
      tags:
      - Taxonomies
      operationId: getCategory
      parameters:
      - name: categoryId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /taxonomies/{taxonomyId}:
    get:
      tags:
      - Taxonomies
      operationId: getRootCategories
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /taxonomies/{taxonomyId}/{categoryId}/child-categories:
    get:
      tags:
      - Taxonomies
      operationId: listCategories
      parameters:
      - name: categoryId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /configs/aep-regions:
    get:
      operationId: getAEPRegions
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /configs:
    get:
      operationId: getConfigs
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PortalConfigurations'
  /configs/{pid}/ttl:
    get:
      operationId: getTtl
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /contextualhelp/pid-{pid}/{path}:
    get:
      operationId: getContextHelp
      parameters:
      - name: path
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextualHelp'
  /available-countries:
    get:
      operationId: getCountries
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds:
    get:
      tags:
      - Audience Marketplace
      operationId: listDataFeeds
      parameters:
      - name: includeTraitCount
        in: query
        schema:
          type: boolean
          default: false
      - name: includeUniques
        in: query
        schema:
          type: boolean
          default: false
      - name: includeFees
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSubscribers
        in: query
        schema:
          type: boolean
          default: false
      - name: includeRequestCounts
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Audience Marketplace
      operationId: createDataFeed
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataFeed'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}/requests:
    get:
      tags:
      - Audience Marketplace
      operationId: listFeedRequests_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: type
        in: query
        schema:
          type: string
          enum:
          - ACCESS
          - DETAILS
          - DISCOUNT
      - name: status
        in: query
        schema:
          type: string
          enum:
          - APPROVED
          - DENIED
          - PENDING
          - ACKNOWLEDGED
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Audience Marketplace
      operationId: createFeedRequest_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}:
    get:
      tags:
      - Audience Marketplace
      operationId: getDataFeed
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Audience Marketplace
      operationId: updateDataFeed
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataFeed'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Audience Marketplace
      operationId: deleteDataFeed
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/billing-report:
    get:
      tags:
      - Audience Marketplace
      operationId: listBillingReport
      parameters:
      - name: reportType
        in: query
        schema:
          type: string
          enum:
          - PAYABLES
          - RECEIVABLES
          - ALL
          default: ALL
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Audience Marketplace
      operationId: generateForDownloadCSVBillingReport
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /data-feeds/{dataSourceId}/requests/{requestId}:
    get:
      tags:
      - Audience Marketplace
      operationId: getFeedRequest_2
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: requestId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Audience Marketplace
      operationId: listFeedRequests_2
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: requestId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeedRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}/potential-subscribers:
    get:
      tags:
      - Audience Marketplace
      operationId: listFeedRequests
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeSubscribedFeeds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeFees
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}/subscriptions:
    get:
      tags:
      - Audience Marketplace
      operationId: listSubscriptionsForFeed
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Audience Marketplace
      operationId: updateFeedSubscription
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerSubscriptionRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/bulk-usage:
    post:
      tags:
      - Audience Marketplace
      operationId: updateBulkPlanUsage
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PlanUsage'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/usage:
    post:
      tags:
      - Audience Marketplace
      operationId: updatePlanUsage
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PlanUsage'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}/plans:
    get:
      tags:
      - Audience Marketplace
      operationId: list_3
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Audience Marketplace
      operationId: create
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataFeedPlan'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /data-feeds/{dataSourceId}/plans/{planId}:
    get:
      tags:
      - Audience Marketplace
      operationId: get_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: planId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Audience Marketplace
      operationId: delete
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: planId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataSourceId}/inbound-mailing-list/{emailAddress}:
    put:
      tags:
      - Data Sources
      operationId: addInboundEmailAddress
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: emailAddress
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Data Sources
      operationId: removeInboundEmailAddress
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: emailAddress
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/bulk-delete:
    post:
      tags:
      - Data Sources
      operationId: bulkDelete_1
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources:
    get:
      tags:
      - Data Sources
      operationId: list_4
      parameters:
      - name: startsWith
        in: query
        schema:
          type: string
      - name: includeThirdParty
        in: query
        schema:
          type: boolean
      - name: modelingEnabled
        in: query
        schema:
          type: boolean
      - name: inboundOnly
        in: query
        schema:
          type: boolean
      - name: availableForContainersOnly
        in: query
        schema:
          type: boolean
      - name: availableForFeedsOnly
        in: query
        schema:
          type: boolean
      - name: outboundOnly
        in: query
        schema:
          type: boolean
      - name: integrationCode
        in: query
        schema:
          type: string
      - name: objectType
        in: query
        schema:
          type: string
      - name: includePermissions
        in: query
        schema:
          type: boolean
      - name: permission
        in: query
        schema:
          type: array
          items:
            type: string
      - name: masterDataSourceIdProvidersOnly
        in: query
        schema:
          type: boolean
      - name: restrictType
        in: query
        schema:
          type: string
      - name: deviceGraphDataSourceOnly
        in: query
        schema:
          type: boolean
      - name: supportsAuthenticatedProfileOnly
        in: query
        schema:
          type: boolean
      - name: includeCreatedByDetails
        in: query
        schema:
          type: boolean
      - name: pidToExcludeForDeviceGraph
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: supportsDestinationTemplateId
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: excludeReportSuites
        in: query
        schema:
          type: boolean
      - name: excludeExperiencePlatformDataSource
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Data Sources
      operationId: create_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataSourceSummary'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataSourceId}:
    get:
      tags:
      - Data Sources
      summary: Returns a single Data Source
      description: Returns the requested Data Source entity by the the given Data
        Source ID.
      operationId: get_2
      parameters:
      - name: dataSourceId
        in: path
        description: The ID of the Data Source you are requesting
        required: true
        schema:
          type: string
        example: 12345
      - name: includeCreatedByDetails
        in: query
        schema:
          type: boolean
      - name: includeUsedBy
        in: query
        schema:
          type: boolean
      responses:
        "200":
          description: Data Source
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DataSource'
    put:
      tags:
      - Data Sources
      operationId: update_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataSourceSummary'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Data Sources
      operationId: delete_1
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataSourceId}/data-export-violations:
    post:
      tags:
      - Data Sources
      operationId: downloadCSVForViolatedDataMappings
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /datasources/{dataSourceId}/annotations/{clientGroup}:
    get:
      tags:
      - Data Sources
      operationId: getClientGroupAnnotation
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      tags:
      - Data Sources
      operationId: updateClientGroupAnnotation
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: string
                format: byte
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      tags:
      - Data Sources
      operationId: deleteClientGroupAnnotation
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /datasources/{dataSourceId}/annotations:
    get:
      tags:
      - Data Sources
      operationId: getAnnotations
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/configurations/available-id-types:
    get:
      tags:
      - Data Sources
      operationId: getAvailableIdTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/configurations/available-sub-id-types:
    get:
      tags:
      - Data Sources
      operationId: getAvailableSubIdTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/configurations/available-standard-namespaces:
    get:
      tags:
      - Data Sources
      operationId: getAvailablestandardNamespaces
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataSourceId}/inbound-mailing-list:
    get:
      tags:
      - Data Sources
      operationId: getInboundEmailAddresses
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataProviderId}/history/inbound/sampling-data:
    get:
      tags:
      - Data Sources
      operationId: getJobHistoryInbound
      parameters:
      - name: dataProviderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataFileName
        in: query
        schema:
          type: string
      - name: dataType
        in: query
        schema:
          type: string
          enum:
          - OK
          - FAILED_NO_MATCHING_UUID
          - FAILED_INVALID_DATA
          - FAILED_INVALID_UUID
          - FAILED_NO_REALIZED_TRAIT
          - OK_WITH_UNUSED_SIGNALS
          - FAILED_INVALID_DEVICE_ID
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/{dataProviderId}/history/inbound:
    get:
      tags:
      - Data Sources
      operationId: getJobHistoryInbound_1
      parameters:
      - name: dataProviderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/limits:
    get:
      tags:
      - Data Sources
      operationId: getLimits_1
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /datasources/configurations/marketing-cloud-visitorid-versions:
    get:
      tags:
      - Data Sources
      operationId: visitorIDVersionList
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/external-services/destinationaudience-service/status:
    get:
      tags:
      - Destinations
      operationId: AudienceServiceStatus
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/mappings:
    get:
      tags:
      - Destinations
      operationId: listMappingsInDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
      - name: includeMetrics
        in: query
        schema:
          type: boolean
      - name: updatedSince
        in: query
        schema:
          type: integer
          format: int64
          default: -1
      - name: includeDeletedEntities
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTestSegments
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Destinations
      operationId: addDestinationMapping
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/bulk-create:
    post:
      tags:
      - Destinations
      operationId: bulkCreateMappings
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/bulk-delete:
    post:
      tags:
      - Destinations
      operationId: bulkDeleteMappings
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations:
    get:
      tags:
      - Destinations
      operationId: listDestinations
      parameters:
      - name: containsSegment
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: includePermissions
        in: query
        schema:
          type: boolean
          default: false
      - name: pid
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: restrictType
        in: query
        schema:
          type: array
          items:
            type: string
            enum:
            - PUSH
            - S2S
            - ADS
            - BULK
            - SERVER_RESPONSE
            - ANALYTICS
            - PEOPLE_BASED
            - RTCDP
      - name: includeMasterDataSourceIdType
        in: query
        schema:
          type: boolean
      - name: includeMetrics
        in: query
        schema:
          type: boolean
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Destinations
      operationId: createDestinaton
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AbstractDestinationObject'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/rtcdp:
    post:
      tags:
      - Destinations
      operationId: createRtcdpDestination
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RtcdpDestinationCreateRequest'
        required: true
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/mappings/{destinationMappingId}:
    get:
      tags:
      - Destinations
      operationId: getMapppingInDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: destinationMappingId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DestinationMapping'
    put:
      tags:
      - Destinations
      operationId: updateMappingInDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: destinationMappingId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Destinations
      operationId: deleteDestinationMapping
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: destinationMappingId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/data-export-violations:
    post:
      tags:
      - Destinations
      operationId: downloadCSVForViolatedDataMappings_1
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /destinations/segment-impressions/cost-attribution/jobstatus:
    get:
      tags:
      - Destinations
      operationId: getCostAttributionJobStatus
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}:
    get:
      tags:
      - Destinations
      operationId: getDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeMappings
        in: query
        schema:
          type: boolean
      - name: includeMetrics
        in: query
        schema:
          type: boolean
      - name: includeMasterDataSourceIdType
        in: query
        schema:
          type: boolean
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Destinations
      operationId: updateDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AbstractDestination'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Destinations
      operationId: removeDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{OrderId}/tag-mappings/{TagType}:
    get:
      tags:
      - Destinations
      operationId: getDestinationToTagsMapping
      parameters:
      - name: OrderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: TagType
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{OrderId}/history/outbound:
    get:
      tags:
      - Destinations
      operationId: getJobHistoryOutbound
      parameters:
      - name: OrderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/limits:
    get:
      tags:
      - Destinations
      operationId: getLimits_2
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/marketing-actions:
    get:
      tags:
      - Destinations
      operationId: getMarketingActions
      parameters:
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/mappings-by-priority:
    get:
      tags:
      - Destinations
      operationId: getPriorities
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: integer
                  format: int32
    put:
      tags:
      - Destinations
      operationId: setPriorities
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/segment-impressions:
    get:
      tags:
      - Destinations
      operationId: getSegmentImpressions
      parameters:
      - name: includeFeedIds
        in: query
        schema:
          type: boolean
      - name: includeSegmentName
        in: query
        schema:
          type: boolean
      - name: includeDestinationName
        in: query
        schema:
          type: boolean
      - name: sortFeedIds
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    patch:
      tags:
      - Destinations
      operationId: updateSegmentImpressions
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/DestinationWithSegmentImpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/external-services/google-dmp-service/status:
    get:
      tags:
      - Destinations
      operationId: googleDmpServiceStatus
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{OrderId}/tag-mappings:
    get:
      tags:
      - Destinations
      operationId: listDestinationToTagsMappings
      parameters:
      - name: OrderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Destinations
      operationId: setDestinationToTagsMappings
      parameters:
      - name: OrderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/DestinationToTagsMapping'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/rtcdp/{destinationId}:
    put:
      tags:
      - Destinations
      operationId: updateRtcdpDestinationConfig
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RtcdpDestinationUpdateRequest'
        required: true
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Destinations
      operationId: removeRtcdpDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/rtcdp/{destinationId}/mappings:
    put:
      tags:
      - Destinations
      operationId: syncMappingsForRtcdpDestination
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              uniqueItems: true
              type: array
              items:
                $ref: '#/components/schemas/RtcdpDestinationMapping'
        required: true
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/{destinationId}/bulk-mappings:
    put:
      tags:
      - Destinations
      operationId: updateBulkMappings
      parameters:
      - name: destinationId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-integration-account-types:
    get:
      tags:
      - Destinations
      operationId: getAPIIntegrationAccountTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-platforms:
    get:
      tags:
      - Destinations
      operationId: getAvailableDevicePlatforms
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-full-sync-schedules:
    get:
      tags:
      - Destinations
      operationId: getAvailableFullSyncSchedules
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-sync-types:
    get:
      tags:
      - Destinations
      operationId: getAvailableFullSyncTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-outbound-data-types:
    get:
      tags:
      - Destinations
      operationId: getAvailableOutboundDataTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-protocols:
    get:
      tags:
      - Destinations
      operationId: getAvailableProtocols
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-incremental-time-periods:
    get:
      tags:
      - Destinations
      operationId: getIncrementalSyncPeriods
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/configurations/available-time-periods:
    get:
      tags:
      - Destinations
      operationId: getTimePeriods
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/credentials:
    get:
      operationId: listCredentials
      parameters:
      - name: templateId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: createCredential
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationCredentials'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/credentials/{dcid}:
    get:
      operationId: getCredential
      parameters:
      - name: dcid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateCredential
      parameters:
      - name: dcid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationCredentials'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteCredential
      parameters:
      - name: dcid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    patch:
      operationId: patchCredential
      parameters:
      - name: dcid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                type: object
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/templates/{templateId}:
    get:
      operationId: getDestinationTemplate
      parameters:
      - name: templateId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/templates:
    get:
      operationId: listTemplates
      parameters:
      - name: authType
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /dcs-regions/{id}:
    get:
      operationId: getRegion
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /dcs-regions:
    get:
      operationId: listRegions
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /forgot-password/confirm:
    get:
      operationId: confirmPasswordReset
      parameters:
      - name: token
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /forgot-password:
    post:
      operationId: resetPassword
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/ForgotPasswordRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /groups:
    get:
      tags:
      - Users and Groups
      operationId: list_5
      parameters:
      - name: startsWith
        in: query
        schema:
          type: string
      - name: search
        in: query
        schema:
          type: string
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: userId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Users and Groups
      operationId: addGroup
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Group'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /groups/bulk-delete:
    post:
      tags:
      - Users and Groups
      operationId: bulkDelete_2
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /groups/{groupId}:
    get:
      tags:
      - Users and Groups
      operationId: getGroup
      parameters:
      - name: groupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Users and Groups
      operationId: update_2
      parameters:
      - name: groupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Group'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Users and Groups
      operationId: removeGroup
      parameters:
      - name: groupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /groups/{groupId}/permissions:
    get:
      tags:
      - Users and Groups
      operationId: getPermissions
      parameters:
      - name: groupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Users and Groups
      operationId: setPermissions
      parameters:
      - name: groupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PermissionControlledObject'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /ip-obfuscation:
    get:
      operationId: getConfiguration
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: setConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IPObfuscationConfiguration'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /partner-sites:
    get:
      operationId: getAllPartnerSites
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: addPartnerSite
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerSite'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /partner-sites/{siteId}:
    get:
      operationId: getPartnerSite
      parameters:
      - name: siteId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deletePartnerSite
      parameters:
      - name: siteId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /permissionable-object-types:
    get:
      operationId: getAvailableObjects
      parameters:
      - name: format
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /permissionable-object-types/{objectType}:
    get:
      operationId: getAvailablePermissions
      parameters:
      - name: objectType
        in: path
        required: true
        schema:
          type: string
          enum:
          - SEGMENT
          - TRAIT
          - DESTINATION
          - SIGNAL
          - DERIVED_SIGNALS
          - TAGS
          - REPORTS
          - MODELS
          - SEGMENT_TEST_GROUPS
      - name: thirdParty
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /customer-trait-types:
    get:
      operationId: listTypes
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PixelType'
    post:
      operationId: create_2
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PixelType'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /customer-trait-types/{customerTraitType}:
    get:
      operationId: get_3
      parameters:
      - name: customerTraitType
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /visitor-profile:
    get:
      operationId: getProfile
      parameters:
      - name: uuid
        in: query
        schema:
          type: string
      - name: region
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProfileResponse'
  /report-suites/{id}:
    get:
      operationId: get_4
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /report-suites:
    get:
      operationId: list_6
      parameters:
      - name: ssf
        in: query
        schema:
          type: boolean
      - name: includeMappingStatus
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/segment-test-group-for-date/{segmentTestGroupId}:
    get:
      tags:
      - Reports
      operationId: getSegmentTestGroupDateReport
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: date
        in: query
        schema:
          type: integer
          format: int64
      - name: interval
        in: query
        schema:
          type: string
          default: 1D
      - name: conversionSid
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Reports
      operationId: generateForDownloadCSVSegmentTestGroupDateReport
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /reports/segment-test-group-trend/{segmentTestGroupId}:
    get:
      tags:
      - Reports
      operationId: getSegmentTestGroupTrend
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: conversionSid
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Reports
      operationId: generateForDownloadCSVSegmentTestGroupTrendReport
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /reports/segments-for-date:
    post:
      tags:
      - Reports
      operationId: generateSegmentDateReport
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentDateReportRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/segments-trend:
    post:
      tags:
      - Reports
      operationId: generateSegmentTrendReport
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentTrendReportRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/traits-for-date:
    post:
      tags:
      - Reports
      operationId: generateTraitDateReport
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraitDateReportRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/traits-trend:
    post:
      tags:
      - Reports
      operationId: generateTraitTrendReport
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraitTrendReportRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/device-graph/clusters-for-date/{deviceGraphDataSourceId}:
    get:
      tags:
      - Reports
      operationId: getClustersForDate
      parameters:
      - name: deviceGraphDataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: date
        in: query
        schema:
          type: integer
          format: int64
      - name: minimumClusterSize
        in: query
        schema:
          type: integer
          format: int32
          default: 1
      - name: metric
        in: query
        schema:
          type: array
          items:
            type: string
            default: TOTAL
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/device-graph/clusters-trend/{deviceGraphDataSourceId}:
    get:
      tags:
      - Reports
      operationId: getClustersTrend
      parameters:
      - name: deviceGraphDataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: minimumClusterSize
        in: query
        schema:
          type: integer
          format: int32
          default: 1
      - name: metric
        in: query
        schema:
          type: array
          items:
            type: string
            default: TOTAL
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/custom-report-folders:
    get:
      tags:
      - Reports
      operationId: getCustomReportFolders
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/datasources-trend/{dataSourceId}:
    get:
      tags:
      - Reports
      operationId: getDataSourceTrendReport
      parameters:
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: interval
        in: query
        schema:
          type: string
      - name: metricsType
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/device-graph/devices-for-date/{deviceGraphDataSourceId}:
    get:
      tags:
      - Reports
      operationId: getDevicesForDate
      parameters:
      - name: deviceGraphDataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: date
        in: query
        schema:
          type: integer
          format: int64
      - name: minimumClusterSize
        in: query
        schema:
          type: integer
          format: int32
          default: 1
      - name: metric
        in: query
        schema:
          type: array
          items:
            type: string
            default: TOTAL
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/device-graph/devices-trend/{deviceGraphDataSourceId}:
    get:
      tags:
      - Reports
      operationId: getDevicesTrend
      parameters:
      - name: deviceGraphDataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: minimumClusterSize
        in: query
        schema:
          type: integer
          format: int32
          default: 1
      - name: metric
        in: query
        schema:
          type: array
          items:
            type: string
            default: TOTAL
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/largest-segments:
    get:
      tags:
      - Reports
      operationId: getLargestSegments
      parameters:
      - name: interval
        in: query
        schema:
          type: string
          default: 1D
      - name: cutOff
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/largest-traits:
    get:
      tags:
      - Reports
      operationId: getLargestTraits
      parameters:
      - name: interval
        in: query
        schema:
          type: string
          default: 1D
      - name: restrictType
        in: query
        schema:
          type: string
      - name: cutOff
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      - name: excludeThirdParty
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/latest-date:
    get:
      tags:
      - Reports
      operationId: getLatestDate
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/login-history/csv:
    get:
      tags:
      - Reports
      operationId: getLoginHistory
      parameters:
      - name: year
        in: query
        schema:
          type: integer
          format: int32
      - name: month
        in: query
        schema:
          type: integer
          format: int32
      - name: type
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /reports/most-changed-segments:
    get:
      tags:
      - Reports
      operationId: getMostChangedSegments
      parameters:
      - name: interval
        in: query
        schema:
          type: string
          default: 1D
      - name: cutOff
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/most-changed-traits:
    get:
      tags:
      - Reports
      operationId: getMostChangedtraits
      parameters:
      - name: interval
        in: query
        schema:
          type: string
          default: 1D
      - name: restrictType
        in: query
        schema:
          type: string
      - name: cutOff
        in: query
        schema:
          type: integer
          format: int32
          default: 0
      - name: excludeThirdParty
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/partner-uniques:
    get:
      tags:
      - Reports
      operationId: getPartnerUniquesCSV
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /reports/partner-uniques-for-date:
    get:
      tags:
      - Reports
      operationId: getPartnerUniquesForDateReport
      parameters:
      - name: date
        in: query
        schema:
          type: integer
          format: int64
      - name: restrictType
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/segment-identity-breakdown/{sid}:
    get:
      tags:
      - Reports
      operationId: getSegmentIdentityBreakdown
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: string
      - name: interval
        in: query
        schema:
          type: string
          default: LIFETIME
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/segment-shareable-audience:
    get:
      tags:
      - Reports
      operationId: getSegmentShareableAudience
      parameters:
      - name: targetDataSourceIds
        in: query
        schema:
          type: string
      - name: sourceDataSourceIds
        in: query
        schema:
          type: string
      - name: sids
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/segments-trend/{sid}:
    get:
      tags:
      - Reports
      operationId: getSegmentTrend
      parameters:
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: interval
        in: query
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/shareable-audience:
    get:
      tags:
      - Reports
      operationId: getShareableAudience
      parameters:
      - name: targetDataSourceIds
        in: query
        schema:
          type: string
      - name: sourceDataSourceIds
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/custom-report-folders/{reportFolderId}/reports/{reportId}:
    get:
      tags:
      - Reports
      operationId: getSingleCustomReport
      parameters:
      - name: reportFolderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/trait-identity-breakdown/{sids}:
    get:
      tags:
      - Reports
      operationId: getTraitIdentityBreakdown
      parameters:
      - name: sids
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /reports/traits-trend/{sid}:
    get:
      tags:
      - Reports
      operationId: getTraitTrend
      parameters:
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      - name: interval
        in: query
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: traitMetricsType
        in: query
        schema:
          type: string
      - name: metricsType
        in: query
        schema:
          type: string
          default: DEVICE
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /folders/segments:
    get:
      tags:
      - Segments
      operationId: getFolders
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SegmentFolder'
    post:
      tags:
      - Segments
      operationId: createFolder
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentFolder'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /folders/segments/{folderId}:
    get:
      tags:
      - Segments
      operationId: getFolder
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeSubFolders
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Segments
      operationId: updateFolder
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentFolder'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Segments
      operationId: deleteFolder
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups:
    get:
      tags:
      - Segment Test Groups
      operationId: list_7
      parameters:
      - name: groupStatus
        in: query
        schema:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - PAUSED
          - DELETED
          - PENDING
          - COMPLETED
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Segment Test Groups
      operationId: create_3
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups/drafts:
    get:
      tags:
      - Segment Test Groups
      operationId: listDraft
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Segment Test Groups
      operationId: createDraft
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups/drafts/{draftId}:
    get:
      tags:
      - Segment Test Groups
      operationId: getDraft
      parameters:
      - name: draftId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Segment Test Groups
      operationId: updateDraft
      parameters:
      - name: draftId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Segment Test Groups
      operationId: deleteDraft
      parameters:
      - name: draftId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups/{segmentTestGroupId}:
    get:
      tags:
      - Segment Test Groups
      operationId: get_5
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Segment Test Groups
      operationId: deleteSegmentTestGroup
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups/limits:
    get:
      tags:
      - Segment Test Groups
      operationId: getLimits_3
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segment-test-groups/{segmentTestGroupId}/status:
    post:
      tags:
      - Segment Test Groups
      operationId: updateStatus
      parameters:
      - name: segmentTestGroupId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/bulk-delete:
    post:
      tags:
      - Segments
      operationId: bulkDelete_3
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/bulk-merge-rule-replace:
    post:
      tags:
      - Segments
      operationId: bulkReplaceSegmentMergeRule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplaceMergeRuleRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments:
    get:
      tags:
      - Segments
      operationId: list_8
      parameters:
      - name: containsTrait
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: containsTraitFromDataSource
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: startsWith
        in: query
        schema:
          type: string
      - name: folderId
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: includePermissions
        in: query
        schema:
          type: boolean
          default: false
      - name: permission
        in: query
        schema:
          type: array
          items:
            type: string
            default: READ
      - name: integrationCode
        in: query
        schema:
          type: string
      - name: includeInUseStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: updatedSince
        in: query
        schema:
          type: integer
          format: int64
          default: -1
      - name: status
        in: query
        schema:
          type: array
          items:
            type: string
      - name: dataSourceId
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: mergeRuleDataSourceId
        in: query
        schema:
          type: integer
          format: int32
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
      - name: includeDataExportControls
        in: query
        schema:
          type: boolean
      - name: includeTraitDataSourceIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTestSegments
        in: query
        schema:
          type: boolean
          default: false
      - name: excludeSmartPersona
        in: query
        schema:
          type: boolean
          default: false
      - name: excludeThirdParty
        in: query
        schema:
          type: boolean
          default: false
      - name: excludeAlgo
        in: query
        schema:
          type: boolean
          default: false
      - name: excludePlatform
        in: query
        schema:
          type: boolean
          default: false
      - name: excludeNonXDeviceSegments
        in: query
        schema:
          type: boolean
          default: false
      - name: Accept
        in: header
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
            text/csv: {}
    post:
      tags:
      - Segments
      operationId: create_4
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentWithTraitRule'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/{sid}:
    get:
      tags:
      - Segments
      operationId: get_7
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTraitMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSegmentTestGroupIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeExprTree
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTraitDataSourceIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeInUseStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includeUserInfo
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Segments
      operationId: delete_2
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/ic:{integrationCode}:
    get:
      tags:
      - Segments
      operationId: get_6
      parameters:
      - name: integrationCode
        in: path
        required: true
        schema:
          type: string
      - name: includeMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTraitMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeAddressableAudienceMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSegmentTestGroupIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeExprTree
        in: query
        schema:
          type: boolean
          default: false
      - name: includeInUseStatus
        in: query
        schema:
          type: boolean
          default: false
      - name: includeTraitDataSourceIds
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Segments
      operationId: update_4
      parameters:
      - name: integrationCode
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Segment'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Segments
      operationId: delete_3
      parameters:
      - name: integrationCode
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/estimate-30-day-size:
    post:
      tags:
      - Segments
      operationId: estimat30DaySize
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/estimate-60-day-size:
    post:
      tags:
      - Segments
      operationId: estimat60DaySize
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/estimate-7-day-size:
    post:
      tags:
      - Segments
      operationId: estimat7DaySize
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/estimate-size:
    post:
      tags:
      - Segments
      operationId: estimateSize
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/estimate-total-size:
    post:
      tags:
      - Segments
      operationId: estimateTotalSizeForSegmentExpression
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/{sid}/annotations/{clientGroup}:
    get:
      tags:
      - Segments
      operationId: getClientGroupAnnotation_1
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      tags:
      - Segments
      operationId: updateClientGroupAnnotation_1
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: string
                format: byte
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      tags:
      - Segments
      operationId: deleteClientGroupAnnotation_1
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /segments/{sid}/annotations:
    get:
      tags:
      - Segments
      operationId: getAnnotations_1
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/destination-mapping-conflicts:
    post:
      tags:
      - Segments
      operationId: getDestinationMappingConflict
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /segments/limits:
    get:
      tags:
      - Segments
      operationId: getLimits_4
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/list-as-csv:
    post:
      tags:
      - Segments
      operationId: getSegmentListCSV
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /segments/{sId}:
    put:
      tags:
      - Segments
      operationId: update_3
      parameters:
      - name: sId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Segment'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /segments/validate:
    post:
      tags:
      - Segments
      operationId: validate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SegmentExpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /signals/evaluate:
    post:
      operationId: evaluate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalEvaluateParams'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /signals/keys:
    get:
      operationId: getKeys
      parameters:
      - name: search
        in: query
        schema:
          type: string
      - name: total
        in: query
        schema:
          type: integer
          format: int32
          default: 100
      - name: reportSuiteId
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /signals/limits:
    get:
      operationId: getLimits_5
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /signals/list:
    post:
      operationId: list_9
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignalListParams'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /smart-personas:
    get:
      operationId: list_10
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: create_5
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SmartPersonasModel'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /smart-personas/{id}:
    get:
      operationId: getModel
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includePersonas
        in: query
        schema:
          type: boolean
      - name: includeAudience
        in: query
        schema:
          type: boolean
      - name: includeSmartSegments
        in: query
        schema:
          type: boolean
      - name: includeMetrics
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteModel_1
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /smart-personas/limits:
    get:
      operationId: getLimits_6
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /smart-personas/{id}/weights-for-smart-persona/{smartSegmentSID}:
    get:
      operationId: getWeights
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: smartSegmentSID
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /smart-personas/withAlgoModels:
    get:
      operationId: list_11
      parameters:
      - name: startsWith
        in: query
        schema:
          type: string
      - name: search
        in: query
        schema:
          type: string
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: includePermissions
        in: query
        schema:
          type: boolean
          default: false
      - name: permission
        in: query
        schema:
          type: array
          items:
            type: string
            default: READ
      - name: status
        in: query
        schema:
          type: string
      - name: includeDataSources
        in: query
        schema:
          type: boolean
      - name: containsSeedFromDataSource
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: usesDataSource
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: modelType
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /status:
    get:
      operationId: getStatusCXF
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/reports/users/{userId}/{tableau-name}:
    post:
      operationId: assignPortalUserToTableauUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: tableau-name
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/reports:
    get:
      operationId: getReportsByPId
      parameters:
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TableauReport'
    post:
      operationId: createReport
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TableauReport'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/reports/users/{userId}/tableau-name:
    delete:
      operationId: deletePortalUserToTableauUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/reports/{reportId}:
    get:
      operationId: getReport
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TableauReport'
    put:
      operationId: updateReport
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TableauReport'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteReport
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/reports/folders:
    get:
      operationId: getAllReportFolders
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PortalReportFolder'
  /admin/reports/users:
    get:
      operationId: getAllTableauPartners
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TableauReportUser'
  /admin/reports/{reportId}/folders:
    get:
      operationId: getReportFolders
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PortalReportFolder'
  /admin/reports/tableau-partner-info:
    get:
      operationId: getTableauPartnerInfo
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TableauReportUser'
  /admin/reports/tableau-iframe/{reportId}:
    get:
      operationId: getTableauSnippet
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                type: string
  /admin/reports/users/{userId}:
    get:
      operationId: getTableauUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TableauReportUser'
  /admin/reports/partners/{pid}/reports-available:
    put:
      operationId: updateReports
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/TableauReport'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /tags/containers:
    get:
      operationId: list_12
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: create_6
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagContainer'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /tags/containers/{containerId}:
    get:
      operationId: get_8
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: update_5
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagContainer'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: delete_4
      parameters:
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /folders/traits:
    get:
      tags:
      - Traits
      operationId: getFolders_1
      parameters:
      - name: includeThirdParty
        in: query
        schema:
          type: boolean
          default: true
      - name: includeFoldersForAvailableFeed
        in: query
        schema:
          type: boolean
      - name: dataSourceId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Traits
      operationId: createFolder_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerTraitFolder'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /folders/traits/{folderId}:
    get:
      tags:
      - Traits
      operationId: getFolder_1
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeSubFolders
        in: query
        schema:
          type: boolean
          default: false
      - name: includeThirdParty
        in: query
        schema:
          type: boolean
          default: true
      - name: includeFoldersForAvailableFeed
        in: query
        schema:
          type: boolean
          default: false
      - name: dataSourceId
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Traits
      operationId: updateFolder_1
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerTraitFolder'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Traits
      operationId: deleteFolder_1
      parameters:
      - name: folderId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /folders/traits/limits:
    get:
      tags:
      - Traits
      operationId: getLimits_7
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /signals/derived:
    get:
      tags:
      - Derived Signals API
      summary: Returns an array of derived signals and their information.
      description: "Returns information about your derived signals, filtered by the\
        \ query parameters that you add to the call."
      operationId: listDerivedSignals
      parameters:
      - name: search
        in: query
        description: "Returns results based on the specified string you want to use\
          \ as a search parameter. For example, let's say you want to find results\
          \ for all derived signals that have the word \"Test\" in any of the value\
          \ fields. Your sample request could look like `GET https://api.demdex.com/v1/signals/derived/?search=Test.`"
        schema:
          type: string
      - name: sortBy
        in: query
        description: Sorts and returns results according to the specified JSON property.
        schema:
          type: string
      - name: descending
        in: query
        description: Sorts and returns results in descending order. Ascending is default.
        schema:
          type: boolean
      - name: page
        in: query
        description: Returns results by page number. Numbering starts at 0. This query
          parameter is relevant only when `pageSize` is specified.
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        description: Sets the number of response results returned by the request (10
          is default).
        schema:
          type: integer
          format: int32
          default: 10
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TraitRuleDerivedSignal'
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
    post:
      tags:
      - Derived Signals API
      summary: Creates a new derived signal.
      description: "The JSON request body must contain a source key and source value.\
        \ These parameters are used to associate the source key-value pair with other\
        \ traits that are associated (derived) from those values. In the example values\
        \ below, the key-value pair h_referer=https://www.adobe.com/products/photoshop.html\
        \ are also associated with a related target key-value pair. Note, source key\
        \ and value variables must be unique. See also, [Derived Signals](https://experiencecloud.adobe.com/resources/help/en_US/aam/c_tb_derived_signal.html)\
        \ in the Audience Manager product documentation."
      operationId: createDerivedSignal
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraitRuleDerivedSignalRequest'
      responses:
        "201":
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraitRuleDerivedSignal'
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "409":
          description: Conflict
  /signals/derived/{derivedSignalId}:
    get:
      tags:
      - Derived Signals API
      summary: Returns information about a single derived signal.
      description: Returns the requested derived signal entity by the given `derivedSignalId`.
      operationId: getDerivedSignal
      parameters:
      - name: derivedSignalId
        in: path
        description: The ID of the derived signal for which you want to return information.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraitRuleDerivedSignal'
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "404":
          description: Not Found
    put:
      tags:
      - Derived Signals API
      summary: Updates a single derived signal.
      description: Updates the requested derived signal entity by the given `derivedSignalId`.
      operationId: updateDerivedSignal
      parameters:
      - name: derivedSignalId
        in: path
        description: The ID of the derived signal that you want to update.
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraitRuleDerivedSignalRequest'
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraitRuleDerivedSignal'
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "404":
          description: Not Found
        "409":
          description: Conflict
    delete:
      tags:
      - Derived Signals API
      summary: Deletes a single derived signal.
      description: Deletes the derived signal entity by the given `derivedSignalId`.
      operationId: deleteDerivedSignal
      parameters:
      - name: derivedSignalId
        in: path
        description: The ID of the derived signal that you want to delete.
        required: true
        schema:
          type: integer
          format: int32
      responses:
        "204":
          description: No Content
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "404":
          description: Not Found
        "409":
          description: Conflict
  /signals/derived/limits:
    get:
      tags:
      - Derived Signals API
      summary: Returns a count of the maximum number of derived signals you can create.
      description: "See, [Usage Limits](https://experiencecloud.adobe.com/resources/help/en_US/aam/usage-limits.html)."
      operationId: getDerivedSignalLimits
      responses:
        "200":
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DerivedSignalLimits'
        "400":
          description: Bad Request
        "401":
          description: Unauthorized
        "403":
          description: Forbidden
        "404":
          description: Not Found
  /traits/bulk-delete:
    post:
      tags:
      - Traits
      operationId: bulkDelete_4
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/backfill/{backfillStatus}:
    put:
      tags:
      - Traits
      operationId: bulkUpdateBackfillStatus
      parameters:
      - name: backfillStatus
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits:
    get:
      tags:
      - Traits
      operationId: getTraits
      parameters:
      - name: excludeRule
        in: query
        schema:
          type: boolean
          default: false
      - name: includeMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: includeDetails
        in: query
        schema:
          type: boolean
          default: false
      - name: restrictType
        in: query
        schema:
          type: array
          items:
            type: string
      - name: usesModel
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: permission
        in: query
        schema:
          type: array
          items:
            type: string
            default: READ
      - name: includePermissions
        in: query
        schema:
          type: boolean
          default: false
      - name: categoryId
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: folderId
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: integrationCode
        in: query
        schema:
          type: string
      - name: dataSourceId
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
      - name: includeTraitsForAvailableFeed
        in: query
        schema:
          type: boolean
      - name: type
        in: query
        schema:
          type: integer
          format: int32
      - name: excludeDataSourceId
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      - name: backfillStatus
        in: query
        schema:
          type: string
      - name: currentMonthTraitsWithBackfillOnly
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Traits
      operationId: createTrait
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Trait'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/{sid}:
    put:
      tags:
      - Traits
      operationId: updateTrait
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Trait'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Traits
      operationId: deleteTrait
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/ic:{integrationCode}:
    put:
      tags:
      - Traits
      operationId: updateTrait_1
      parameters:
      - name: integrationCode
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Trait'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Traits
      operationId: deleteTrait_1
      parameters:
      - name: integrationCode
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/{sid}/annotations/{clientGroup}:
    get:
      tags:
      - Traits
      operationId: getClientGroupAnnotation_2
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      tags:
      - Traits
      operationId: updateClientGroupAnnotation_2
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: string
                format: byte
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      tags:
      - Traits
      operationId: deleteClientGroupAnnotation_2
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /traits/{sid}/annotations:
    get:
      tags:
      - Traits
      operationId: getAnnotations_2
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/limits:
    get:
      tags:
      - Traits
      operationId: getLimits_8
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/{ids}:
    get:
      tags:
      - Traits
      operationId: getTrait
      parameters:
      - name: ids
        in: path
        required: true
        schema:
          type: string
      - name: includeExprTree
        in: query
        schema:
          type: boolean
          default: false
      - name: includeSegmentTestGroupIds
        in: query
        schema:
          type: boolean
          default: false
      - name: includeMetrics
        in: query
        schema:
          type: boolean
          default: false
      - name: metricsType
        in: query
        schema:
          type: string
          default: DEVICE
      - name: includeUserInfo
        in: query
        schema:
          type: boolean
          default: false
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/list:
    post:
      tags:
      - Traits
      operationId: getTraitList
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TraitListParams'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/{sid}/trait-rule/versions:
    get:
      tags:
      - Traits
      operationId: getTraitRuleVersions
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Traits
      operationId: getTraitRuleVersionsCSV
      parameters:
      - name: sid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/csv: {}
  /traits/test:
    post:
      tags:
      - Traits
      operationId: test
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TestRule'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /traits/validate:
    post:
      tags:
      - Traits
      operationId: validateCode
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ValidateRule'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /namespace/{pid}/namespaces:
    get:
      operationId: getAEPNamespaces
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /namespace/{pid}/enabledservices:
    get:
      operationId: getAEPServicesEnabled
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /namespace/update-aep-namespaces:
    put:
      operationId: updateAepCustomNamespaces
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NamespaceRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /namespace/{pid}/backfill-aep-namespaces:
    post:
      operationId: updateAepCustomNamespaces_1
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/bulk-delete:
    post:
      tags:
      - Users and Groups
      operationId: bulkDelete_5
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/update-groups:
    post:
      tags:
      - Users and Groups
      operationId: bulkUpdateGroups
      requestBody:
        content:
          '*/*':
            schema:
              type: object
              additionalProperties:
                type: array
                items:
                  type: integer
                  format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users:
    get:
      tags:
      - Users and Groups
      operationId: getUsers
      parameters:
      - name: startsWith
        in: query
        schema:
          type: string
      - name: search
        in: query
        schema:
          type: string
      - name: sortBy
        in: query
        schema:
          type: string
      - name: descending
        in: query
        schema:
          type: boolean
      - name: includeIntegrationUsers
        in: query
        schema:
          type: boolean
          default: false
      - name: includeStaffUsers
        in: query
        schema:
          type: boolean
          default: true
      - name: page
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: pageSize
        in: query
        schema:
          type: integer
          format: int32
          default: 10
      - name: pid
        in: query
        schema:
          type: integer
          format: int32
          default: -1
      - name: groupId
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      tags:
      - Users and Groups
      operationId: createUser
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/UserInfo'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/{userId}:
    get:
      tags:
      - Users and Groups
      operationId: getUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      tags:
      - Users and Groups
      operationId: updateUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/UserInfo'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      tags:
      - Users and Groups
      operationId: deleteUser
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/{userId}/annotations/{clientGroup}:
    get:
      tags:
      - Users and Groups
      operationId: getClientGroupAnnotation_3
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      tags:
      - Users and Groups
      operationId: updateClientGroupAnnotation_3
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: string
                format: byte
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      tags:
      - Users and Groups
      operationId: deleteClientGroupAnnotation_3
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /users/{userId}/annotations:
    get:
      tags:
      - Users and Groups
      operationId: getAnnotations_3
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/csrf-token:
    get:
      tags:
      - Users and Groups
      operationId: getCSRFToken
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/annotations/{clientGroup}:
    get:
      tags:
      - Users and Groups
      operationId: getClientGroupAnnotation_4
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      tags:
      - Users and Groups
      operationId: updateClientGroupAnnotation_4
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          '*/*':
            schema:
              type: array
              items:
                type: string
                format: byte
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      tags:
      - Users and Groups
      operationId: deleteClientGroupAnnotation_4
      parameters:
      - name: clientGroup
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /users/self/annotations:
    get:
      tags:
      - Users and Groups
      operationId: getAnnotations_4
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self:
    get:
      tags:
      - Users and Groups
      operationId: getUserInfo
      parameters:
      - name: includeAllUserRoles
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/ims-login-notification:
    post:
      tags:
      - Users and Groups
      operationId: logImsDetail
      parameters:
      - name: User-Agent
        in: header
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/reset-password:
    post:
      tags:
      - Users and Groups
      operationId: resetUserPassword
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/{userId}/reset-password:
    post:
      tags:
      - Users and Groups
      operationId: resetUserPassword_1
      parameters:
      - name: userId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/update-password:
    post:
      tags:
      - Users and Groups
      operationId: updatePassword
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/PasswordChangeRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /users/self/update:
    put:
      tags:
      - Users and Groups
      operationId: updateSelf
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/UserInfo'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/containers/{containerId}/datasources/{dataSourceId}:
    get:
      operationId: getDataSouceInContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: addDataSouceToContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: removeDataSourceFromContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/containers/{containerId}:
    get:
      operationId: getContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/containers:
    get:
      operationId: listContainers
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/containers/{containerId}/datasources:
    get:
      operationId: listDataSourceIdsForContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: setDataSourceIdsForContainer
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/containers/{containerId}/datasources/auto-added:
    get:
      operationId: listDataSourceIdsForContainerAutoAdded
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: setDataSourceIdsForContainerAutoAdded
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: containerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/datasource-mapping/{dataSourceId}:
    get:
      operationId: getDataSource
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateDataSourceMappings
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DataSourceMapping'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: removeDataSourceMappings
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: dataSourceId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/datasource-mapping:
    get:
      operationId: getDataSourceMappings
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/demdex-ids-export-config:
    get:
      operationId: getAllActive
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: bulkOverride
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DemdexIdsExportConfigRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/demdex-ids-export-config/{imsOrgId}:
    get:
      operationId: getByImsOrgId
      parameters:
      - name: imsOrgId
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/formats:
    get:
      operationId: list_13
      parameters:
      - name: type
        in: query
        schema:
          type: string
      - name: transferProtocol
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    post:
      operationId: create_7
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/DestinationFormat'
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /destinations/formats/{formatId}:
    get:
      operationId: get_9
      parameters:
      - name: formatId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    put:
      operationId: update_6
      parameters:
      - name: formatId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          '*/*':
            schema:
              $ref: '#/components/schemas/DestinationFormat'
      responses:
        default:
          description: default response
          content:
            '*/*': {}
    delete:
      operationId: delete_5
      parameters:
      - name: formatId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /destinations/servers:
    get:
      operationId: listDestinationServers
      parameters:
      - name: protocol
        in: query
        schema:
          type: string
          enum:
          - FTP
          - HTTP
          - S3
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: createServer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationServer'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/servers/{destinationServerId}:
    get:
      operationId: getDestinationServer
      parameters:
      - name: destinationServerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateDestinationServer
      parameters:
      - name: destinationServerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationServer'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteDestinationServer
      parameters:
      - name: destinationServerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/servers/{destinationServerId}/credentials:
    put:
      operationId: updateDestinationServerCredentials
      parameters:
      - name: destinationServerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DestinationServerCredentials'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /destinations/servers/{destinationServerId}/signature:
    put:
      operationId: updateDestinationServerSignature
      parameters:
      - name: destinationServerId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /externalsegments/backfill/{pid}:
    put:
      operationId: backfill
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResponseEntityObject'
  /admin/override/fixed-cost:
    post:
      operationId: overrideImpressions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OverrideFixedCost'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/override/impressions:
    post:
      operationId: overrideImpressions_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OverrideImpression'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/id-syncs:
    get:
      operationId: list_14
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: create_8
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MiscVarTag'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/id-syncs/{varTagId}:
    get:
      operationId: get_10
      parameters:
      - name: varTagId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: update_7
      parameters:
      - name: varTagId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MiscVarTag'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: delete_6
      parameters:
      - name: varTagId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}/access-tokens/{tokenId}:
    get:
      operationId: getAccessToken
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: tokenId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteAccessToken
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: tokenId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}:
    get:
      operationId: getOAuthClient
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateOAuthClients
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OAuthClientDetails'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteOAuthClients
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}/refresh-tokens/{tokenId}:
    get:
      operationId: getRefreshToken
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: tokenId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: deleteRefreshToken
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: tokenId
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}/access-tokens:
    get:
      operationId: getAccessTokens
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: additionalInformation
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients:
    get:
      operationId: getOAuthClients
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}/refresh-tokens:
    get:
      operationId: getRefreshTokens
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      - name: additionalInformation
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/oauth2-clients/{clientId}/regenerate-secret:
    post:
      operationId: regenerateSecret
      parameters:
      - name: clientId
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/features/{feature}:
    get:
      operationId: getFeature
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: feature
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: addFeature
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: feature
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: removeFeature
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: feature
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners:
    get:
      operationId: list_15
      parameters:
      - name: subdomain
        in: query
        schema:
          type: string
      - name: feature
        in: query
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
    post:
      operationId: create_9
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Partner'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}:
    get:
      operationId: get_11
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: includeFeatures
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: update_8
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Partner'
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: delete_7
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/imsorg:{imsOrgId}:
    get:
      operationId: get_12
      parameters:
      - name: imsOrgId
        in: path
        required: true
        schema:
          type: string
      - name: includeFeatures
        in: query
        schema:
          type: boolean
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/device-graphs:
    get:
      operationId: getAccessibleThirdPartyDeviceGraphDataSourceIdsForPartner
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateDeviceGraphSharingForPartner
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: integer
                format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/available-account-types:
    get:
      operationId: getAvailableAccountTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/available-signal-retention-days:
    get:
      operationId: getAvailableSignalRetentionDays
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/default-limits:
    get:
      operationId: getDefaultLimits
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/limits:
    get:
      operationId: getLimits_9
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: setLimits
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerLimits'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/{pid}/features:
    get:
      operationId: getPartnersFeatures
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    put:
      operationId: updateFeatures
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/features:
    get:
      operationId: listAllFeatures
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/partners/provision:
    post:
      operationId: provision
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BroadCastMessage'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /audits/{type}/{id}:
    get:
      operationId: getAuditLogs
      parameters:
      - name: type
        in: path
        required: true
        schema:
          type: string
      - name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
          default: -1
      - name: startDate
        in: query
        schema:
          type: integer
          format: int64
      - name: endDate
        in: query
        schema:
          type: integer
          format: int64
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /audits/supported-types:
    get:
      operationId: getSupportedTypes
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/caches/pid/{pid}:
    get:
      operationId: getAllCachesForPID
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
    delete:
      operationId: removeContentsFromCache
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/caches/pid/{pid}/type/{type}:
    delete:
      operationId: removeCacheByPID
      parameters:
      - name: pid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      - name: type
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /admin/caches/type/{type}:
    delete:
      operationId: removeContentsFromCacheByType
      parameters:
      - name: type
        in: path
        required: true
        schema:
          type: string
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /ims/config/create:
    post:
      operationId: create_10
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateResponse'
  /ims/config/link:
    post:
      operationId: link
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkResponse'
  /ims/config/search:
    post:
      operationId: search
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SearchRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SearchResponse'
  /ims/process-notification:
    post:
      operationId: handleNotication
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: string
      responses:
        default:
          description: default response
          content:
            '*/*': {}
  /ims/canMigrateUser:
    post:
      operationId: canMigrate
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImsUserMigrationRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /ims/migrateUser:
    post:
      operationId: migrate
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImsUserMigrationRequest'
      responses:
        default:
          description: default response
          content:
            application/json: {}
  /ims/linking/get-links:
    post:
      operationId: getLinks
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetLinkRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetLinkResponse'
  /ims/linking/link-user:
    post:
      operationId: migrate_1
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserLinkRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserLinkResponse'
  /ims/linking/unlink-user:
    post:
      operationId: unlinkUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserUnlinkRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserUnlinkResponse'
  /ims/linking/validate-user:
    post:
      operationId: validateUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserValidationRequest'
      responses:
        default:
          description: default response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserValidationResponse'
components:
  schemas:
    AcpConnectorConfig:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        eeDCSDataSetID:
          type: string
        eeSchemaPath:
          type: string
        profileSchemaPath:
          type: string
        inboundWorkflowID:
          type: string
        profileWorkflowID:
          type: string
        status:
          type: string
          enum:
          - INACTIVE
          - ACTIVE
          - PARTIAL
        sandboxId:
          type: string
        sandboxName:
          type: string
        type:
          type: string
          enum:
          - AAM_CONNECTOR
          - VISID_CONNECTOR
          - SEGUE_CONFIG
        pipelineTopic:
          type: string
        profileDataSetId:
          type: string
        sendAllSegments:
          type: boolean
        sendAllTraits:
          type: boolean
        flowId:
          type: string
        destinationFlowId:
          type: string
        segmentsFromPlatform:
          type: array
          items:
            $ref: '#/components/schemas/PlatformSegment'
        receiveAllSegmentsFromPlatform:
          type: boolean
        valid:
          type: boolean
    PlatformSegment:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          enum:
          - PLATFORM_SEGMENT
    AcpSegmentPatch:
      type: object
      properties:
        op:
          type: string
          enum:
          - ADD
          - REMOVE
        value:
          type: integer
          format: int32
    AcpSegmentPatchActions:
      type: object
      properties:
        actions:
          type: array
          items:
            $ref: '#/components/schemas/AcpSegmentPatch'
    AlgoModel:
      required:
      - dataSources
      - intervalSeconds
      - lookBackPeriod
      - name
      - status
      type: object
      properties:
        algoModelId:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        name:
          maxLength: 90
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        algoTypeId:
          type: integer
          format: int32
        intervalSeconds:
          minimum: 86400
          type: integer
          format: int32
        lookBackPeriod:
          type: integer
          format: int32
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        lastRunStatus:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        algoModelVersion:
          type: integer
          format: int32
        dataSources:
          type: array
          items:
            type: integer
            format: int32
        sid:
          type: integer
          format: int32
        lastRunTimestamp:
          type: string
          format: date-time
        baselineTraitType:
          type: string
          enum:
          - UNDEFINED
          - RULE_BASED_TRAIT
          - SEGMENT
          - ON_BOARDED_TRAIT
          - ALGO_TRAIT
          - DATA_SOURCE_SYNC_TRAIT
          - COMPANY_ACTIVITY_TRAIT
          - TEST_SEGMENT
          - FOLDER_TRAIT
          - NON_ALGO_TRAIT
          - NON_SMART_PERSONA
          - NON_THIRD_PARTY
          - NON_ALGO
          - NON_PLATFORM
        lastSuccessfulRunTimestamp:
          type: string
          format: date-time
        excludedTraits:
          type: array
          items:
            type: integer
            format: int32
        protectedResource:
          type: boolean
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        updateTime:
          type: string
          format: date-time
    Permission:
      type: object
      properties:
        mask:
          type: integer
          format: int32
        pattern:
          type: string
    FeedRequest:
      required:
      - discountPercentage
      - message
      - status
      - type
      type: object
      properties:
        requestId:
          minimum: 0
          type: integer
          format: int32
        dataSourceId:
          minimum: 1
          type: integer
          format: int32
        message:
          type: string
        status:
          type: string
          enum:
          - APPROVED
          - DENIED
          - PENDING
          - ACKNOWLEDGED
        type:
          type: string
          enum:
          - ACCESS
          - DETAILS
          - DISCOUNT
        potentialBuyerInfo:
          $ref: '#/components/schemas/UserInfo'
        sellerInfo:
          $ref: '#/components/schemas/UserInfo'
        requestTime:
          type: string
          format: date-time
        grantTime:
          type: string
          format: date-time
        potentialBuyerUid:
          type: integer
          format: int32
        potentialBuyerPid:
          minimum: 1
          type: integer
          format: int32
        sellerUid:
          type: integer
          format: int32
        sellerPid:
          type: integer
          format: int32
        discountPercentage:
          maximum: 100
          minimum: 0
          type: integer
          format: int32
    UserInfo:
      required:
      - email
      - firstName
      - groups
      - lastName
      - status
      - username
      type: object
      properties:
        pid:
          type: integer
          format: int32
        uid:
          type: integer
          format: int32
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        status:
          type: string
          enum:
          - PENDING
          - ACTIVE
          - DEACTIVATED
          - LOCKED_OUT
          - DELETED
          - EXPIRED
        username:
          type: string
        title:
          type: string
        phoneNumber:
          type: string
        groups:
          type: array
          items:
            type: integer
            format: int32
        userRoles:
          type: array
          items:
            type: string
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        imsId:
          type: string
        password:
          type: string
          writeOnly: true
        loginFailures:
          type: integer
          format: int32
        oktaEnabled:
          type: boolean
        activated:
          type: boolean
        shouldUpdateActivated:
          type: boolean
          writeOnly: true
        currentPassword:
          type: string
        admin:
          type: boolean
    ExperienceCloudConfiguration:
      type: object
      properties:
        url:
          type: string
        cdn:
          type: string
    ImsConfiguration:
      type: object
      properties:
        clientId:
          type: string
        host:
          type: string
        scope:
          type: array
          items:
            type: string
        redirectUrl:
          type: string
        environment:
          type: string
        pulseEndpoint:
          type: string
    MarketplaceConfiguration:
      type: object
      properties:
        usageSubmissionDeadline:
          type: integer
          format: int32
        usageSubmissionSoftDeadline:
          type: integer
          format: int32
    PortalConfigurations:
      type: object
      properties:
        imsConfiguration:
          $ref: '#/components/schemas/ImsConfiguration'
        experienceCloudConfiguration:
          $ref: '#/components/schemas/ExperienceCloudConfiguration'
        marketplaceConfiguration:
          $ref: '#/components/schemas/MarketplaceConfiguration'
    ContextualHelp:
      type: object
      properties:
        title:
          type: string
        url:
          type: string
        intro:
          type: string
        fullText:
          type: string
    DataFeed:
      required:
      - billing
      - dataBrandingType
      - description
      - distribution
      - name
      - status
      type: object
      properties:
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 2047
          minLength: 0
          type: string
        billing:
          type: string
          enum:
          - ADOBE
          - DIRECT
        distribution:
          type: string
          enum:
          - PUBLIC
          - PRIVATE
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        pid:
          type: integer
          format: int32
        dataBrandingType:
          type: string
          enum:
          - BRANDED
          - UNBRANDED
        contactUserIds:
          type: array
          items:
            type: integer
            format: int32
        dataSourceId:
          type: integer
          format: int32
    AnnotationSearchDefinition:
      type: object
      properties:
        annotationPath:
          type: string
        annotationValue:
          type: string
    BillingReportListParams:
      type: object
      properties:
        includeAnnotations:
          type: boolean
        includeSpecificAnnotations:
          type: array
          items:
            type: string
        dynamicParams:
          type: object
          additionalProperties:
            type: object
        includeMetrics:
          type: boolean
        includeDemoAndTestAccounts:
          type: boolean
        pid:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        startsWith:
          type: string
        resultTotal:
          type: integer
          format: int32
        ignoreChecks:
          type: boolean
        sortFieldName:
          type: string
        integrationCode:
          type: string
        hasAnnotations:
          type: array
          items:
            type: string
        annotationSearchDefinitions:
          type: array
          items:
            $ref: '#/components/schemas/AnnotationSearchDefinition'
        defaultOrderByColumnPrefix:
          type: string
        sort:
          $ref: '#/components/schemas/SortDefinition'
        search:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        useMb4Collation:
          type: boolean
        reportType:
          type: string
          enum:
          - PAYABLES
          - RECEIVABLES
          - ALL
        limit:
          type: integer
          format: int32
        sorted:
          type: boolean
        restrictedToPartner:
          type: boolean
        pidSearch:
          type: boolean
        paginated:
          type: boolean
        integrationCodeSearch:
          type: boolean
        numPages:
          type: integer
          format: int32
        searchAsContains:
          type: string
        searchType:
          type: string
          enum:
          - SEARCH_PAGINATED
          - SEARCH_NOT_PAGINATED
          - ALL_PAGINATED
          - ALL_NOT_PAGINATED
        offset:
          type: integer
          format: int32
    SortDefinition:
      type: object
      properties:
        direction:
          type: string
          enum:
          - Ascending
          - Descending
        property:
          type: string
        nullsLast:
          type: boolean
        explicitOrderingSet:
          uniqueItems: true
          type: array
          items:
            type: object
        explicitOrdering:
          type: boolean
    PlanUsage:
      type: object
      properties:
        planId:
          minimum: 1
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        subscriberPid:
          type: integer
          format: int32
        impressions:
          minimum: 0
          type: integer
          format: int64
        impressionUpUID:
          type: integer
          format: int32
    PartnerSubscriptionRequest:
      type: object
      properties:
        subscribedPid:
          minimum: 1
          type: integer
          format: int32
        feedSubscriptionStatus:
          type: string
          enum:
          - ACTIVE
          - REVOKED
    DataFeedPlan:
      required:
      - billingCycle
      - billingUnit
      - price
      - useCase
      type: object
      properties:
        planId:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        description:
          maxLength: 255
          minLength: 0
          type: string
        useCase:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - SEGMENTS_AND_OVERLAP
            - AD_TARGETING
            - MODELING
            - PERSONALIZATION_AND_TESTING
            - FEED_EXPORT
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        billingCycle:
          type: string
          enum:
          - MONTHLY_IN_ARREARS
        billingUnit:
          type: string
          enum:
          - FIXED
          - CPM
        price:
          minimum: 0
          type: number
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
    DataSourceSummary:
      required:
      - name
      - status
      type: object
      properties:
        pid:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        integrationCode:
          type: string
        dataExportRestrictions:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - PII
            - OFFSITE_AD_TARGETING
            - ONSITE_AD_TARGETING
            - ONSITE_PERSONALIZATION
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        linkNamespace:
          type: boolean
        type:
          type: string
          enum:
          - GENERAL
          - MERGE_RULE
        dataSourceId:
          type: integer
          format: int32
    DataSource:
      required:
      - name
      - status
      type: object
      properties:
        type:
          type: string
          enum:
          - GENERAL
          - MERGE_RULE
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        description:
          maxLength: 255
          minLength: 0
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        updateTime:
          type: string
          format: date-time
        upUID:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        integrationCode:
          type: string
        dataExportRestrictions:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - PII
            - OFFSITE_AD_TARGETING
            - ONSITE_AD_TARGETING
            - ONSITE_PERSONALIZATION
        name:
          maxLength: 255
          minLength: 0
          type: string
        id:
          type: integer
          format: int32
        resourceType:
          type: string
          enum:
          - TRAIT
          - SEGMENT
          - DATASOURCE
          - DESTINATION
          - ALGO_MODEL
          - TRAIT_FOLDER
          - SEGMENT_FOLDER
        protectedResource:
          type: boolean
        dataSourceId:
          type: integer
          format: int32
      discriminator:
        propertyName: type
    GeneralDataSource:
      required:
      - authenticatedProfileName
      - deviceGraphName
      - name
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DataSource'
      - type: object
        properties:
          linkNamespace:
            type: boolean
          subIdType:
            type: string
          inboundS2S:
            type: boolean
          outboundS2S:
            type: boolean
          useAudienceManagerVisitorID:
            type: boolean
          allowDataSharing:
            type: boolean
          masterDataSourceIdProvider:
            type: boolean
          uniqueTraitIntegrationCodes:
            type: boolean
          uniqueSegmentIntegrationCodes:
            type: boolean
          marketingCloudVisitorIdVersion:
            maximum: 0
            minimum: 0
            type: integer
            format: int32
          idType:
            type: string
            enum:
            - COOKIE
            - MOBILE
            - CROSS_DEVICE
          samplingEndTime:
            type: integer
            format: int64
          allowDeviceGraphSharing:
            type: boolean
          supportsAuthenticatedProfile:
            type: boolean
          deviceGraph:
            type: boolean
          authenticatedProfileName:
            type: string
          deviceGraphName:
            type: string
          customNamespaceId:
            type: integer
            format: int32
          aepCustomNamespaceId:
            type: integer
            format: int32
          standardNamespaceId:
            type: integer
            format: int32
          customNamespaceCode:
            type: string
          aepCustomNamespaceCode:
            type: string
          standardNamespaceCode:
            type: string
          customerProfileDataRetention:
            maximum: 155520000
            minimum: 2592000
            type: integer
            format: int64
          samplingStartTime:
            type: integer
            format: int64
          containerIds:
            type: array
            items:
              type: integer
              format: int32
          samplingEnabled:
            type: boolean
    MergeRule:
      required:
      - authenticatedProfile
      - crossDeviceDataSourceIds
      - deviceProfile
      - name
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DataSource'
      - type: object
        properties:
          linkNamespace:
            type: boolean
          externalDeviceGraphDataSourceId:
            type: integer
            format: int32
          defaultRule:
            type: boolean
          authenticatedProfile:
            type: string
            enum:
            - NONE
            - CURRENT
            - LAST
            - ALL
            - SINGLE_IDENTITY
          deviceProfile:
            type: string
            enum:
            - NONE
            - CURRENT
            - BY_AUTHENTICATION
            - BY_DEVICE_GRAPH
          crossDeviceDataSourceIds:
            maxItems: 3
            minItems: 1
            uniqueItems: true
            type: array
            items:
              type: integer
              format: int32
    AbstractDestinationObject:
      required:
      - mappingAutoFiller
      - name
      type: object
      properties:
        pid:
          type: integer
          format: int32
        name:
          maxLength: 45
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        devicePlatform:
          type: string
          enum:
          - BROWSER
          - ANDROID
          - iOS
          - ALL
        maxMappings:
          minimum: 1
          type: integer
          format: int32
        mappingAutoFiller:
          type: string
          enum:
          - SID
          - IC
          - NONE
          - AUDIENCE_ID
        dataExportLabels:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - PII
            - ONSITE_AD_TARGETING
            - OFFSITE_AD_TARGETING
            - ONSITE_PERSONALIZATION
        marketingActions:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/MarketingAction'
        mapAllSegments:
          type: boolean
        destinationTemplateId:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        mappings:
          type: array
          items:
            type: object
        destinationId:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        destinationType:
          type: string
          enum:
          - PUSH
          - S2S
          - ADS
          - BULK
          - SERVER_RESPONSE
          - ANALYTICS
          - PEOPLE_BASED
          - RTCDP
      discriminator:
        propertyName: destinationType
    LinkInfo:
      type: object
      properties:
        href:
          type: string
        templated:
          type: boolean
    Links:
      type: object
      properties:
        self:
          $ref: '#/components/schemas/LinkInfo'
        next:
          $ref: '#/components/schemas/LinkInfo'
        page:
          $ref: '#/components/schemas/LinkInfo'
    MarketingAction:
      type: object
      properties:
        name:
          type: string
        friendlyName:
          type: string
        enforcementRef:
          type: string
        description:
          type: string
        createdClient:
          type: string
        createdUser:
          type: string
        created:
          type: string
          format: date-time
        updated:
          type: string
          format: date-time
        updatedClient:
          type: string
        updatedUser:
          type: string
        sandBoxId:
          type: string
        sandboxName:
          type: string
        imsOrg:
          type: string
        _links:
          $ref: '#/components/schemas/Links'
    RtcdpDestinationCreateRequest:
      required:
      - endDate
      - frequency
      - identityTypes
      - metadata
      - startDate
      type: object
      properties:
        metadata:
          $ref: '#/components/schemas/RtcdpDestinationMetadata'
        frequency:
          type: string
          enum:
          - FOUR_HOURS
          - EIGHT_HOURS
          - TWELVE_HOURS
          - TWENTYFOUR_HOURS
          - SEVEN_DAYS
          - THIRTY_DAYS
          - NEVER
          - TWO_DAYS
          - THREE_DAYS
          - FOUR_DAYS
          - FIVE_DAYS
          - SIX_DAYS
        identityTypes:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - DEMDEX_ID
            - GAID
            - IDFA
        mappings:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/RtcdpDestinationMapping'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    RtcdpDestinationMapping:
      required:
      - audienceId
      - sid
      type: object
      properties:
        sid:
          type: integer
          format: int32
        audienceId:
          type: string
    RtcdpDestinationMetadata:
      required:
      - collaboratorID
      - dataConnectionID
      - imsOrgID
      - region
      type: object
      properties:
        imsOrgID:
          type: string
        collaboratorID:
          type: string
        dataConnectionID:
          type: string
        region:
          type: string
    DestinationMapping:
      required:
      - startDate
      type: object
      properties:
        traitType:
          type: string
          enum:
          - UNDEFINED
          - RULE_BASED_TRAIT
          - SEGMENT
          - ON_BOARDED_TRAIT
          - ALGO_TRAIT
          - DATA_SOURCE_SYNC_TRAIT
          - COMPANY_ACTIVITY_TRAIT
          - TEST_SEGMENT
          - FOLDER_TRAIT
          - NON_ALGO_TRAIT
          - NON_SMART_PERSONA
          - NON_THIRD_PARTY
          - NON_ALGO
          - NON_PLATFORM
        traitValue:
          type: integer
          format: int32
        elementName:
          type: string
        elementDescription:
          type: string
        elementStatus:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        sid:
          type: integer
          format: int32
        testSegmentName:
          type: string
          writeOnly: true
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        priority:
          minimum: 0
          type: integer
          format: int32
        permissions:
          type: array
          items:
            type: string
        audienceMetadata:
          type: object
          additionalProperties:
            type: object
        destinationMappingId:
          type: integer
          format: int32
        destinationId:
          type: integer
          format: int32
        mappingStatus:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
    DestinationToTagsMapping:
      required:
      - tagType
      type: object
      properties:
        orderId:
          type: integer
          format: int32
        mappedIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        tagType:
          type: string
          enum:
          - REPORT_SUITE
          - CUSTOM
    AbstractDestination:
      required:
      - mappingAutoFiller
      - name
      type: object
      properties:
        pid:
          type: integer
          format: int32
        name:
          maxLength: 45
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        devicePlatform:
          type: string
          enum:
          - BROWSER
          - ANDROID
          - iOS
          - ALL
        maxMappings:
          minimum: 1
          type: integer
          format: int32
        mappingAutoFiller:
          type: string
          enum:
          - SID
          - IC
          - NONE
          - AUDIENCE_ID
        dataExportLabels:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - PII
            - ONSITE_AD_TARGETING
            - OFFSITE_AD_TARGETING
            - ONSITE_PERSONALIZATION
        marketingActions:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/MarketingAction'
        mapAllSegments:
          type: boolean
        destinationTemplateId:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        mappings:
          type: array
          items:
            $ref: '#/components/schemas/DestinationMapping'
        destinationId:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        destinationType:
          type: string
          enum:
          - PUSH
          - S2S
          - ADS
          - BULK
          - SERVER_RESPONSE
          - ANALYTICS
          - PEOPLE_BASED
          - RTCDP
      discriminator:
        propertyName: destinationType
    RtcdpDestinationUpdateRequest:
      required:
      - endDate
      - frequency
      - identityTypes
      - startDate
      type: object
      properties:
        frequency:
          type: string
          enum:
          - FOUR_HOURS
          - EIGHT_HOURS
          - TWELVE_HOURS
          - TWENTYFOUR_HOURS
          - SEVEN_DAYS
          - THIRTY_DAYS
          - NEVER
          - TWO_DAYS
          - THREE_DAYS
          - FOUR_DAYS
          - FIVE_DAYS
          - SIX_DAYS
        identityTypes:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - DEMDEX_ID
            - GAID
            - IDFA
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
    DestinationWithSegmentImpression:
      required:
      - destinationId
      type: object
      properties:
        destinationId:
          type: integer
          format: int32
        mappings:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/SegmentImpression'
    SegmentImpression:
      required:
      - sid
      type: object
      properties:
        impressions:
          minimum: 0
          type: integer
          format: int64
        periodEnd:
          type: string
          format: date-time
        upUID:
          type: integer
          format: int32
        updateTime:
          type: string
          format: date-time
        feedIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        sid:
          type: integer
          format: int32
    DestinationCredentials:
      type: object
      properties:
        destinationTemplateId:
          type: integer
          format: int32
        dcid:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        accountName:
          type: string
        adAccountId:
          type: string
        adAccountName:
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        irisPublishStatus:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        expirationTime:
          type: string
          format: date-time
        createTime:
          type: string
          format: date-time
        crUid:
          type: integer
          format: int32
        updateTime:
          type: string
          format: date-time
        upUid:
          type: integer
          format: int32
        emailNotificationList:
          type: array
          items:
            type: string
        credentialType:
          type: string
          enum:
          - ACCOUNT
          - PLATFORM
        accessToken:
          type: string
          writeOnly: true
        refreshToken:
          type: string
          writeOnly: true
        tokenSecret:
          type: string
          writeOnly: true
    ForgotPasswordRequest:
      type: object
      properties:
        username:
          type: string
        email:
          type: string
    Group:
      required:
      - name
      type: object
      properties:
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        id:
          type: integer
          format: int32
        pid:
          minimum: 0
          type: integer
          format: int32
        wildcardPermissions:
          uniqueItems: true
          type: array
          items:
            type: string
        users:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
    PermissionControlledObject:
      type: object
      properties:
        objectType:
          type: string
          enum:
          - SEGMENT
          - TRAIT
          - DESTINATION
          - SIGNAL
          - DERIVED_SIGNALS
          - TAGS
          - REPORTS
          - MODELS
          - SEGMENT_TEST_GROUPS
        objectId:
          type: integer
          format: int32
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
    CountrySpecificIPObfuscation:
      required:
      - ipObfuscatedCountries
      type: object
      allOf:
      - $ref: '#/components/schemas/IPObfuscationConfiguration'
      - type: object
        properties:
          ipObfuscatedCountries:
            uniqueItems: true
            type: array
            items:
              type: string
    GlobalIPObfuscation:
      type: object
      allOf:
      - $ref: '#/components/schemas/IPObfuscationConfiguration'
    IPObfuscationConfiguration:
      required:
      - type
      type: object
      properties:
        type:
          type: string
      discriminator:
        propertyName: type
    NoIPObfuscation:
      type: object
      allOf:
      - $ref: '#/components/schemas/IPObfuscationConfiguration'
    PartnerSite:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        siteId:
          type: integer
          format: int32
        url:
          type: string
    PixelType:
      type: object
      properties:
        pixelType:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
    ProfileResponse:
      type: object
      properties:
        traits:
          type: array
          items:
            $ref: '#/components/schemas/TraitSummary'
        segments:
          type: array
          items:
            $ref: '#/components/schemas/Segment'
    Segment:
      required:
      - name
      - segmentRule
      - status
      type: object
      properties:
        pid:
          type: integer
          format: int32
        sid:
          type: integer
          format: int32
        mergeRuleDataSourceId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        integrationCode:
          maxLength: 255
          minLength: 0
          type: string
        segmentRule:
          type: string
        segmentRuleVersion:
          type: integer
          format: int32
        folderId:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        cSegId:
          type: integer
          format: int32
          writeOnly: true
        legacyId:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
    TraitSummary:
      required:
      - name
      - status
      type: object
      properties:
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        sid:
          type: integer
          format: int32
        traitType:
          type: string
          enum:
          - UNDEFINED
          - RULE_BASED_TRAIT
          - SEGMENT
          - ON_BOARDED_TRAIT
          - ALGO_TRAIT
          - DATA_SOURCE_SYNC_TRAIT
          - COMPANY_ACTIVITY_TRAIT
          - TEST_SEGMENT
          - FOLDER_TRAIT
          - NON_ALGO_TRAIT
          - NON_SMART_PERSONA
          - NON_THIRD_PARTY
          - NON_ALGO
          - NON_PLATFORM
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        url:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        pid:
          type: integer
          format: int32
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        integrationCode:
          type: string
        metadata:
          type: object
          additionalProperties:
            type: object
          writeOnly: true
        protectedResource:
          type: boolean
        dataSourceId:
          type: integer
          format: int32
        categoryId:
          type: integer
          format: int32
        folderId:
          type: integer
          format: int32
    SegmentTestGroupDateReportRequest:
      type: object
      properties:
        segmentTestGroupReportMetricType:
          type: string
        conversionSid:
          type: integer
          format: int32
        date:
          type: integer
          format: int64
        interval:
          type: string
    SegmentTestGroupTrendReportRequest:
      type: object
      properties:
        segmentTestGroupReportMetricType:
          type: string
        conversionSid:
          type: integer
          format: int32
        startDate:
          type: integer
          format: int64
        endDate:
          type: integer
          format: int64
    SegmentDateReportRequest:
      type: object
      properties:
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        sids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        includeFolderIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        sortBy:
          type: string
        descending:
          type: boolean
        traitMetricsTypes:
          type: array
          items:
            type: string
            enum:
            - CROSS_DEVICE
            - DEVICE
        intervals:
          type: array
          items:
            type: string
        date:
          type: string
          format: date-time
        includeDestinationMappings:
          type: boolean
        includeDestinationIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        traitMetricsType:
          type: string
          writeOnly: true
          enum:
          - CROSS_DEVICE
          - DEVICE
    SegmentTrendReportRequest:
      type: object
      properties:
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        sids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        includeFolderIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        sortBy:
          type: string
        descending:
          type: boolean
        traitMetricsTypes:
          type: array
          items:
            type: string
            enum:
            - CROSS_DEVICE
            - DEVICE
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        interval:
          type: string
          enum:
          - ONE_DAY
          - SEVEN_DAYS
          - FOURTEEN_DAYS
          - THIRTY_DAYS
          - SIXTY_DAYS
          - NINETY_DAYS
          - LIFETIME
        includeDestinationIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        traitMetricsType:
          type: string
          writeOnly: true
          enum:
          - CROSS_DEVICE
          - DEVICE
    TraitDateReportRequest:
      type: object
      properties:
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        sids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        includeFolderIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        sortBy:
          type: string
        descending:
          type: boolean
        traitMetricsTypes:
          type: array
          items:
            type: string
            enum:
            - CROSS_DEVICE
            - DEVICE
        intervals:
          type: array
          items:
            type: string
        date:
          type: string
          format: date-time
        usePartnerLevelOverlap:
          type: boolean
        traitMetricsType:
          type: string
          writeOnly: true
          enum:
          - CROSS_DEVICE
          - DEVICE
    TraitTrendReportRequest:
      type: object
      properties:
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        sids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        includeFolderIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        sortBy:
          type: string
        descending:
          type: boolean
        traitMetricsTypes:
          type: array
          items:
            type: string
            enum:
            - CROSS_DEVICE
            - DEVICE
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        interval:
          type: string
          enum:
          - ONE_DAY
          - SEVEN_DAYS
          - FOURTEEN_DAYS
          - THIRTY_DAYS
          - SIXTY_DAYS
          - NINETY_DAYS
          - LIFETIME
        usePartnerLevelOverlap:
          type: boolean
        traitMetricsType:
          type: string
          writeOnly: true
          enum:
          - CROSS_DEVICE
          - DEVICE
    SegmentFolder:
      required:
      - name
      type: object
      properties:
        path:
          type: string
        pid:
          type: integer
          format: int32
        folderId:
          type: integer
          format: int32
        name:
          type: string
        parentFolderId:
          type: integer
          format: int32
        folderCount:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        subFolders:
          type: array
          items:
            $ref: '#/components/schemas/SegmentFolder'
        pathRecursively:
          type: string
          writeOnly: true
    ReplaceMergeRuleRequest:
      type: object
      properties:
        existingMergeRuleDataSourceId:
          type: integer
          format: int32
        replaceWithMergeRuleDataSourceId:
          type: integer
          format: int32
    SegmentWithTraitRule:
      required:
      - name
      - segmentRule
      - status
      - traitRule
      - traitType
      type: object
      properties:
        pid:
          type: integer
          format: int32
        sid:
          type: integer
          format: int32
        mergeRuleDataSourceId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        integrationCode:
          maxLength: 255
          minLength: 0
          type: string
        segmentRule:
          type: string
        segmentRuleVersion:
          type: integer
          format: int32
        folderId:
          type: integer
          format: int32
        protectedResource:
          type: boolean
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        traitRule:
          type: string
        traitFolderId:
          type: integer
          format: int32
        traitType:
          type: string
          enum:
          - UNDEFINED
          - RULE_BASED_TRAIT
          - SEGMENT
          - ON_BOARDED_TRAIT
          - ALGO_TRAIT
          - DATA_SOURCE_SYNC_TRAIT
          - COMPANY_ACTIVITY_TRAIT
          - TEST_SEGMENT
          - FOLDER_TRAIT
          - NON_ALGO_TRAIT
          - NON_SMART_PERSONA
          - NON_THIRD_PARTY
          - NON_ALGO
          - NON_PLATFORM
        cSegId:
          type: integer
          format: int32
          writeOnly: true
        legacyId:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
    SegmentExpression:
      type: object
      properties:
        rule:
          type: string
        includeTraitMetrics:
          type: boolean
    SignalEvaluateParams:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        search:
          maxLength: 4095
          minLength: 0
          type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        source:
          $ref: '#/components/schemas/Source'
    Source:
      type: object
      properties:
        dataSourceIds:
          type: array
          items:
            type: integer
            format: int32
        reportSuiteIds:
          type: array
          items:
            type: string
        sourceType:
          type: string
          enum:
          - ANALYTICS
          - REALTIME
          - ONBOARDED
          - ALF
          - UNKNOWN
    SignalListParams:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        search:
          maxLength: 4095
          minLength: 0
          type: string
        source:
          $ref: '#/components/schemas/Source'
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        signalStatus:
          type: string
          enum:
          - USED
          - UNUSED
        minEventFires:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        sortBy:
          type: string
        descending:
          type: boolean
        filterNewSignals:
          type: boolean
        includeSourceName:
          type: boolean
    SmartPersonaStatus:
      type: object
      properties:
        dateThru:
          type: string
          format: date-time
        runStatus:
          type: string
          enum:
          - UNPROCESSED
          - SUCCEEDED
          - SUCCEEDED_NO_COUNTS
          - SUCCEEDED_NO_MINHASH
          - SUCCEEDED_NO_DATA
    SmartPersonasModel:
      required:
      - name
      - personaSids
      type: object
      properties:
        smartPersonasModelId:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        audienceSid:
          type: integer
          format: int32
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        personaSids:
          maxItems: 50
          minItems: 2
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        smartPersonaSids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        dataSourceId:
          type: integer
          format: int32
        personaSIDToSmartPersonaSID:
          type: object
          additionalProperties:
            type: integer
            format: int32
        smartSegmentSIDToRunStatus:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SmartPersonaStatus'
        mergeRuleDataSourceId:
          type: integer
          format: int32
        accuracy:
          type: number
          format: double
        runStatus:
          type: string
          enum:
          - UNPROCESSED
          - FAILED
          - SUCCEEDED
          - SUCCEEDED_NO_WEIGHTS
          - SUCCEEDED_NO_DATA
        dateThru:
          type: string
          format: date-time
    PortalReportFolder:
      required:
      - status
      type: object
      properties:
        portalReportFolderId:
          type: integer
          format: int32
        name:
          type: string
        description:
          type: string
        dispOrder:
          type: integer
          format: int32
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        enabledByDefault:
          type: boolean
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
    TableauReport:
      required:
      - crUID
      - description
      - htmlCode
      - name
      - portalReportId
      - status
      - upUID
      type: object
      properties:
        portalReportId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 2000
          minLength: 0
          type: string
        htmlCode:
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        portalReportFolder:
          $ref: '#/components/schemas/PortalReportFolder'
        partners:
          type: array
          items:
            type: integer
            format: int32
    TableauReportUser:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        partnerName:
          type: string
        uid:
          type: integer
          format: int32
        portalUserName:
          type: string
        tableauUserName:
          maxLength: 255
          minLength: 0
          type: string
    TagContainer:
      required:
      - description
      - name
      type: object
      properties:
        pid:
          type: integer
          format: int32
        containerId:
          type: integer
          format: int32
        name:
          type: string
        nameSpace:
          type: string
        description:
          type: string
        tagCount:
          type: integer
          format: int32
        statusCode:
          maximum: 4
          minimum: 0
          type: integer
          format: int32
        jsName:
          type: string
        templateId:
          type: integer
          format: int32
        containerCode:
          type: string
        nsId:
          type: integer
          format: int32
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        subDomain:
          type: string
        path:
          type: string
        new:
          type: boolean
    PartnerTraitFolder:
      required:
      - name
      type: object
      properties:
        folderId:
          type: integer
          format: int32
        pid:
          type: integer
          format: int32
        path:
          type: string
        parentFolderId:
          type: integer
          format: int32
        folderCount:
          type: integer
          format: int32
        subFolders:
          type: array
          items:
            $ref: '#/components/schemas/PartnerTraitFolder'
        protectedResource:
          type: boolean
        pathRecursively:
          type: string
          writeOnly: true
        dataSourceId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
    TraitRuleDerivedSignal:
      required:
      - sourceKey
      - sourceValue
      - targetKey
      - targetValue
      type: object
      properties:
        pid:
          type: integer
          description: "The partner ID that the derived signal belongs to. See [Index\
            \ of IDs in Audience Manager](https://experiencecloud.adobe.com/resources/help/en_US/aam/ids-in-aam.html)."
          format: int32
          example: 1234
        integrationCode:
          maxLength: 255
          minLength: 0
          type: string
          description: "A customer-defined, alternate field you can use for the derived\
            \ signal. For example, you can use this field as a label or as a description\
            \ field for the derived signal."
          example: ic_123456
        sourceKey:
          maxLength: 228
          minLength: 0
          type: string
          description: The key in the key-value pair based off which you are creating
            the derived signal.
          example: h_referer
        sourceValue:
          maxLength: 228
          minLength: 0
          type: string
          description: The value in the key-value pair based off which you are creating
            the derived signal.
          example: https://www.adobe.com/products/photoshop.html
        targetKey:
          maxLength: 228
          minLength: 0
          type: string
          description: The key for the derived signal that you are creating based
            off the source key-value pair. 'targetKey' can be the same as `sourceKey`.
          example: c_product
        targetValue:
          maxLength: 228
          minLength: 0
          type: string
          description: "The value for the derived signal that you are creating based\
            \ off the source key-value pair. In our example, when a user action fires\
            \ the signal `h_referer = https://www.adobe.com/products/photoshop.html`,\
            \ that user can also qualify for traits defined by the signal `c_product\
            \ = photoshop`."
          example: photoshop
        createTime:
          type: integer
          description: A UNIX UTC timestamp for the time your derived signal was created.
          format: int64
          example: 1557851954000
        updateTime:
          type: integer
          description: A UNIX UTC timestamp for the time your derived signal was updated.
          format: int64
          example: 1557851954000
        crUID:
          type: integer
          description: The ID of the user who created the derived signal.
          format: int32
          example: 321
        upUID:
          type: integer
          description: The ID of the user who updated the derived signal.
          format: int32
          example: 321
        version:
          type: integer
          description: Indicates the version of the derived signal. The version number
            is incremented by 1 with each update to the derived signal.
          format: int32
          example: 1
        derivedSignalId:
          type: integer
          description: The ID of your derived signal.
          format: int32
          example: 1
    TraitRuleDerivedSignalRequest:
      required:
      - sourceKey
      - sourceValue
      - targetKey
      - targetValue
      type: object
      properties:
        integrationCode:
          maxLength: 255
          minLength: 0
          type: string
          description: "A customer-defined, alternate field you can use for the derived\
            \ signal. For example, you can use this field as a label or as a description\
            \ field for the derived signal."
          example: ic_123456
        sourceKey:
          maxLength: 228
          minLength: 0
          type: string
          description: The key in the key-value pair based off which you are creating
            the derived signal.
          example: h_referer
        sourceValue:
          maxLength: 228
          minLength: 0
          type: string
          description: The value in the key-value pair based off which you are creating
            the derived signal.
          example: https://www.adobe.com/products/photoshop.html
        targetKey:
          maxLength: 228
          minLength: 0
          type: string
          description: The key for the derived signal that you are creating based
            off the source key-value pair. 'targetKey' can be the same as `sourceKey`.
          example: c_product
        targetValue:
          maxLength: 228
          minLength: 0
          type: string
          description: "The value for the derived signal that you are creating based\
            \ off the source key-value pair. In our example, when a user action fires\
            \ the signal `h_referer = https://www.adobe.com/products/photoshop.html`,\
            \ that user can also qualify for traits defined by the signal `c_product\
            \ = photoshop`."
          example: photoshop
        derivedSignalId:
          type: integer
          description: The ID of your derived signal.
          format: int32
          example: 1
    DerivedSignalLimits:
      type: object
      properties:
        maxDerivedSignals:
          type: integer
          format: int32
    Trait:
      required:
      - name
      type: object
      properties:
        sid:
          type: integer
          format: int32
        traitType:
          type: string
          enum:
          - UNDEFINED
          - RULE_BASED_TRAIT
          - SEGMENT
          - ON_BOARDED_TRAIT
          - ALGO_TRAIT
          - DATA_SOURCE_SYNC_TRAIT
          - COMPANY_ACTIVITY_TRAIT
          - TEST_SEGMENT
          - FOLDER_TRAIT
          - NON_ALGO_TRAIT
          - NON_SMART_PERSONA
          - NON_THIRD_PARTY
          - NON_ALGO
          - NON_PLATFORM
        integrationCode:
          type: string
        id:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        pid:
          type: integer
          format: int32
        resourceType:
          type: string
          enum:
          - TRAIT
          - SEGMENT
          - DATASOURCE
          - DESTINATION
          - ALGO_MODEL
          - TRAIT_FOLDER
          - SEGMENT_FOLDER
        protectedResource:
          type: boolean
        dataSourceId:
          type: integer
          format: int32
        categoryId:
          type: integer
          format: int32
        folderId:
          type: integer
          format: int32
      discriminator:
        propertyName: traitType
    TraitListParams:
      type: object
      properties:
        includeAnnotations:
          type: boolean
        includeSpecificAnnotations:
          type: array
          items:
            type: string
        dynamicParams:
          type: object
          additionalProperties:
            type: object
        includeMetrics:
          type: boolean
        includeDemoAndTestAccounts:
          type: boolean
        pid:
          type: integer
          format: int32
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        startsWith:
          type: string
        resultTotal:
          type: integer
          format: int32
        ignoreChecks:
          type: boolean
        sortFieldName:
          type: string
        integrationCode:
          type: string
        hasAnnotations:
          type: array
          items:
            type: string
        annotationSearchDefinitions:
          type: array
          items:
            $ref: '#/components/schemas/AnnotationSearchDefinition'
        defaultOrderByColumnPrefix:
          type: string
        sort:
          $ref: '#/components/schemas/SortDefinition'
        search:
          type: string
        permissions:
          type: array
          items:
            $ref: '#/components/schemas/Permission'
        useMb4Collation:
          type: boolean
        excludeRule:
          type: boolean
        pixelType:
          type: integer
          format: int32
        excludeURL:
          type: boolean
        restrictTypes:
          type: array
          items:
            type: string
            enum:
            - UNDEFINED
            - RULE_BASED_TRAIT
            - SEGMENT
            - ON_BOARDED_TRAIT
            - ALGO_TRAIT
            - DATA_SOURCE_SYNC_TRAIT
            - COMPANY_ACTIVITY_TRAIT
            - TEST_SEGMENT
            - FOLDER_TRAIT
            - NON_ALGO_TRAIT
            - NON_SMART_PERSONA
            - NON_THIRD_PARTY
            - NON_ALGO
            - NON_PLATFORM
        includePermissions:
          type: boolean
        readableDataProviderIds:
          type: array
          items:
            type: integer
            format: int32
        excludeDataSourceIds:
          type: array
          items:
            type: integer
            format: int32
        sids:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        algoModelId:
          type: integer
          format: int32
        lastRunTS:
          type: integer
          format: int64
        folderIds:
          uniqueItems: true
          type: array
          items:
            type: integer
            format: int32
        usesModel:
          type: integer
          format: int32
        categoryId:
          type: integer
          format: int32
        filterAutoTraitsNotFromPID:
          type: integer
          format: int32
        includeThirdPartyPixelId:
          type: boolean
        rule:
          type: string
        includeTraitsForAvailableFeed:
          type: boolean
        includeDetails:
          type: boolean
        backfillStatus:
          type: string
          enum:
          - NONE
          - PENDING
          - EXPORTED
          - FAILED
        includeSegmentTestGroupIds:
          type: boolean
        includeExprTree:
          type: boolean
        currentMonthTraitsWithBackfillOnly:
          type: boolean
        excludeSmartPersona:
          type: boolean
        excludeThirdParty:
          type: boolean
        excludeAlgo:
          type: boolean
        excludePlatform:
          type: boolean
        traitMetricsTypes:
          type: array
          items:
            type: string
            enum:
            - CROSS_DEVICE
            - DEVICE
        restrictType:
          type: boolean
        sidsSearch:
          type: boolean
        folderSearch:
          type: boolean
        modelLimited:
          type: boolean
        sortByMetrics:
          type: boolean
        readableDataProvidersSet:
          type: boolean
        setPixelType:
          type: boolean
        ruleSearch:
          type: boolean
        backfillStatusSearch:
          type: boolean
        categorySearch:
          type: boolean
        restrictTypeCode:
          type: array
          items:
            type: integer
            format: int32
        limit:
          type: integer
          format: int32
        sorted:
          type: boolean
        restrictedToPartner:
          type: boolean
        pidSearch:
          type: boolean
        paginated:
          type: boolean
        integrationCodeSearch:
          type: boolean
        numPages:
          type: integer
          format: int32
        searchAsContains:
          type: string
        searchType:
          type: string
          enum:
          - SEARCH_PAGINATED
          - SEARCH_NOT_PAGINATED
          - ALL_PAGINATED
          - ALL_NOT_PAGINATED
        offset:
          type: integer
          format: int32
    TestRule:
      type: object
      properties:
        code:
          type: string
        url:
          type: string
        header:
          type: string
    ValidateRule:
      type: object
      properties:
        code:
          type: string
    NamespaceRequest:
      type: object
      properties:
        dataSourceIds:
          type: array
          items:
            type: integer
            format: int32
    PasswordChangeRequest:
      type: object
      properties:
        oldPassword:
          type: string
        newPassword:
          type: string
    DataSourceMapping:
      required:
      - overlapLevel
      type: object
      properties:
        pid:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        overlapLevel:
          type: string
          enum:
          - PARTNER
          - PLATFORM
        modelingEnabled:
          type: boolean
        feedSubscriptionStatus:
          type: string
          enum:
          - ACTIVE
          - REVOKED
        dataUseEnable:
          type: boolean
        pidOwnDpid:
          type: boolean
    DemdexIdsExportConfigRequest:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/Item'
    Item:
      required:
      - imsOrgId
      type: object
      properties:
        imsOrgId:
          type: string
    DestinationFormat:
      required:
      - name
      - status
      type: object
      properties:
        type:
          type: string
          enum:
          - FILE
          - HTTP
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        createTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        updateTime:
          type: string
          format: date-time
        upUID:
          type: integer
          format: int32
        formatId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
      discriminator:
        propertyName: type
    FileFormat:
      required:
      - dataRow
      - filename
      - name
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationFormat'
      - type: object
        properties:
          filename:
            maxLength: 255
            minLength: 0
            type: string
          header:
            maxLength: 4095
            minLength: 0
            type: string
          dataRow:
            maxLength: 4095
            minLength: 0
            type: string
          maxFileSizeMB:
            minimum: 0
            type: integer
            format: int32
          compression:
            type: string
            enum:
            - GZ
            - ZIP
            - NONE
          infoReceipt:
            type: boolean
          md5Receipt:
            type: boolean
    HttpFormat:
      required:
      - httpMethod
      - name
      - queryParameters
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationFormat'
      - type: object
        properties:
          requestBody:
            maxLength: 4095
            minLength: 0
            type: string
          queryParameters:
            maxLength: 255
            minLength: 0
            type: string
          httpMethod:
            type: string
            enum:
            - GET
            - POST
            - DELETE
            - PATCH
          header:
            maxLength: 4095
            minLength: 0
            type: string
          contentType:
            type: string
            enum:
            - JSON
            - XML
            - FORM_URLENCODED
    DestinationServer:
      required:
      - name
      - status
      type: object
      properties:
        protocol:
          type: string
          enum:
          - FTP
          - HTTP
          - S3
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
        credentialType:
          type: string
          enum:
          - LOGIN
          - SSH
          - S3
          - NONE
        destinationServerId:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        updateTime:
          type: string
          format: date-time
        upUID:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
      discriminator:
        propertyName: protocol
    FTPServer:
      required:
      - hostname
      - name
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServer'
      - type: object
        properties:
          credentialType:
            type: string
            writeOnly: true
            enum:
            - LOGIN
            - SSH
            - S3
            - NONE
          hostname:
            type: string
          path:
            type: string
          moveToWhenCompleted:
            type: string
          tmpFileRename:
            type: boolean
          filenameSuffix:
            type: string
          encryptionMode:
            type: string
            enum:
            - FTPTLS
            - SFTP
          port:
            minimum: 1
            type: integer
            format: int32
    HTTPServer:
      required:
      - hostname
      - maxUsersPerRequest
      - name
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServer'
      - type: object
        properties:
          credentialType:
            type: string
            writeOnly: true
            enum:
            - LOGIN
            - SSH
            - S3
            - NONE
          hostname:
            type: string
          port:
            minimum: 1
            type: integer
            format: int32
          maxUsersPerRequest:
            maximum: 255
            minimum: 1
            type: integer
            format: int32
          urlPrefix:
            maxLength: 255
            minLength: 0
            type: string
          authenticationUrl:
            maxLength: 255
            minLength: 0
            type: string
          signature:
            $ref: '#/components/schemas/Signature'
    S3Server:
      required:
      - name
      - s3Account
      - s3Bucket
      - status
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServer'
      - type: object
        properties:
          credentialType:
            type: string
            writeOnly: true
            enum:
            - LOGIN
            - SSH
            - S3
            - NONE
          s3Account:
            maxLength: 255
            minLength: 0
            type: string
          s3Bucket:
            maxLength: 255
            minLength: 0
            type: string
          directory:
            type: string
    Signature:
      required:
      - encryptionMethod
      - header
      type: object
      properties:
        signingKey:
          type: string
          writeOnly: true
        header:
          type: string
        encryptionMethod:
          type: string
          enum:
          - MD5
          - SHA1
          - SHA256
    DestinationServerCredentials:
      required:
      - type
      type: object
      properties:
        type:
          type: string
          enum:
          - LOGIN
          - SSH
          - S3
          - NONE
      discriminator:
        propertyName: type
    ServerCredentialsLogin:
      required:
      - type
      - username
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServerCredentials'
      - type: object
        properties:
          username:
            maxLength: 255
            minLength: 0
            type: string
          password:
            type: string
            writeOnly: true
    ServerCredentialsNone:
      required:
      - type
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServerCredentials'
    ServerCredentialsS3:
      required:
      - accessKey
      - type
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServerCredentials'
      - type: object
        properties:
          accessKey:
            maxLength: 255
            minLength: 0
            type: string
          secretKey:
            type: string
            writeOnly: true
          internalKey:
            type: boolean
    ServerCredentialsSSH:
      required:
      - type
      - username
      type: object
      allOf:
      - $ref: '#/components/schemas/DestinationServerCredentials'
      - type: object
        properties:
          username:
            maxLength: 45
            minLength: 0
            type: string
          sshKey:
            type: string
            writeOnly: true
    ContentDisposition:
      type: object
      properties:
        type:
          type: string
        name:
          type: string
        filename:
          type: string
        charset:
          type: object
          properties:
            registered:
              type: boolean
        size:
          type: integer
          format: int64
        creationDate:
          type: string
          format: date-time
        modificationDate:
          type: string
          format: date-time
        readDate:
          type: string
          format: date-time
        inline:
          type: boolean
        formData:
          type: boolean
        attachment:
          type: boolean
    HttpHeaders:
      type: object
      properties:
        acceptCharset:
          type: array
          items:
            type: object
            properties:
              registered:
                type: boolean
        connection:
          type: array
          items:
            type: string
        contentLength:
          type: integer
          format: int64
        lastModified:
          type: integer
          format: int64
        contentType:
          $ref: '#/components/schemas/MediaType'
        date:
          type: integer
          format: int64
        ifModifiedSince:
          type: integer
          format: int64
        origin:
          type: string
        host:
          type: object
          properties:
            hostString:
              type: string
            address:
              type: object
              properties:
                canonicalHostName:
                  type: string
                multicastAddress:
                  type: boolean
                anyLocalAddress:
                  type: boolean
                loopbackAddress:
                  type: boolean
                linkLocalAddress:
                  type: boolean
                siteLocalAddress:
                  type: boolean
                mcglobal:
                  type: boolean
                mcnodeLocal:
                  type: boolean
                mclinkLocal:
                  type: boolean
                mcsiteLocal:
                  type: boolean
                mcorgLocal:
                  type: boolean
                address:
                  type: array
                  items:
                    type: string
                    format: byte
                hostAddress:
                  type: string
                hostName:
                  type: string
            port:
              type: integer
              format: int32
            unresolved:
              type: boolean
            hostName:
              type: string
        location:
          type: string
          format: uri
        range:
          type: array
          items:
            $ref: '#/components/schemas/HttpRange'
        allow:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - GET
            - HEAD
            - POST
            - PUT
            - PATCH
            - DELETE
            - OPTIONS
            - TRACE
        contentLanguage:
          type: object
          properties:
            language:
              type: string
            script:
              type: string
            country:
              type: string
            variant:
              type: string
            extensionKeys:
              uniqueItems: true
              type: array
              items:
                type: string
            unicodeLocaleAttributes:
              uniqueItems: true
              type: array
              items:
                type: string
            unicodeLocaleKeys:
              uniqueItems: true
              type: array
              items:
                type: string
            iso3Language:
              type: string
            iso3Country:
              type: string
            displayLanguage:
              type: string
            displayScript:
              type: string
            displayCountry:
              type: string
            displayVariant:
              type: string
            displayName:
              type: string
        ifUnmodifiedSince:
          type: integer
          format: int64
        cacheControl:
          type: string
        accept:
          type: array
          items:
            $ref: '#/components/schemas/MediaType'
        acceptPatch:
          type: array
          items:
            $ref: '#/components/schemas/MediaType'
        accessControlAllowCredentials:
          type: boolean
        accessControlAllowHeaders:
          type: array
          items:
            type: string
        accessControlAllowMethods:
          type: array
          items:
            type: string
            enum:
            - GET
            - HEAD
            - POST
            - PUT
            - PATCH
            - DELETE
            - OPTIONS
            - TRACE
        accessControlAllowOrigin:
          type: string
        accessControlExposeHeaders:
          type: array
          items:
            type: string
        accessControlMaxAge:
          type: integer
          format: int64
        accessControlRequestHeaders:
          type: array
          items:
            type: string
        accessControlRequestMethod:
          type: string
          enum:
          - GET
          - HEAD
          - POST
          - PUT
          - PATCH
          - DELETE
          - OPTIONS
          - TRACE
        basicAuth:
          type: string
          writeOnly: true
        bearerAuth:
          type: string
          writeOnly: true
        contentDisposition:
          $ref: '#/components/schemas/ContentDisposition'
        etag:
          type: string
        pragma:
          type: string
        upgrade:
          type: string
        vary:
          type: array
          items:
            type: string
        acceptLanguage:
          type: array
          items:
            type: object
            properties:
              range:
                type: string
              weight:
                type: number
                format: double
        acceptLanguageAsLocales:
          type: array
          items:
            type: object
            properties:
              language:
                type: string
              script:
                type: string
              country:
                type: string
              variant:
                type: string
              extensionKeys:
                uniqueItems: true
                type: array
                items:
                  type: string
              unicodeLocaleAttributes:
                uniqueItems: true
                type: array
                items:
                  type: string
              unicodeLocaleKeys:
                uniqueItems: true
                type: array
                items:
                  type: string
              iso3Language:
                type: string
              iso3Country:
                type: string
              displayLanguage:
                type: string
              displayScript:
                type: string
              displayCountry:
                type: string
              displayVariant:
                type: string
              displayName:
                type: string
        ifNoneMatch:
          type: array
          items:
            type: string
        ifMatch:
          type: array
          items:
            type: string
        expires:
          type: integer
          format: int64
        empty:
          type: boolean
        all:
          type: object
          additionalProperties:
            type: string
          writeOnly: true
      additionalProperties:
        type: array
        items:
          type: string
    HttpRange:
      type: object
    MediaType:
      type: object
      properties:
        type:
          type: string
        subtype:
          type: string
        parameters:
          type: object
          additionalProperties:
            type: string
        qualityValue:
          type: number
          format: double
        wildcardType:
          type: boolean
        wildcardSubtype:
          type: boolean
        subtypeSuffix:
          type: string
        charset:
          type: object
          properties:
            registered:
              type: boolean
        concrete:
          type: boolean
    ResponseEntityObject:
      type: object
      properties:
        headers:
          type: object
          properties:
            acceptCharset:
              type: array
              items:
                type: object
                properties:
                  registered:
                    type: boolean
            connection:
              type: array
              items:
                type: string
            contentLength:
              type: integer
              format: int64
            lastModified:
              type: integer
              format: int64
            contentType:
              $ref: '#/components/schemas/MediaType'
            date:
              type: integer
              format: int64
            ifModifiedSince:
              type: integer
              format: int64
            origin:
              type: string
            host:
              type: object
              properties:
                hostString:
                  type: string
                address:
                  type: object
                  properties:
                    canonicalHostName:
                      type: string
                    multicastAddress:
                      type: boolean
                    anyLocalAddress:
                      type: boolean
                    loopbackAddress:
                      type: boolean
                    linkLocalAddress:
                      type: boolean
                    siteLocalAddress:
                      type: boolean
                    mcglobal:
                      type: boolean
                    mcnodeLocal:
                      type: boolean
                    mclinkLocal:
                      type: boolean
                    mcsiteLocal:
                      type: boolean
                    mcorgLocal:
                      type: boolean
                    address:
                      type: array
                      items:
                        type: string
                        format: byte
                    hostAddress:
                      type: string
                    hostName:
                      type: string
                port:
                  type: integer
                  format: int32
                unresolved:
                  type: boolean
                hostName:
                  type: string
            location:
              type: string
              format: uri
            range:
              type: array
              items:
                $ref: '#/components/schemas/HttpRange'
            allow:
              uniqueItems: true
              type: array
              items:
                type: string
                enum:
                - GET
                - HEAD
                - POST
                - PUT
                - PATCH
                - DELETE
                - OPTIONS
                - TRACE
            contentLanguage:
              type: object
              properties:
                language:
                  type: string
                script:
                  type: string
                country:
                  type: string
                variant:
                  type: string
                extensionKeys:
                  uniqueItems: true
                  type: array
                  items:
                    type: string
                unicodeLocaleAttributes:
                  uniqueItems: true
                  type: array
                  items:
                    type: string
                unicodeLocaleKeys:
                  uniqueItems: true
                  type: array
                  items:
                    type: string
                iso3Language:
                  type: string
                iso3Country:
                  type: string
                displayLanguage:
                  type: string
                displayScript:
                  type: string
                displayCountry:
                  type: string
                displayVariant:
                  type: string
                displayName:
                  type: string
            ifUnmodifiedSince:
              type: integer
              format: int64
            cacheControl:
              type: string
            accept:
              type: array
              items:
                $ref: '#/components/schemas/MediaType'
            acceptPatch:
              type: array
              items:
                $ref: '#/components/schemas/MediaType'
            accessControlAllowCredentials:
              type: boolean
            accessControlAllowHeaders:
              type: array
              items:
                type: string
            accessControlAllowMethods:
              type: array
              items:
                type: string
                enum:
                - GET
                - HEAD
                - POST
                - PUT
                - PATCH
                - DELETE
                - OPTIONS
                - TRACE
            accessControlAllowOrigin:
              type: string
            accessControlExposeHeaders:
              type: array
              items:
                type: string
            accessControlMaxAge:
              type: integer
              format: int64
            accessControlRequestHeaders:
              type: array
              items:
                type: string
            accessControlRequestMethod:
              type: string
              enum:
              - GET
              - HEAD
              - POST
              - PUT
              - PATCH
              - DELETE
              - OPTIONS
              - TRACE
            basicAuth:
              type: string
              writeOnly: true
            bearerAuth:
              type: string
              writeOnly: true
            contentDisposition:
              $ref: '#/components/schemas/ContentDisposition'
            etag:
              type: string
            pragma:
              type: string
            upgrade:
              type: string
            vary:
              type: array
              items:
                type: string
            acceptLanguage:
              type: array
              items:
                type: object
                properties:
                  range:
                    type: string
                  weight:
                    type: number
                    format: double
            acceptLanguageAsLocales:
              type: array
              items:
                type: object
                properties:
                  language:
                    type: string
                  script:
                    type: string
                  country:
                    type: string
                  variant:
                    type: string
                  extensionKeys:
                    uniqueItems: true
                    type: array
                    items:
                      type: string
                  unicodeLocaleAttributes:
                    uniqueItems: true
                    type: array
                    items:
                      type: string
                  unicodeLocaleKeys:
                    uniqueItems: true
                    type: array
                    items:
                      type: string
                  iso3Language:
                    type: string
                  iso3Country:
                    type: string
                  displayLanguage:
                    type: string
                  displayScript:
                    type: string
                  displayCountry:
                    type: string
                  displayVariant:
                    type: string
                  displayName:
                    type: string
            ifNoneMatch:
              type: array
              items:
                type: string
            ifMatch:
              type: array
              items:
                type: string
            expires:
              type: integer
              format: int64
            empty:
              type: boolean
            all:
              type: object
              additionalProperties:
                type: string
              writeOnly: true
          additionalProperties:
            type: array
            items:
              type: string
        body:
          type: object
        statusCode:
          type: string
          enum:
          - CONTINUE
          - SWITCHING_PROTOCOLS
          - PROCESSING
          - CHECKPOINT
          - OK
          - CREATED
          - ACCEPTED
          - NON_AUTHORITATIVE_INFORMATION
          - NO_CONTENT
          - RESET_CONTENT
          - PARTIAL_CONTENT
          - MULTI_STATUS
          - ALREADY_REPORTED
          - IM_USED
          - MULTIPLE_CHOICES
          - MOVED_PERMANENTLY
          - FOUND
          - MOVED_TEMPORARILY
          - SEE_OTHER
          - NOT_MODIFIED
          - USE_PROXY
          - TEMPORARY_REDIRECT
          - PERMANENT_REDIRECT
          - BAD_REQUEST
          - UNAUTHORIZED
          - PAYMENT_REQUIRED
          - FORBIDDEN
          - NOT_FOUND
          - METHOD_NOT_ALLOWED
          - NOT_ACCEPTABLE
          - PROXY_AUTHENTICATION_REQUIRED
          - REQUEST_TIMEOUT
          - CONFLICT
          - GONE
          - LENGTH_REQUIRED
          - PRECONDITION_FAILED
          - PAYLOAD_TOO_LARGE
          - REQUEST_ENTITY_TOO_LARGE
          - URI_TOO_LONG
          - REQUEST_URI_TOO_LONG
          - UNSUPPORTED_MEDIA_TYPE
          - REQUESTED_RANGE_NOT_SATISFIABLE
          - EXPECTATION_FAILED
          - I_AM_A_TEAPOT
          - INSUFFICIENT_SPACE_ON_RESOURCE
          - METHOD_FAILURE
          - DESTINATION_LOCKED
          - UNPROCESSABLE_ENTITY
          - LOCKED
          - FAILED_DEPENDENCY
          - TOO_EARLY
          - UPGRADE_REQUIRED
          - PRECONDITION_REQUIRED
          - TOO_MANY_REQUESTS
          - REQUEST_HEADER_FIELDS_TOO_LARGE
          - UNAVAILABLE_FOR_LEGAL_REASONS
          - INTERNAL_SERVER_ERROR
          - NOT_IMPLEMENTED
          - BAD_GATEWAY
          - SERVICE_UNAVAILABLE
          - GATEWAY_TIMEOUT
          - HTTP_VERSION_NOT_SUPPORTED
          - VARIANT_ALSO_NEGOTIATES
          - INSUFFICIENT_STORAGE
          - LOOP_DETECTED
          - BANDWIDTH_LIMIT_EXCEEDED
          - NOT_EXTENDED
          - NETWORK_AUTHENTICATION_REQUIRED
        statusCodeValue:
          type: integer
          format: int32
    OverrideFixedCost:
      type: object
      properties:
        dataSourceId:
          type: integer
          format: int32
        subscriberPid:
          type: integer
          format: int32
        useCases:
          type: string
        price:
          type: number
    OverrideImpression:
      type: object
      properties:
        dataSourceId:
          type: integer
          format: int32
        subscriberPid:
          type: integer
          format: int32
        useCases:
          type: string
        impressions:
          type: integer
          format: int64
    MiscVarTag:
      required:
      - dataSourceId
      - name
      - status
      - urlJson
      type: object
      properties:
        varTagId:
          type: integer
          format: int32
        name:
          maxLength: 255
          minLength: 0
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        tagCode:
          type: string
        secureTagCode:
          type: string
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        udUID:
          type: integer
          format: int32
        tagType:
          type: integer
          format: int32
        dataSourceId:
          type: integer
          format: int32
        ttl:
          type: integer
          format: int32
        tag:
          type: string
        urlJson:
          type: string
        callBackObj:
          type: string
        callBackFn:
          type: string
        callBackKey:
          type: string
        dpmTag:
          type: string
        dpmUrl:
          type: string
        fireUrlSync:
          type: boolean
        syncOnPage:
          type: boolean
        minVersion:
          type: string
        status:
          type: string
          enum:
          - UNDEFINED
          - ACTIVE
          - INACTIVE
          - DELETED
    OAuthClientDetails:
      required:
      - name
      - ownerEmail
      type: object
      properties:
        clientId:
          type: string
        clientSecret:
          type: string
        name:
          type: string
        pid:
          type: integer
          format: int32
        restrictAccessToPartner:
          type: boolean
        ownerEmail:
          type: string
        accessTokenValiditySeconds:
          type: integer
          format: int32
        refreshTokenValiditySeconds:
          type: integer
          format: int32
        grants:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - REFRESH_TOKEN
            - IMPLICIT
            - AUTHORIZATION_CODE
            - PASSWORD
            - CLIENT_CREDENTIALS
        scopes:
          uniqueItems: true
          type: array
          items:
            type: string
        authorities:
          type: array
          items:
            type: string
        redirectUri:
          uniqueItems: true
          type: array
          items:
            type: string
    Partner:
      required:
      - accountTypes
      - description
      - lifecycle
      - name
      - subdomain
      type: object
      properties:
        pid:
          type: integer
          format: int32
        name:
          type: string
        description:
          maxLength: 255
          minLength: 0
          type: string
        subdomain:
          type: string
        imsOrgId:
          maxLength: 64
          minLength: 0
          type: string
        iabVendorId:
          type: integer
          format: int32
        lifecycle:
          type: string
          enum:
          - ACTIVE
          - PROSPECT
          - DEMO
          - TEST
          - SUSPENDED
          - DEPROVISIONED
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        startDateToDelete:
          type: string
          format: date-time
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        status:
          type: string
          enum:
          - ACTIVE
          - CLOSED
          - SUSPENDED
        accountTypes:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - FULL_AAM
            - MMP
            - DATA_PROVIDER
            - TARGETING_PARTNER
            - VISITOR_ID_SERVICE
            - AGENCY
            - DEVICE_GRAPH_PROVIDER
        orderManagementEndUserId:
          type: integer
          format: int32
        audienceMarketplaceEndUserId:
          type: integer
          format: int32
        orderManagementSalesDocumentNumber:
          type: integer
          format: int32
        features:
          type: array
          items:
            type: string
            enum:
            - PASSWORD_EXPIRATION
            - REPORTING
            - ROLE_BASED_ACCESS_CONTROLS
            - OBFUSCATE_IP
            - AUDIENCE_MARKETPLACE
            - IDENTITY_GRAPH_COOP
            - COMPANY_DEVICE_GRAPH_PERSON
            - ANALYTICS_DESTINATION
            - DATA_EXPLORER
            - DCS_TRAITS_SEGMENTS_RESPONSE
            - TEST_SEGMENT_HOLDOUT
            - DATA_EXPLORER_BACKFILL_SERVICE
            - PROFILE_MERGE_RULES
            - PEOPLE_BASED_ACTIVATION
            - HIDE_REFERRER
            - HIDE_PROFILE_MERGE_3_2
            - SMART_PERSONAS
            - VIEW_IN_PROCESS_TEMPLATES
            - ACTIVITY_USAGE_REPORTS
            - AAM_SEGMENT_SHARING_TO_PLATFORM
            - PLATFORM_SEGMENT_SHARING_TO_AAM
            - POLICY_ENFORCEMENT_SERVICE
            - PEOPLE_BASED_ACTIVATION_GOOGLE_CM
            - DATASOURCE_UIS_INTEGRATION
            - AMAZON_DATA_PROVIDER_DESTINATION
            - EVOLUTION_GATEWAY
        aepRegion:
          type: string
        disableLegacyUsers:
          type: boolean
    BroadCastMessage:
      type: object
      properties:
        locations:
          type: array
          items:
            type: string
        value:
          $ref: '#/components/schemas/BroadCastValue'
        imsOrgId:
          type: string
    BroadCastValue:
      type: object
      properties:
        eventId:
          type: string
        federateServices:
          type: array
          items:
            $ref: '#/components/schemas/FederateService'
        provisioningPayLoad:
          $ref: '#/components/schemas/ProvisioningPayLoad'
        eventType:
          type: string
    FederateService:
      type: object
      properties:
        serviceName:
          type: string
    ProvisioningPayLoad:
      type: object
      properties:
        customerNameReadable:
          type: string
        environment:
          type: string
    PartnerLimits:
      type: object
      properties:
        pid:
          type: integer
          format: int32
        crUID:
          type: integer
          format: int32
        upUID:
          type: integer
          format: int32
        createTime:
          type: string
          format: date-time
        updateTime:
          type: string
          format: date-time
        maxTraits:
          minimum: 0
          type: integer
          format: int32
        maxAlgoTraits:
          minimum: 0
          type: integer
          format: int32
        maxRuleBasedTraits:
          minimum: 0
          type: integer
          format: int32
        maxOnboardedTraits:
          minimum: 0
          type: integer
          format: int32
        maxAlgoModels:
          minimum: 0
          type: integer
          format: int32
        maxSegments:
          minimum: 0
          type: integer
          format: int32
        maxDestinations:
          minimum: 0
          type: integer
          format: int32
        maxPushDestinations:
          minimum: 0
          type: integer
          format: int32
        maxS2SDestinations:
          minimum: 0
          type: integer
          format: int32
        maxAdsDestinations:
          minimum: 0
          type: integer
          format: int32
        maxMergeRuleDataSources:
          maximum: 10
          minimum: 0
          type: integer
          format: int32
        maxSegmentTestGroups:
          minimum: 0
          type: integer
          format: int32
        maxAnalyticsDestinations:
          minimum: 0
          type: integer
          format: int32
        maxServerResponseDestinations:
          minimum: 0
          type: integer
          format: int32
        maxPeopleBasedDestinations:
          type: integer
          format: int32
        maxTraitFolders:
          minimum: 0
          type: integer
          format: int32
        maxTraitFolderDepth:
          type: integer
          format: int32
        maxDerivedSignals:
          type: integer
          format: int32
        maxSignalRetentionDays:
          type: integer
          format: int32
        maxSignalSavedSearches:
          type: integer
          format: int32
        maxAlgoExcludeTraits:
          type: integer
          format: int32
        maxMonthlyTraitBackfillCount:
          type: integer
          format: int32
        maxAllCrossDeviceMergeRuleDataSources:
          minimum: 0
          type: integer
          format: int32
        maxSmartPersonas:
          type: integer
          format: int32
        maxBulkS2SDestinations:
          minimum: 0
          type: integer
          format: int32
    CreateResponse:
      type: object
      properties:
        success:
          type: boolean
        contextId:
          type: string
        error:
          type: string
    Context:
      required:
      - accountTypes
      - description
      - imsOrgId
      - lifecycle
      - name
      - subdomain
      type: object
      properties:
        name:
          type: string
        description:
          type: string
        subdomain:
          type: string
        imsOrgId:
          type: string
        accountTypes:
          uniqueItems: true
          type: array
          items:
            type: string
            enum:
            - FULL_AAM
            - MMP
            - DATA_PROVIDER
            - TARGETING_PARTNER
            - VISITOR_ID_SERVICE
            - AGENCY
            - DEVICE_GRAPH_PROVIDER
        lifecycle:
          type: string
          enum:
          - ACTIVE
          - PROSPECT
          - DEMO
          - TEST
          - SUSPENDED
          - DEPROVISIONED
        features:
          type: array
          items:
            type: string
            enum:
            - PASSWORD_EXPIRATION
            - REPORTING
            - ROLE_BASED_ACCESS_CONTROLS
            - OBFUSCATE_IP
            - AUDIENCE_MARKETPLACE
            - IDENTITY_GRAPH_COOP
            - COMPANY_DEVICE_GRAPH_PERSON
            - ANALYTICS_DESTINATION
            - DATA_EXPLORER
            - DCS_TRAITS_SEGMENTS_RESPONSE
            - TEST_SEGMENT_HOLDOUT
            - DATA_EXPLORER_BACKFILL_SERVICE
            - PROFILE_MERGE_RULES
            - PEOPLE_BASED_ACTIVATION
            - HIDE_REFERRER
            - HIDE_PROFILE_MERGE_3_2
            - SMART_PERSONAS
            - VIEW_IN_PROCESS_TEMPLATES
            - ACTIVITY_USAGE_REPORTS
            - AAM_SEGMENT_SHARING_TO_PLATFORM
            - PLATFORM_SEGMENT_SHARING_TO_AAM
            - POLICY_ENFORCEMENT_SERVICE
            - PEOPLE_BASED_ACTIVATION_GOOGLE_CM
            - DATASOURCE_UIS_INTEGRATION
            - AMAZON_DATA_PROVIDER_DESTINATION
            - EVOLUTION_GATEWAY
        contextId:
          type: string
    CreateRequest:
      required:
      - context
      type: object
      properties:
        context:
          $ref: '#/components/schemas/Context'
    LinkResponse:
      type: object
      properties:
        success:
          type: boolean
        error:
          type: string
    LinkRequest:
      required:
      - context_id
      type: object
      properties:
        orgId:
          type: string
        unlinkRequest:
          type: boolean
        context_id:
          type: string
    SearchResponse:
      type: object
      properties:
        contexts:
          type: array
          items:
            $ref: '#/components/schemas/Context'
    SearchRequest:
      type: object
      properties:
        context_name:
          type: string
    ImsUserMigrationRequest:
      required:
      - imsOrgId
      - newEmail
      - newUserId
      - oldEmail
      - oldUserId
      type: object
      properties:
        imsOrgId:
          type: string
        oldEmail:
          type: string
        newEmail:
          type: string
        oldUserId:
          type: string
        newUserId:
          type: string
    ContextLink:
      type: object
      properties:
        name:
          type: string
        id:
          type: integer
          format: int32
        orgRef:
          type: string
    GetLinkResponse:
      type: object
      properties:
        users:
          type: array
          items:
            $ref: '#/components/schemas/UserLink'
        contexts:
          type: array
          items:
            $ref: '#/components/schemas/ContextLink'
    UserLink:
      type: object
      properties:
        context:
          type: string
        username:
          type: string
    GetLinkRequest:
      required:
      - access_token
      type: object
      properties:
        access_token:
          type: string
        persRef:
          type: string
        orgRef:
          type: string
    UserLinkResponse:
      type: object
      properties:
        success:
          type: boolean
    UserLinkRequest:
      required:
      - access_token
      - password
      - persRef
      - username
      type: object
      properties:
        access_token:
          type: string
        username:
          type: string
        password:
          type: string
        company:
          type: string
        persRef:
          type: string
    UserUnlinkResponse:
      type: object
      properties:
        success:
          type: boolean
    UserUnlinkRequest:
      required:
      - access_token
      - orgRef
      - persRef
      type: object
      properties:
        access_token:
          type: string
        persRef:
          type: string
        orgRef:
          type: string
    ImsPartnerMapping:
      type: object
      properties:
        imsOrgId:
          type: string
        companyId:
          type: integer
          format: int32
        companyName:
          type: string
    UserValidationResponse:
      type: object
      properties:
        success:
          type: boolean
        companies:
          type: array
          items:
            $ref: '#/components/schemas/ImsPartnerMapping'
    UserValidationRequest:
      required:
      - access_token
      - password
      - username
      type: object
      properties:
        access_token:
          type: string
        username:
          type: string
        password:
          type: string
        company:
          type: string
  securitySchemes:
    BearerToken:
      type: http
      description: "Enter your API token below. Visit [our documentation page](https://experiencecloud.adobe.com/resources/help/en_US/aam/oauth-authentication.html)\
        \ for instructions on how to get an API token."
      scheme: bearer
