italia / eudi-wallet-it-docs

Italian EUDI Wallet Technical Specifications
Creative Commons Zero v1.0 Universal
55 stars 19 forks source link

Status Attestations Responses #219

Closed peppelinux closed 7 months ago

peppelinux commented 7 months ago

Me and @fmarino-ipzs had further discussion on https://github.com/italia/eudi-wallet-it-docs/pull/143#pullrequestreview-1906853023

We agreed that given the resource of the HTTP request is the Status Attestation, it's ok to consider any issue related to the Credential as a bad request. Hence, requesting a Status Attestation for a revoked Credential is not different from mistyping one parameter.

Error codes are there to provide hints to clients so they can trace errors and decide to inform Users accordingly, but they add no semantics to the response itself.

Originally posted by @balanza in https://github.com/italia/eudi-wallet-it-docs/issues/143#issuecomment-1972848211

peppelinux commented 7 months ago

Closed by https://github.com/italia/eudi-wallet-it-docs/pull/221