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

# Listar participantes da turma



## OpenAPI

````yaml /mintlify/openapi.json get /classrooms/{classroom_id}/members
openapi: 3.1.0
info:
  title: Followw UnB API
  description: >-
    API independente e open-source para consultar dados do SIGAA e de outros
    sistemas da UnB. O acesso autenticado usa a conta do SIGAA, com sessão por
    cookies.
  version: 0.1.0
servers:
  - url: https://api.followw.app
    description: Produção
  - url: http://localhost:8000
    description: Desenvolvimento local
security: []
tags:
  - name: Auth
    description: Login no SIGAA e sessão por cookies.
  - name: Classrooms
    description: Turmas, participantes, frequência e resultados acadêmicos.
  - name: Me
    description: Perfil, configurações, documentos e acesso ao RU.
  - name: Public Classrooms
    description: Turmas e unidades do SIGAA.
    x-displayName: Classrooms
  - name: Public Courses
    description: Cursos e currículos por ingresso.
    x-displayName: Courses
  - name: Public Professors
    description: Catálogo de docentes.
    x-displayName: Professors
  - name: Public Restaurant
    description: Cardápio do RU.
    x-displayName: Restaurant
  - name: Public Search
    description: Busca de matérias, cursos e docentes.
    x-displayName: Search
  - name: Public Subjects
    description: Matérias de graduação e suas turmas.
    x-displayName: Subjects
  - name: Posts
    description: Notícias e avaliações das turmas.
paths:
  /classrooms/{classroom_id}/members:
    get:
      tags:
        - Classrooms
      summary: Listar participantes da turma
      operationId: get_classroom_members_classrooms__classroom_id__members_get
      parameters:
        - name: classroom_id
          in: path
          required: true
          schema:
            type: string
            description: Classroom.id ou Classroom.sigaa_id.
            title: Classroom Id
          description: Classroom.id ou Classroom.sigaa_id.
        - name: Cache-Control
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              `no-cache`: revalidar; `max-age=N`: idade máxima em segundos;
              `stale-if-error[=N]`: aceitar cache na falha; `only-if-cached`:
              usar só cache (504 se ausente).
            title: Cache-Control
          description: >-
            `no-cache`: revalidar; `max-age=N`: idade máxima em segundos;
            `stale-if-error[=N]`: aceitar cache na falha; `only-if-cached`: usar
            só cache (504 se ausente).
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClassroomMembers'
        '401':
          description: Credenciais ausentes ou inválidas.
        '404':
          description: Turma não encontrada entre as turmas do usuário.
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '502':
          description: SIGAA indisponível.
components:
  schemas:
    ClassroomMembers:
      properties:
        students:
          items:
            $ref: '#/components/schemas/ClassroomMember'
          type: array
          title: Students
        monitors:
          items:
            $ref: '#/components/schemas/ClassroomMember'
          type: array
          title: Monitors
        professors:
          items:
            $ref: '#/components/schemas/ProfessorRef'
          type: array
          title: Professors
      type: object
      required:
        - students
        - monitors
        - professors
      title: ClassroomMembers
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ClassroomMember:
      properties:
        name:
          type: string
          title: Name
        registration:
          type: string
          title: Registration
        photo:
          anyOf:
            - type: string
            - type: 'null'
          title: Photo
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        course:
          anyOf:
            - $ref: '#/components/schemas/CourseRef'
            - type: 'null'
        unit:
          anyOf:
            - $ref: '#/components/schemas/UnitRef'
            - type: 'null'
      type: object
      required:
        - name
        - registration
      title: ClassroomMember
    ProfessorRef:
      properties:
        siape:
          anyOf:
            - type: integer
            - type: 'null'
          title: Siape
        name:
          type: string
          title: Name
        photo:
          anyOf:
            - type: string
            - type: 'null'
          title: Photo
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
      type: object
      required:
        - siape
        - name
        - photo
        - email
      title: ProfessorRef
      description: Docente da turma; `siape` nulo fora do catálogo.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    CourseRef:
      properties:
        id:
          type: integer
          title: Id
        name:
          type: string
          title: Name
        shift:
          anyOf:
            - type: string
            - type: 'null'
          title: Shift
      type: object
      required:
        - id
        - name
        - shift
      title: CourseRef
    UnitRef:
      properties:
        id:
          type: integer
          title: Id
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        name:
          type: string
          title: Name
      type: object
      required:
        - id
        - code
        - name
      title: UnitRef
      description: 'Unidade acadêmica: `id` do SIGAA e sigla em `code`.'

````

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