The HTTP REST API supports the complete FileSystem/FileContext interface for HDFS. You need to redirect to Hadoop's documentation for detailed guide on WEBHDFS API.
This link will take you to Apache Hadoop site where you can access documentation for latest version of WEBHDFS APIs.