cancel
Showing results for 
Search instead for 
Did you mean: 

How to call the migrate project api?

eric_hansen_wor
New Contributor

I’m getting errors when calling the migrate project to org, e.g. "The asset does not exist: projects/source"

Does anybody have examples of successful endpoints and JSON requests?

3 REPLIES 3

dmiller
Admin Admin
Admin

How are you trying to call the API?


Diane Miller
Community Manager

“url”: “https://elastic.snaplogic.com/api/1/rest/public/project/migrate/projects/source”,
“method”: “POST”

Returns:

“The asset does not exist: /projects/source”

“url”: “https://elastic.snaplogic.com/api/1/rest/public/project/migrate/{{OrgName}}/projects/source”,
“method”: “POST”

Returns:

“Expecting type of asset [/{{OrgName}}/] to be Dir but was Org”

It’s not clear from the documentation where/how to extract the correct values from the Manager and when I enter exact values from the activities API response it still cannot locate them.

dmiller
Admin Admin
Admin

I’ve let your TAM know and there is now an open ticket for the docs to be clarified.


Diane Miller
Community Manager