Skip to main content
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

undergoing Dataflow decompression jobs. This endpoint monitors files in ‘decompressing’ status and queries Google Cloud Dataflow to check job completion. When a job completes, the file status is updated to ‘decompressed’ and the file is moved to the processed folder. Status Validation:
  • Returns error if file is already ‘processed’ or ‘decompressed’
  • Only useful for files in ‘decompressing’ status

Code Examples

const response = await fetch('https://api.royalti.io/file/example-id', {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

const data = await response.json();
console.log(data);