Can Kong return your RESTful API request in parameterized form? - restful-url

I know it takes restful api and we can add some plugins on it but for my purpose I need the parameterized form of API from getkong server? Is this possible? and if yes please let me know how we can achieve this?

Not really sure I understand your question, but you can retrieve the APIs you have added on Kong using the admin API, like:
curl localhost:8001/apis
https://getkong.org/docs/latest/admin-api/#list-apis

Related

How to post information to Eloqua, by calling Eloqua API from a class

I don't know much about Eloqua or oAuth, I wanted to know How to create a service to connect to Eloqua and call API
The documentation for Eloqua oauth is here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/GettingStarted/Authentication/authenticate-using-oauth.htm
This is the documentation for the bulk api: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAB/index.html#Developers/BulkAPI/bulk-API.htm
You can start by using a rest client (like postman or fiddler) to play with the API.
Is there anything specific you want to achieve?
I have to write an answer because my reputation is too low to comment...
You can not create a user via REST API or Bulk API. Maybe with SOAP but it's deprecated.
See all endpoints for users here.
Your question is not clear:
What do you call a "service" ?
What do you want to achieve ? And how ?
Does OAuth is mandatory ?
And finally, with REST API you can not connect and then executes your actions, you have to authenticate you each time you call an endpoint. You are probably aware of this, but this may seems unclear in your question.

Can I obtain the last session time of all Jira users using the REST API?

Can I use the REST API to filter out users who have not signed in during the last three months?
(I have admin access if that is needed).
Someone correct me if I'm wrong, but from what I know it's not available out of the box. You would probably need to implement a REST plugin module which would get this data from database (or find an existing plugin that does this - I haven't).
There's a page on Atlassian's Confluence that gives you SQLs to get the last login timestamp for a user (and it seems quite up-to-date): https://confluence.atlassian.com/display/JIRAKB/Retrieve+last+login+dates+for+users+from+the+database
Please note that you would have to think about security when developing such a plugin. I have not really considered this, but there might be reasons to include permission restrictions for such a REST resource.
EDIT: I might have found an API (not REST) that exposes login information without the need to query the database (untested): https://developer.atlassian.com/static/javadoc/jira/reference/com/atlassian/jira/bc/security/login/LoginInfo.html
Unfortunately, the JIRA REST API doesn't provide this resource. The latest supported methods can be found on the JIRA REST API Reference Page.
These methods can be tested on your current installation using the JIRA REST API Browser.
The links above contain all of the info you need on the REST API. If you're still interested in using REST, you can always create your own method for retrieving the user list.
Of course, you could use other methods, like SQL, for example. There are a number of plugins available here.

Does Slack provide API access to Slack's avatars?

Where do the Slack default avatars come from? Is it their own service or a 3rd party one?
In either case, is there a possibility for others to use the avatar creation service / system e.g. via the slack API?
I asked Slack directly, and they don't currently offer this in their API:
We don't have an API method or service for it, so there isn't a way to do this, sorry!
They've heard the suggestion, though.

How do I use external auth via MVC API from iOS?

Background: I'm trying to use social oath providers to sign up and sign in on an iOS app. I believe MVC's API is the right way of doing this, but I have a few holes.
The MVC API has a GET /Account/ExternalLogin API call that returns valid external login providers, (often social) login options.
How should I use this from iOS?
Additional parts to this question:
I'm not familiar with the x-auth-token header but I think I'll need to use this in combination with the JSON payload itself. How do I use this?
Buried in the payload is a double encoded URL that I can use with something like GTM oAuth. Is this something I need to decode twice before I use it?
GTM oAuth library looks like a candidate library to use to help out.
Is ExternalLogins the right place to start? If I try and login from the app then the app needs to know client secrets and the like. Shouldn't these be managed safely in the API?
I'm happy to refine this question if it's not up to scratch before you reject it.
Thanks!

How to pull a Sharepoint List with a Rails app?

I would like to enable a rails app to pull from a sharepoint list in order to update a model. Has anybody meshed up these two things?
Have you tried to use the SharePoint Web service? you have to use SOAP library
to access the wsdl and to use the specified credential
http://yoursharepoint-site/_vti_bin/Lists.asmx?wsdl
There's multitude of web-service methods you could use to manipulate list on List.asmx web service.
I was implementing a code in PHP for it, and this link that help me to get started to access the web-service and use GetListItems method
http://davidsit.wordpress.com/2010/02/23/reading-a-sharepoint-list-with-php/
you'll get the idea

Resources