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

# LIST - Rubric

>  This API allows authenticated users to retrieve a paginated list of rubrics they have created.


 **Key Notes:** 
 - Supports pagination with metadata like `count`, `pageSize`, `next`, and `previous`. 
 - Each rubric object includes fields like `id`, `name`, `description`, `createdAt`, `modifiedAt`, and `rubricCriteria`.


 **Scenario: Viewing Available Rubrics**

 A teacher wants to see all the rubrics they’ve created to select one for a new assignment.

**Outcome:**
- The teacher sends a GET request.
- The API responds with a list of rubrics along with pagination info.
- The teacher can choose and manage existing rubrics efficiently.




## OpenAPI

````yaml GET /rubrics/v1/rubric/
openapi: 3.0.1
info:
  title: Evaluation Report API
  description: An API for retrieving evaluation reports.
  version: 1.0.0
servers:
  - url: https://api-staging.crazygoldfish.com
    description: SandBox endpoint
  - url: https://api.crazygoldfish.com
    description: Prod End Point
security: []
paths:
  /rubrics/v1/rubric/:
    get:
      tags:
        - Rubrics
      summary: Get Rubric List
      operationId: getRubricList
      responses:
        '200':
          description: List of rubrics retrieved successfully.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                    example: 20
                    description: Total number of assignment available.
                  pageSize:
                    type: integer
                    example: 10
                    description: Number of items displayed per page.
                  showing:
                    type: string
                    example: Page 1 of 2
                    description: Current page display information.
                  next:
                    type: string
                    format: uri
                    nullable: true
                    example: '{{base_url}}/rubrics/v1/rubric/?page=2'
                    description: URL for the next page of results.
                  previous:
                    type: string
                    format: uri
                    nullable: true
                    example: null
                    description: URL for the previous page of results.
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/CreateRubricResponse'
        '403':
          description: Authentication failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/403Response'
        '404':
          description: Page not found or invalid page number.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    example: Invalid page.
      security:
        - bearerAuth: []
components:
  schemas:
    CreateRubricResponse:
      type: object
      properties:
        id:
          type: string
          description: Unique ID of the rubric
          example: 2b973c83-2830-4712-87b7-64a8c0a99035
        name:
          type: string
          description: Name of the rubric
          example: English Rubric
        description:
          type: string
          description: Description of the rubric
          example: A rubric for evaluating english hand written assignment.
        rubricCriteria:
          type: array
          example: []
          description: List of rubric criteria
        createdAt:
          type: string
          description: Created date for the rubric
          format: date-time
        modifiedAt:
          type: string
          description: Modified date of the rubric
          format: date-time
    403Response:
      type: object
      properties:
        detail:
          type: string
          example: Token has expired
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````