Skip to content

Content

Alex Hedley edited this page Jan 20, 2019 · 1 revision

Content

Usage

URL

/Version/Content/ID Roles

WebAPI.Content (Additional roles might be required if the content is restricted) Information

This API will return the content object. Note that the object structure depends on the type of the object Note: If the user does not have access for the requested content, a 404 would be returned Fields returned are

ID Type Language Released Updated Additional fields returned (depending on the type of the content) are Driver

Title Summary Body Files - A list of files in this driver, each containing Title Version Size SHA1 SHA256 MD5 ReadmeURL URL OperatingSystems Priority Type Manual

Title Summary Body Version Size FileType URL ProductInfo, TroubleShooting, ProductSecurity, PartInfo, AccessoryInfo, ForumKnowledgeBase etc

Title Summary Body Video

Title Summary Body Format Thumbnail URL Variants

Pass ID in Query String

Usage: /Content?ID=ID1 Same as the parent Pass multiple IDs in query string

Usage: /Content?ID=ID1,ID2 e.g.. /Content?ID=ID1&ID=ID2 Returns a list of response objects (like parent) POST with the data containing a comma separated list of IDs

e.g.. curl --data "ID=ID1,ID2" -X POST "http://supportapi.lenovo.com/V2.5/Content" Returns a list of response objects (like parent) Contents of specific type for a product

Usage: /Content?Product=SS1&Type=TYPE1 Parameter Product={Serial} or {ID} Parameter Type={Type}, multiple types can be passed separated by comma Valid types are Driver Manual Video KnowledgeBase TroubleShooting ProductInfo PartInfo ProductSecurity ForumSolution ForumKnowledgeBase (and many more) This method will return a list of matching contents for this product. Refer to the object structure above for the format of individual objects Note: This list will not include any contents that the user does not have access to

Clone this wiki locally