These .pdf and .json files are apipie/swagger-generated documentation for two of XRAS's services.
For the identity service, example code for a non-XSEDE client is available in Ruby and PHP.
XSEDE hosts live documentation for its instance of the identity service and the accounting service.