Page MenuHomePhabricator

🏠️ Respond 404 if the property does not exist
Closed, ResolvedPublic

Description

Respond 404 if the property does not exist:

error type HTTP Response codeResponse content
Property with the given ID does not exist404"code": "property-not-found",
"message": "Could not find a property with the ID: '{property_id}'"

Event Timeline

Muhammad_Yasser_Jazirahly_WMDE renamed this task from 🏠️ Property doesn't exist error to 🏠️ Respond 404 if the property does not exist.May 31 2023, 10:44 AM
Jakob_WMDE subscribed.

Change 927709 had a related patch set uploaded (by Muhammad Jaziraly; author: Muhammad Jaziraly):

[mediawiki/extensions/Wikibase@master] REST: Respond 404 if the property does not exist

https://gerrit.wikimedia.org/r/927709

Change 927709 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Respond 404 if the property does not exist

https://gerrit.wikimedia.org/r/927709