esi-issues icon indicating copy to clipboard operation
esi-issues copied to clipboard

GET /fleets/{fleet_id}/join_requests : List all outstanding join requests to fleet

Open wfjsw opened this issue 2 years ago • 1 comments

Feature Request

Add an endpoint GET /fleets/{fleet_id}/join_requests to fetch the list of join requests of a fleet when Application requires approval is on. Optionally add an endpoint DELETE /fleets/{fleet_id}/join_requests/{character_id} to reject applicants. For Accept POST /fleets/{fleet_id}/members/ can be reused.

Use case

Used to implement a smart waitlist and queue for capped fleet.
Used to verify the ship type, location, ship fit etc before joining fleet.

Authentication

esi-fleets.read_fleet.v1

Example return

[
  {
    "character_id": 95538921,
    "requested_on": "1970-01-01 00:00:00"
  },
  ...99 other people
]

Checklist

Check all boxes that apply to this issue:

  • [x] Feature request description is provided
  • [x] Use case exists
  • [x] Feature requires a new route
  • [ ] Feature adds data to existing route
  • [ ] Feature requires new auth scope
  • [x] Feature can reuse existing scope
  • [ ] Feature does not require auth
  • [ ] Meta feature, applies to all routes

wfjsw avatar Feb 17 '22 03:02 wfjsw

Mostly a typo wining, but I feel more comfortable with this as base endpoint fleets/{fleet_id}/requests

warlof avatar Feb 17 '22 07:02 warlof