Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

fetch service_instance is not conclusive #265

Open
seilc1 opened this issue May 23, 2019 · 0 comments
Open

fetch service_instance is not conclusive #265

seilc1 opened this issue May 23, 2019 · 0 comments
Labels

Comments

@seilc1
Copy link
Contributor

seilc1 commented May 23, 2019

Problem

Fetching a deleted service_instance does still return the informations about the service_instance. This is a nice feature, as this allows to still show informations about a 'deleted' service_instance. The bad part is, that it's now not clear if the service_instance actually still exists.

SPEC: is not completely conclusive - 404 is only mentioned for when not existing or in creation ... not what shouls happen on deleted

Solution 1: Return 404 as soon as the service_instance is deleted

Solution 2: Add 4 new properties to the FETCH Response:

  • created_at: date
  • created: true
  • deleted_at: null
  • deleted: false

Solution 3: Retunr 410 GONE - Would not be complient with SPEC

@seilc1 seilc1 added the bug label May 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant