{"type":"api","title":"Get content of a uploaded custom file","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/7dc17182-c0a2-3a06-aef0-fb5fc1dcca2f","info":{"title":"cat-fp-deployment-manager service APIs","description":"APIs exposed by cat-fp-deployment-manager service","termsOfService":"http://www.cisco.com/web/siteassets/legal/terms_condition.html","contact":{"name":"Cisco Systems","url":"https://www.cisco.com","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/CNC/cat-fp-deployment-manager-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/cat/cat-fp-deployment-manager-service/v1","variables":{"cnc-host":{"default":"127.0.0.1","description":"host name or ip address of the target CNC Cluster"},"cnc-port":{"default":"30603","description":"port number of the target CNC Cluster"}}}],"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}}},"spec":{"tags":["cat-fp-deployer"],"summary":"Get content of a uploaded custom file","description":"Returns the content of a static file, either system or user provided custom file","operationId":"getStaticFileContent","parameters":[{"name":"fileName","in":"query","description":"The static file name","required":true,"schema":{"type":"string"},"example":"myCustomFile.JSON"},{"name":"customfile","in":"query","description":"True for user custom file, false for system","required":true,"schema":{"type":"boolean"},"example":"True/False"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"},"example":"{\"nsoYangPathsToInclude\":[\"/my-l2vpn:my-l2vpn-services/my-l2vpn\"]}"}}},"500":{"description":"Internal server error"},"503":{"description":"Service Unavailable"}},"__originalOperationId":"getStaticFileContent","security":[{"bearerAuth":[]}],"method":"get","path":"/twophasecommitrunner/staticFile"}}