Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sites/vacancies RESTful controller(s) #16

Open
VladyslavKurmaz opened this issue Jun 29, 2018 · 0 comments
Open

Sites/vacancies RESTful controller(s) #16

VladyslavKurmaz opened this issue Jun 29, 2018 · 0 comments
Assignees

Comments

@VladyslavKurmaz
Copy link
Collaborator

Sites (contacts)

Request Description
GET /avi/v1/contacts Get list of all sites, for we which vacancies' information was stored
POST /api/v1/contacts Create/register new site
GET /api/v1/contacts/{contactId} Get info/status for specific site
PUT /api/v1/contacts/{contactId} Update all information about site
PATCH /api/v1/contacts/{contactId} Update subset of site information, for example: pause/resume scan
DELETE / api/v1/contacts/{contactId} Delete site and all associated information

Vacancies (streams)

Request Description
GET /avi/v1/contacts/{contactId}/streams Get list of all available vacancies for specific site. We need to think about howto implement filtering and paging
POST /avi/v1/contacts/{contactId}/streams Create new vacancy with description
PUT /avi/v1/contacts/{contactId}/streams/{streamId} Update all information
POST /avi/v1/contacts/{contactId}/streams/{streamId} Update part of information
DELETE /avi/v1/contacts/{contactId}/streams/{streamId} Delete vacancy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants