-
assigned issue to
Add Licence Field to "projects:show" in API
would be good if we have a field "licence" which points to "Unknown" or "Bad" or "Good"
Comments (5)
-
-
- changed status to resolved
@digitalkaoz I just implemented it. Now each project dependency has an Array "licenses". It is an Array because some dependencies have a dual license or even more than 2 licenses. The elements in the Array look like this.
on_whitelist
can have 3 values:- true
- false
- null (In that case there is no license whitelist assigned to the project)
on_cwl
stands for "on component whitelist". The values are similar to theon_whitelist
. If the whole Array is empty[]
then there is no license available.Let me know if that works for you or you need more.
-
@timgluz this change might be interesting for you as well for the veye client.
-
reporter mh its missing in the product endpoints
-
@digitalkaoz Same as here: https://bitbucket.org/versioneye/versioneye/issues/116/add-security-endpoint-to-the-api#comment-21916869
- Log in to comment