forked from TrueCloudLab/frostfs-api
[#67] Typo fixes
Signed-off-by: Stanislav Bogatyrev <stanislav@nspcc.ru>
This commit is contained in:
parent
4aea595cc6
commit
6014665fa6
2 changed files with 14 additions and 2 deletions
|
@ -258,7 +258,7 @@ message HeadResponse {
|
||||||
// Carries the requested object header or it's part
|
// Carries the requested object header or it's part
|
||||||
oneof head{
|
oneof head{
|
||||||
// Full object header with object ID signature
|
// Full object header with object ID signature
|
||||||
Header HeaderWithSignature = 1;
|
HeaderWithSignature header = 1;
|
||||||
|
|
||||||
// Short object header
|
// Short object header
|
||||||
ShortHeader short_header = 2;
|
ShortHeader short_header = 2;
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
- [HeadRequest.Body](#neo.fs.v2.object.HeadRequest.Body)
|
- [HeadRequest.Body](#neo.fs.v2.object.HeadRequest.Body)
|
||||||
- [HeadResponse](#neo.fs.v2.object.HeadResponse)
|
- [HeadResponse](#neo.fs.v2.object.HeadResponse)
|
||||||
- [HeadResponse.Body](#neo.fs.v2.object.HeadResponse.Body)
|
- [HeadResponse.Body](#neo.fs.v2.object.HeadResponse.Body)
|
||||||
|
- [HeaderWithSignature](#neo.fs.v2.object.HeaderWithSignature)
|
||||||
- [PutRequest](#neo.fs.v2.object.PutRequest)
|
- [PutRequest](#neo.fs.v2.object.PutRequest)
|
||||||
- [PutRequest.Body](#neo.fs.v2.object.PutRequest.Body)
|
- [PutRequest.Body](#neo.fs.v2.object.PutRequest.Body)
|
||||||
- [PutRequest.Body.Init](#neo.fs.v2.object.PutRequest.Body.Init)
|
- [PutRequest.Body.Init](#neo.fs.v2.object.PutRequest.Body.Init)
|
||||||
|
@ -406,8 +407,19 @@ Response body
|
||||||
|
|
||||||
| Field | Type | Label | Description |
|
| Field | Type | Label | Description |
|
||||||
| ----- | ---- | ----- | ----------- |
|
| ----- | ---- | ----- | ----------- |
|
||||||
| header | [Header](#neo.fs.v2.object.Header) | | Full object header |
|
| header | [HeaderWithSignature](#neo.fs.v2.object.HeaderWithSignature) | | Full object header with object ID signature |
|
||||||
| short_header | [ShortHeader](#neo.fs.v2.object.ShortHeader) | | Short object header |
|
| short_header | [ShortHeader](#neo.fs.v2.object.ShortHeader) | | Short object header |
|
||||||
|
|
||||||
|
|
||||||
|
<a name="neo.fs.v2.object.HeaderWithSignature"></a>
|
||||||
|
|
||||||
|
### Message HeaderWithSignature
|
||||||
|
Tuple of full object header and signature of object ID.
|
||||||
|
|
||||||
|
|
||||||
|
| Field | Type | Label | Description |
|
||||||
|
| ----- | ---- | ----- | ----------- |
|
||||||
|
| header | [Header](#neo.fs.v2.object.Header) | | Full object header |
|
||||||
| signature | [neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature) | | Signed object_id to verify full header's authenticity through following steps: 1. Calculate SHA-256 of marshalled Headers structure. 2. Check if the resulting hash matched ObjectID 3. Check if ObjectID's signature in signature field is correct. |
|
| signature | [neo.fs.v2.refs.Signature](#neo.fs.v2.refs.Signature) | | Signed object_id to verify full header's authenticity through following steps: 1. Calculate SHA-256 of marshalled Headers structure. 2. Check if the resulting hash matched ObjectID 3. Check if ObjectID's signature in signature field is correct. |
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue