reverted to api. subdomain as endpoint, needs fixes before /_api works