Publishes the current draft as a new revision.
Snapshots the config's current `Parameters`, `Auth`, and `AuthMap` into a new immutable revision, increments the version, and repoints `PublishedRevisionId` at it. Subsequent tool calls resolving this config will use the new revision immediately. To revert, call `/integrations/{integration}/configs/{config}:rollback` with a prior revision ID.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The configuration ID.
uuidThe tenant identifier
The integration identifier
Optional publish note.
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08:publish" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"tenantId": "00000000-0000-0000-0000-000000000000",
"configId": "00000000-0000-0000-0000-000000000000",
"version": 0,
"parameters": {},
"auth": {
"integrationAuthMetadataId": "string",
"level": "APPLICATION",
"parameters": {}
},
"authMap": [
{
"parameters": {},
"authConfig": {
"integrationAuthMetadataId": "string",
"level": "UNSPECIFIED",
"parameters": null
}
}
],
"sandboxMode": "NONE",
"sandboxVariant": {
"parameters": {},
"auth": {
"integrationAuthMetadataId": "string",
"level": "APPLICATION",
"parameters": {}
},
"authMap": [
{
"parameters": null,
"authConfig": null
}
]
},
"note": "string",
"createdBy": "string",
"createdAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Creates a new configuration for the integration.
The new config starts as a draft with no published revision; tool calls that resolve a config will fail until `/integrations/{integration}/configs/{config}:publish` is called. The `integrationId` on the request body is overwritten with the route value, so passing a mismatched ID is silently corrected.
Gets the currently published revision for a configuration.
Returns the immutable revision that tool calls currently resolve against. Returns 400 if the config has never been published.