migrate -database "postgres://postgres:password@127.0.0.1:5432/social_cat?sslmode=disable" -path db/migrations up
migrate -database "postgres://postgres:password@127.0.0.1:5432/social_cat?sslmode=disable" -path db/migrations drop -f
- Authentication & Authorization
- POST /v1/user/register
- Request Format
- Process
- Response Format
- Error Handling
- POST /v1/user/login
- Request Format
- Process
- Response Format
- Error Handling
- POST /v1/user/register
- Manage Cats
- POST /v1/cat
- Request Format
- Process
- Response Format
- GET /v1/cat
- Request Format
- Process
- Response Format
- GET /v1/cat/{id}
- Request Format
- Process
- Response Format
- DELETE /v1/cat/{id}
- Request Format
- Process
- Response Format
- POST /v1/cat
- Match Cat
- POST /v1/cat/match
- Request Format
- Process
- Response Format
- GET /v1/cat/match
- Request Format
- Process
- Response Format
- POST /v1/cat/match/approve
- Request Format
- Process
- Response Format
- POST /v1/cat/match/reject
- Request Format
- Process
- Response Format
- DELETE /v1/cat/match/{id}
- Request Format
- Process
- Response Format
- POST /v1/cat/match