Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "definitions": {
- "Event": {
- "description": "A Merchant Event trigger",
- "example": {
- "cart_id": "9roj8f70TUEU",
- "client_address": "0xab96032f5a7Efe3F95622c5B9D98D50F96a91756",
- "items": [
- {
- "product_id": "1",
- "product_name": "product_1",
- "product_price": 5.0
- }
- ],
- "merchant_id": "1234",
- "total_items": 3,
- "total_price": 15
- },
- "title": "Event",
- "type": "object"
- },
- "EventRequest": {
- "description": "POST body for trigger events",
- "properties": {
- "event": {
- "$ref": "#/definitions/Event",
- "description": "Event Trigger"
- }
- },
- "title": "EventRequest",
- "type": "object"
- },
- "EventResponse": {
- "description": "Response for trigger event",
- "properties": {
- "data": {
- "$ref": "#/definitions/Event",
- "description": "The Trigger event"
- }
- },
- "title": "EventResponse",
- "type": "object"
- },
- "Group": {
- "description": "A Merchant Rule Group",
- "example": {
- "description": "some description",
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- },
- "properties": {
- "description": {
- "description": "Group description",
- "type": "string"
- },
- "merchant_id": {
- "description": "Merchant ID",
- "type": "string"
- },
- "name": {
- "description": "Group name",
- "type": "string"
- },
- "priority": {
- "description": "Group priority",
- "type": "integer"
- },
- "rules": {
- "description": "Rules list",
- "type": "array"
- },
- "type": {
- "description": "Group Rule Type",
- "type": "string"
- }
- },
- "required": [
- "type",
- "merchant_id",
- "priority",
- "rules",
- "name"
- ],
- "title": "Groups",
- "type": "object"
- },
- "GroupRequest": {
- "description": "POST body for creating a group",
- "properties": {
- "group": {
- "$ref": "#/definitions/Group",
- "description": "The group rule details"
- }
- },
- "title": "GroupRequest",
- "type": "object"
- },
- "GroupResponse": {
- "description": "Response schema for single group rule",
- "properties": {
- "group": {
- "$ref": "#/definitions/Group",
- "description": "The group rule details"
- }
- },
- "title": "GroupResponse",
- "type": "object"
- },
- "GroupsResponse": {
- "description": "Response schema for multiple group rule",
- "properties": {
- "group": {
- "description": "The group rule details",
- "items": {
- "$ref": "#/definitions/Group"
- },
- "type": "array"
- }
- },
- "title": "GroupsReponse",
- "type": "object"
- },
- "Rule": {
- "description": "A Merchant Rule",
- "example": {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "eq",
- "key": "price",
- "value": "1"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test",
- "priority": 43
- },
- "properties": {
- "actions": {
- "description": "Rule Action",
- "type": "array"
- },
- "condition": {
- "description": "Rule trigger condition",
- "type": "map"
- },
- "description": {
- "description": "Rule description",
- "type": "string"
- },
- "merchant_id": {
- "description": "Merchant ID",
- "type": "string"
- },
- "name": {
- "description": "Rule name",
- "type": "string"
- },
- "priority": {
- "description": "Rule priority",
- "type": "integer"
- }
- },
- "required": [
- "condition",
- "merchant_id",
- "priority",
- "actions",
- "name"
- ],
- "title": "Rules",
- "type": "object"
- },
- "RuleRequest": {
- "description": "POST body for creating a rule",
- "properties": {
- "rule": {
- "$ref": "#/definitions/Rule",
- "description": "The rule details"
- }
- },
- "title": "RuleRequest",
- "type": "object"
- },
- "RuleResponse": {
- "description": "Response schema for single rule",
- "properties": {
- "rule": {
- "$ref": "#/definitions/Rule",
- "description": "The rule details"
- }
- },
- "title": "RuleResponse",
- "type": "object"
- },
- "RulesResponse": {
- "description": "Response schema for multiple rules",
- "properties": {
- "rule": {
- "description": "The rule details",
- "items": {
- "$ref": "#/definitions/Rule"
- },
- "type": "array"
- }
- },
- "title": "RulesReponse",
- "type": "object"
- },
- "Set": {
- "description": "A Merchant Rule Set",
- "example": {
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule"
- },
- "properties": {
- "merchant_id": {
- "description": "Merchant ID",
- "type": "string"
- },
- "rules": {
- "description": "Rules and Groups",
- "type": "array"
- },
- "type": {
- "description": "Rule Set Type",
- "type": "string"
- }
- },
- "required": [
- "rules",
- "merchant_id"
- ],
- "title": "Sets",
- "type": "object"
- },
- "SetRequest": {
- "description": "POST body for creating a rule set",
- "properties": {
- "set": {
- "$ref": "#/definitions/Set",
- "description": "The rule set details"
- }
- },
- "title": "SetRequest",
- "type": "object"
- },
- "SetResponse": {
- "description": "Response schema for single rule set",
- "properties": {
- "set": {
- "$ref": "#/definitions/Set",
- "description": "The rule set details"
- }
- },
- "title": "SetResponse",
- "type": "object"
- },
- "SetsResponse": {
- "description": "Response schema for multiple rule set",
- "properties": {
- "set": {
- "description": "The rule sets details",
- "items": {
- "$ref": "#/definitions/Set"
- },
- "type": "array"
- }
- },
- "title": "SetsReponse",
- "type": "object"
- }
- },
- "host": "localhost:4000",
- "info": {
- "title": "Fidelity Rule Engine",
- "version": "1.0"
- },
- "paths": {
- "/api/v1/event": {
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "Tiggers Rule engine with request payload",
- "operationId": "FidelityRulexWeb.Api.V1.EventController.create",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "The Event body",
- "in": "body",
- "name": "event",
- "required": false,
- "schema": {
- "$ref": "#/definitions/EventRequest"
- },
- "x-example": {
- "cart_id": "9roj8f70TUEU",
- "client_address": "0xab96032f5a7Efe3F95622c5B9D98D50F96a91756",
- "items": [
- {
- "product_id": "1",
- "product_name": "product_1",
- "product_price": 5.0
- }
- ],
- "merchant_id": "1234",
- "total_items": 3,
- "total_price": 15
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "201": {
- "description": "Event POST OK",
- "examples": {
- "application/json": {
- "event": {
- "group": {
- "total_price_eq": [
- "ok"
- ]
- }
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/EventResponse"
- }
- },
- "422": {
- "description": "Unprocessable Entity",
- "examples": {
- "application/json": {
- "errors": {
- "detail": "Event not valid, check header combination for merchant_id Parameter"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/EventResponse"
- }
- }
- },
- "summary": "POST Event Trigger",
- "tags": [
- "Event"
- ]
- }
- },
- "/api/v1/groups": {
- "get": {
- "deprecated": false,
- "description": "List all group rules in the database",
- "operationId": "FidelityRulexWeb.Api.V1.GroupController.index",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "group": [
- {
- "description": "some description",
- "id": 1,
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- },
- {
- "description": "some description",
- "id": 2,
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- ]
- }
- },
- "schema": {
- "$ref": "#/definitions/GroupsResponse"
- }
- }
- },
- "summary": "List group rules",
- "tags": [
- "Group"
- ]
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "Creates a new Merchant group rule",
- "operationId": "FidelityRulexWeb.Api.V1.GroupController.create",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "The group rule details",
- "in": "body",
- "name": "group",
- "required": false,
- "schema": {
- "$ref": "#/definitions/GroupRequest"
- },
- "x-example": {
- "group": {
- "description": "some description",
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "201": {
- "description": "Group Rule created OK",
- "examples": {
- "application/json": {
- "group": {
- "description": "some description",
- "id": 1,
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/GroupResponse"
- }
- },
- "422": {
- "description": "Unprocessable Entity",
- "examples": {
- "application/json": {
- "errors": {
- "rules": [
- "One of the rule does not exist"
- ]
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/GroupResponse"
- }
- }
- },
- "summary": "Create Merchant group rule",
- "tags": [
- "Group"
- ]
- }
- },
- "/api/v1/groups/{id}": {
- "delete": {
- "description": "Delete a Merchant_id group rule by ID",
- "operationId": "FidelityRulexWeb.Api.V1.GroupController.delete",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Group Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- }
- ],
- "responses": {
- "204": {
- "description": "No Content - Deleted Successfully"
- }
- },
- "summary": "Delete Merchant_Id group rule",
- "tags": [
- "Group"
- ]
- },
- "get": {
- "description": "Show a group rule by ID",
- "operationId": "FidelityRulexWeb.Api.V1.GroupController.show",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Group Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 123
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "group": {
- "description": "some description",
- "id": 1,
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/GroupResponse"
- }
- }
- },
- "summary": "Show Group Rule",
- "tags": [
- "Group"
- ]
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "Update all attributes of a group rule",
- "operationId": "FidelityRulexWeb.Api.V1.GroupController.update",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Group Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- },
- {
- "description": "The group Rule details",
- "in": "body",
- "name": "group",
- "required": false,
- "schema": {
- "$ref": "#/definitions/GroupRequest"
- },
- "x-example": {
- "group": {
- "description": "some description",
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "Updated Successfully",
- "examples": {
- "application/json": {
- "group": {
- "description": "some description",
- "id": 1,
- "merchant_id": "1234",
- "name": "some name",
- "priority": 10,
- "rules": [
- "test"
- ],
- "type": "unit_rule_group"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/GroupResponse"
- }
- }
- },
- "summary": "Update group rule",
- "tags": [
- "Group"
- ]
- }
- },
- "/api/v1/rules": {
- "get": {
- "deprecated": false,
- "description": "List all rules in the database",
- "operationId": "FidelityRulexWeb.Api.V1.RuleController.index",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "rule": [
- {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "eq",
- "key": "price",
- "value": "1"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test_1",
- "priority": 43
- },
- {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "gt",
- "key": "price",
- "value": "12"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test_2",
- "priority": 43
- }
- ]
- }
- },
- "schema": {
- "$ref": "#/definitions/RulesResponse"
- }
- }
- },
- "summary": "List rule",
- "tags": [
- "Rule"
- ]
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "Creates a new Merchant rule",
- "operationId": "FidelityRulexWeb.Api.V1.RuleController.create",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "The rule details",
- "in": "body",
- "name": "rule",
- "required": false,
- "schema": {
- "$ref": "#/definitions/RuleRequest"
- },
- "x-example": {
- "rule": {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "gt",
- "key": "price",
- "value": "12"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test_2",
- "priority": 43
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "201": {
- "description": "Rule created OK",
- "examples": {
- "application/json": {
- "rule": {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "gt",
- "key": "price",
- "value": "12"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test_2",
- "priority": 43
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/RuleResponse"
- }
- },
- "422": {
- "description": "Unprocessable Entity",
- "examples": {
- "application/json": {
- "errors": {
- "name": [
- "has already been taken"
- ]
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/RuleResponse"
- }
- }
- },
- "summary": "Create Merchant rule",
- "tags": [
- "Rule"
- ]
- }
- },
- "/api/v1/rules/{id}": {
- "delete": {
- "description": "Delete a Merchant_id rule by ID",
- "operationId": "FidelityRulexWeb.Api.V1.RuleController.delete",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- }
- ],
- "responses": {
- "204": {
- "description": "No Content - Deleted Successfully"
- }
- },
- "summary": "Delete Merchant_Id rule",
- "tags": [
- "Rule"
- ]
- },
- "get": {
- "description": "Show a rule by ID",
- "operationId": "FidelityRulexWeb.Api.V1.RuleController.show",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 123
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "rule": {
- "actions": [
- "alarm"
- ],
- "condition": {
- "Operation": "gt",
- "key": "price",
- "value": "12"
- },
- "description": "some updated description",
- "merchant_id": "1234",
- "name": "test_2",
- "priority": 43
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/RuleResponse"
- }
- }
- },
- "summary": "Show Rule",
- "tags": [
- "Rule"
- ]
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "Update all attributes of a rule",
- "operationId": "FidelityRulexWeb.Api.V1.RuleController.update",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- },
- {
- "description": "The Rule details",
- "in": "body",
- "name": "rule",
- "required": false,
- "schema": {
- "$ref": "#/definitions/RuleRequest"
- },
- "x-example": {
- "user": {
- "email": "joe4@mail.com",
- "name": "Joe"
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "Updated Successfully",
- "examples": {
- "application/json": {
- "rule": {
- "id": 1,
- "inserted_at": "2017-02-08T12:34:55Z",
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule",
- "updated_at": "2017-02-12T13:45:23Z"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/SetResponse"
- }
- }
- },
- "summary": "Update rule",
- "tags": [
- "Rule"
- ]
- }
- },
- "/api/v1/sets": {
- "get": {
- "deprecated": false,
- "description": "List all rule sets in the database",
- "operationId": "FidelityRulexWeb.Api.V1.SetController.index",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "set": [
- {
- "id": 1,
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule"
- },
- {
- "id": 2,
- "merchant_id": "4321",
- "rules": [
- "test_1"
- ],
- "type": "skip_on_first_applied_rule"
- }
- ]
- }
- },
- "schema": {
- "$ref": "#/definitions/SetsResponse"
- }
- }
- },
- "summary": "List rule sets",
- "tags": [
- "Set"
- ]
- },
- "post": {
- "consumes": [
- "application/json"
- ],
- "description": "Creates a new Merchant rule set",
- "operationId": "FidelityRulexWeb.Api.V1.SetController.create",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "The rule set details",
- "in": "body",
- "name": "set",
- "required": false,
- "schema": {
- "$ref": "#/definitions/SetRequest"
- },
- "x-example": {
- "set": {
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule"
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "201": {
- "description": "Rule Set created OK",
- "examples": {
- "application/json": {
- "set": {
- "id": 1,
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/SetResponse"
- }
- },
- "422": {
- "description": "Unprocessable Entity",
- "examples": {
- "application/json": {
- "errors": {
- "rules": [
- "One of the rule does not exist"
- ]
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/SetResponse"
- }
- }
- },
- "summary": "Create Merchant rule set",
- "tags": [
- "Set"
- ]
- }
- },
- "/api/v1/sets/{id}": {
- "delete": {
- "description": "Delete a Merchant_id rule Set by ID",
- "operationId": "FidelityRulexWeb.Api.V1.SetController.delete",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule Set ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- }
- ],
- "responses": {
- "204": {
- "description": "No Content - Deleted Successfully"
- }
- },
- "summary": "Delete Merchant_Id rule Set",
- "tags": [
- "Set"
- ]
- },
- "get": {
- "description": "Show a rule set by ID",
- "operationId": "FidelityRulexWeb.Api.V1.SetController.show",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule Set ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 123
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "OK",
- "examples": {
- "application/json": {
- "set": {
- "id": 1,
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/SetResponse"
- }
- }
- },
- "summary": "Show Rule Set",
- "tags": [
- "Set"
- ]
- },
- "put": {
- "consumes": [
- "application/json"
- ],
- "description": "Update all attributes of a rule set",
- "operationId": "FidelityRulexWeb.Api.V1.SetController.update",
- "parameters": [
- {
- "description": "Fidelity Rule Engine Merchant ID",
- "in": "header",
- "name": "x-fre-origin",
- "required": true,
- "type": "string"
- },
- {
- "description": "Rule Set ID",
- "in": "path",
- "name": "id",
- "required": true,
- "type": "integer",
- "x-example": 3
- },
- {
- "description": "The Rule Set details",
- "in": "body",
- "name": "set",
- "required": false,
- "schema": {
- "$ref": "#/definitions/SetRequest"
- },
- "x-example": {
- "user": {
- "email": "joe4@mail.com",
- "name": "Joe"
- }
- }
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "description": "Updated Successfully",
- "examples": {
- "application/json": {
- "set": {
- "id": 1,
- "inserted_at": "2017-02-08T12:34:55Z",
- "merchant_id": "1234",
- "rules": [
- "test"
- ],
- "type": "skip_on_first_applied_rule",
- "updated_at": "2017-02-12T13:45:23Z"
- }
- }
- },
- "schema": {
- "$ref": "#/definitions/SetResponse"
- }
- }
- },
- "summary": "Update rule set ",
- "tags": [
- "Set"
- ]
- }
- }
- },
- "security": [
- {
- "basic": []
- }
- ],
- "securityDefinitions": {
- "basic": {
- "type": "basic"
- }
- },
- "swagger": "2.0"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement