Versions Compared

Key

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

...

  • Store
  • Get data
  • Get metadata
  • Get metadata list
  • List
  • Delete

 

The system will expose APIs to clients

...

OperationREST APIBodyResponse
PutPUT /v3/namespaces/<namespace>/securekeys/<key-name>

Content-Type: application/json

Code Block
titlePut Data
{
  "description" :  "<description>"
  "datavalue"        :  "<data><value>"
  "properties"  :  {
    "key"  :  "value"
	...
  }
}

200 OK

DeleteDELETE /v3/namespaces/<namespace>/securekeys/<key-name>N/A

200 OK

404 Not Found

Get

GET /v3/namespaces/<namespace>/securekeys/<key-name>

N/A

200 OK

datavalue

404 Not Found

Get MetadataGET /v3/namespaces/<namespace>/securekeys/<key-name>/metadataN/A

200 OK

Content-Type: application/json

Code Block
{
  "name"        :  "<name>"
  "description" :  "<description>"
  "created"     :  <millis-epoch> //long
  "properties"  :  {
    "key"  :  "value"
	...
  }
}

404 Not Found

ListGET /v3/namespaces/<namespace>/securekeys/N/A

200 OK

Content-Type: application/json

Code Block
[
  {
	"name"        : "<name>"
	"description" : "<description>"
  }
  {
	"name"        : "<name>"
	"description" : "<description>"

  }
  {
	"name"        : "<name>"
	"description" : "<description>"

  }
  ...
]

...