Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

apiEndpoints.js 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. const base = "http://localhost:26081/v1";
  2. export default {
  3. authentications: {
  4. login: base + "/authentications/authenticate",
  5. googleLogin: base + "/authentications/authenticateGoogle",
  6. refreshToken: base + "/authentications/refresh",
  7. logout: base + "/authentications/logout?userId={userId}",
  8. forgetPassword: base + "/authentications/ForgotPassword",
  9. resetPassword: base + "/authentications/RessetPassword",
  10. },
  11. users:{
  12. allUsers:'http://localhost:26081/v1/users',
  13. user:'http://localhost:26081/v1/users/{id}',
  14. toggleEnabled:'http://localhost:26081/v1/users/toggleEnable/{id}',
  15. invite:'http://localhost:26081/v1/users/invite',
  16. },
  17. candidates: {
  18. filteredCandidates:base + "/applicants",
  19. allAdsCandidates: base + "/applicants/adsApplicants"
  20. },
  21. ads: {
  22. allAds: base + "/ads",
  23. createAd: base + "/ads",
  24. allFilteredAds: base + "/ads/filtered",
  25. allArchiveAds: base + "/ads/archive",
  26. adDetails: base + "/ads/details",
  27. },
  28. technologies: {
  29. allTechnologies: base + "/technologies",
  30. },
  31. comments:{
  32. addComment:base + '/comments'
  33. },
  34. processes: {
  35. allLevels: base + "/selectionlevels",
  36. filteredLevels: base + "/selectionlevels/filtered",
  37. doneProcess: base + "/selectionprocesses",
  38. getApplicantProcesses: base + "/applicants/processes",
  39. // allProcesses: base + "/selectionprocesses",
  40. },
  41. };