Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
User and Player Endpoints | Endpoints with Blueprints and MethodView
Professional Web API with Flask

User and Player EndpointsUser and Player Endpoints

User Endpoints

We will continue implementing functionality for our endpoints. Let's start with the User. Let's quickly define the GET methods and specify the schemas in the Blueprint response decorators.

Player Endpoints

Now let's move on to Player. We quickly define the GET methods and import models and schema in the resources/player.py.

DELETE Method

let's handle the DELETE method. We literally repeat the functionality from the TeamView.

CREATE Method

UPDATE Method

In the next chapter, we will get acquainted with new functionality for the quick and convenient creation of documentation for our API.

¿Todo estuvo claro?

Sección 4. Capítulo 6
course content

Contenido del Curso

Professional Web API with Flask

User and Player EndpointsUser and Player Endpoints

User Endpoints

We will continue implementing functionality for our endpoints. Let's start with the User. Let's quickly define the GET methods and specify the schemas in the Blueprint response decorators.

Player Endpoints

Now let's move on to Player. We quickly define the GET methods and import models and schema in the resources/player.py.

DELETE Method

let's handle the DELETE method. We literally repeat the functionality from the TeamView.

CREATE Method

UPDATE Method

In the next chapter, we will get acquainted with new functionality for the quick and convenient creation of documentation for our API.

¿Todo estuvo claro?

Sección 4. Capítulo 6
some-alt