What is the file property and how to retrieve and modify the value

I want to new a "Document custom property" by the API, and use the API to retrieve and modify the value?