Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Demonstrator - Reasoning WebAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • cogsys
  • Dare2Del
  • Demonstrator - Reasoning WebAPI
  • Issues
  • #37

Closed
Open
Created Dec 02, 2020 by Siebers, Michael@michael.siebersOwner

Refactor endpoints

For naming consistency I propose the following new endpoint names for POST requests:

New Endpoint Old Endpoint
/bg/add /bg
/bg/remove /clear
/bg/clear /clear/all

The functionally of GET requests to /bg should be kept.

Rationale

All endpoints working on background knowledge work on prefix /bg. The suffixes /add, /remove, and /clear convey their meaning more concisely than the original paths. The GET request to /bg is clearly separated from other requests.

Assignee
Assign to
Time tracking