forked from TrueCloudLab/frostfs-contract
de255b0a43
Container now stored the same way as ExtendedACL: with signature and session token. This is required for signature checks when session token presented. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
39 lines
926 B
YAML
39 lines
926 B
YAML
name: "NeoFS Container"
|
|
safemethods: ["get", "owner", "list", "eACL", "getContainerSize", "listContainerSizes", "version"]
|
|
events:
|
|
- name: containerPut
|
|
parameters:
|
|
- name: container
|
|
type: ByteArray
|
|
- name: signature
|
|
type: ByteArray
|
|
- name: publicKey
|
|
type: ByteArray
|
|
- name: token
|
|
type: ByteArray
|
|
- name: containerDelete
|
|
parameters:
|
|
- name: containerID
|
|
type: ByteArray
|
|
- name: signature
|
|
type: ByteArray
|
|
- name: token
|
|
type: ByteArray
|
|
- name: setEACL
|
|
parameters:
|
|
- name: eACL
|
|
type: ByteArray
|
|
- name: signature
|
|
type: ByteArray
|
|
- name: publicKey
|
|
type: ByteArray
|
|
- name: token
|
|
type: ByteArray
|
|
- name: StartEstimation
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|
|
- name: StopEstimation
|
|
parameters:
|
|
- name: epoch
|
|
type: Integer
|