List OCPI + OCPP location templates
Return ready-to-use request body templates for creating an OCPI CPO location with OCPP charger metadata. Filter by ocpi_version, ocpp_version, or connector_type. The public API validates query filters with Pydantic, then the service layer reads the local template gallery from config JSON.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Query parameters
ocpp_version
Filter to templates for one OCPP version.
Allowed values:
ocpi_version
Filter to templates for one OCPI version.
Allowed values:
connector_type
Filter to templates whose charger connector_type matches.
include_all
When false, return the recommended four OCPP×OCPI templates. When true, return the extended gallery.
Response
Matching location templates and the applied filters.
count
filters
Filters echoed by the local template gallery.
templates
Errors
400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error