Sorry to say, but it looks like you should re-read this thread from the top. The questions you’re asking in your latest comments have all been answered already, and at this point, it simply appears we’re going in circles.
Here was a short version of the answer you’re now are looking for:
But, to break it down one more time (assuming you’ve made a deploy with 1000 files already):
- Send a API request containing the list of all files that you want the deploy to contain. So in your case, you need to send a request with the name and SHA1 of all 1000 files you want in the new deploy.
- Netlify will process the request, and send a response in which it will mention the required files for that deploy to complete. In your example, the
required_files
array in the response will only have 1 file. - Send the file to Netlify API and the deploy would be completed.
In other words, that files that you expect the deploy to have should all be listed in the API request that you’d make. Only then if you upload the changed files, you don’t have to upload the remaining 999.