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

# Get course metadata by slug 

> Get detailed metadata of a specific course using its slug

Authentication with the "FERMION-API-KEY" header is required to use this endpoint.

Rate limit: Maximum 60 requests in a window of 1m.



## OpenAPI

````yaml https://backend.codedamn.com/webhook/fermion-backend-openapi.yaml post /public/get-course-metadata-by-slug
openapi: 3.0.0
info:
  version: 1.0.0
  title: Fermion Backend API
  description: Documentation for interacting with the Fermion API
  contact:
    name: Fermion Support
    email: support@codedamn.com
servers:
  - url: https://backend.codedamn.com/api
    description: Fermion primary backend server
security: []
externalDocs:
  description: Fermion Docs
  url: https://docs.fermion.app
paths:
  /public/get-course-metadata-by-slug:
    post:
      tags:
        - Course
      summary: 'Get course metadata by slug '
      description: >-
        Get detailed metadata of a specific course using its slug


        Authentication with the "FERMION-API-KEY" header is required to use this
        endpoint.


        Rate limit: Maximum 60 requests in a window of 1m.
      requestBody:
        description: API Request Body
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                data:
                  type: array
                  items:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          courseSlug:
                            type: string
                            description: The slug of the course to fetch metadata for
                        required:
                          - courseSlug
                    required:
                      - data
              required:
                - data
      responses:
        '200':
          description: API Response Body
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    output:
                      anyOf:
                        - type: object
                          properties:
                            status:
                              type: string
                              enum:
                                - ok
                            data:
                              type: object
                              properties:
                                title:
                                  type: string
                                  description: Title of the course
                                shortDescription:
                                  type: string
                                  description: Short description of the course
                                longDescription:
                                  type: string
                                  description: Long description of the course
                                thumbnailUrl:
                                  type: string
                                  format: uri
                                  description: URL of the course thumbnail image
                                slug:
                                  type: string
                                  description: URL-friendly slug of the course
                                createdAt:
                                  type: string
                                  format: date-time
                                  description: Timestamp when the course was created
                                lastUpdatedAt:
                                  type: string
                                  format: date-time
                                  description: Timestamp when the course was last updated
                                ratingOutOf10:
                                  type: number
                                  description: Course rating on a scale of 1-10
                                instructors:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      name:
                                        type: string
                                        description: Name of the instructor
                                      profilePhotoUrl:
                                        type: string
                                        format: uri
                                        description: URL of the instructor's profile photo
                                      longDescriptionMarkdown:
                                        type: string
                                        nullable: true
                                        description: >-
                                          Detailed markdown description of the
                                          instructor
                                      tagline:
                                        type: string
                                        nullable: true
                                        description: Short tagline or title of the instructor
                                    required:
                                      - name
                                      - profilePhotoUrl
                                  description: List of course instructors
                                faqs:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      questionMarkdown:
                                        type: string
                                        description: FAQ question in markdown format
                                      answerMarkdown:
                                        type: string
                                        description: FAQ answer in markdown format
                                    required:
                                      - questionMarkdown
                                      - answerMarkdown
                                  description: >-
                                    List of frequently asked questions about the
                                    course
                                courseItemCount:
                                  type: object
                                  properties:
                                    articlesCount:
                                      type: number
                                      description: Number of articles in the course
                                    videosCount:
                                      type: number
                                      description: Number of videos in the course
                                    quizzesCount:
                                      type: number
                                      description: Number of quizzes in the course
                                    codingLabsCount:
                                      type: number
                                      description: Number of coding labs in the course
                                    ebooksCount:
                                      type: number
                                      description: Number of ebooks in the course
                                    contestsCount:
                                      type: number
                                      description: Number of contests in the course
                                    assignmentsCount:
                                      type: number
                                      description: Number of assignments in the course
                                  required:
                                    - articlesCount
                                    - videosCount
                                    - quizzesCount
                                    - codingLabsCount
                                    - ebooksCount
                                    - contestsCount
                                    - assignmentsCount
                                  description: >-
                                    Count of different types of content in the
                                    course
                                courseSpecificData:
                                  anyOf:
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          enum:
                                            - CohortBasedCourse
                                        cohortStartDate:
                                          type: string
                                          format: date-time
                                        cohortEndDate:
                                          type: string
                                          format: date-time
                                      required:
                                        - type
                                        - cohortStartDate
                                        - cohortEndDate
                                    - type: object
                                      properties:
                                        type:
                                          type: string
                                          enum:
                                            - RecordedCourse
                                      required:
                                        - type
                              required:
                                - title
                                - shortDescription
                                - longDescription
                                - thumbnailUrl
                                - slug
                                - createdAt
                                - lastUpdatedAt
                                - ratingOutOf10
                                - instructors
                                - faqs
                                - courseItemCount
                                - courseSpecificData
                          required:
                            - status
                            - data
                        - type: object
                          properties:
                            status:
                              type: string
                              enum:
                                - error
                            errorMessage:
                              type: string
                          required:
                            - status
                            - errorMessage
                  required:
                    - output
      security:
        - FERMION-API-KEY: []
components:
  securitySchemes:
    FERMION-API-KEY:
      name: FERMION-API-KEY
      type: apiKey
      in: header

````