Skip to content

Set Library Copyright

Request

Edits or adds a copyright statement for a given library

Security
bearer-key
Path
orgTokenstringrequired

org UUID (by running Entities - Organization > Get User Organizations) or API Key (from the Mend SCA App: Integrate tab > API Key).

libraryUuidstringrequired

library UUID (get a project's library by running Library - Project > Get Project Libraries.

Bodyapplication/jsonrequired
copyrightstring(Copyright Text)
Example:"Copyright 2002 Landmark"
customDisclaimerstring(Custom Disclaimer)
Example:"a disclaimer for the copyright "
createdAtstring, (date-time)(Copyright Creation Date)
startYearstring(Copyright Start Year)
Example:"2020"
endYearstring(Copyright End Year)
Example:"2022"
authorstring(Copyright Author)
Example:"Cloud Conscious, LLC"
{ "copyright": "Copyright 2002 Landmark", "customDisclaimer": "a disclaimer for the copyright ", "createdAt": "2019-08-24T14:15:22Z", "startYear": "2020", "endYear": "2022", "author": "Cloud Conscious, LLC" }

Responses

OK

Bodyapplication/json
supportTokenstring(Support Token)
Example:"1171c60d"
retValobject(UserCopyrightReferenceDTO)
Response
{ "supportToken": "1171c60d", "retVal": { "type": "PROJECT_HOMEPAGE", "copyright": "Copyright 2021 x greater by the end of", "customDisclaimer": "string", "createdAt": "2019-08-24T14:15:22Z", "textUrl": "string", "startYear": "2021", "endYear": "2022", "author": "x greater by the end of", "referenceInfo": "x greater by the end of", "assignedBy": { … } } }