> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dataerai.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Post apiassetspermissionsintersection



## OpenAPI

````yaml /api-reference/openapi.yaml post /api/assets/permissions/intersection/
openapi: 3.0.3
info:
  title: Console API
  version: 1.0.0
  description: Central control plane API for the Dataerai platform.
servers:
  - url: https://{server}
    description: Your Dataerai deployment (the API is served under /api)
    variables:
      server:
        default: your-deployment.dataerai.com
        description: Host of your Dataerai deployment
security: []
paths:
  /api/assets/permissions/intersection/:
    post:
      tags:
        - api
      operationId: assets_permissions_intersection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AssetPermissionIntersectionRequest'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/AssetPermissionIntersectionRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/AssetPermissionIntersectionRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PermissionEntry'
          description: ''
      security:
        - cookieAuthCsrfExempt: []
components:
  schemas:
    AssetPermissionIntersectionRequest:
      type: object
      properties:
        asset_ids:
          type: array
          items:
            type: string
            format: uuid
          minItems: 1
      required:
        - asset_ids
    PermissionEntry:
      type: object
      properties:
        subject:
          allOf:
            - $ref: '#/components/schemas/PermissionSubject'
          readOnly: true
        flags:
          type: integer
          readOnly: true
      required:
        - flags
        - subject
    PermissionSubject:
      type: object
      description: |-
        Resolve ``user.person`` once per serialization pass.

        ``user.person`` memoizes per instance, but distinct users in a list are
        distinct instances — so a list serializer would still issue one
        ``Person`` query per row. When used ``many=True`` this mixin routes
        through :class:`_PersonReadThroughListSerializer`, which calls
        ``User.attach_persons`` to batch the whole page into a single query;
        the per-render ``context`` cache below then dedups the name+email
        double-read for each user.

        The context cache lives only for the lifetime of the serializer tree,
        so one ``.data`` render resolves each distinct user's ``Person`` at
        most once and re-batches fresh on the next render.
      properties:
        id:
          type: string
          format: uuid
          nullable: true
        subject_type:
          type: string
        name:
          type: string
          readOnly: true
        email:
          type: string
          readOnly: true
      required:
        - email
        - id
        - name
        - subject_type

````