User.Service.1.mov
User.Service.2.mov
Detailed api specification, especially information about json specification, should be found in swagger/openapi documentation of User Service api (which is built into app).
-
This route should be only open to register service.
-
When user register, register service should send api request to user service.
-
Check if animal association already exist
-
keycloak_id is used to uniquely determine animal association.
-
Authorization is based on keycloak_id. In other words, if you know keycloak_id, you can perform any action.
-
Check length of fields. Keycloak_id can be of maximum of 100 numbers. Other fields have maximum of 50 characters.
-
Parameters:
- keycloak_id
- association_name
- association_username
-
Check if animal association exist.
-
Returns relevant information.
-
Parameters:
- keycloak_id
-
Check if animal association exist.
-
Check if city_id exist. As a city_id you can input only already predefined city ids.
-
Update relevant information.
-
Checks length of fields. About association has maximum of 500, keycloak_id 100, others maximum 50 characters.
-
Parameters:
- keycloak_id
- association_name
- association_username
- city_id
- phone_number
- about_association
-
Check if animal association exist.
-
Set value of is_active field to be equal to 0.
-
Parameters:
- keycloak_id
-
There is no input parameters.
-
Calling this api route will return information about all registered animal associations.
-
No parameters.
-
This api route should be only open to register service.
-
When user registers, registration service should send api request with corresponding information to user service.
-
Checks if user already exist.
-
keycloak_id is used to uniquely determine personal users.
-
Authorization is based on keycloak_id. In other words, if you know keycloak_id, you can perform any action.
-
Checks length of fields. Keycloak_id has maximum of 100 characters, other fields max 50.
-
Parameters:
- keycloak_id
- name
- surname
- username
-
Check if private user exist.
-
Return corresponding information.
-
Parameters:
- keycloak_id
-
Check if private user exist.
-
Checks if city_id exists in database. As city_id, you can input only already determined cities.
-
Update relevant information.
-
Check length of fields. Keycloak_id max 100, about me max 500, other fields max 50 characters.
-
Parameters:
- keycloak_id
- name
- surname
- username
- city_id
- about_me
- date_of_bitth
-
Check does user exist.
-
Check does animal exist.
-
Perform like.
-
Parameters:
- animal_id
- keycloak_id
-
Check does user exist.
-
Check does animal exist.
-
Check does specific user already liked specific animal.
-
Perform dislike operation.
-
Parameters:
- animal_id
- keycloak_id
-
Check does user exist.
-
Returns all animals liked by specific user.
-
Parameters:
- keycloak_id
- Image and PDF file CRUD operations.
- API integration with animal service. Needed api route for checking if animal exists in database.
- Creating dockerfile and docker-compose files.