api-notebook icon indicating copy to clipboard operation
api-notebook copied to clipboard

Resources with a .json extension

Open harry-wood opened this issue 7 years ago • 0 comments

As mentioned on the forum, I tried to use API Notebooks with our TransportAPI RAML, but hit a problem with the .json extensions in our resource names

We define resources with a with a .json extension. For example one API URL is http://transportapi.com/v3/uk/bus/stops/near.json?and_some_params

Because the resource is named 'near.json', the typeahead feature isn't finding it all, and it doesn't seem to be possible to call the endpoint.

I guess I would hope to use javascript looking like this : transportapi.uk.bus.stops.near.get(params)

harry-wood avatar Apr 11 '17 16:04 harry-wood