Skip to navigation

List OCPP + OCPI location templates

Return ready-to-use request body templates for creating an OCPP charger location with OCPI roaming metadata. 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_versionenum or nullOptional
Filter to templates for one OCPP version.
Allowed values:
ocpi_versionenum or nullOptional
Filter to templates for one OCPI version.
Allowed values:
connector_typestring or nullOptional

Filter to templates whose charger connector_type matches.

include_allbooleanOptionalDefaults to false

When false, return the recommended four OCPP×OCPI templates. When true, return the extended gallery.

Response

Location templates retrieved
countinteger
filtersobject
Filters echoed by the local template gallery.
templateslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
422
Unprocessable Entity Error
500
Internal Server Error