Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.36 KB

REFERENCE_API.md

File metadata and controls

53 lines (39 loc) · 1.36 KB

Reference from API CVDI

Neuron

Model: NeuronModel
Source model: src/models/neuron.go
Controller: src/controllers/neuron.go
Endpoint: /neurons

Small Description

Methods

Enpoint Method Description
/ GET Get all neuros
/{neuronKey:string} GET Get specific neuron with key
/{neuronKey:string}/actions GET Get all action from specific neuron key
/ POST Create new neuron
/{neuronKey:string}/actions POST Create or add new action to neuron

Auth

Model: UserModel
Source model: src/models/user.go
Controller: src/controllers/auth.go
Endpoint: /auth

Small Description

Methods

Enpoint Method Description
/login POST Login user in system

Users

Model: UserModel
Source model: src/models/user.go
Controller: src/controllers/user.go
Endpoint: /users

Small Description

Methods

Enpoint Method Description
/{userKey:string} GET Get specific user with key
/ GET Get all user
/ POST Create new user