# Functions
Algorithms godoc @Tags algorithms @Summary Show centrality nodes @Produce json @Param node path string true "Node type" @Param relationship path string true "Relationship projection" @Success 200 "OK" @Failure 400 "Bad Request" @Router /algo_centrality/{node}/{relationship} [get].
Algorithms godoc @Tags algorithms @Summary Show comunity nodes @Produce json @Param node path string true "Node type" @Param relationship path string true "Relationship projection" @Success 200 "OK" @Failure 400 "Bad Request" @Router /algo_community/{node}/{relationship} [get].
DeleteMovie godoc @Tags movie @Summary Delete a movie @Produce json @Param title path string true "Movie name" @Param released path int true "Movie released year" @Success 200 "OK" @Failure 400 "Bad Request" @Failure 401 "Unauthorized" @Router /movie/{title}/{released} [delete].
DeletePerson godoc @Tags person @Summary Delete a person @Produce json @Param name path string true "name Person" @Param born path int true "year person born" @Success 200 "OK" @Failure 400 "Bad Request" @Failure 401 "Unauthorized" @Router /person/{name}/{born} [delete].
GetMovie godoc @Tags movie @Summary Show all movies @Produce json @Success 200 "OK" @Failure 400 "Bad Request" @Router /movie [get].
GetMovieId godoc @Tags movie @Summary Get movie by id @Produce json @Param title path string true "Movie name" @Param released path int64 true "Movie released year" @Success 200 "OK" @Failure 400 "Bad Request" @Router /movie/{title}/{released} [get].
GetPerson godoc @Tags person @Summary Show all persons @Produce json @Success 200 "OK" @Failure 400 "Bad Request" @Router /person [get].
GetPersonId godoc @Tags person @Summary Get person by id @Produce json @Param name path string true "name Person" @Param born path int true "year person born" @Success 200 "OK" @Failure 400 "Bad Request" @Router /person/{name}/{born} [get].
GetPersonRel godoc @Tags person @Summary Get person by relationship @Produce json @Param pKp body model.PersonKNOWSPerson true "name Person" @Success 200 "OK" @Failure 400 "Bad Request" @Router /person/GETwith_relationship [post].
Algorithms godoc @Tags algorithms @Summary Show page rank nodes @Produce json @Param node path string true "Node type" @Param relationship path string true "Relationship projection" @Success 200 "OK" @Failure 400 "Bad Request" @Router /algo_pagerank/{node}/{relationship} [get].
Algorithms godoc @Tags algorithms @Summary Show path nodes @Produce json @Param node path string true "Node type" @Param relationship path string true "Relationship projection" @Success 200 "OK" @Failure 400 "Bad Request" @Router /algo_path/{node}/{relationship} [get].
PostMovie godoc @Tags movie @Summary Create a movies @Produce json @Param movie body model.Movie true "Movie model" @Success 200 "OK" @Failure 400 "Bad Request" @Router /movie/ [post].
PostPerson godoc @Tags person @Summary Create a person @Produce json @Param person body model.Person true "Person model" @Success 200 "OK" @Failure 400 "Bad Request" @Router /person/ [post].
PostPersonWithRel godoc @Tags person @Summary Create a person with relationship @Produce json @Param pKp body model.PersonKNOWSPerson true "Relationship model" @Success 200 "OK" @Failure 400 "Bad Request" @Router /person/with_relationship [post].
PutMovie godoc @Tags movie @Summary Edit a movies @Produce json @Param title path string true "Movie name" @Param released path int true "Movie released year" @Param movie body model.Movie true "Movie model" @Success 200 "OK" @Failure 400 "Bad Request" @Router /movie/{title}/{released} [put].
PutPerson godoc @Tags person @Summary Edit a person @Produce json @Param name path string true "name Person" @Param born path int true "year person born" @Param person body model.Person true "Person model" @Success 200 "OK" @Failure 400 "Bad Request" @Router /person/{name}/{born} [put].