...
Parameter | Description | Type | Required |
---|---|---|---|
requestType | API request type that returns an organization’s policies. | string | Yes |
orgToken | API key which is a unique identifier of the organization. | string | Yes |
userKey | The ID of the user’s profile, which uniquely identifies the user in WhiteSource. | string | Yes |
aggregatePolicies | Whether to include policies of the global organization to which this organization belongs. false by default. | boolean | No |
Request Example
|
...
Parameter | Description | Type | Required |
---|---|---|---|
requestType | API request type that returns a product’s policies. | string | Yes |
productToken | Unique identifier of the product. | string | Yes |
userKey | The ID of the user’s profile, which uniquely identifies the user in WhiteSource. | string | Yes |
aggregatePolicies | Whether to include policies of the organization and global organization to which this product belongs. false by default. | boolean | No |
Request Example
Code Block |
---|
{ "requestType":"getProductPolicies", "productToken":"product_token", "userKey": "user_key" } |
...
Parameter | Description | Type | Required |
---|---|---|---|
requestType | API request type that returns a project’s policies. | string | Yes |
projectToken | Unique identifier of the project. | string | Yes |
userKey | The ID of the user’s profile, which uniquely identifies the user in WhiteSource. | string | Yes |
aggregatePolicies | Whether to include policies of the product, organization and global organization to which this project belongs. false by default. | boolean | No |
Request Example
Code Block |
---|
{ "requestType":"getProjectPolicies", "projectToken":"project_token", "userKey": "user_key" } |
...