Skip to content
This repository has been archived by the owner on Nov 5, 2020. It is now read-only.

Commit

Permalink
Updates README
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Jan 5, 2017
1 parent 9084bca commit 669c8a5
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,39 @@ Mapping of roles

Lists all roles

### **/id**
To filter roles by company, department or roles

Generate id from input.
#### GET

```?company=<company-name>&department=<department-name>&roles=<role1>|<role2>|<role3>```

#### POST

Supports ```GET ?input=<input>``` and ```POST {input: <input>}```
```JavaScript
{
company: '<company-name>',
department: '<department-name>',
roles: [
'role1',
'role2',
'role3'
]
}
```

### **/id**

Generate id from input.

#### GET
```?input=<input>```

#### POST
```JavaScript
{
input: '<input>'
}
```

## License
[MIT](LICENSE)

0 comments on commit 669c8a5

Please sign in to comment.