Skip to main content
Solved

How to publish a workspace to a FME Server through command line?

  • July 27, 2017
  • 1 reply
  • 35 views

Forum|alt.badge.img

Hi,

I have multiple workspace files and publishing them to our FME Server is demanding too much time. Is it possible to published them through the command line or python? If so, how?

Thanks

Best answer by david_r

You can use the FME Server REST API to publish workspaces, there's an example under the heading "Publishing a workspace to a repository" here: http://playground.fmeserver.com/using-the-rest-api/workspaces/

You can use either the HTTPCaller or a Python script to access the API.

(If you go the Python route, I'd heartily recommend using the requests module, it is amazing for working with REST interfaces)

View original
Did this help you find an answer to your question?

1 reply

david_r
Evangelist
  • Best Answer
  • July 27, 2017

You can use the FME Server REST API to publish workspaces, there's an example under the heading "Publishing a workspace to a repository" here: http://playground.fmeserver.com/using-the-rest-api/workspaces/

You can use either the HTTPCaller or a Python script to access the API.

(If you go the Python route, I'd heartily recommend using the requests module, it is amazing for working with REST interfaces)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings