Public
Documentation Settings

API for Crosswork CAHI v3.2

Cisco Crosswork Network Automation is a microservices platform that brings together streaming telemetry, big data, and model-driven application programming interfaces (APIs) to redefine service provider network operations. Cisco Crosswork Network Automation offers a platform for customers and partners to collaborate on and build an application ecosystem around on-box innovation. The Cisco Cisco Crosswork Network Automation product suite is a highly scalable and efficient operations automation framework. It enables service providers to quickly deploy intent-driven, closed-loop operations.

Authentication

POSTGenerate a Ticket

https://{{crosswork_ip}}:30603/crosswork/sso/v1/tickets?username=admin&password=Cwork123!

Use this API Call to generate a ticket.

HEADERS
Content-Type

application/x-www-form-urlencoded

Accept

text/plain

Cache-Control

no-cache

PARAMS
username

admin

password

Cwork123!

Example Request
curl
curl --location -g --request POST 'https://{{crosswork_ip}}:30603/crosswork/sso/v1/tickets?username=admin&password=Cwork123!' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: text/plain' \
--header 'Cache-Control: no-cache' \
--data ''
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTGenerate a Token

https://{{crosswork_ip}}:30603/crosswork/sso/v1/tickets/{{ticket}}

Use this API Call to generate the token using the generated ticket.

HEADERS
Content-Type

application/x-www-form-urlencoded

Accept

text/plain

Cache-Control

no-cache

Bodyurlencoded
service

https://172.23.193.107:30603/app-dashboard

Example Request
curl
curl --location -g 'https://{{crosswork_ip}}:30603/crosswork/sso/v1/tickets/{{ticket}}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Accept: text/plain' \
--header 'Cache-Control: no-cache' \
--data-urlencode 'service=https://172.23.193.107:30603/app-dashboard'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

ZTP