Adapt endpoints for testcloud api