Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 sanekagr2
		
			sanekagr2
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
 Vincenzo_Esposi
		
			Vincenzo_EsposiAs far as I know they are optional. Try with this body
{
"spaceId": "{{targetSpaceId}}",
"attributes": {
"name": "Published App",
"description": "This is the published app for end users"
}
}
 Damien_V
		
			Damien_V
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello @sanekagr2
target/source are not parameter names, they are possible values of the "data" parameter.
"source" is when publishing a new app in a managed space, "target" is when overwriting an already published app.
"source" needs spaceId
{"spaceId":"65c192539f1a7c73874e3174","attributes":{"name":"test4","description":"test"},"data":"source"}"target" needs targetId (ID of the app that you want to replace) :
{"targetId":"042caa57-96f8-4802-9e9b-2f7a0d131afa","data":"target","attributes":{"name":"test4","description":"test"}} 
Hope this helps,
 Vincenzo_Esposi
		
			Vincenzo_EsposiYou can find on the right an example
 sanekagr2
		
			sanekagr2
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thank you for your response. What should be the value of the "data" parameter? As I see in the documentation, it must include "source" and "target"
 Vincenzo_Esposi
		
			Vincenzo_EsposiAs far as I know they are optional. Try with this body
{
"spaceId": "{{targetSpaceId}}",
"attributes": {
"name": "Published App",
"description": "This is the published app for end users"
}
}
 Damien_V
		
			Damien_V
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hello @sanekagr2
target/source are not parameter names, they are possible values of the "data" parameter.
"source" is when publishing a new app in a managed space, "target" is when overwriting an already published app.
"source" needs spaceId
{"spaceId":"65c192539f1a7c73874e3174","attributes":{"name":"test4","description":"test"},"data":"source"}"target" needs targetId (ID of the app that you want to replace) :
{"targetId":"042caa57-96f8-4802-9e9b-2f7a0d131afa","data":"target","attributes":{"name":"test4","description":"test"}} 
Hope this helps,
 sanekagr2
		
			sanekagr2
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks for the explanation
