An open API service indexing awesome lists of open source software.

https://github.com/adsazad/freeradius-rest

REST API for created to create, edit and delete data in Freeradius.
https://github.com/adsazad/freeradius-rest

freeradius nodejs rest-api restful-api

Last synced: 7 months ago
JSON representation

REST API for created to create, edit and delete data in Freeradius.

Awesome Lists containing this project

README

          

# REST API for freeradius under-development

## User

### List User
```
https://localhost:8080/user
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|

### Create User
```
https://localhost:8080/user/create
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
|radusername | Username for user you are creating|
|radpassword| Password for user you are creating|

### Change User Password
```
https://localhost:8080/user/changepassword
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
|radusername | Username for user you are creating|
|radnewpassword| Password for user you are creating|

### Assign/Change user group to user
```
https://localhost:8080/user/assignusergrouptouser
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
|radusername | Username for user you are creating|
|groupname| Radius radgroupname |

## Profiles

### List UserGroups
```
https://localhost:8080/usergroup
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|

### Get UserGroup Check And Reply Attributes
```
https://localhost:8080/usergroup/attributes
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
|usergroup| Name of UserGroup you want to get attributes of|

## IP Pool

### List IP Pools
```
https://localhost:8080/ippools
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|

### Add Ip Pool
```
https://localhost:8080/ippools/add
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
|poolName| Pool Name|
|framedIpAddress| Ip address for pool|

## NAS

### List NAS
```
https://localhost:8080/nas
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|

### Create NAS
```
https://localhost:8080/nas/create
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
| nasname | IP Address of nas|
|secret| Secret|
| shortname| Short Name for the nas|
|type| Type attr for nas|
|ports| Ports for nas|

### Delete NAS
```
https://localhost:8080/nas/delete
```
Method: `POST`
|Attributes|Description|
|----------|------------|
|secret| .env secret|
| nasname | IP Address of nas|