Open guilhermehsvalle opened 8 years ago
Currently, you'll need to hit the /v1/config/publish
endpoint in order to publish API backend changes.
You don't necessarily need to hit the pending_changes
endpoint, but you will need to pass in the appropriate API backend IDs to the publish
endpoint (so if you already knew those, you could skip the pending_changes
call, but pending_changes
does provide an easy way to get them).
Adding the ability to publish all pending changes without knowing the individual IDs has come up before (https://github.com/NREL/api-umbrella/issues/195). I could also see a potentially adding an option to auto-publish each change as they're made. We don't currently have any plans to add that functionality ourselves, but any pull requests are welcome.
Hi,
We're using Admin Rest API to create our's API's on umbrella. I would like to know if is possible publish the API on resource "/api-umbrella/v1/apis" or I'll have to call "/api-umbrella/v1/pending_changes" to get the API and "/v1/config/publish"?
Thanks.
Best Regards.