Skip to main content

to_rest_id

Function to_rest_id 

Source
pub fn to_rest_id(uuid: &str, resource_type: &str) -> String
Expand description

Convert a Mercury activity UUID to a Webex REST API ID.

Mercury uses raw UUIDs; the REST API uses base64-encoded ciscospark://us/{type}/{uuid} URIs.

resource_type should be "MESSAGE", "PEOPLE", or "ROOM".