Publish service

Complete the actions to create a Spark service after Upload Excel file to Spark. Compilation must be complete before publishing, Check compilation status.

Returns: status of publish job.

POST /{tenant}/api/v3/folders/{folder}/services/{service}/publish

Authorization

Path parameters

Key
Value

tenant *

Tenant is part of your Log in to Spark URL and also available in the User menu.

folder *

Target folder name. This should be the same as in Upload Excel file to Spark.

service *

Target folder name. This should be the same as in Upload Excel file to Spark.

Request body

Content-Type: application/json

Key
Value

request_data.original_file_documentid *

request_data.engine_file_documentid *

request_data.draft_service_name *

Target service name overrides service from Upload Excel file to Spark.

request_data.version_label

Version label for service version. This will appear in the user interface dropdowns.

request_data.releasenote

Release note for service version.

request_data.effective_start_date

Timestamp to set the parameters for the

Manage service versions and effective dates capability. Use Timestamp Converterarrow-up-right to convert dates to ISO 8601. The value in Upload Excel file to Spark is ignored. Example: 2026-01-19T16:05:23.517Z

request_data.effective_end_date

Timestamp to set the parameters for the

Manage service versions and effective dates capability. By default, the Spark UI will use the current date and time for this value. Use the Timestamp Converterarrow-up-right to convert dates to ISO 8601. The value in Upload Excel file to Spark is ignored. Example: 2126-01-19T16:05:23.517Z

request_data.version_difference

major, minor, patch, or custom method of updating Semantic Versioningarrow-up-right. This can be a different value than what was initially provided in Upload Excel file to Spark.

request_data.should_trck_user_action

"true" String boolean to set whether or not an Event would be recorded for this action. Events are visible in the Event viewer.

request_data.tags

Comma separated string of tags. Example: abc,def

request_data.description

Description for service version.

request_data.semantic_version

Semantic version needs to be populated if version_difference is custom.

Sample request

Sample response

HTTP 200 OK Content-Type: application/json

If the service name already exists, Spark will raise an error message.

Last updated