{"type":"api","title":"Resync service by service-type and service-key","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/8196ebef-dfe5-3cb4-99c9-345ac0d5cc63","info":{"title":"nso-connector service APIs","description":"APIs exposed by nso-connector 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-nso-connector-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cnc-host}:{cnc-port}/crosswork/cat/nso-connector/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":["1. Resync"],"summary":"Resync service by service-type and service-key.","description":"Resyncs the service and service-plan of this service.","operationId":"serviceResync","parameters":[{"name":"typePath","in":"query","description":"This parameter is lenient. For the path value, can refer to serviceStatus with extended=true parameter: model_entities entry. We recommend that you use the full path as shown in the following example.","required":true,"schema":{"type":"string"},"example":"ietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service"},{"name":"serviceName","in":"query","description":"The encoded key of the service, as defined as service key.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"},"example":"{\"syncResponse\":{\"syncDescription\":\"Succeeded, service sync was executed in the background for type= ietf-l2vpn-ntw:l2vpn-ntw/vpn-services/vpn-service, and serviceName= L2VPN_NM-ELAN-270\",\"syncStatus\":\"SUCCESS\"},\"status\":\"OK\"}"}}},"500":{"description":"Internal server error"}},"__originalOperationId":"serviceResync","security":[{"bearerAuth":[]}],"method":"post","path":"/api/serviceResync"}}