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

# Listar e-books da seção

> Só seção do tipo e-book.

#### Escopo

```bash theme={null}
    read members
```


## OpenAPI

````yaml GET /public_api/members/sections/{member_area_section_id}/ebooks/
openapi: 3.0.3
info:
  title: Cakto API
  version: 1.0.0
  description: Documentação da API pública do Cakto.
servers:
  - url: https://api.cakto.com.br
    description: Cakto API
security: []
paths:
  /public_api/members/sections/{member_area_section_id}/ebooks/:
    get:
      tags:
        - members
      summary: Listar e-books da seção
      description: Só seção do tipo e-book. Enviar e-book novo (o PDF) é pelo painel.
      operationId: members_sections_ebooks_list
      parameters:
        - in: path
          name: member_area_section_id
          schema:
            type: string
            format: uuid
          description: ID da seção.
          required: true
        - name: ordering
          required: false
          in: query
          description: Which field to use when ordering the results.
          schema:
            type: string
        - name: search
          required: false
          in: query
          description: A search term.
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MembersEbookList'
          description: ''
        '401':
          description: Request não autenticado devido à ausência ou invalidez do token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthenticatedError'
              examples:
                Token ausente ou inválido:
                  $ref: '#/components/examples/UnauthenticatedErrorExample'
        '404':
          description: Não existe ou não é da sua conta.
      security:
        - OAuth Token: []
components:
  schemas:
    MembersEbookList:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/MemberAreaEbooks'
      required:
        - results
    UnauthenticatedError:
      type: object
      properties:
        detail:
          type: string
    MemberAreaEbooks:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
          description: Identificador único do ebook
        member_area_section:
          type: string
          format: uuid
          description: Seção do tipo ebook a qual este ebook pertence
          readOnly: true
          title: Seção da Área de Membros
        title:
          type: string
          title: Título
          description: Título do ebook
          maxLength: 255
        description:
          type: string
          title: Descrição
          description: Descrição do ebook
        position:
          type: integer
          readOnly: true
          title: Posição
          description: Posição do ebook na seção, para ordenação
        thumbnail:
          type: string
          format: uri
          readOnly: true
          nullable: true
          title: Capa
          description: Capa do ebook
        thumbnail_original:
          type: string
          format: uri
          readOnly: true
          nullable: true
          title: Capa original
          description: Capa do ebook antes do corte, base para novos cortes
        file_key:
          type: string
          writeOnly: true
          maxLength: 255
        file_size:
          type: integer
          readOnly: true
          title: Tamanho do Arquivo em Bytes
          description: Tamanho do PDF em bytes, lido do storage
        page_count:
          type: integer
          readOnly: true
          title: Páginas
          description: Número de páginas do PDF, lido do arquivo
        allow_download:
          type: boolean
          title: Permitir download
          description: >-
            O aluno vê o botão de baixar o PDF; sem ele, o PDF continua chegando
            ao leitor da área
        readers_count:
          type: string
          readOnly: true
        updated_at:
          type: string
          format: date-time
          readOnly: true
          title: Atualizado em
          description: Data de atualização do ebook
        created_at:
          type: string
          format: date-time
          readOnly: true
          title: Criado em
          description: Data de criação do ebook
      required:
        - created_at
        - file_key
        - file_size
        - id
        - member_area_section
        - page_count
        - position
        - readers_count
        - thumbnail
        - thumbnail_original
        - title
        - updated_at
  examples:
    UnauthenticatedErrorExample:
      summary: Token ausente ou inválido
      description: Token ausente ou inválido
      value:
        detail: As credenciais de autenticação não foram fornecidas.
  securitySchemes:
    OAuth Token:
      type: http
      scheme: bearer
      in: header
      name: Authorization
      description: >-
        Token de autenticação do tipo `Bearer {access_token}`, onde
        `{access_token}` é o token obtido no fluxo de
        [autenticação](/authentication).

````

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