S

Session Smart Router GraphQL API

GraphQL discovered

Details
Endpoint
https://<SSR address>/documentation/graphql
Spec
introspection
Docs
https://www.juniper.net/documentation/us/en/software/session-smart-router/docs/intro_rest_graphql_apis
Authentication
Session Smart Router API authorization token bearer discovered
Authorization: Bearer <credential>

On a Session Smart Router, call the login API POST /api/v1/login on your router (for example https://<SSR address>/api/v1/login) with the username and password of a suitably privileged SSR user; the router returns a token used for subsequent REST and GraphQL API calls. Juniper documents this in Introduction to REST and GraphQL APIs.