esi / esi-issues

Issue tracking and feature requests for ESI
https://esi.evetech.net/
209 stars 23 forks source link

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

Open wfjsw opened 2 years ago

wfjsw commented 2 years ago

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:

warlof commented 2 years ago

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