action maif_service_template { label: "Get a service descriptor error template" description: "Get a service descriptor error template" provider: maif method: GET path: "/api/services/{serviceId}/template" encoding: json input: { type: "object" properties: { serviceId: { type: "string" } } required: ["serviceId"] 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" } } } }