action maif_create_service_template { label: "Create a service descriptor error template" description: "Update a service descriptor targets" provider: maif method: POST path: "/api/services/{serviceId}/template" encoding: json input: { type: "object" properties: { messages: { type: "object" description: "Map for custom messages" } serviceId: { type: "string" } template40x: { type: "string" description: "The html template for 40x errors" } template50x: { type: "string" description: "The html template for 50x errors" } templateBuild: { type: "string" description: "The html template for build page" } templateMaintenance: { type: "string" description: "The html template for maintenance page" } } required: ["messages", "serviceId", "template40x", "template50x", "templateBuild", "templateMaintenance"] additionalProperties: false } output: { type: "object" description: "Error templates for a service descriptor" required: ["messages", "serviceId", "template40x", "template50x", "templateBuild", "templateMaintenance"] properties: { messages: { type: "object" description: "Map for custom messages" } serviceId: { type: "string" description: "The Id of the service for which the error template is enabled" } template40x: { type: "string" description: "The html template for 40x errors" } template50x: { type: "string" description: "The html template for 50x errors" } templateBuild: { type: "string" description: "The html template for build page" } templateMaintenance: { type: "string" description: "The html template for maintenance page" } } } }