Skip to content

Make split info a status #332

@cthulhu-rider

Description

@cthulhu-rider

Is your feature request related to a problem? Please describe.

are response body fields. In general, split info is a particular response payload. However, it is mutex with "normal" data - header and/or payload chunks. This makes it more of a response status

in Go SDK, https://pkg.go.dev/github.com/nspcc-dev/neofs-sdk-go/object#SplitInfoError is an error, and they are also kinda status

Describe the solution you'd like

dedicate new status code for split info.

message SplitInfo {
itself will be a detail. Deprecate body field. Require servers to respond w/o body depending on the
neo.fs.v2.refs.Version version = 1 [json_name = "version"];
field

Describe alternatives you've considered

no more

Additional context

developing new object GET API

Metadata

Metadata

Assignees

No one assigned

    Labels

    I3Minimal impactS2Regular significanceU4Nothing urgentenhancementImproving existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions