Website > API Support

API News

(1/1)

Saga Musix:
7 June 2016
Most API functions now also can be filtered by channel count. The new API parameter "channels" is documented here:
https://modarchive.org/index.php?xml-api-usage-channels

The API entry point now also sets the Access-Control-Allow-Origin header, so it is now theoretically possible to use the API through frameworks / languages / etc. that employ Same Origin Policy rules.

m0d:
Cool

Saga Musix:
25 August 2016
Sometimes, duplicate modules are merged to only keep one copy of the module. Previously, when trying to access the old module by its ID, this would return an error. Starting from today, there will be a <redirect>$new_module_id</redirect> field present in the XML output of the API in addition to this error. For clients not supporting this new field yet, nothing changes (apart from the error message). But if you want to update your client, you can now check for the presence of a redirect field and read the new module ID from it. Note that only the view_by_moduleid action is affected by this - that is, module searched new return old, merged modules.

Navigation

[0] Message Index

Go to full version