I\'m wondering if its possible to programmatically discover all the endpoints of a particular API.
So for example if I GET this URL with a browser or curl: https://
Some RESTful APIs publish a Web Application Description Language resource (WADL - pronounced like the walk that ducks do - for short). JAX-RS, or at least Jersy webapps will do this by default at the application root URL /application.wadl. It doesn't appear that Twitter's API is one of these. Many REST purists would argue that the API should be self describing and self discoverable simply by interacting with it and seeing what other endpoints it will give you.
More about WADL from wikipedia...