Skip to content

Commit 0505c4d

Browse files
authored
Updated to text/vnd.mds+csv
1 parent ce9b2fd commit 0505c4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

general-information.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ The list of allowed `vehicle_type` values in MDS. Aligning with [GBFS vehicle ty
351351

352352
MDS APIs must handle requests for specific versions of the specification from clients.
353353

354-
Versioning must be implemented through the use of a custom media-type, `application/vnd.mds+json`, combined with a required `version` parameter. The one exception is the `/reports` endpoint, which returns CSV files instead of JSON, and so uses `application/vnd.mds+csv` as its media-type. (`csv` is not a [standard media-type suffix](https://www.iana.org/assignments/media-type-structured-suffix/media-type-structured-suffix.xml), but we consider this the least confusing option.)
354+
Versioning must be implemented through the use of a custom media-type, `application/vnd.mds+json`, combined with a required `version` parameter. The one exception is the `/reports` endpoint, which returns CSV files instead of JSON, and so uses `text/vnd.mds+csv` as its media-type.
355355

356356
The version parameter specifies the dot-separated combination of major and minor versions from a published version of the specification. For example, the media-type for version `1.0.1` would be specified as `application/vnd.mds+json;version=1.0`
357357

0 commit comments

Comments
 (0)