How to display resources of a restful API [closed] - rest

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am trying to display the resources and associated subresources of a restful API I am working with (https://api.lendingclub.com/api/investor//). If resources aren't documented, is there any way to find them?

There presently is not a standard way to discover restful API operations like there is with WSDL based soap web services.
Documentation from the API provider is the best way to learn.

Related

Sails.js - Services vs Helpers [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am new to Sails.js coming from Laravel framework. I have an API i need to use in my Sails project and I wanted to write a mini library using the Services approach. But on the docs page about it https://sailsjs.com/documentation/concepts/services its stated that I shouldn't use Services but Helpers instead which kind of cofuses me - I have around 15 actions on the API I want to use - so should I create 15 different Helpers instead of one Service? That seems really odd to me and it will be a mess. Is there some better approach I am not seeing?
I see that I can still use Services but I am affraid they will be deprecated soon.
Thanks!

Rest API bulk naming convention [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
Are there any known best practices for web service REST API bulk naming?
Some suggestions for user resource :
/api/users-bulk
/api/bulk/users
/api/users/bulk
/api/users/_bulk
There is no rules, you can use any routes, but I prefer 3rd /api/users/bulk in case bulk is additional functionality for users (like get all users /api/users, get user by id /api/users/:id, ...). In this case all user related operations are under /api/user/.

Remote rest web service call using phalconphp [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to call API using Phalcon Php framework.
example:
http://example.com?key=abc
Phalcon has no internally build way to ask other services.
You can use either client built in incubator project:
https://github.com/phalcon/incubator/tree/master/Library/Phalcon/Http/Client
or a standard connection class as Guzzle, or native php curl methods.

Why is REST called an architecture style? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Why is REST an architecture style whereas SOAP is considered as a protocol? Please explain.
Architecture is about high level design. REST is an example of that because it is only a set of design guidelines like that your API should be stateless. It doesn't tell you exactly what language to use or what your code should look like.
Other examples of architectural questions are
How should my modules communicate?
How should I structure my data?
What guiding principles can I apply?
Non examples are:
What is the name of the function that allocates memory?
Do I use i++ or ++i?

iPhone SDK, framework to handle api calls? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
i am creating an iphone app, can someone suggest some framework to handle api calls to server (i am using coreData for my model)
there is one framework, restkit. but it requires backend to have a very specific format
is there any other framework/set of classes which can be easily customized?
It's difficult to answer your question without knowing what sort of API you want to communicate with; does it follow some relatively well-known and well-defined structure? If not, there probably won't be a framework for it and you'll have to roll your own communication code. Looking into the ASIHTTPRequest library would be a good starting point if this is the case.