-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Module: APIIssues related to the API.Issues related to the API.Project: PLDIssue related to Project Lockdown.Issue related to Project Lockdown.⌨ Team: DevsTask related to Team Developers.Task related to Team Developers.📑 Team: DocsTask related to Team Documentation.Task related to Team Documentation.
Description
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.json
This data is for DSL_ID 1.
Proposed solution
- Create a controller for the API to respond to requests to
/environments/{dsl id} - if the api request is
/environments/1then the hardcoded mock data should be returned - if the api request is
/environments/2then no data should be returned - if the api request is not GET, or for other parameters, the response should be an error state
Metadata
Metadata
Assignees
Labels
Module: APIIssues related to the API.Issues related to the API.Project: PLDIssue related to Project Lockdown.Issue related to Project Lockdown.⌨ Team: DevsTask related to Team Developers.Task related to Team Developers.📑 Team: DocsTask related to Team Documentation.Task related to Team Documentation.
