Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


create dataspace v1create dataspace v2
URI

POST:

http://localhost:8883/cps/api/v1/dataspaces?dataspace-name=testDataspace

POST:

http://localhost:8883/cps/api/v2/dataspaces?dataspace-name=testDataspace

Response 

HTTP Code : 201

content-type: plain/text

response body : testDataspace

HTTP Code : 201

response body : NO CONTENT 

Note :

  1. Once we migrate to v2, other existing APIs will be supported in v1 and v2 without any impact.

...

  1. New endpoints will be supported under v2 only


Code changes to support v2 :  

...