Files
api-guidelines/message/message-formats.md
apidesigner 01054d9a3c Updates message/message-formats.md
Auto commit by GitBook Editor
2017-02-03 10:15:33 +00:00

1.1 KiB

Message Formats

Response Message Format

All response messages MUST support the application/vnd.siren+json (Siren) format.

The Siren format MUST NOT be used directly, instead it MUST be used as the base format for every application or domain-specific format to convey specific semantics. E.g. application/vnd.example.siren+json

Error Response Format

A The application/problem+json (Problem Detail) MUST be used in conjunction with Siren to communicate details about an error.

Request Message Format

Data body request messages MUST support the application/json (JSON) format.

The JSON format MUST NOT be used directly, instead it MUST be used as the base format for every application or domain-specific format to convey specific semantics. application/vnd.example+json

Data body request messages SHOULD also support the application/x-www-form-urlencoded (URL Encoded) format.