Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:mervis-scada:50-api [2025/07/24 08:16] m.skrivanek [[Depricated] api/get/history] |
en:mervis-scada:50-api [2025/07/24 08:46] (current) m.skrivanek [api/v2/get/authenticate] |
||
---|---|---|---|
Line 54: | Line 54: | ||
**Response** | **Response** | ||
+ | |||
+ | * token (string) - Authentication token for calling other API methods. | ||
+ | * tokenValidFor (TimeSpan) - The duration for which the provided token is valid. This value is not returned if a token wasn't provided or if its validity period isn't configured. Example: " | ||
+ | * changePwdBefore (DateTime or null) - If present, this specifies the date and time by which the current password must be changed. This period is determined by the domain' | ||
+ | * notifyNearingPwdExpirationIn (TimeSpan or null) - If present, this indicates how long before the password expires (refer to changePwdBefore) a notification should be displayed to the user. Example: " | ||
+ | |||
+ | |||
<code javascript> | <code javascript> | ||
Line 77: | Line 84: | ||
} | } | ||
}</ | }</ | ||
- | |||
- | * You **should** use the received **Token** in subsequent API calls. | ||
- | |||
- | |||
====[Deprecated] api/ | ====[Deprecated] api/ | ||