Merge pull request #97 from deralexxx/patch-2

add POST attributes/add
pull/101/head
Christophe Vandeplas 2018-02-26 20:41:21 +01:00 committed by GitHub
commit b5219bd044
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions

View File

@ -508,6 +508,20 @@ curl --header "Authorization: a4PLf8QICdDdOmFjwdtSYqkCqn9CvN0VQt7mpUUf " --heade
## Attribute management
### POST /attributes/add/
Adds an Attribute to an event
#### URL Arguments
- event id
#### Output
#### Example
~~~~
curl --header "Authorization: a4PLf8QICdDdOmFjwdtSYqkCqn9CvN0VQt7mpUUf " --header "Accept: application/json" --header "Content-Type: application/json" -d "{"event_id":"3542","value":"1.2.3.4","category":"Network activity","type":"ip-dst"}" http://10.50.13.60/attributes/add/3542
~~~~
### GET /attributes