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

# List Playlist Attachments Admin

> The playlist's attachments in order (admin), each with its ``position``.



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/teams/{team_id}/playlists/{id}/attachments
openapi: 3.1.0
info:
  description: >-
    Production API reference for Membership.io. Use the authored guides for
    workflows and the generated endpoint pages for exact parameters and schemas.
  title: Membership.io API
  version: 0.1.0
servers:
  - description: Production
    url: https://api.member.dev
security:
  - bearerAuth: []
paths:
  /api/v1/teams/{team_id}/playlists/{id}/attachments:
    get:
      tags:
        - media-admin
      summary: List Playlist Attachments Admin
      description: The playlist's attachments in order (admin), each with its ``position``.
      operationId: >-
        media_admin.get_media_admin_get_teams_by_team_id_playlists_by_id_attachments
      parameters:
        - in: path
          name: team_id
          required: true
          schema:
            title: Team Id
            type: string
        - in: path
          name: id
          required: true
          schema:
            title: Id
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/PlaylistAttachmentAdminListResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    PlaylistAttachmentAdminListResponse:
      description: '``GET /api/teams/{team_id}/playlists/{id}/attachments``.'
      properties:
        data:
          items:
            $ref: '#/components/schemas/PlaylistAttachmentAdminResource'
          title: Data
          type: array
      required:
        - data
      title: PlaylistAttachmentAdminListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    PlaylistAttachmentAdminResource:
      properties:
        attributes:
          $ref: '#/components/schemas/PlaylistAttachmentAdminAttributes'
        id:
          title: Id
          type: string
        type:
          const: playlist_attachments
          default: playlist_attachments
          title: Type
          type: string
      required:
        - id
        - attributes
      title: PlaylistAttachmentAdminResource
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object
    PlaylistAttachmentAdminAttributes:
      additionalProperties: false
      description: >-
        What a team admin sees of one attachment: the member fields plus its
        slot.


        ``url`` is the download route scoped to the playlist's own hub, and is

        ``None`` for a playlist that has no hub (``Playlist.hub_id`` is
        nullable).
      properties:
        file_id:
          anyOf:
            - type: string
            - type: 'null'
          title: File Id
        filename:
          anyOf:
            - type: string
            - type: 'null'
          title: Filename
        media_id:
          title: Media Id
          type: string
        mime_type:
          anyOf:
            - type: string
            - type: 'null'
          title: Mime Type
        position:
          title: Position
          type: integer
        role:
          const: attachment
          title: Role
          type: string
        size_bytes:
          anyOf:
            - type: integer
            - type: 'null'
          title: Size Bytes
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
      required:
        - media_id
        - role
        - position
      title: PlaylistAttachmentAdminAttributes
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT or mio_sk API key
      description: >-
        Send platform JWTs, contact JWTs, or team API keys as `Authorization:
        Bearer <token>`.
      scheme: bearer
      type: http
    HTTPBearer:
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.