Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
As 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"
}
}
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,
You can find on the right an example
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"
As 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"
}
}
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,
Thanks for the explanation