The /sapi/language endpoint is a read-only endpoint that lists the configured set of languages for the current publication.
1.0 | Object structure (retrieve)
GET /sapi/language (language list)
GET /sapi/language/ID (language by id)
This is an example of a JSON language object representation.
{ type: "Language", id: 1, name: "English", publicationid: "1", createddate: "2010-02-11T16:26:15Z", updateddate: "2010-02-25T13:42:15Z", isocode: "en", default: true }
Mark the “default” property. Audio tracks and subtitles pointing to the default=true language will become the default track.