bacalhau-project / bacalhau

Compute over Data framework for public, transparent, and optionally verifiable computation
https://docs.bacalhau.org
Apache License 2.0
642 stars 85 forks source link

Return HTTP 410 for legacy API methods #4104

Closed frrist closed 1 week ago

frrist commented 1 week ago

Returning a helpful message like:

{
  "message": "This endpoint is deprecated and no longer available. Please use /new-endpoint.",
  "new_parameters": "Refer to the new API documentation for updated parameters."
}

when a deprecated method is called.