{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/d1c072e8-3151-3b90-a574-d773df736b16","info":{"title":"Crosswork ZTP Service API","description":"Crosswork ZTP Service API for devices, profiles, serial numbers, and static routes. These APIs permit users to add, update, delete, query, and perform bulk CSV import/export of devices and device onboarding operations using ZTP services.","version":"7.1.0","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"}},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/ztp-service-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/ztp/v1"}],"securitySchemes":{"bearerAuth":{"description":"Security definitions details.","in":"header","name":"Authorization","type":"apiKey"}}},"spec":{"description":"Serial Number response object.","properties":{"code":{"description":"Response code. Indicates success/failure.","format":"int32","type":"integer"},"data":{"description":"List of Serial Number object data.","items":{"description":"Serial Number object.","properties":{"isInUse":{"description":"either \"true\" or \"false\"","type":"string"},"isOvLinked":{"description":"either \"true\" or \"false\"","type":"string"},"modifiedDate":{"format":"int64","description":"last modified date in unix time format","type":"integer"},"ovContent":{"description":"base64 enc string of ownership voucher file","type":"string"},"ovFilename":{"description":"ownership voucher file name","type":"string"},"serialNumber":{"description":"The serial number of the device","type":"string"}},"type":"object","$$ref":"#/components/schemas/cwztpsvcZtpSerialNumber"},"type":"array"},"message":{"description":"Response message. Indicates success/failure reason.","type":"string"},"pagination":{"description":"Used to filter results, paginationin device and other APIs.","properties":{"Criteria":{"description":"Response filter criteria. Not used.","type":"string"},"Descending":{"description":"Order response in ascending/descending order. Default value: \"false\"","format":"boolean","type":"boolean"},"MatchCase":{"description":"Do case matching. Not used.","format":"boolean","type":"boolean"},"PageNum":{"description":"Page number in the list of generated records, paginated by \"PageSize\". Starts with 0.","format":"int64","type":"integer"},"PageSize":{"description":"Number of records to be returned in a response.","format":"int64","type":"integer"},"SortBy":{"description":"Field to be used for sorting responses.","type":"string"},"TotalCount":{"description":"Total number of records matching the query criteria.","format":"int64","type":"integer"}},"type":"object","$$ref":"#/components/schemas/cwztpsvcZtpFilterData"}},"type":"object","$$ref":"#/components/schemas/cwztpsvcZtpSerialNumberResponse","title":"cwztpsvcZtpSerialNumberResponse"}}