Current API Session
Services
Returns data indicating whether a client should updates it service list
Changed onRetrieves data indicating the last time data relevant to this API Session was altered that would necessitate service refreshes.
get/current-api-session/service-updates
Request
- Base URLhttps://demo.ziti.dev/edge/client/v1
- Auth
- API key in header zt-session
- or OAuth 2Authorization code/oidc/authorizeToken URL/oidc/tokenScopesopenid
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Data indicating necessary service updates
Example response
{
"data": {
"lastChangeAt": "2000-01-23T04:56:07.000+00:00"
},
"meta": {
"apiEnrollmentVersion": "apiEnrollmentVersion",
"apiVersion": "apiVersion",
"filterableFields": [
"filterableFields",
"filterableFields"
],
"pagination": {
"limit": 0.8008281904610115,
"offset": 6.027456183070403,
"totalCount": 1.4658129805029452
}
}
}Changes
- info
added the non-success response with the status
- info
- warning
the optional response header
WWW-Authenticateremoved for the status200 - warning
the optional response header
WWW-Authenticateremoved for the status401 - warning
the optional response header
WWW-Authenticateremoved for the status429 - info
removed the non-success response with the status
- warning