Skip to content
Muhammad Azhim Nugroho edited this page Jun 21, 2024 · 18 revisions

Welcome to the cloud-computing wiki!

This is a wiki page of Moove's back-end RESTful API.

Table of Contents

API Documentation

The following is Moove API documentation. Below you'll find all the necessary information to integrate and use our API effectively.

Base URL

Ask

Endpoints

This is a quick recap of Moove API endpoints, you can access the details on the related wiki pages.

For every endpoint that require authorization, please provide the JWT token on header authorization.

You can get the token on login, each token lasts 24 hours.

Endpoint HTTP Method Description Auth Available
/login POST Log in an user NO YES
/register POST Register a new user NO YES
/logout POST Log out an user YES YES
/plans/:plan_id GET Get plan details YES NO
/plans/ POST Create a new plan YES NO
/plans/:plan_id PUT Edit a plan YES NO
/locations GET Get all locations/city YES YES
/locations/:location_id GET Get a location/city YES YES
/locations/:location_id/places GET Get places/destination in a location/city YES YES
/places/:place_id GET Get a place/destination YES YES
/users/user_id GET Get user details YES YES
/users/:user_id PUT Edit user info YES YES
/users/:user_id/password PUT Reset user password YES YES

Clone this wiki locally