Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Latest commit

 

History

History
85 lines (69 loc) · 4.58 KB

README.md

File metadata and controls

85 lines (69 loc) · 4.58 KB

API Reference

This directory provides detailed documentation of each endpoint in the NavigoLearn API.

Overview

For each endpoint, we provide the following details:

  • The HTTP method (GET, POST, PUT, DELETE)
  • Endpoint URL
  • Required parameters in the request
  • A short description of what the endpoint does
  • An example request
  • An example response

Endpoints

Responses

All responses are in JSON format and have the keys success and message. The success key is a boolean that indicates whether the request was successful or not. The message key is a string that contains a message about the request. If the request was successful, the message key will contain a confirmation message. If the request was unsuccessful, the message key will contain an error message.

Additionally, some responses will contain a data key. The data key will contain the data requested by the user. For example, if the user requests a roadmap, the data key will contain the roadmap data.

Also, some responses will contain a total key. The total key will contain the total number of items that match the response data array. For example, if the user requests a list of roadmaps, the total key will contain the total number of roadmaps that match the request.

Each response file above contains an example response.

Note

Please note that this API reference is a work in progress and will continue to grow as new endpoints are added to the NavigoLearn API.

And some might change requirements or functionality as the project evolves.