[API] provide mock api response for /environments #393
Labels
Module: API
Issues related to the API.
Project: PLD
Issue related to Project Lockdown.
⌨ Team: Devs
Task related to Team Developers.
📑 Team: Docs
Task related to Team Documentation.
Problem
the frontend has already created a mock api response for the
/environments
endpoint: https://github.com/TheIOFoundation/ProjectLockdown/blob/master/MAP/public/data/environment.response.jsonThis data is for DSL_ID 1.
Proposed solution
/environments/{dsl id}
/environments/1
then the hardcoded mock data should be returned/environments/2
then no data should be returnedThe text was updated successfully, but these errors were encountered: