repository
0.0.0-20250125211520-b912604702a4
Repository: https://github.com/eckertalex/greenlight.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# README
Greenlight
Method | URL Pattern | Required Permission | Action |
---|---|---|---|
GET | /v1/healthcheck | Show application health and version information | |
GET | /v1/movies | movies:read | Show the details of all movies |
POST | /v1/movies | movies:write | Create a new movie |
GET | /v1/movies/:id | movies:read | Show the details of a specific movie |
PATCH | /v1/movies/:id | movies:write | Update the details of a specific movie |
DELETE | /v1/movies/:id | movies:write | Delete a specific movie |
POST | /v1/users | Register a new user | |
PUT | /v1/users/activated | Activate a specific user | |
PUT | /v1/users/password | Update the password for a specific user | |
POST | /v1/tokens/authentication | Generate a new authentication token | |
POST | /v1/tokens/password-reset | Generate a new password-reset token | |
GET | /debug/vars | Display application metrics |