Skip to content

Add sort_by query param to /signers endpoint #44

@zone117x

Description

@zone117x

It's currently sorted by (weight, stacked_amount). I'll add a slot_index property.

We could also add something like a ?sort_by=weight|slot_index|etc query param.

Originally posted by @zone117x in #40

Something like:

GET /v1/cycle/{n}/signers?
   sort_by={slot_index|weight|last_seen|response_time|accepted_percent|voted_percent}
   &order={asc|desc}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions