Lists the licenses used by the tools in the site. You can get information about an specific license using its slug
, which is the name of the license with spaces and punctuation signs replaced with -
(hyphen). If no slug
is provided, the method returns all known licenses.
Name | Type | Description |
---|---|---|
slug | string | The slug of the license. E.g. simplified-bsd . |
Requesting http://api.as3gamegears.com/1.0/licenses/simplified-bsd will produce the following return:
{ "id": 49, "name": "Simplified BSD", "slug": "simplified-bsd" }
Requesting http://api.as3gamegears.com/1.0/licenses will produce the following return:
{ "34": { "id": 34, "name": "AGPL3", "slug": "agpl3" }, "35": { "id": 35, "name": "Apache License 2.0", "slug": "apache-license-2-0" }, (...) "52": { "id": 52, "name": "zlib", "slug": "zlib" } }