Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Postman file and share #83

Closed
htharker42 opened this issue Feb 13, 2020 · 1 comment
Closed

Create Postman file and share #83

htharker42 opened this issue Feb 13, 2020 · 1 comment
Assignees

Comments

@htharker42
Copy link
Contributor

create postman file with all current valid backend calls
create both localhost and to live database

@htharker42 htharker42 added this to In progress in Sprint Winter 2021 Feb 13, 2020
@Chris-Boe Chris-Boe self-assigned this Feb 23, 2020
@Chris-Boe
Copy link
Contributor

Chris-Boe commented Feb 23, 2020

| method | route | action |

| :----- | :------------------- | :---------------- |

  • | POST | login | Login and returns a token |
  • | POST | register | Creates a new user |

| :----- | :------------------- | :------------------ |

  • | GET | user/:userId | Gets a user details |
  • | DEL | user/:userId | Deletes a user |

| :----- | :------------------- | :------------------ |

  • | POST | properties | Creates a new property |
  • | GET | properties | Gets all properties |
  • | GET | property/:name | Gets a single property |
  • | PUT | property/:name | Updates a single property |
  • | DELETE | property/:name | Deletes a single property |

| :----- | :------------------- | :----------------- |

  • | GET | tickets | Gets all tickets |
  • | GET | ticket/:id | Gets a single ticket |
  • | POST | ticket/:id | Creates a single ticket |
  • | DELETE | ticket/:id | Deletes a single ticket |

| :----- | :------------------- | :---------------- |

  • | GET | leases | Gets all leases |
  • | GET | lease/:id | Gets a single lease |
  • | POST | lease/:id | Creates a single lease |
  • | DELETE | lease/:id | Deletes a single lease |

| :----- | :------------------- | :----------------- |

  • | GET | emergencyNumbers/:id | Gets an emergency number |
  • | PATCH | emergencyNumbers/:id | Updates an emergency number |
  • | DELETE | emergencyNumbers/:id | Deletes a single emergency number |
  • | GET | emergency/:id | Gets an emergency |
  • | POST | emergency/:id | Creates an emergency |

@htharker42 htharker42 moved this from In progress to Done in Sprint Winter 2021 Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants