Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
Datahub
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 93
    • Issues 93
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • ICAT
  • Datahub
  • Merge Requests
  • !437

Merged
Opened Sep 01, 2020 by Axel Bocciarelli@bocciare
  • Report abuse
Report abuse

Organise API endpoint utilities

  • Overview 2
  • Commits 1
  • Pipelines 1
  • Changes 33

Just re-organising the functions into separate files for now. I've split the IDs server endpoints into their own file too and added an ids.js config file.

Usually, the functions in an api folder return promises (e.g. return axios.get(...)). At the moment, axios is called in action creators. Since we're gonna move to Rest Hooks and remove a lot of these actions, I didn't bother changing anything on that front.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
0
Labels
None
Assign labels
  • View project labels
Reference: icat/E-DataPortal!437

Revert this merge request

This will create a new commit in order to revert the existing changes.

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.