VRMS icon indicating copy to clipboard operation
VRMS copied to clipboard

1771 - API for Fetching Project Managers

Open ntrehan opened this issue 1 year ago • 3 comments

Fixes #1771

What changes did you make and why did you make them ?

  • Added an API that fetches all the project Managers and the projects they manage

Screenshots of Proposed Changes Of The Website

The API request and response ![image](https://github.com/user-attachments/assets/94a1f998-7e98-4506-a537-6125f23eacc7)

ntrehan avatar Oct 21 '24 19:10 ntrehan

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b ntrehan-1771 development
git pull https://github.com/ntrehan/VRMS.git 1771

github-actions[bot] avatar Oct 21 '24 19:10 github-actions[bot]

@ntrehan just a heads up that your API req & res screenshot is currently broken / doesn't populate.

pluto-bell avatar Oct 28 '24 19:10 pluto-bell

@ntrehan just a heads up that your API req & res screenshot is currently broken / doesn't populate.

Hi @pluto-bell Thanks for pointing that out! However no matter how many times I reupload it there I am not able to get it fixed image So I'll just add it here

ntrehan avatar Oct 28 '24 20:10 ntrehan

If curl.exe --location 'http://localhost:3000/api/projects/projectManagers' returns "Unauthorized", try
curl.exe --location 'http://localhost:3000/api/projects/projectManagers' --header 'x-customrequired-header: custom-header-here' Note: replace custom-header-here with your own header.

Note: it returns the test data because we're running it locally. It will the actual data for the production environment.

{ : [ "VRMS" ], lead one: [ "New Test Project A+" ], as: [ "Fancy New Project" ], qegq: [ "! ! ! ! ! ! ! ! ! 🚨! ! ! DOGEfdsafdasfdsa" ], test: [ "! ! ! ! !TESTING123fdsaf" ], user: [ "! ! ! ! ! ! ! Project !!!! - testing 🐢fdsaffds" ], a: [ "TESTING Editing", "Projj" ], none: [ "meep" ] }

vorleakyek avatar Nov 04 '24 03:11 vorleakyek

PR has been added to user_permissions_search feature branch!

trillium avatar Jan 21 '25 19:01 trillium