Build on SysexDB, fairly.
These terms apply to anyone who writes software that uses the SysexDB API. They add to the terms of use of the site, which still apply. By using the API you accept both.
Your app is registered
Every app has its own client ID, given by the SysexDB staff. Use it only for the app it was given for, and keep the information we have about the app (name, developer, website, contact) up to date. The staff may refuse a registration, and may block an app at any time, for example when it breaks these terms or puts the site at risk. Blocking an app disconnects all its users.
Your users decide
- Never ask users for their SysexDB password, and never send it anywhere. Users connect your app through the SysexDB pages (the device flow or the authorization code flow), and only there.
- Ask only for the permissions your app needs, and use them only for what the user expects from your app.
- Keep tokens as safely as a password: on the user's computer, not in logs, not on a shared server. Revoke them when the user logs out of your app.
- Private SysEx files and the other data of a user belong to that user. Do not share them with anyone, and do not keep copies outside the user's own computer without asking.
- Upload, change, publish or delete a user's files only when the user asks for it. Before an upload, tell the user that the description is published under CC BY-SA 4.0 and, for a private file, that the private storage is not a backup.
- When a user disconnects your app, stop using their data.
Use the API fairly
-
Stay within the limits: 120 requests a minute for each user with a token;
without a token 60 a minute from each address and
600 a minute for the whole app. When the answer is
429, wait as long as theRetry-Afterheader says. - Downloads follow the limits of the website (30 different files a minute, 50 an hour). Download a file when the user asks for it: do not copy the archive, in full or in large parts.
- Cache what does not change often, and do not hide which app is calling.
- Do not try to reach data the API does not give you, or to get around the limits or the permissions.
Show where the data comes from
When your app shows data from SysexDB, say so ("Data from SysexDB.com") and, where you can, link to the
page of the device or of the file: every answer of the API carries its url. What you may do
with the data is in the data licence.
Our name
You may say that your app works with SysexDB. Do not suggest that SysexDB made, checked or endorses your app, and do not use the SysexDB name or logo as the name or logo of your app.
Changes and availability
SysexDB is a free service kept by volunteers. The API has no guaranteed availability, and it may change,
be limited or stop. Within v1 changes are compatible: fields may be added, not removed or
redefined. Incompatible changes will come in a new version, announced in the
specification repository before
they happen. These terms may change too: the date at the top says when they last did.
No warranty
The API and the data are provided as they are, without any warranty. As far as the law allows, SysexDB and the people who run it are not liable for any loss that comes from using the API, from its being unavailable, or from the data and the files it serves.
Contact
Questions, problems and requests go through the contact form. For the specification, open an issue in the repository on GitHub.