11
 Followers
90
 Likes

Consume REST services: Update API methods

Integration
On our radar
Currently if you have two OutSystems applications, one that exposes a REST API method and the other that consumes the method, in the consumer application you can't see if the method was changed in the exposing application and refresh it.

It would be a good idea to have a "refresh REST API" option that refreshes all the consumed methods from a REST API, like we have for SOAP services (see attached image). Also, to have a warning message in a consuming application that "method x" was changed and you need to refresh that method.

For example, you have a method without input parameters that returns a list of records and you consume it in another application. If in the exposing application you add a mandatory input parameter to the method and then run the consuming application you will get an error message because your request to the service is incorrect.

When you open the consuming application in Service Studio you don't get a warning that one of the consumed methods  has changed and you don't have an easy way to update that method. You have to remove it and then consume it again and for this you need to know what was changed in the method.
 Update services.png
Created on 29 Mar 2016
Comments (24)
+1 from me. See also this discussion.

+1

Definitely worth a +1

This would be very helpful.


+1!

Yes, still very much needed. especially suitable for services between apps

+100

Very helpful indeed

+1

+1

+1

+1

+1

Merged this idea with 'Option on the Right-click for Refresh REST API' (created on 14 Jan 2019 11:32:40 by Jardel Araújo)

Right-click on a method and refresh the information and thus structures.



This comment was:
- originally posted on idea 'Option on the Right-click for Refresh REST API' (created on 14 Jan 2019 by Jardel Araújo)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:25:44 by Fernando Moitinho

Changed the category to Integration




This comment was:
- originally posted on idea 'Option on the Right-click for Refresh REST API' (created on 14 Jan 2019 by Jardel Araújo)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:25:44 by Fernando Moitinho
Merged this idea with 'Refresh REST API Methods' (created on 03 Mar 2018 18:02:18 by brrrr)

- Say, there are two REST API methods  exposed from an Outsyestems server (X) that is consumed from another Outsyestems server (Y)

- If we add another method in X than we can refresh in Y such that the third method is also shown in the IDE that consumes the X 



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho

If you are having it generate Swagger documentation you should be able to do this.

J.Ja



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho


I  would like the ability to right-click on a method and refresh the information and thus structures, so agree!




This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho

hi Justin,

OUtsystems REST API is based on Swagger, however i still need to delete the REST and then get it back to reflect the changes made.

regards,

Tan



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho

I see... yeah, it needs to be like SOAP, a right-click to refresh...

J.Ja



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho

A must have for when the API consumed is still in development and being bounced back and forth between teams.



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho

Must be like SOAP indeed.

Regards,

Paul



This comment was:
- originally posted on idea 'Refresh REST API Methods' (created on 03 Mar 2018 by brrrr)
- merged to idea 'Consume REST services: Update API methods' on 09 May 2019 13:26:09 by Fernando Moitinho
views
1950
Followers
11