Skip to content

create_service

Create a service configuration; supplied credentials are write-only.

{
"additionalProperties": false,
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
},
"auth_config": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Auth Config"
},
"auth_type": {
"title": "Auth Type",
"type": "string"
},
"base_url": {
"title": "Base Url",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Description"
},
"headers": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Headers"
},
"name": {
"title": "Name",
"type": "string"
},
"service_type": {
"title": "Service Type",
"type": "string"
},
"settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Settings"
}
},
"required": [
"application_id",
"name",
"service_type",
"base_url",
"auth_type"
],
"title": "create_serviceArguments",
"type": "object"
}
{
"properties": {
"applicationId": {
"format": "uuid",
"title": "Applicationid",
"type": "string"
},
"authConfig": {
"additionalProperties": true,
"title": "Authconfig",
"type": "object"
},
"authType": {
"enum": [
"none",
"api_key",
"basic",
"bearer",
"oauth2"
],
"title": "ServiceAuthType",
"type": "string"
},
"baseUrl": {
"title": "Baseurl",
"type": "string"
},
"createdAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Createdat"
},
"createdBy": {
"format": "uuid",
"title": "Createdby",
"type": "string"
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Description"
},
"headers": {
"additionalProperties": true,
"title": "Headers",
"type": "object"
},
"id": {
"format": "uuid",
"title": "Id",
"type": "string"
},
"isActive": {
"title": "Isactive",
"type": "boolean"
},
"name": {
"title": "Name",
"type": "string"
},
"serviceType": {
"enum": [
"rest",
"soap",
"graphql",
"webhook_out",
"webhook_in"
],
"title": "ServiceType",
"type": "string"
},
"settings": {
"additionalProperties": true,
"title": "Settings",
"type": "object"
},
"tenantId": {
"format": "uuid",
"title": "Tenantid",
"type": "string"
},
"updatedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updatedat"
},
"workspaceId": {
"format": "uuid",
"title": "Workspaceid",
"type": "string"
}
},
"required": [
"id",
"tenantId",
"workspaceId",
"applicationId",
"name",
"serviceType",
"baseUrl",
"authType",
"authConfig",
"headers",
"settings",
"isActive",
"createdBy"
],
"title": "ServiceConfigResponse",
"type": "object"
}