Authentication

You need a security context to make API calls to CLOUDFLOW. With this API call you can create a session key.

The call api.auth.create_session(user_name, user_pass) creates a session key which can be used in the other API calls. A session key created with this call expires after 12h.

Example

The call api.auth.create_session('admin', 'admin')

returns:

{ session: "553d66a7a329010000000091F7AFE29CECEA99322E1F31BC5D11BC321435874639"}

To use this session for other API calls, it can be set on the API object this way:

api.m_session = "553d66a7a329010000000091F7AFE29CECEA99322E1F31BC5D11BC321435874639"