Hi All,
We are using the REST API to develop the mobile application for the content server. Presently the authentication token generated using the url http://XXXXXX/ecm/llisapi.dll/api/v1/auth is working for 10 minutes and after that it is getting failed. We are forced to generate the new token after 10 minutes. Please let me know if there is any way to make the generated Authentication token to be active for one day.
The CS REST API authentication ticket shares its life with the authentication cookie used by Classic CS UI (LLCookie). These two cannot be configured to work differently. Use the CS security settings administration page to modify the expiration time for both of them.
When you constantly make CS REST API calls, you can refresh the ticket to avoid the explicit /auth call to get a new ticket. If you find the OTCSTicket header in the response of a CS REST call, it contains a fresh ticket. You should remember and use for the following call and so on.
/auth
OTCSTicket