platform.v1.IdentityService
IdentityService is the domain contract for org/shop/staff. Live HTTP for these paths is the cookie adapter in backend/internal/api/identityhttp.go (Set-Cookie). Do not register this service on the REST gateway — that would collide with the hand-written routes. Run make proto-gen when adding RPCs that should appear on gRPC.
- Request:
SignupRequest
- Response:
SignupResponse
- REST mapping:
POST /api/v1/signup
- Request:
SessionRequest
- Response:
SessionOk
- REST mapping:
POST /api/v1/sessions
- Request:
Empty
- Response:
Empty
- REST mapping:
DELETE /api/v1/sessions
- Request:
Empty
- Response:
SessionView
- REST mapping:
GET /api/v1/session
No fields.
| Field | Type | # | Notes |
|---|
email | string | 1 | |
password | string | 2 | |
shop_id | string | 3 | |
| Field | Type | # | Notes |
|---|
staff | Staff | 1 | |
shop | Shop | 2 | |
organization | Organization | 3 | |
role | string | 4 | |
| Field | Type | # | Notes |
|---|
organization_name | string | 1 | |
shop_name | string | 2 | |
shop_currency | string | 3 | |
owner_email | string | 4 | |
owner_password | string | 5 | |
billing_email | string | 6 | |
| Field | Type | # | Notes |
|---|
organization | Organization | 1 | |
shop | Shop | 2 | |
staff | Staff | 3 | |