Get Photo upload options
/api/v1/photos/uploads
const url = 'https://example.com/api/v1/photos/uploads';const options = {method: 'OPTIONS', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request OPTIONS \ --url https://example.com/api/v1/photos/uploads \ --header 'Authorization: Bearer <token>'It returns the resumable upload methods and checksum types supported by the Photos upload route.