cs3org / OCM-API

OpenCloudMesh API
38 stars 11 forks source link

Private data: endpoints for operations #8

Closed dvh closed 1 year ago

dvh commented 7 years ago
  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?

DeepDiver1975 commented 7 years ago

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.

dvh commented 7 years ago

Added wontfix label because it's out of scope.

dvh commented 7 years ago

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

glpatcern commented 1 year ago

Obsoleted