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

apiEndpoints.js 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. const base = "http://localhost:5116/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. register: base + "/authentications/register",
  11. },
  12. users: {
  13. allUsers: base + "/users",
  14. user: base + "/users/{id}",
  15. toggleEnabled: base + "/users/toggleEnable/{id}",
  16. invite: base + "/users/invite",
  17. },
  18. candidates: {
  19. filteredCandidates: base + "/applicants",
  20. allFilteredAdsCandidates: base + "/applicants/adsApplicants",
  21. options: base + "/applicants/options",
  22. initProcess: base + "/applicants/selection-init",
  23. },
  24. ads: {
  25. allAds: base + "/ads",
  26. createAd: base + "/ads",
  27. allFilteredAds: base + "/ads/filtered",
  28. allArchiveAds: base + "/ads/archive",
  29. adDetails: base + "/ads/details",
  30. archiveActiveAd: base + "/ads/archive-active-ad/:id",
  31. },
  32. technologies: {
  33. allTechnologies: base + "/technologies",
  34. },
  35. comments: {
  36. addComment: base + "/comments",
  37. },
  38. processes: {
  39. allLevels: base + "/selectionlevels",
  40. filteredLevels: base + "/selectionlevels/filtered",
  41. doneProcess: base + "/selectionprocesses",
  42. getApplicantProcesses: base + "/applicants/processes",
  43. changeStatus: base + "/selectionprocesses/status-update",
  44. changeInterviewer: base + "/selectionprocesses/interviewer-update",
  45. // allProcesses: base + "/selectionprocesses",
  46. },
  47. patterns: {
  48. allPatterns: base + "/patterns",
  49. patternById: base + "/patterns/:id",
  50. patternApplicantsById:
  51. base + "/patterns/corresponding-pattern-applicants/:id",
  52. filteredPatterns: base + "/patterns/filter",
  53. createPattern: base + "/patterns",
  54. updatePattern: base + "/patterns/:id",
  55. scheduleAppointment: base + "/patterns/schedule-interview",
  56. },
  57. stats: {
  58. stats: base + "/stats",
  59. },
  60. schedule: {
  61. specificSchedule: base + "/schedule",
  62. },
  63. applicant: {
  64. applyForAd: base + "/applicants/apply-for-ad",
  65. getCV: base + "/applicants/get-CV",
  66. },
  67. screeningTest: {
  68. allTests: base + "/screeningtest",
  69. createTest: base + "/screeningtest",
  70. },
  71. categories: {
  72. allCategories: base + "/categories/names",
  73. },
  74. tags: {
  75. allTags: base + "/tags/names",
  76. },
  77. fileTags: {
  78. filters: base + "/tags",
  79. },
  80. files:{
  81. uploadFile: base + "/files",
  82. all: base + "/files/filtered"
  83. }
  84. };