curl --request POST \
--url https://your-instance.example.com/api/marketplace/publish \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"itemType": "prompt",
"itemId": "<string>",
"scopes": {
"organization": {
"enabled": true,
"shareType": "reference",
"isContentVisible": true,
"allowEditableReferences": true
},
"marketplace": {
"enabled": true,
"shareType": "reference",
"isContentVisible": true,
"allowEditableReferences": true
}
},
"metadata": {
"name": "<string>",
"description": "<string>",
"usageInformation": "<string>"
}
}
'