import uuid


def _obtain_signed_blob_storage_urls(self, workspace_id, id_count=1, blob_path=None):
    """Obtain a signed blob storage url.

    Returns:
        [dict]: blob storage urls
        [dict]: blob storage ids
    """
    blob_url = f'{self.HOME}/{self.API_1}/project/{workspace_id}/signed_blob_url'

    if blob_path:
        id_set = {"ids": [f'{blob_path}/{str(uuid.uuid4())}' for i in range(id_count)]}
    else:
        id_set = {"ids": [str(uuid.uuid4()) for i in range(id_count)]}

    response = self._auth_post(blob_url, body=None, json=id_set, return_response=True)
    data = response.json()
    urls = data
    return urls, id_set