Created
March 10, 2014 17:47
-
-
Save arosien/9470185 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "basePath": "http://localhost:8080", | |
| "position": 0, | |
| "authorizations": [], | |
| "models": { | |
| "Pattern": { | |
| "properties": [ | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 0, | |
| "type": { | |
| "format": "int32", | |
| "name": "integer" | |
| } | |
| }, | |
| "_1": "id" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 1, | |
| "type": { | |
| "name": "string" | |
| } | |
| }, | |
| "_1": "name" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 2, | |
| "type": { | |
| "name": "string" | |
| } | |
| }, | |
| "_1": "scenarioName" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 3, | |
| "type": { | |
| "format": "int32", | |
| "name": "integer" | |
| } | |
| }, | |
| "_1": "confidence" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 4, | |
| "type": { | |
| "format": "int32", | |
| "name": "integer" | |
| } | |
| }, | |
| "_1": "severity" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": true, | |
| "position": 5, | |
| "type": { | |
| "name": "string" | |
| } | |
| }, | |
| "_1": "description" | |
| }, | |
| { | |
| "_2": { | |
| "allowableValues": {}, | |
| "required": false, | |
| "position": 0, | |
| "type": { | |
| "name": "string" | |
| } | |
| }, | |
| "_1": "summary" | |
| } | |
| ], | |
| "qualifiedName": "com.crowdstrike.csapi.Pattern", | |
| "name": "Pattern", | |
| "id": "Pattern" | |
| } | |
| }, | |
| "apiVersion": "1", | |
| "swaggerVersion": "1.0", | |
| "resourcePath": "/patterns", | |
| "description": "read detection pattern metadata", | |
| "produces": [ | |
| "application/json" | |
| ], | |
| "consumes": [ | |
| "application/json" | |
| ], | |
| "protocols": [ | |
| "http" | |
| ], | |
| "apis": [ | |
| { | |
| "operations": [ | |
| { | |
| "authorizations": [], | |
| "protocols": [], | |
| "produces": [], | |
| "consumes": [], | |
| "responseMessages": [], | |
| "method": {}, | |
| "responseClass": { | |
| "uniqueItems": false, | |
| "typeArg": { | |
| "qualifiedName": "com.crowdstrike.csapi.Pattern", | |
| "name": "Pattern" | |
| }, | |
| "name": "List" | |
| }, | |
| "summary": "Get all patterns for a customer", | |
| "position": 0, | |
| "notes": "X-CS-CUSTID request header required", | |
| "deprecated": false, | |
| "nickname": "getPatterns", | |
| "parameters": [ | |
| { | |
| "position": 0, | |
| "required": false, | |
| "allowableValues": {}, | |
| "paramType": { | |
| "name": "query" | |
| }, | |
| "description": "return patterns with given name(s)", | |
| "type": { | |
| "name": "string" | |
| }, | |
| "name": "name" | |
| } | |
| ] | |
| } | |
| ], | |
| "path": "/patterns/v1/patterns" | |
| }, | |
| { | |
| "operations": [ | |
| { | |
| "authorizations": [], | |
| "protocols": [], | |
| "produces": [], | |
| "consumes": [], | |
| "responseMessages": [], | |
| "method": {}, | |
| "responseClass": { | |
| "qualifiedName": "com.crowdstrike.csapi.Pattern", | |
| "name": "Pattern" | |
| }, | |
| "summary": "Get pattern by id for a customer", | |
| "position": 0, | |
| "notes": "X-CS-CUSTID request header required", | |
| "deprecated": false, | |
| "nickname": "getPatternById", | |
| "parameters": [ | |
| { | |
| "position": 0, | |
| "required": false, | |
| "allowableValues": {}, | |
| "paramType": { | |
| "name": "query" | |
| }, | |
| "description": "return patterns with given id(s)", | |
| "type": { | |
| "name": "string" | |
| }, | |
| "name": "id" | |
| } | |
| ] | |
| } | |
| ], | |
| "path": "/patterns/v1/patterns/{id}" | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
scalatra 2.3.0.M1