action apache_post_role { label: "Create a role" description: "Create a new role.\n\n*New in version 2.1.0*\n" provider: apache method: POST path: "/roles" encoding: json input: { type: "object" description: "a role item.\n\n*New in version 2.1.0*\n" properties: { actions: { type: "array" items: { type: "object" description: "The Action-Resource item.\n\n*New in version 2.1.0*\n" properties: { action: { type: "object" description: "An action Item.\n\n*New in version 2.1.0*\n" properties: { name: { type: "string" description: "The name of the permission \"action\"" } } } resource: { type: "object" description: "The permission resource" properties: { name: { type: "string" description: "The name of the resource" } } } } } } name: { type: "string" description: "The name of the role\n\n*Changed in version 2.3.0*: A minimum character length requirement ('minLength') is added.\n" } } } output: { type: "object" description: "a role item.\n\n*New in version 2.1.0*\n" properties: { actions: { type: "array" items: { type: "object" description: "The Action-Resource item.\n\n*New in version 2.1.0*\n" properties: { action: { type: "object" description: "An action Item.\n\n*New in version 2.1.0*\n" properties: { name: { type: "string" description: "The name of the permission \"action\"" } } } resource: { type: "object" description: "The permission resource" properties: { name: { type: "string" description: "The name of the resource" } } } } } } name: { type: "string" description: "The name of the role\n\n*Changed in version 2.3.0*: A minimum character length requirement ('minLength') is added.\n" } } } }