For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Open sourceSupportFAQsDocs Home
DocumentationAPI referenceRelease notes
DocumentationAPI referenceRelease notes
  • Introduction
    • Overview
    • Authentication
  • Guides
    • Operations Manager search APIs
    • Search API
    • URL query parameters
    • Use query parameters in API requests
  • Reference
        • POSTAdd lock item
        • POSTapplyTemplates task
        • POSTCheck if a device is alive
        • POSTEvaluate NSO when conditions
        • GETGet a NEDs in NSO
        • GETGet all NEDs detailed
        • GETGet authentication groups
        • GETGet filtered devices
        • GETGet filtered devices from an adapter
        • POSTGet JSON schemas of service models
        • POSTGet leafref values from NSO
        • POSTGet rollback files
        • GETList all authentication groups
        • GETList all NEDs in NSO
        • POSTMake REST actions to NSO
        • POSTrestQuery task
        • POSTRun a Live Status
        • POSTRun a Live Status command
        • POSTRun action
        • POSTRun Live Status commands
        • POSTsetItemNacmGroup task
        • POSTsetLeaf task
        • POSTValidate commit without committing
        • POSTValidate network configuration
LogoLogo
Open sourceSupportFAQsDocs Home
ReferenceNso Manager

Validate commit without committing

POST
http://localhost:3000/nso_manager/validateCommit
POST
/nso_manager/validateCommit
$curl -X POST http://localhost:3000/nso_manager/validateCommit \
> -H "Content-Type: application/json" \
> -u "<username>:<password>" \
> -d '{}'
1{
2 "isValid": true,
3 "message": "string"
4}
Returns error message if commit is invalid.
Was this page helpful?
Previous

Validate network configuration

Next
Built with

Authentication

AuthorizationBasic

Basic authentication of the form Basic <base64(username:password)>.

Request

request body
servicePathanyOptional
serviceDataanyOptional

Response

Result object
isValidboolean
True if commit is valid, false otherwise.
messagestring
Error message if any, empty string if commit is valid.

Errors

500
Internal Server Error