Dash-Industry-Forum / CPIX

25 stars 9 forks source link

Error responses for HTTP transport #40

Closed sergiofagostinho closed 6 years ago

sergiofagostinho commented 6 years ago

Hi,

In the spec, the recommended transport is RESTful APIs.

Any implementation will need to signal errors. Does it make sense for the CPIX spec to specify the response body contract for errors?

Best regards,

sergiofagostinho commented 6 years ago

Someone pointed out to me RFC 7807 - Problem Details for HTTP APIs. What do you think?

lpiron commented 6 years ago

See the answer to bug #39. This is a work in progress. If you are DASH-IF member, you are welcomed to participate to the discussion. This is under a private repository right now.

Best regards