1. Anonymous
E-Learning
  • Auth
    • Register
      POST
    • Confirm Email
      POST
    • Resend Confirmation Email
      POST
    • Login
      POST
    • Google Login
      GET
    • Google Login By Id Token
      POST
    • Forget Password
      POST
    • Reset Password
      POST
    • Refresh Token
      POST
    • Revoke Refresh Token
      POST
  • Account
    • Get User
      GET
    • Update User
      PUT
    • Delete User
      DELETE
    • Change Password
      PUT
    • Uploade User Image
      POST
    • Delete User Image
      DELETE
    • Become Instructor
      POST
    • Get Users To Admin
      GET
    • Delete User By Admin
      DELETE
    • Add User To Role
      POST
    • Remove User From Role
      DELETE
    • Get instructor Requests
      GET
    • Approve Instructor Request
      PATCH
    • Reject Instructor Request
      PATCH
  • Course
    • Anonymous
      • Get All Courses
        GET
      • Get Course By Id
        GET
    • Instructor
      • Get Instructor Courses
      • Get Instructor Course By Id
      • Create Course
      • Publish Course
      • Unpublish Course
      • Update Course Info
      • Delete Course
      • Add Thumbnail
      • Delete Thumbnail
    • Admin
      • Get All Courses To Admin
      • Get Course By Id To Admin
      • Delete Course By Admin
      • Restore Soft Deleted Course By Admin
  • Chapter
    • Anonymous
      • Get All Course Chapters
      • Get Chapter
    • Instructor
      • Get All Chapters To Instructor
      • Get Chapter To Instructor
      • Create Chapter
      • Update Chapter
      • Reorder All Chapters
      • Delete Chapter
      • Add Chapter Image
      • Delete Chapter Image
    • Admin
      • Get All Chapters To Admin
      • Get Chapter To Admin
  • Lesson
    • Anonymous
      • Get All Lessons
      • Get Lesson
    • Instructor
      • Get All Lessons To Instructor
      • Get Lesson To Instructor
      • Create Lesson In Chapter
      • Upload Lesson Video
      • Delete Lesson Video
      • Update Lesson
      • Delete Lesson
      • Reorder All Lessons in Chapter
    • Admin
      • Get All Lessons To Admin
      • Get Lesson To Admin
  • Cart
    • Get Cart For User
    • Add Course In Cart
    • Delete Item From User Cart
  • Payment
    • Create Payment Intention
    • Get Payment History
  • Enrollment
    • Enrolle In Course
    • Unenroll From Course
    • Get Enrolled Course Details
    • Get Student Courses
    • Get Enrolled Students in Course
  • Learn
    • Get Student Course Learn
    • Mark Lesson Complete
  • Quiz
    • Create Quiz
    • Get Quiz
    • Update Quiz Info
    • Delete Quiz
    • Active Quiz
    • Deactive Quiz
  • Question
    • Question Types
    • Create Question
    • Get Question
    • Update Question
    • Delete Question
    • Reorder Questions
  • Quiz Attempt
    • Start Quiz Attempt
    • Get Active Quiz Attempt
    • Submit Quiz Attempt
    • Get Quiz Attempt Result
    • Get Quiz Attempts History
  1. Anonymous

Get All Courses

GET
http://e-learning-platform.tryasp.net/api/courses
Anonymous

No Need For Authentication (Anonymous Users)#

Request

Query Params

Responses

🟢200Get All Courses
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'http://e-learning-platform.tryasp.net/api/courses?PageNumber=1&PageSize=10&SortBy=price&SortDirection=2'
Response Response Example
{
    "pageNumber": 1,
    "pageSize": 10,
    "totalCount": 3,
    "data": [
        {
            "id": 3,
            "title": "Docker & Kubernetes for .NET Developers",
            "description": "Containerize your .NET applications with Docker and orchestrate them at scale with Kubernetes.",
            "prerequisites": "Basic Linux CLI, familiarity with .NET web applications",
            "thumbnail": "",
            "createdAt": "2026-04-22T15:58:31.8110669",
            "updatedAt": null,
            "instructorId": "ca91cddd-89ea-449b-ab69-cc54df47d967",
            "instructorName": "Omar Farouk",
            "studentsCount": 0,
            "isFree": false,
            "price": 349.99,
            "discountPrice": 0
        },
        {
            "id": 1,
            "title": "ASP.NET Core Web API – From Zero to Production",
            "description": "A comprehensive course covering RESTful API design, authentication, clean architecture, and deployment with ASP.NET Core.",
            "prerequisites": "Basic C# knowledge, familiarity with HTTP concepts",
            "thumbnail": "",
            "createdAt": "2026-04-22T15:58:31.6838176",
            "updatedAt": null,
            "instructorId": "4a13cda7-732c-4936-82bc-e72448d56d14",
            "instructorName": "Ahmed Hassan",
            "studentsCount": 0,
            "isFree": false,
            "price": 299.99,
            "discountPrice": 199.99
        },
        {
            "id": 2,
            "title": "Angular 17 – Complete Developer Guide",
            "description": "Build modern, reactive Single Page Applications using Angular 17, RxJS, and Angular Material.",
            "prerequisites": "JavaScript fundamentals, HTML & CSS basics",
            "thumbnail": "",
            "createdAt": "2026-04-22T15:58:31.8044449",
            "updatedAt": null,
            "instructorId": "128611fd-f79f-4676-b30a-6f05238832b0",
            "instructorName": "Sara Khalil",
            "studentsCount": 0,
            "isFree": false,
            "price": 249.99,
            "discountPrice": 149.99
        }
    ]
}
Modified at 2026-07-20 15:13:26
Previous
Reject Instructor Request
Next
Get Course By Id
Built with