saulaguiar29 / deploycardgenerator

0 stars 0 forks source link

Card Creator

Resource

Pokemon

Attributes:

Schema

CREATE TABLE pokemons (
    id INTEGER PRIMARY KEY,
    name TEXT,
    hp INTEGER,
    element TEXT,
    move TEXT,
    description TEXT
);

REST Endpoints

Name Method Path
Retrieve Pokémon collection GET /pokemons
Retrieve Pokémon member GET /pokemons/<id>
Create Pokémon member POST /pokemons
Update Pokémon member PUT /pokemons/<id>
Delete Pokémon member DELETE /pokemons/<id>