Versions Compared

Key

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

...

OperationREST APIBodyResponse
PutPUT /v3/security/store/namespaces/<namespace>/key

Content-Type: application/json

Code Block
titlePut Data
{
  "name"        :  "<name>"
  "description" :  "<description>"
  "data"        :  "<data>"  //utf-8
  "properties"  :  {
    "key"  :  "value"
	...
  }
}

200 OK

DeleteDELETE /v3/security/store/keynamespaces/<namespace>/keys/<key-name>N/A

200 OK

404 Not Found

Get

GET /v3/security/store/namespaces/<namespace>/

key

keys/<key-name>

N/A

200 OK

Content-Type: application/json

Code Block
{
  "name"  :  "<name>"
  "data"  :  "<data>"  //utf-8
}

404 Not Found

Get MetadataGET /v3/security/store/namespaces/<namespace>/keykeys/<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/security/store/namespaces/<namespace>/keys/namesN/A

200 OK

Content-Type: application/json

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

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

  }
  ...
]
Get multiple MetadataGET /v3/security/store/namespaces/<namespace>/keys/metadata?key=<key-name>&key=<key-name>,...N/A

200 OK

Content-Type: application/json

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

...