> ## 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 Hub Playlist Item Cards



## OpenAPI

````yaml /openapi/mio-openapi.json get /api/v1/hub/{hub_id}/playlists/{playlist_id}/item-cards
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/hub/{hub_id}/playlists/{playlist_id}/item-cards:
    get:
      tags:
        - media-member-hub-media
      summary: List Hub Playlist Item Cards
      operationId: >-
        media_member_hub_media.get_media_member_hub_media_get_hub_by_hub_id_playlists_by_playlist_id_item_cards
      parameters:
        - in: path
          name: hub_id
          required: true
          schema:
            title: Hub Id
            type: string
        - in: path
          name: playlist_id
          required: true
          schema:
            title: Playlist Id
            type: string
      responses:
        '200':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HubPlaylistItemCardListResponse'
          description: Successful Response
        '422':
          content:
            application/vnd.api+json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    HubPlaylistItemCardListResponse:
      description: Collection response wrapping a list of HubPlaylistItemCardResource.
      properties:
        data:
          items:
            $ref: >-
              #/components/schemas/JsonApiResource_HubPlaylistItemCardAttributes_
          title: Data
          type: array
        included:
          anyOf:
            - items: {}
              type: array
            - type: 'null'
          title: Included
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiPaginationLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
      required:
        - data
      title: HubPlaylistItemCardListResponse
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    JsonApiResource_HubPlaylistItemCardAttributes_:
      properties:
        attributes:
          $ref: '#/components/schemas/HubPlaylistItemCardAttributes'
        id:
          title: Id
          type: string
        links:
          anyOf:
            - $ref: '#/components/schemas/JsonApiLinks'
            - type: 'null'
        meta:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Meta
        relationships:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Relationships
        type:
          title: Type
          type: string
      required:
        - id
        - type
        - attributes
      title: JsonApiResource[HubPlaylistItemCardAttributes]
      type: object
    JsonApiPaginationLinks:
      properties:
        next:
          anyOf:
            - type: string
            - type: 'null'
          title: Next
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiPaginationLinks
      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
    HubPlaylistItemCardAttributes:
      properties:
        asset_kind:
          enum:
            - video
            - audio
            - pdf
            - image
            - document
          title: Asset Kind
          type: string
        available_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Available At
        can_access:
          title: Can Access
          type: boolean
        content_node_id:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            Hub-scoped content_nodes.id whose media matches this item's file. An
            identifier, not content -- emitted unconditionally, including on
            locked/scheduled rows. Viewer-scoped: null for a viewer who cannot
            see the underlying node (unpublished, or non-public for an anonymous
            viewer) or when the file's media maps to more than one node in this
            hub (ambiguous).
          title: Content Node Id
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        duration_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Playback duration in seconds for time-based media. None for kinds
            that have no playback (documents, images, PDFs) or when the media's
            duration is not yet known.
          title: Duration Seconds
        hub_id:
          title: Hub Id
          type: string
        lock_reason:
          anyOf:
            - enum:
                - members_required
                - scheduled
                - private
                - draft
                - drip_unavailable
                - access_restricted
              type: string
            - type: 'null'
          title: Lock Reason
        playlist_id:
          title: Playlist Id
          type: string
        position:
          title: Position
          type: integer
        published_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Published At
        reading_time_seconds:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Estimated read time of a text lesson, in seconds (200 words/minute,
            rounded half-up, 1-minute floor). Populated for asset_kind
            'document' only; None for every other kind and for a document with
            an empty body. Emitted on locked rows too -- it is a size signal,
            not content.
          title: Reading Time Seconds
        scheduled_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Scheduled At
        target:
          anyOf:
            - $ref: '#/components/schemas/HubPlaylistItemCardTarget'
            - type: 'null'
        thumbnail:
          anyOf:
            - $ref: '#/components/schemas/HubPlaylistItemCardThumbnail'
            - type: 'null'
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
      required:
        - hub_id
        - playlist_id
        - position
        - asset_kind
        - can_access
      title: HubPlaylistItemCardAttributes
      type: object
    JsonApiLinks:
      properties:
        self:
          anyOf:
            - type: string
            - type: 'null'
          title: Self
      title: JsonApiLinks
      type: object
    HubPlaylistItemCardTarget:
      properties:
        href:
          anyOf:
            - type: string
            - type: 'null'
          title: Href
        id:
          title: Id
          type: string
        type:
          const: file
          default: file
          title: Type
          type: string
      required:
        - id
      title: HubPlaylistItemCardTarget
      type: object
    HubPlaylistItemCardThumbnail:
      properties:
        expires_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          title: Expires At
        url:
          title: Url
          type: string
      required:
        - url
      title: HubPlaylistItemCardThumbnail
      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

````