OCM-API icon indicating copy to clipboard operation
OCM-API copied to clipboard

Private data: endpoints for operations

Open dvh opened this issue 9 years ago • 3 comments

  1. There are different endpoints for GET, POST and DELETE, but the method itself should be enough to indicate the intended operation on the private data endpoint:

    • GET /privatedata/{storename}/{key} instead of GET /privatedata/getattribute/{storename}/{key}
    • POST /privatedata/{storename}/{key} instead of GET /privatedata/setattribute/{storename}/{key}
    • DELETE /privatedata/{storename}/{key} instead of GET /privatedata/deleteattribute/{storename}/{key}
  2. Should there also be GET /privatedata and GET /privatedata/{storename} endpoints to explore what's in there?

dvh avatar Nov 17 '16 12:11 dvh

I absolutely agree on the change of the route specification. But I question if this is a needed api within the scope of cloud federation.

DeepDiver1975 avatar Nov 18 '16 19:11 DeepDiver1975

Added wontfix label because it's out of scope.

dvh avatar Nov 28 '16 15:11 dvh

Reopened for further discussion, we'll use the Projects feature to determine scope.

dvh avatar Dec 05 '16 10:12 dvh

Obsoleted

glpatcern avatar Jul 24 '23 08:07 glpatcern