rest format